@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    --dark-bg: #0f1623;
    --light-bg: #f0f4ff;
    --glow: rgba(37, 99, 235, 0.4);
    --card-bg: rgba(255,255,255,0.96);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', 'Segoe UI', sans-serif;
    color: #1a1a2e;
    padding-top: 0;
    cursor: auto;
    overflow-x: hidden;
}

/* ================ CUSTOM CURSOR (disabled) ================ */
.cursor-dot,
.cursor-ring {
    display: none !important;
}

/* ================ PARTICLE CANVAS ================ */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

/* ================ SCROLL PROGRESS ================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), #a78bfa);
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--glow);
}

/* ================ NAVBAR ================ */
.navbar {
    box-shadow: 0 4px 30px rgba(37, 99, 235, 0.12);
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 20px;
    padding: 0.4rem 0;
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.navbar .container {
    padding: 0 1.5rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color) !important;
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.88rem;
    transition: color 0.3s, background 0.3s;
    font-family: 'Sora', sans-serif;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.07);
}

.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin-right: 8px;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    border: none;
}

/* ================ HERO SECTION ================ */
.hero-section {
    background: linear-gradient(145deg, #0f1b3d 0%, #1e3a8a 45%, #1d4ed8 100%);
    color: white;
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(240, 244, 255, 0.8));
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3.4rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-content .lead {
    animation: heroFadeUp 0.9s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-content .d-flex {
    animation: heroFadeUp 0.9s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================ HERO VIDEO WINDOW ================ */
.hero-video-wrapper {
    position: relative;
    animation: heroFadeUp 0.9s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.15);
    background: #0a0f1e;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-video-frame:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 60px 100px rgba(0,0,0,0.55),
        0 0 0 1px rgba(96,165,250,0.2),
        0 0 60px rgba(37,99,235,0.15);
}

/* Top chrome bar */
.hero-video-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(15, 22, 40, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 12px;
}

.topbar-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.td {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.td-red { background: #ff5f56; }
.td-yellow { background: #ffbd2e; }
.td-green { background: #27c93f; }

.topbar-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex: 1;
    text-align: center;
}

.topbar-label i {
    color: var(--accent-color);
    margin-right: 5px;
}

.topbar-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ff4444;
    font-family: 'Sora', sans-serif;
    flex-shrink: 0;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Video area */
.hero-video-inner {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: default;
    /* subtle vignette */
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.3) 100%);
}

/* Floating stat badges */
.hero-badge {
    position: absolute;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 40px;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: white;
    font-family: 'Sora', sans-serif;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-badge strong {
    color: #93c5fd;
}

.badge-tl {
    top: 60px;
    left: 0px;
}

.badge-br {
    bottom: -18px;
    right: 16px;
}

/* ================ DEMO SECTION ================ */
.demo-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08), transparent 70%);
    pointer-events: none;
}

.tour-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15), 0 4px 20px rgba(0,0,0,0.08);
    height: 520px;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.tour-container:hover {
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.22), 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.tour-container iframe {
    display: block;
    border: none;
}

/* ================ STATISTICS SECTION ================ */
.stats-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0; right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.04), transparent 70%);
    pointer-events: none;
}

.stat-card {
    text-align: center;
    padding: 36px 28px;
    border-radius: 20px;
    background: var(--light-bg);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
    height: 100%;
    border: 1px solid rgba(37, 99, 235, 0.06);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    background: white;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.stat-description {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
}

.stat-icon-bg {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(96,165,250,0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-bg {
    transform: rotate(10deg) scale(1.1);
}

/* Extended stats card */
.extended-stat-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.extended-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.metric-bar {
    height: 8px;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.metric-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}

.metric-bar-fill.animated {
    transform: scaleX(1);
}

.metric-item {
    margin-bottom: 20px;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-value {
    color: var(--primary-color);
    font-weight: 700;
}

/* ================ FEATURES SECTION ================ */
.features-section {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
    border: 1px solid rgba(37,99,235,0.06);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
}

.feature-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37,99,235,0.05), transparent 70%);
    transition: opacity 0.3s;
    opacity: 0;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37,99,235,0.13);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 22px;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.92rem;
}

