@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

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

:root {
    --primary:      #2563eb;
    --primary-dark: #1d4ed8;
    --sky:          #0ea5e9;
    --dark:         #0f172a;
    --dark-blue:    #1e3a8a;
    --text:         #1e293b;
    --text-mid:     #475569;
    --text-light:   #94a3b8;
    --bg-light:     #f8fafc;
    --border:       #e2e8f0;
    --white:        #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--text); background: var(--white); }

/* ── Utilities ───────────────────────────────────────────────────── */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Navbar ──────────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.navbar-brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.navbar-brand-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.navbar-cta {
    padding: 0.55rem 1.25rem;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 0.6rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.navbar-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
    color: var(--white);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-logo { margin: 0 auto 1.75rem; display: block; width: 110px; height: 110px; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35)); }
.hero-eyebrow {
    display: inline-block;
    background: rgba(56,189,248,0.2);
    border: 1px solid rgba(56,189,248,0.4);
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 99px;
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 span { color: #7dd3fc; }
.hero-sub {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero-primary {
    padding: 0.85rem 2rem;
    background: var(--white);
    color: var(--primary-dark);
    border: none;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-hero-secondary {
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}

/* ── Standards bar ───────────────────────────────────────────────── */
.standards-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.standards-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}
.std-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 0.02em;
}
.std-dot {
    width: 7px; height: 7px;
    background: var(--sky);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Features section ────────────────────────────────────────────── */
.features {
    padding: 5rem 1.5rem;
    background: var(--white);
    max-width: 1100px;
    margin: 0 auto;
}
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.section-sub {
    font-size: 1rem;
    color: var(--text-mid);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.65;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 600px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1); transform: translateY(-3px); }
.feature-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.6rem;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── How it works ────────────────────────────────────────────────── */
.how-it-works {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    padding: 5rem 1.5rem;
}
.steps-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.step-number {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--sky), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.step h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark-blue);
}
.step p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.65;
    max-width: 240px;
}

/* ── CTA banner ──────────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: white;
    padding: 4.5rem 1.5rem;
    text-align: center;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.landing-footer {
    background: var(--dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.82rem;
}
.landing-footer a { color: #7dd3fc; text-decoration: none; }
.landing-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
@media (hover: none) {
    .feature-card:hover { transform: none; box-shadow: none; }
    .btn-hero-primary:hover, .btn-hero-secondary:hover { transform: none; }
    .navbar-cta:hover { transform: none; }
}
