:root {
    --font-primary: 'Inter', sans-serif;
    --brand-blue: #3b82f6;
    --brand-blue-dark: #2563eb;
    --brand-navy: #0f172a;
    --ink: #1e293b;
    --muted: #64748b;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --radius-lg: 20px;
    --radius-md: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-primary);
    background-color: #ffffff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-blue); text-decoration: none; }

h1, h2, h3 { letter-spacing: -0.02em; }

.text-muted-2 { color: var(--muted); }

/* --- NAVBAR --- */
.navbar {
    padding: 1.1rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand img { height: 34px; display: block; }

.nav-link {
    font-weight: 500;
    color: var(--ink) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link.active { color: var(--brand-blue) !important; font-weight: 600; }
.nav-link:hover { color: var(--brand-blue) !important; }

.btn-brand {
    background-color: var(--brand-navy);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn-brand:hover { background-color: var(--brand-blue-dark); color: #fff; transform: translateY(-1px); }

.btn-outline-brand {
    border: 1.5px solid var(--border);
    color: var(--ink);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: #fff;
}

.btn-outline-brand:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* --- HERO --- */
.hero-section {
    padding: 6rem 0 5rem;
    background: radial-gradient(1200px 600px at 85% -10%, #dbeafe 0%, rgba(219,234,254,0) 60%), var(--surface);
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-blue-dark);
    background: #dbeafe;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-weight: 800;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.1;
    color: var(--brand-navy);
}

.hero-section .lead {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 42ch;
}

.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.25);
}

.hero-visual img { width: 100%; display: block; }

/* --- NEWSLETTER FORM --- */
.newsletter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.15);
    margin-top: 2rem;
}

.newsletter-form .form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.newsletter-form .btn-brand { width: 100%; padding: 0.85rem 1.5rem; }

.newsletter-legal {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0.75rem 0 0;
}

#newsletterMsg { font-size: 0.875rem; font-weight: 500; min-height: 1.2em; }
#newsletterMsg.text-success { color: #16a34a !important; }
#newsletterMsg.text-danger { color: #dc2626 !important; }

/* honeypot field, never shown to real users */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- SECTIONS --- */
.section { padding: 5.5rem 0; }
.section-alt { background-color: var(--surface); }

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-blue-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

.section-body { color: var(--muted); font-size: 1.05rem; }

.section-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px -24px rgba(15, 23, 42, 0.3);
}

.section-image img { width: 100%; display: block; }

/* --- ICON CIRCLE --- */
.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #dbeafe;
    color: var(--brand-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

/* --- FEATURE CARDS --- */
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.25);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--brand-navy);
}

.feature-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.badge-premium {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #a16207;
    background: #fef3c7;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* --- PRICING --- */
.pricing-card {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.pricing-card .lead { color: #cbd5e1; }

/* --- CTA BAND --- */
.cta-band {
    background: var(--brand-navy);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    color: #fff;
    text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e1; }

/* --- FOOTER --- */
.footer {
    background-color: var(--brand-navy);
    color: #94a3b8;
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}

.footer .footer-brand {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }

.footer hr { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.5rem; }

/* --- LEGAL PAGES --- */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1rem 5rem;
    line-height: 1.75;
}

.legal-content h1 {
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-navy);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-content p { color: var(--ink); }

/* --- CONTACT PAGE --- */
.contact-info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card .icon-circle { background: #fff; }

@media (max-width: 991px) {
    .hero-section { padding: 4rem 0 3rem; text-align: center; }
    .hero-section .lead { max-width: none; margin-left: auto; margin-right: auto; }
    .section { padding: 4rem 0; }
}