/* ================ BENEFITS SECTION ================ */
.benefits-section {
    padding: 100px 0;
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.benefits-section .display-5 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 2.8rem;
    line-height: 1.2;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.benefit-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.benefit-item h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-item p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ================ CTA SECTION ================ */
.cta-section {
    padding: 110px 0;
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>') center/800px;
    animation: rotateSlow 60s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-section .display-4 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.cta-section .lead,
.cta-section .d-flex,
.cta-section p {
    position: relative;
    z-index: 1;
}

/* ================ BUTTONS ================ */
.btn-custom {
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-custom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.btn-custom:hover::after { opacity: 1; }

.btn-primary-custom {
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    background: white;
    color: var(--primary-color);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* ================ FOOTER ================ */
.footer {
    background: #080e1a;
    color: white;
    padding: 60px 0 24px;
    position: relative;
    z-index: 1;
}

.footer a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer h5, .footer h6 {
    font-weight: 700;
    margin-bottom: 18px;
}

/* ================ SECTION TITLES ================ */
.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 18px;
    text-align: center;
    color: #0f1623;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ================ REVEAL ANIMATIONS ================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================ FLOATING ELEMENTS ================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(-14px); }
    50% { transform: translateY(0px); }
}

.float-1 { animation: float 6s ease-in-out infinite; }
.float-2 { animation: floatReverse 7s ease-in-out infinite; }
.float-3 { animation: float 8s ease-in-out infinite; }

/* ================ BADGE / BADGES ================ */
.badge {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-family: 'Sora', sans-serif;
    font-weight: 500;
}

/* ================ TICKER/MARQUEE ================ */
.stats-ticker {
    background: var(--primary-color);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.stats-ticker::before,
.stats-ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 3;
}

.stats-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.stats-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--primary-color), transparent);
}

.ticker-track {
    display: inline-flex;
    animation: ticker 30s linear infinite;
    gap: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 32px;
    white-space: nowrap;
}

.ticker-item .dot {
    width: 5px; height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    flex-shrink: 0;
}

.ticker-item span {
    color: rgba(255,255,255,0.75);
    font-weight: 400;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================ GLOW DOTS / DECORATIVE ================ */
.glow-dot {
    width: 8px; height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-color), 0 0 30px rgba(96,165,250,0.3);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

/* ================ CHART BAR VISUAL ================ */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
    margin-top: 12px;
}

.mini-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transform-origin: bottom;
    animation: barGrow 1.2s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ================ RESPONSIVE ================ */

/* Tablets & mobile (991px and below) — navbar is hamburger here, matches navbar-expand-lg */
@media (max-width: 991px) {

    /* Force all animated elements visible — IntersectionObserver unreliable on mobile */
    .reveal,
    .feature-card,
    .benefit-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Navbar: switch to full-width bar */
    .navbar {
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: translateY(0) !important;
        border-radius: 0 0 16px 16px;
        padding: 0.4rem 0;
        margin: 0 !important;
        z-index: 1050;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar.navbar-hidden {
        transform: translateY(-200px) !important;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0 0 14px 14px;
        padding: 0.5rem 0.5rem 0.75rem;
        border-top: 1px solid rgba(37, 99, 235, 0.10);
        margin-top: 4px;
        width: 100%;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem !important;
        display: block;
        width: 100%;
        border-radius: 8px;
    }

    /* Hero: extra top padding since navbar is now at y=0 */
    .hero-section {
        padding: 90px 0 70px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    /* Stop floating badge animations that push content outside viewport */
    .hero-badge {
        animation: none !important;
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    /* Clip the hero video column so badges can't overflow right edge */
    .hero-video-wrapper {
        animation: none !important;
        overflow: visible;
        padding-bottom: 32px;
        margin-top: 20px;
    }

    .badge-tl {
        top: 8px;
        left: 8px;
    }

    .badge-br {
        bottom: 8px;
        right: 8px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .benefits-section .display-5 {
        font-size: 2.2rem;
    }
}

/* Mobile only */
@media (max-width: 768px) {

    .navbar-logo {
        height: 32px;
        max-width: 90px;
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-content .lead {
        font-size: 1rem !important;
    }

    .demo-section,
    .stats-section,
    .features-section,
    .benefits-section {
        padding: 70px 0;
    }

    .cta-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 14px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .tour-container {
        height: 260px;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-card {
        padding: 28px 20px;
    }

    .extended-stat-card {
        padding: 24px 18px;
    }

    .feature-card {
        padding: 28px 24px;
        margin-bottom: 20px;
    }

    .benefits-section .display-5 {
        font-size: 1.9rem;
    }

    .cta-section .display-4 {
        font-size: 1.9rem;
    }

    .cta-section .lead {
        font-size: 1rem;
    }

    .btn-custom {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 50px 0 20px;
        text-align: center;
    }

    .footer .col-md-4,
    .footer .col-md-2 {
        margin-bottom: 28px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .tour-container {
        height: 220px;
    }

    .stat-number {
        font-size: 2.1rem;
    }

    .ticker-item {
        font-size: 0.78rem;
        padding: 0 20px;
    }

    .cta-section .display-4 {
        font-size: 1.6rem;
    }
}