/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --gradient-main: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #a78bfa);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p { color: #cbd5e1; margin-bottom: 1.5rem; font-size: 1.05rem; }

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.btn-glow {
    background: var(--gradient-main);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, #8b5cf6, #2563eb, #8b5cf6);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(139,92,246,0.5); }

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a:not(.btn-glow) {
    font-size: 0.95rem;
    font-weight: 500;
    color: #cbd5e1;
    position: relative;
}

.nav-links a:not(.btn-glow)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
}

.nav-links a:not(.btn-glow):hover { color: white; }
.nav-links a:not(.btn-glow):hover::after { width: 100%; }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s ease-in-out infinite;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: 10%; right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--accent);
    bottom: 20%; left: 5%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(37,99,235,0.3);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 40px;
    color: #94a3b8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-card i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Animations */
.animate-fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   SERVICES GRID
   ========================================= */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

.features {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.features li {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    padding: 60px 0;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding-top: 60px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.timeline-item:hover .step-number {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(37,99,235,0.5);
}

.timeline-item h3 { margin-top: 20px; font-size: 1.2rem; }
.timeline-item p { font-size: 0.9rem; color: #94a3b8; margin-bottom: 0; }

/* =========================================
   ARTICLE SECTION
   ========================================= */
.article-container {
    max-width: 900px;
}

.article-header {
    margin-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
}

.meta-info {
    display: flex;
    gap: 30px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 20px;
}

.meta-info i { margin-right: 8px; color: var(--primary); }

.content-body h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.content-body h3 {
    margin-top: 30px;
    color: #e2e8f0;
}

.content-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #cbd5e1;
}

.content-body ul li::before {
    content: '•';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.content-body a {
    color: #60a5fa;
    border-bottom: 1px dashed rgba(96,165,250,0.3);
}

.content-body a:hover {
    color: #93c5fd;
    border-bottom-style: solid;
}

/* Article Widgets */
.callout-box, .checklist-box, .comparison-table {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
}

.callout-box.tip {
    background: rgba(37,99,235,0.1);
    border-left: 4px solid var(--primary);
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.callout-box.tip i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 3px;
}

.callout-box.tip p { margin-bottom: 0; color: #bfdbfe; }

.checklist-box {
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    padding: 30px;
}

.checklist-box h4 {
    color: #c4b5fd;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-box label {
    display: block;
    margin-bottom: 12px;
    cursor: default;
    color: #e2e8f0;
}

.checklist-box input {
    margin-right: 15px;
    accent-color: var(--accent);
    transform: scale(1.2);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(255,255,255,0.05);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { color: #94a3b8; }
.comparison-table td:last-child { color: #86efac; font-weight: 500; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; }

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.client-info h4 { margin-bottom: 2px; font-size: 1rem; }
.client-info span { font-size: 0.85rem; color: #94a3b8; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    background: rgba(255,255,255,0.03);
    color: var(--primary);
}

.faq-item p {
    padding: 0 30px 25px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #94a3b8;
    border-top: 1px solid transparent;
}

.faq-item[open] p {
    border-top-color: var(--glass-border);
    padding-top: 20px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { margin-bottom: 40px; }

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(37,99,235,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 { margin-bottom: 5px; color: white; }
.info-item p, .info-item a { margin-bottom: 0; color: #94a3b8; font-size: 0.95rem; }
.info-item a:hover { color: var(--primary); }

.map-btn {
    margin-top: 20px;
    width: 100%;
}

.contact-form {
    padding: 40px;
}

.contact-form h3 { margin-bottom: 30px; text-align: center; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(37,99,235,0.05);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #0b1120;
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.brand-col p {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-main);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.contact-list i { color: var(--primary); margin-top: 4px; }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
    text-align: center;
}

.copyright p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
}

.copyright a { color: #94a3b8; }
.copyright a:hover { color: var(--primary); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .timeline::before { display: none; }
    .timeline { flex-direction: column; gap: 40px; }
    .timeline-item { padding-top: 0; text-align: left; display: flex; gap: 20px; align-items: center; }
    .step-number { position: static; transform: none; width: 60px; height: 60px; flex-shrink: 0; font-size: 1.2rem; }
    .timeline-item h3 { margin-top: 0; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    
    .hero-btns { flex-direction: column; }
    .hero-btns a { width: 100%; text-align: center; }
    
    .trust-indicators { justify-content: center; }
    
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    h1 { font-size: 2.2rem; }
    .section { padding: 70px 0; }
}

@media (max-width: 480px) {
    .stat-card { width: 100%; justify-content: center; }
    .comparison-table { overflow-x: auto; }
    .comparison-table table { min-width: 500px; }
}