/* ============================================================
   UNIMO CAMPUS RIDE — LANDING PAGE STYLES
   Theme: Telegram-native light/dark + Neon hightech accents
   ============================================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --accent-cyan: #4DD8E8;
    --accent-purple: #A855F7;
    --accent-gradient: linear-gradient(135deg, #4DD8E8, #7C6BF0, #A855F7);
    --accent-gradient-hover: linear-gradient(135deg, #5DE8F8, #8C7BFF, #B865FF);
    --telegram-blue: #2AABEE;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 1140px;
    --nav-height: 72px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 999px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
    --bg-primary: #0B1622;
    --bg-secondary: #111D2B;
    --bg-surface: #162231;
    --bg-card: #1A2B3D;
    --bg-card-hover: #1F3348;
    --text-primary: #E8EEF2;
    --text-secondary: #8B9DB0;
    --text-muted: #5A6F82;
    --border-color: #243447;
    --border-subtle: #1E2E3F;
    --glass-bg: rgba(22, 34, 49, 0.7);
    --glass-border: rgba(77, 216, 232, 0.12);
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(77, 216, 232, 0.08);
    --nav-bg: rgba(11, 22, 34, 0.85);
}

[data-theme="light"] {
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F0F4F8;
    --text-primary: #1A1D2E;
    --text-secondary: #5A6478;
    --text-muted: #8892A4;
    --border-color: #E0E5EC;
    --border-subtle: #EDF0F4;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(42, 171, 238, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(42, 171, 238, 0.06);
    --nav-bg: rgba(245, 247, 250, 0.88);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

code {
    background: var(--bg-card);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--accent-cyan);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 10;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

[data-theme="light"] .icon-sun {
    display: block;
}

[data-theme="light"] .icon-moon {
    display: none;
}

/* Theme-specific Mockups */
[data-theme="dark"] .video-light,
[data-theme="dark"] .asset-light {
    display: none;
}

[data-theme="dark"] .video-dark,
[data-theme="dark"] .asset-dark {
    display: block;
}

[data-theme="light"] .video-dark,
[data-theme="light"] .asset-dark {
    display: none;
}

[data-theme="light"] .video-light,
[data-theme="light"] .asset-light {
    display: block;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-cta {
    white-space: nowrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(77, 216, 232, 0.25);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: 0 6px 30px rgba(77, 216, 232, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 24px rgba(77, 216, 232, 0.1);
    transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    padding-bottom: 80px;
    scroll-snap-align: start;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -200px;
    right: -100px;
    opacity: 0.12;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -150px;
    left: -100px;
    opacity: 0.1;
}

[data-theme="light"] .hero-glow {
    opacity: 0.06;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    padding: 60px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34D399;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(52, 211, 153, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-glow {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-glow::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.15;
    filter: blur(50px);
    animation: logo-breathe 4s ease-in-out infinite;
}

@keyframes logo-breathe {

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

    50% {
        opacity: 0.22;
        transform: scale(1.05);
    }
}

.hero-logo-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 2px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(77, 216, 232, 0.15), 0 0 80px rgba(168, 85, 247, 0.08);
    animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {

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

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

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

    50% {
        transform: rotate(45deg) translateY(6px);
        opacity: 0.4;
    }
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 0;
    position: relative;
    scroll-snap-align: start;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- HOW IT WORKS ---------- */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    flex: 0 0 220px;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Interactive Hover Glow Effect for Steps */
.step-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(168, 85, 247, 0.4),
            transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.step-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-card:hover::after {
    opacity: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.step-card:hover .step-number {
    opacity: 0.8;
    transform: scale(1.05);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    transition: transform var(--transition-fast);
    display: inline-block;
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(4deg);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    align-self: center;
    margin-top: -20px;
    opacity: 0.3;
    flex-shrink: 0;
}

/* ----- Features Section ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    /* Pull the strip in to match the card's horizontal padding */
    left: 25px;
    right: 25px;
    height: 5px;
    background: var(--accent-gradient);
    /* Optional: round the bottom corners of the strip for polish */
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    z-index: 2;
}

/* Interactive Cursor Glow Element */
.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(77, 216, 232, 0.4),
            transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- PREVIEW / PHONE MOCKUPS ---------- */
.preview-showcase {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.phone-mockup {
    text-align: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    border-radius: 36px;
    padding: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 60px rgba(77, 216, 232, 0.06);
    transition: all var(--transition-smooth);
}

.phone-frame:hover {
    border-color: var(--glass-border);
    box-shadow: var(--shadow-card), 0 0 80px rgba(77, 216, 232, 0.12);
    transform: translateY(-6px);
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: var(--bg-card);
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #E8E8E8;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.phone-caption {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    scroll-snap-align: start;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.04;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 60px;
    scroll-snap-align: start;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(77, 216, 232, 0.2);
}

.footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.legal-disclaimer {
    margin-top: 16px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-muted);
    opacity: 0.75;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ---------- ANIMATIONS ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--delay, 0) * 0.12s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 24px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-glow {
        width: 200px;
        height: 200px;
    }

    .hero-logo-img {
        width: 170px;
        height: 170px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-smooth);
        z-index: 5;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links .nav-link {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    #how-it-works .section-header,
    #features .section-header {
        position: sticky;
        top: var(--nav-height);
        background: var(--bg-primary); /* Adjusted dynamically per section */
        z-index: 10;
        padding: 20px 0;
        margin-bottom: 24px;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    #features .section-header {
        background: var(--bg-secondary);
    }

    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-bottom: 40px;
    }

    /* 3D Stacked Cards Effect for Mobile */
    .feature-card {
        position: sticky;
        top: 280px;
        /* Base top, overridden by nth-child */
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--glass-border);
        transition: transform 0.3s ease;
    }

    .feature-card:nth-child(1) {
        top: 280px;
    }

    .feature-card:nth-child(2) {
        top: 295px;
    }

    .feature-card:nth-child(3) {
        top: 310px;
    }

    .feature-card:nth-child(4) {
        top: 325px;
    }

    .feature-card:nth-child(5) {
        top: 340px;
    }

    .feature-card:nth-child(6) {
        top: 355px;
    }

    .feature-card:nth-child(7) {
        top: 370px;
    }

    .feature-card:nth-child(8) {
        top: 385px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 24px;
        margin-top: 0;
    }

    .step-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 340px;
        /* Mobile Scroll Animation Setup */
        opacity: 0;
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
    }
    
    /* Odd steps slide from left */
    .step-card:nth-child(odd) {
        transform: translateX(-40px);
    }
    
    /* Even steps slide from right */
    .step-card:nth-child(even) {
        transform: translateX(40px);
    }
    
    /* Active state when scrolled into view */
    .step-card.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .preview-showcase {
        gap: 32px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.92rem;
    }
}