/* ══════════════════════════════
   RESET & BASE
══════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Removed scroll-snap-type: y mandatory — it was locking the page */
}

body {
    font-family: 'Inter', sans-serif;
    background: #060b18;
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
    /* was height:100vh which blocked scrolling */
    overflow-y: auto;
}

/* ══════════════════════════════
   ANIMATED BACKGROUND ORBS
══════════════════════════════ */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    top: -200px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation-delay: 6s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Subtle dot grid */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(6, 11, 24, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #f0f6ff;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: white;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-user {
    font-size: 13px;
    color: #64748b;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.nav-user {
    font-family: inherit;
    font-size: 13px;
    color: #64748b;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-user:hover,
.user-menu.open .nav-user {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: #0d1b2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300;
}

.user-menu:hover .dropdown-content,
.user-menu.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #a0b4cc;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.dropdown-content a.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    padding-top: 12px;
    border-radius: 0 0 8px 8px;
}

.dropdown-content a.text-red {
    color: #f87171;
}

.dropdown-content a.text-red:hover {
    background: rgba(239, 68, 68, 0.1);
}

.btn-ghost-sm {
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all .2s;
}

.btn-ghost-sm:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.btn-primary-sm {
    padding: 8px 18px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all .3s;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
}

/* ══════════════════════════════
   FULL PAGE SECTIONS
══════════════════════════════ */
.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    /* was height:100vh — now sections can grow */
    scroll-snap-align: none;
    /* removed per-section snap so scroll is free */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero gets a gentle snap so first-load feels intentional */
.page-hero {
    scroll-snap-align: start;
}

/* ══════════════════════════════
   PAGE 1 — HERO (Two column)
══════════════════════════════ */
.page-hero {
    padding: 64px 60px 32px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 48px;
}

/* LEFT column */
.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    text-align: left;
}

/* RIGHT column — train image */
.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.train-image-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    animation: floatTrain 4s ease-in-out infinite;
}

@keyframes floatTrain {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.train-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.35));
}

/* Glowing base under the train */
.train-glow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
}

/* Subtle reflection */
.train-reflection {
    position: absolute;
    bottom: -50px;
    left: 5%;
    right: 5%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
    transform: scaleY(-1);
    border-radius: 20px;
    filter: blur(8px);
    z-index: 1;
}

/* Badge, title, etc stay left-aligned */
.badge-pill {
    align-self: flex-start;
}

.stats-strip {
    align-self: stretch;
}

.cta-row {
    justify-content: flex-start;
}

/* Animated badge */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    animation: shimmer 2.5s linear infinite;
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

/* Hero Title */
.hero-h1 {
    font-size: clamp(48px, 6.5vw, 80px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -3px;
    color: #f0f8ff;
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 40%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-p {
    font-size: 17px;
    color: #475569;
    line-height: 1.75;
    max-width: 560px;
}

/* CTA Buttons */
.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    padding: 14px 32px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.45), 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: all .3s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.55), 0 14px 32px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* Stats Strip */
.stats-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 40px;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #e0e7ff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #334155;
    text-transform: uppercase;
}

.stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6366f1;
    animation: bounce 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px #6366f1;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(6px);
        opacity: 0.5;
    }
}

/* ══════════════════════════════
   PAGE 2 — FEATURES
══════════════════════════════ */
.page-features {
    padding: 80px 24px 60px;
    justify-content: flex-start;
    height: auto;
    min-height: 100vh;
    scroll-snap-align: none;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #4f46e5;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #f0f6ff;
    margin-bottom: 40px;
}

/* Feature Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 1000px;
}

.fcard {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glow on top border of card */
.fcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    transition: opacity .3s;
    opacity: 0.6;
}

.fcard-cyan::before {
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

.fcard-green::before {
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}

.fcard-amber::before {
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
}

.fcard:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.fcard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.fcard-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.fcard-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 3px 9px;
    border-radius: 5px;
}

.fcard h3 {
    font-size: 20px;
    font-weight: 800;
    color: #f0f6ff;
    margin-bottom: 8px;
}

.fcard p {
    font-size: 13px;
    color: #3d5470;
    line-height: 1.6;
    margin-bottom: 14px;
}

.fcard ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.fcard ul li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcard ul li i {
    color: #6366f1;
    font-size: 12px;
}

.fcard-cyan ul li i {
    color: #06b6d4;
}

.fcard-green ul li i {
    color: #10b981;
}

.fcard-amber ul li i {
    color: #f59e0b;
}

.fcard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fcard-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Footer note (legacy small text - hidden now) */
.footer-note {
    display: none;
}

/* ══════════════════════════════
   FOOTER BAR
══════════════════════════════ */
.site-footer {
    display: block;
    position: relative;
    z-index: 10;
    width: 100%;
    clear: both;
    background: #060b18;
    /* solid, not rgba, so it never bleeds */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 60px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #f0f6ff;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-brand .footer-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

.footer-brand p {
    font-size: 13px;
    color: #334155;
    line-height: 1.65;
    max-width: 260px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6080;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #4a6080;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #a5b4fc;
}

.footer-col ul li a i {
    font-size: 11px;
    color: #6366f1;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: #1e293b;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: #2d3f58;
    font-weight: 600;
}

.footer-badge i {
    font-size: 10px;
    color: #4f46e5;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer {
        padding: 36px 24px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ══════════════════════════════
   MOTION ANIMATIONS
══════════════════════════════ */

/* --- Keyframes --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(48px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 24px rgba(99, 102, 241, 0.4), 0 8px 24px rgba(99, 102, 241, 0.25);
    }

    50% {
        box-shadow: 0 0 48px rgba(168, 85, 247, 0.6), 0 12px 32px rgba(99, 102, 241, 0.45);
    }
}

@keyframes bgMove {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Animated gradient background on body --- */
body {
    background: linear-gradient(-45deg, #060b18, #080e20, #07101e, #060a16);
    background-size: 400% 400%;
    animation: bgMove 14s ease infinite;
}

/* --- Animated gradient text --- */
.text-gradient {
    background: linear-gradient(270deg, #818cf8, #c084fc, #38bdf8, #818cf8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* --- Hero Left: staggered entrance --- */
.hero-left .badge-pill {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.hero-left .hero-h1 {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.25s;
}

.hero-left .hero-p {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

.hero-left .cta-row {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.55s;
}

.hero-left .stats-strip {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.7s;
}

/* --- Hero Right: slide in from right --- */
.hero-right {
    animation: slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

/* --- Pulse glow on primary button --- */
.btn-hero {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.btn-hero:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 0 48px rgba(168, 85, 247, 0.65), 0 14px 32px rgba(99, 102, 241, 0.5);
}

/* --- Scroll hint fade in --- */
.scroll-hint {
    animation: fadeIn 1s ease both;
    animation-delay: 1.2s;
}

/* --- Feature section header entrance --- */
.section-label {
    animation: fadeUp 0.6s ease both;
}

.section-title {
    animation: fadeUp 0.6s ease both;
    animation-delay: 0.1s;
}

/* --- Card reveal states (JS driven via .revealed class) --- */
.fcard {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease,
        background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.fcard.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered delay applied by JS via --delay custom prop */
.fcard {
    transition-delay: var(--delay, 0s);
}

/* --- Navbar slide down --- */
.navbar {
    animation: slideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0s;
}

/* --- Train glow pulse --- */
.train-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}