/* --- Variables & Reset --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: #f1f5f9;
    color: #334155;
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient); color: white;
    padding: 14px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.btn-glow { box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--primary);
    padding: 14px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 600;
    border: 1px solid #e2e8f0; transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--primary); background: #eff6ff; }
.btn-full { width: 100%; justify-content: center; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: var(--font-head); font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 15px 0; transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--dark); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--primary); }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
    position: relative; padding: 180px 0 120px; overflow: hidden;
    background: radial-gradient(circle at top right, #dbeafe 0%, transparent 40%),
                radial-gradient(circle at bottom left, #cffafe 0%, transparent 40%);
}
.floating-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; z-index: -1;
    animation: float 10s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; background: #bfdbfe; top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #a5f3fc; bottom: 0; left: -50px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-block; background: rgba(37, 99, 235, 0.1); color: var(--primary);
    padding: 8px 16px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 25px;
}
.hero h1 { font-family: var(--font-head); font-size: 3.5rem; line-height: 1.2; color: var(--dark); margin-bottom: 25px; }
.hero-text { font-size: 1.25rem; color: #475569; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.trust-indicators { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #64748b; }
.trust-item i { color: var(--accent); }

/* 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); } }

/* --- Stats --- */
.stats-section { padding: 60px 0; margin-top: -60px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { padding: 30px; text-align: center; transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* --- Services --- */
.services-section { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box {
    width: 60px; height: 60px; background: rgba(37, 99, 235, 0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 25px;
}
.service-card h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 15px; color: var(--dark); }
.service-card p { color: #64748b; margin-bottom: 20px; font-size: 0.95rem; }
.feature-list { list-style: none; }
.feature-list li { font-size: 0.85rem; color: #475569; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feature-list i { color: var(--accent); font-size: 0.75rem; }

/* --- Process Timeline --- */
.process-section { padding: 100px 0; background: white; }
.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: 30px; left: 0; right: 0; height: 2px;
    background: #e2e8f0; z-index: 0; display: none;
}
@media(min-width: 900px) { .timeline::before { display: block; } }
.timeline-item { position: relative; z-index: 1; flex: 1; min-width: 180px; text-align: center; }
.step-number {
    width: 60px; height: 60px; background: white; border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--primary);
    margin: 0 auto 20px; transition: all 0.3s;
}
.timeline-item:hover .step-number { background: var(--primary); color: white; transform: scale(1.1); }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--dark); }
.timeline-item p { font-size: 0.9rem; color: #64748b; }

/* --- Article Content --- */
.content-section { padding: 100px 0; }
.article-container { max-width: 800px; background: white; padding: 60px; border-radius: 20px; box-shadow: var(--shadow); }
.article-meta { display: flex; gap: 20px; margin-bottom: 30px; font-size: 0.9rem; color: #64748b; }
.category { background: #eff6ff; color: var(--primary); padding: 4px 12px; border-radius: 4px; font-weight: 600; }
.content-section h2 { font-family: var(--font-head); font-size: 2.2rem; color: var(--dark); margin-bottom: 25px; line-height: 1.3; }
.content-section h3 { font-family: var(--font-head); font-size: 1.6rem; color: var(--dark); margin: 40px 0 20px; }
.content-section p { margin-bottom: 20px; font-size: 1.05rem; color: #475569; }
.content-section a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(37,99,235,0.3); text-underline-offset: 3px; transition: all 0.2s; }
.content-section a:hover { text-decoration-color: var(--primary); }
.lead { font-size: 1.2rem !important; color: #334155 !important; font-weight: 500; }

.callout-box { padding: 25px; border-radius: 12px; margin: 30px 0; border-left: 4px solid; }
.tip-box { background: #ecfdf5; border-color: #10b981; }
.callout-box h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #065f46; }
.callout-box p { margin-bottom: 0; color: #047857; font-size: 0.95rem !important; }

.comparison-table-wrapper { overflow-x: auto; margin: 30px 0; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparison-table th { background: var(--dark); color: white; padding: 15px; text-align: left; }
.comparison-table td { padding: 15px; border-bottom: 1px solid #e2e8f0; }
.comparison-table tr:nth-child(even) { background: #f8fafc; }

.cta-box { background: var(--gradient); padding: 40px; border-radius: 16px; text-align: center; margin-top: 50px; color: white; }
.cta-box h3 { color: white; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 25px; }
.cta-box .btn-primary { background: white; color: var(--primary); }
.cta-box .btn-primary:hover { background: #f8fafc; }

/* --- FAQ --- */
.faq-section { padding: 100px 0; background: #f8fafc; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.faq-item { padding: 25px; cursor: pointer; transition: all 0.3s; }
.faq-item[open] { background: white; border-color: var(--primary); }
.faq-item summary { font-weight: 600; color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.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 p { margin-top: 15px; color: #64748b; font-size: 0.95rem; line-height: 1.6; }

/* --- Testimonials --- */
.testimonials-section { padding: 100px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { padding: 35px; }
.stars { color: #fbbf24; margin-bottom: 15px; font-size: 0.9rem; display: flex; gap: 2px; }
.testimonial-card > p { font-style: italic; color: #475569; margin-bottom: 25px; font-size: 0.95rem; }
.client-info { display: flex; align-items: center; gap: 15px; }
.avatar {
    width: 45px; height: 45px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.9rem;
}
.client-info strong { display: block; color: var(--dark); font-size: 0.95rem; }
.client-info span { font-size: 0.8rem; color: #94a3b8; }

/* --- Contact --- */
.contact-section { padding: 100px 0; background: var(--dark); color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info { padding: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.contact-info h2 { color: white; margin-bottom: 15px; }
.contact-info > p { color: #94a3b8; margin-bottom: 30px; }
.info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.info-item i { color: var(--accent); margin-top: 4px; }
.info-item strong { display: block; color: white; margin-bottom: 3px; }
.info-item a, .info-item span { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.info-item a:hover { color: white; }
.contact-form { padding: 40px; background: white; border-radius: 16px; color: var(--dark); }
.contact-form h3 { margin-bottom: 25px; font-family: var(--font-head); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* --- Footer --- */
.site-footer { background: #020617; color: #94a3b8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col .logo { color: white; margin-bottom: 20px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: white; margin-bottom: 20px; font-family: var(--font-head); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.3s; font-size: 0.9rem; }
.footer-col ul li a:hover { color: white; }
.footer-col ul li i { width: 20px; color: var(--accent); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; }

/* --- Responsive --- */
@media(max-width: 900px) {
    .hero h1 { font-size: 2.5rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-container { padding: 40px 25px; }
}
@media(max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: white;
        padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-header h2 { font-size: 2rem; }
}