/* ---------- Public website (marketing pages) ---------- */

.public-nav .nav-link {
    color: #2b2b3d;
    font-weight: 500;
    font-size: .92rem;
}

.public-nav .nav-link:hover {
    color: var(--brand-navy);
}

.section-title {
    font-weight: 700;
}

.section-eyebrow {
    text-align: center;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: .05em;
    color: var(--brand-navy);
    text-transform: uppercase;
}

.section-eyebrow::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: .6rem auto 0;
    border-radius: 4px;
    background: var(--brand-accent);
}

/* Hero */
.landing-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #2d2a7a 45%, #1c2f7d 70%, var(--brand-navy) 100%);
    background-size: 250% 250%;
    animation: gradient-drift 14s ease infinite;
    color: #fff;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.landing-hero .lead { color: #c9c9ec; }

.landing-hero .hero-title { animation: fade-up .7s ease both; }
.landing-hero .hero-sub { animation: fade-up .7s ease .15s both; }
.landing-hero .hero-cta { animation: fade-up .7s ease .3s both; }

.hero-icon-cluster i {
    font-size: 2.6rem;
    background: rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 1.1rem;
    margin: .4rem;
    display: inline-block;
    animation: float-y 3.6s ease-in-out infinite;
}

.hero-icon-cluster i:nth-child(2n) { animation-delay: .7s; }
.hero-icon-cluster i:nth-child(3n) { animation-delay: 1.3s; }
.hero-icon-cluster i:nth-child(5n) { animation-delay: 1.9s; }

.hero-icon-cluster i:hover {
    background: var(--brand-accent);
    transform: scale(1.12);
    transition: background .2s ease, transform .2s ease;
}

/* Glowing orbs drifting in the hero */
.landing-hero { position: relative; }
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(70px); opacity: .32; pointer-events: none;
}
.hero-orb.o1 { width: 360px; height: 360px; background: var(--brand-accent); top: -130px; right: -90px; animation: orb-drift 16s ease-in-out infinite; }
.hero-orb.o2 { width: 300px; height: 300px; background: #4d5ae8; bottom: -110px; left: -70px; animation: orb-drift 21s ease-in-out infinite reverse; }

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(45px, 30px) scale(1.15); }
}

/* Pulsing "live" badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    padding: .35rem .95rem; border-radius: 999px;
    font-size: .85rem; color: #e6e6f7;
    animation: fade-up .6s ease both;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%; background: #2eff8b;
    animation: pulse-dot 1.6s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 255, 139, .6); }
    50% { box-shadow: 0 0 0 7px rgba(46, 255, 139, 0); }
}

/* Category ticker strip */
.ticker-strip { background: #12134a; color: #c9c9ec; overflow: hidden; padding: .85rem 0; }
.ticker-track { display: flex; gap: 2.6rem; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; }
.ticker-track i { color: var(--brand-accent); }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Card hover life */
.feature-card { transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(20, 20, 60, .12); }
.feature-card i { transition: transform .25s ease; display: inline-block; }
.feature-card:hover i { transform: scale(1.2) rotate(-6deg); }

/* Animated underline on section titles */
.section-title { position: relative; padding-bottom: .55rem; }
.section-title::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
    height: 4px; width: 0; border-radius: 4px; background: var(--brand-accent);
    transition: width .7s ease .25s;
}
.section-title.visible::after { width: 72px; }
.section-title:not(.reveal)::after { width: 72px; }

/* CTA sheen sweep */
.btn-sheen { position: relative; overflow: hidden; }
.btn-sheen::after {
    content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    animation: sheen 3.4s ease infinite;
}
@keyframes sheen { 0% { left: -80%; } 60% { left: 135%; } 100% { left: 135%; } }

/* Navbar shadow after scrolling */
.public-nav { transition: box-shadow .25s ease; }
.public-nav.scrolled { box-shadow: 0 6px 18px rgba(20, 20, 60, .1); }

/* ---------- Animations ---------- */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradient-drift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    .landing-hero, .hero-icon-cluster i, .hero-orb, .hero-badge, .hero-badge .dot,
    .ticker-track, .btn-sheen::after,
    .landing-hero .hero-title, .landing-hero .hero-sub, .landing-hero .hero-cta {
        animation: none;
    }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Cards */
.feature-card {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
}

.feature-card i { font-size: 2.2rem; color: var(--brand-accent); }

.service-card {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(20, 20, 60, .1);
}

.service-card i {
    font-size: 2.6rem;
    color: var(--brand-navy);
}

.service-card h5 { font-weight: 700; margin-top: 1rem; }

.contact-card {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    height: 100%;
}

.contact-card i { font-size: 1.9rem; color: var(--brand-navy); }

.contact-card h5 { font-weight: 700; color: var(--brand-navy); margin-top: .6rem; }

/* Stats band */
.stats-band {
    background: var(--brand-navy);
    color: #fff;
    padding: 2.5rem 0;
}

.stats-band .stat-number { font-size: 2rem; font-weight: 700; }
.stats-band .stat-label { color: #b9b9d8; }

/* Policy pages */
.policy-card {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 16px;
    padding: 2.5rem;
}

.policy-card h2 {
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 1.25rem;
}

.policy-card h5 {
    font-weight: 700;
    margin-top: 1.75rem;
}

.policy-card p, .policy-card li { color: #4a4a5e; }

/* Footer */
footer.site-footer {
    background: #12134a;
    color: #b9b9d8;
    padding: 3.5rem 0 1.5rem;
}

footer.site-footer h6 { color: #fff; font-weight: 700; }
footer.site-footer a { color: #b9b9d8; text-decoration: none; display: block; padding: .18rem 0; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .social-icons a { display: inline-block; font-size: 1.2rem; margin-right: .75rem; }
