:root {
    /* Colors from Figma */
    --surface: #1c1c1c;
    --back: #202020;
    --stroke: #303030;
    --brand: #9ee771;
    --brand-dim: rgba(158, 231, 113, 0.1);
    --cross: #f9cb14;
    --headwind: #ef4444;
    --white: #ffffff;
    --light-gray: #a8a8a8;

    /* Legacy aliases */
    --bg-dark: var(--surface);
    --bg-card: var(--back);
    --text-primary: var(--white);
    --text-secondary: var(--light-gray);
    --accent-green: var(--brand);
    --accent-green-dim: var(--brand-dim);
    --accent-red: var(--headwind);
    --accent-yellow: var(--cross);

    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: 72px;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 52px;
    margin-bottom: 1rem;
}

h3 {
    font-size: 26px;
}

.text-green {
    color: var(--brand);
}

.text-orange {
    color: var(--cross);
}

.text-red {
    color: var(--headwind);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-green);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-green-dim);
}


/* Navbar - hidden by default, shows on scroll */
.navbar {
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stroke);
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo img {
    height: 28px;
}

.nav-logo-text {
    font-family: 'Rubik One', sans-serif;
    font-size: 20px;
    display: flex;
    gap: 4px;
}

/* Hero Section - Centered layout */
.hero {
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ===== Wind Canvas ===== */
#windCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* Smooth fade at bottom */
    mask-image: linear-gradient(to bottom,
        black 0%,
        black 60%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to bottom,
        black 0%,
        black 60%,
        transparent 100%
    );
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Logo block */
.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-logo-img {
    width: 160px;
    height: 120px;
    object-fit: contain;
}

.hero-logo-text {
    font-family: 'Rubik One', sans-serif;
    font-size: 50px;
    display: flex;
    gap: 8px;
}

.beta-text {
    font-size: 16px;
    color: var(--white);
    border: 1px solid var(--brand);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-block;
}

/* Hero content */
.hero-content {
    max-width: 1118px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-subhead {
    font-size: 30px;
    color: var(--light-gray);
    line-height: 1.4;
}

/* ============================================
   BETA SIGNUP COMPONENT
   ============================================ */

/* Beta signup container (hero) */
.beta-signup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Counter display */
.beta-counter {
    display: inline-flex;
    align-items: baseline;
}

.counter-number {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-label {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.3em;
}

/* Beta signup button */
.btn-beta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--brand);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(158, 231, 113, 0.3);
}

.btn-beta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(158, 231, 113, 0.4);
}

.btn-beta i {
    font-size: 24px;
}

.btn-beta--large {
    padding: 20px 40px;
    font-size: 20px;
}

.btn-beta--secondary {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
    box-shadow: none;
}

.btn-beta--secondary:hover {
    background: rgba(158, 231, 113, 0.1);
    box-shadow: none;
}

/* Note text below button */
.beta-note {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--light-gray);
}

/* Beta badge (compact counter for CTA section) */
.beta-badge {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brand);
    background: rgba(158, 231, 113, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--brand);
}

.beta-badge .counter-number {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: inline;
}

/* Urgency states */
.counter-number.low-spots {
    color: var(--cross);
}

.counter-number.critical-spots {
    color: var(--headwind);
    animation: pulse-urgent 1.5s infinite;
}

@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Loading state */
.counter-number.loading {
    opacity: 0.5;
}

/* Feature Images */
.feature-images {
    display: flex;
    gap: 32px;
    width: 100%;
    height: 630px;
    margin-top: 60px;

    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;

    overflow: hidden;
}

.feature-phones {
    display: flex;
    gap: 32px;
    height: 100%;
}

.phone-screen {
    height: 100%;
    border-radius: 32px;
    border: 1px solid var(--stroke);
    object-fit: cover;
    cursor: pointer;
}

.feature-hero {
    flex: 1;
    min-width: 0;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

/* Problem/Solution */
/* Problem Solution Section */
.problem-solution {
    padding: 100px 0;
}

/* Typography classes */
.headline-large {
    font-size: 52px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
}

.headline-subtitle {
    font-size: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--light-gray);
    line-height: 1.4;
    max-width: 1118px;
    margin: 0 auto;
}

/* Text color utilities */
.text-headwind {
    color: var(--headwind);
}

.text-brand {
    color: var(--brand);
}

.text-cross {
    color: var(--cross);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;

    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Cards */
.comparison-card {
    background: var(--back);
    border: 1px solid var(--stroke);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Header with Icon */
.card-header-with-icon {
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 32px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    line-height: 1;
    margin: 0;
}

.card-subtitle {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1;
    margin: 0;
}

/* Card Body */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Route Details */
.route-details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.route-info,
.wind-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wind-info {
    text-align: right;
}

.route-name {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    margin: 0;
}

.route-location,
.wind-label {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    color: var(--light-gray);
    margin: 0;
}

.wind-value {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin: 0;
}

/* Wind Bar */
.wind-bar {
    display: flex;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}

.wind-segment {
    height: 100%;
}

.wind-segment.headwind {
    background: var(--headwind);
}

.wind-segment.crosswind {
    background: var(--cross);
}

.wind-segment.tailwind {
    background: var(--brand);
}

/* Wind Legend */
.wind-legend {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.legend-text {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

/* Features Bento Grid */
.features {
    padding: 100px 0;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1;
    color: var(--white);
    margin-bottom: 20px;
}

.features-header p {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    color: var(--light-gray);
    max-width: 1118px;
    margin: 0 auto;
}

/* Grid структура для desktop */
.features-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;

    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.feature-card-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Базовые стили карточек */
.feature-card {
    border: 1px solid var(--stroke);
    border-radius: 32px;
    padding: 40px;

    display: flex;
    flex-direction: column;
    gap: 20px;

    text-align: left;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover removed from text cards - screenshots have their own hover */

.feature-card.large {
    background: var(--surface);
}

.feature-card.small {
    background: var(--back);
}

/* Иконка */
.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

/* Заголовок */
.feature-title {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: var(--white);
    margin: 0;
}

/* Описание */
.feature-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
    margin: 0;
}

/* Список wind effects */
.wind-effects-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wind-effect-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.wind-effect-item img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.wind-effect-item.tailwind { color: #9ee771; }
.wind-effect-item.cross-tailwind { color: #7cce00; }
.wind-effect-item.crosswind { color: #f9cb14; }
.wind-effect-item.cross-headwind { color: #f98e14; }
.wind-effect-item.headwind { color: #ef4444; }

/* Saturday/Sunday блоки */
.day-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.day-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.day-block img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.day-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.day-name {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.day-status {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.day-block.saturday .day-name,
.day-block.saturday .day-status {
    color: var(--headwind);
}

.day-block.sunday .day-name,
.day-block.sunday .day-status {
    color: var(--brand);
}

/* Plan Like a Pro Section */
.plan-like-pro {
    padding: 100px 0;
}

.plan-like-pro-layout {
    display: flex;
    gap: 32px;
    width: 100%;
    height: 630px;
    margin-top: 60px;

    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;

    overflow: hidden;
}

.plan-hero-image {
    flex: 1;
    min-width: 0;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

.plan-screens-container {
    display: flex;
    gap: 32px;
    height: 100%;
}

.plan-screen-image {
    height: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 32px;
    border: 1px solid var(--stroke);
    object-fit: cover;
    cursor: pointer;
}

/* Plan Smarter in 3 Steps */
.steps-section {
    padding: 100px 0;
}

.steps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.step-card-new {
    border: 1px solid var(--stroke);
    border-radius: 32px;
    overflow: hidden;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    min-height: 320px;
}

.step-icon {
    font-size: 40px;
    color: var(--brand);
    line-height: 1;
}

.step-label {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--brand);
    margin: 0;
    line-height: 1;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-title {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.step-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
    margin: 0;
}

.step-bullets {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-bullets li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
}

/* Real Riders, Real Flow Section */
.real-riders {
    padding: 100px 0;
}

.riders-grid {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

/* Vertical Divider */
.rider-divider {
    width: 1px;
    background: var(--stroke);
    flex-shrink: 0;
}

/* Rider Card */
.rider-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rider-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.rider-name {
    font-family: 'Rubik', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

.rider-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
    margin: 0;
}

/* Timeline Component */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--brand);
}

.timeline-content {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
}

.timeline-line {
    width: 8px;
    flex-shrink: 0;
    position: relative;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--brand);
}

.timeline-line.last::before {
    display: none;
}

.timeline-content p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
    margin: 0;
    flex: 1;
}

/* Responsive for Real Riders */
@media (max-width: 1024px) {
    .riders-grid {
        gap: 40px;
    }

    .rider-name {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .real-riders {
        padding: 60px 0;
    }

    .riders-grid {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }

    .rider-divider {
        width: 100%;
        height: 1px;
    }

    .rider-card {
        gap: 16px;
    }

    .rider-avatar {
        width: 64px;
        height: 64px;
    }

    .rider-name {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .real-riders {
        padding: 50px 0;
    }

    .riders-grid {
        margin-top: 30px;
    }

    .rider-avatar {
        width: 56px;
        height: 56px;
    }

    .timeline-content {
        padding-bottom: 8px;
    }
}

/* ==========================================
   My Experiment / About Creator Section
   ========================================== */

.my-experiment {
    padding: 100px 0;
}

.experiment-layout {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin-top: 60px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.experiment-photo {
    width: 45%;
    flex-shrink: 0;
    border-radius: 32px;
    object-fit: cover;
}

.experiment-timeline {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.experiment-link {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.experiment-link:hover {
    color: var(--brand);
}

/* Responsive for My Experiment */
@media (max-width: 900px) {
    .experiment-layout {
        flex-direction: column;
        gap: 40px;
    }

    .experiment-photo {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .my-experiment {
        padding: 60px 0;
    }

    .experiment-layout {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .my-experiment {
        padding: 50px 0;
    }

    .experiment-photo {
        width: 100%;
        max-width: 100%;
        border-radius: 24px;
    }
}

/* Ready to Ride Smarter CTA */
.ready-cta {
    padding: 100px 0;
}

.ready-cta-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--stroke);
    border-radius: 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    min-height: 310px;
}

/* Logo side */
.ready-cta-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ready-cta-logo-img {
    width: 160px;
    height: 120px;
    object-fit: contain;
}

.ready-cta-logo-text {
    font-family: 'Rubik One', sans-serif;
    font-size: 50px;
    display: flex;
    gap: 8px;
    line-height: 1;
}

.ready-cta-beta {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
    margin: 0;
    text-align: center;
    border: 1px solid var(--brand);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-block;
}

/* CTA content side */
.ready-cta-content {
    max-width: 717px;
    text-align: center;
}

.ready-cta-content h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.ready-cta-content > p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--light-gray);
    margin: 0 0 50px 0;
}

/* CTA Buttons */
.ready-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.ready-cta-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-feedback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    padding: 0 30px;
    color: var(--brand);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-feedback:hover {
    background: var(--brand);
    color: #000;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 1118px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #303030;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0;
}

.faq-question span {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--text-primary);
    line-height: 1.3;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 10px;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #1c1c1c;
    padding: 80px 0 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
}

/* Footer Brand */
.footer-brand {
    max-width: 450px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 38px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Rubik One', sans-serif;
    font-size: 28px;
    display: flex;
    gap: 4px;
}

.footer-logo-text span {
    color: var(--text-primary);
}

.footer-logo-text .text-brand {
    color: var(--brand);
}

.footer-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.footer-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid #303030;
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.footer-telegram:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.footer-telegram svg {
    width: 24px;
    height: 24px;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    gap: 120px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav-col h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-nav-col a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-nav-col a:hover {
    color: var(--text-primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #303030;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 40px;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(204, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 52px; }
    h2 { font-size: 40px; }

    .hero-logo-text { font-size: 40px; }
    .hero-subhead { font-size: 24px; }

    /* Feature Images tablet */
    .feature-images {
        height: 500px;
        gap: 24px;
    }

    .feature-phones {
        gap: 24px;
    }

    .phone-screen,
    .feature-hero {
        border-radius: 24px;
    }

    /* Features адаптивность */
    .features-header h2 {
        font-size: 40px;
    }

    .features-header p {
        font-size: 24px;
    }

    .features-row {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card-stack {
        grid-column: span 2;
        flex-direction: row;
    }

    .feature-card {
        padding: 32px;
    }

    /* Stop Fighting Headwinds responsive */
    .headline-large { font-size: 40px; }
    .headline-subtitle { font-size: 24px; }
    .card-title { font-size: 28px; }

    /* Comparison cards tablet */
    .comparison-grid {
        gap: 24px;
    }

    .comparison-card {
        padding: 32px;
    }

    .wind-legend {
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    /* Plan Like a Pro responsive */
    .plan-like-pro {
        padding: 80px 0;
    }

    .plan-like-pro-layout {
        gap: 24px;
        margin-top: 50px;
    }

    .plan-hero-image,
    .plan-screen-image {
        border-radius: 20px;
    }

    .plan-screens-container {
        gap: 32px;
    }

    /* Ready to Ride Smarter responsive */
    .ready-cta {
        padding: 80px 0;
    }

    .ready-cta-container {
        padding: 32px;
        gap: 32px;
    }

    .ready-cta-logo-img {
        width: 140px;
        height: 105px;
    }

    .ready-cta-logo-text {
        font-size: 40px;
    }

    .ready-cta-beta {
        font-size: 18px;
    }

    .ready-cta-content h2 {
        font-size: 40px;
    }

    .ready-cta-content > p {
        font-size: 18px;
        margin-bottom: 40px;
    }

    /* FAQ Section responsive */
    .faq-section {
        padding: 80px 0;
    }

    .faq-list {
        margin-top: 50px;
    }

    .faq-question span {
        font-size: 24px;
    }

    .faq-answer p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    h2 { font-size: 36px; }

    .hero { padding: 60px 0 30px; }
    .hero .container { gap: 30px; }

    .hero-logo-img { width: 120px; height: 90px; }
    .hero-logo-text { font-size: 32px; }
    .beta-text { font-size: 14px; }
    .hero-subhead { font-size: 18px; }

    /* Beta signup responsive */
    .beta-signup {
        gap: 12px;
    }
    .counter-number {
        font-size: 14px;
    }
    .counter-label {
        font-size: 14px;
    }
    .btn-beta {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 320px;
        white-space: nowrap;
    }
    .btn-beta--large {
        padding: 16px 32px;
        font-size: 18px;
    }
    .beta-badge {
        font-size: 16px;
        padding: 8px 16px;
    }
    .beta-badge .counter-number {
        font-size: 16px;
    }

    /* Feature Images - stack vertically on mobile */
    .feature-images {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
        height: auto;
    }
    /* Велосипедист первым (сверху) */
    .feature-hero {
        order: -1;
        width: 100%;
        height: 400px;
        aspect-ratio: unset;
        border-radius: 20px;
    }
    /* Скриншоты телефонов в ряд — Bento Grid */
    .feature-phones {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }
    .phone-screen {
        flex: 1;
        height: auto;
        width: 50%;
        max-width: calc(50% - 6px);
        border-radius: 16px;
        cursor: pointer;
        aspect-ratio: 9 / 19.5;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tech-grid { grid-template-columns: 1fr; }

    /* Steps Section responsive */
    .steps-section {
        padding: 60px 0;
    }
    .steps-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .step-content {
        padding: 24px;
        min-height: auto;
    }
    .step-card-new {
        border-radius: 20px;
    }
    .step-label {
        font-size: 24px;
    }
    .step-title {
        font-size: 24px;
    }

    /* Problem Solution / Stop Fighting Headwinds responsive */
    .problem-solution {
        padding: 60px 0;
    }
    .comparison-grid {
        margin-top: 40px;
    }
    .headline-large { font-size: 36px; }
    .headline-subtitle { font-size: 18px; }
    .comparison-card { padding: 24px; }
    .card-title { font-size: 24px; }
    .card-subtitle { font-size: 16px; }
    .route-name { font-size: 16px; }
    .route-location,
    .wind-label,
    .wind-value { font-size: 14px; }
    .legend-text { font-size: 12px; }
    /* Keep horizontal layout - do not stack */
    .route-details {
        flex-direction: row;
        justify-content: space-between;
        gap: 16px;
    }
    .wind-info { text-align: right; }
    .wind-legend {
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
    }
    .legend-dot { width: 12px; height: 12px; }
    .card-icon { width: 32px; height: 32px; }

    /* Features адаптивность */
    .features {
        padding: 60px 0;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-header h2 {
        font-size: 32px;
    }

    .features-header p {
        font-size: 18px;
    }

    .features-bento-grid {
        gap: 20px;
    }

    .features-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .feature-card-stack {
        flex-direction: column;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-title {
        font-size: 22px;
    }

    .day-comparison {
        gap: 16px;
    }

    /* Footer responsive */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-nav {
        gap: 60px;
    }

    .footer-nav-col {
        gap: 12px;
    }

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

    .footer-legal {
        gap: 24px;
    }

    /* Plan Like a Pro responsive */
    .plan-like-pro {
        padding: 60px 0;
    }

    .plan-like-pro-layout {
        flex-direction: column;
        gap: 20px;
        height: auto;
        margin-top: 40px;
    }

    .plan-hero-image,
    .plan-screen-image {
        border-radius: 16px;
    }

    .plan-screens-container {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .plan-screen-image {
        flex: 1;
        height: auto;
        width: 50%;
        max-width: calc(50% - 6px);
        aspect-ratio: 9 / 19.5;
    }

    .plan-hero-image {
        aspect-ratio: 16 / 9;
    }

    /* Ready to Ride Smarter responsive */
    .ready-cta {
        padding: 60px 0;
    }

    .ready-cta-container {
        flex-direction: column;
        padding: 24px;
        gap: 32px;
        min-height: auto;
        border-radius: 24px;
    }

    .ready-cta-logo {
        gap: 8px;
    }

    .ready-cta-logo-img {
        width: 120px;
        height: 90px;
    }

    .ready-cta-logo-text {
        font-size: 32px;
    }

    .ready-cta-beta {
        font-size: 14px;
    }

    .ready-cta-content h2 {
        font-size: 32px;
    }

    .ready-cta-content > p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .ready-cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .btn-feedback {
        height: 50px;
        padding: 0 24px;
    }

    /* FAQ Section responsive */
    .faq-section {
        padding: 60px 0;
    }

    .faq-list {
        margin-top: 40px;
        gap: 16px;
    }

    .faq-item {
        padding-bottom: 16px;
    }

    .faq-question {
        padding: 8px 0;
    }

    .faq-question span {
        font-size: 20px;
    }

    .faq-answer p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }

    .hero-logo-img { width: 100px; height: 75px; }
    .hero-logo-text { font-size: 26px; }
    .hero-subhead { font-size: 16px; }

    .feature-phones {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    .phone-screen {
        flex: 1;
        height: auto;
        width: 50%;
        max-width: calc(50% - 4px);
        border-radius: 12px;
        aspect-ratio: 9 / 19.5;
    }
    .feature-hero {
        border-radius: 16px;
    }
    .feature-images {
        margin-top: 30px;
    }

    /* Features Section responsive */
    .features {
        padding: 50px 0;
    }
    .features-header {
        margin-bottom: 30px;
    }

    /* Problem Solution / Stop Fighting Headwinds responsive */
    .problem-solution {
        padding: 50px 0;
    }
    .comparison-grid {
        margin-top: 30px;
    }
    .headline-large { font-size: 28px; }
    .headline-subtitle { font-size: 16px; }
    .comparison-card { padding: 16px; }
    .card-title { font-size: 20px; }
    .card-subtitle { font-size: 14px; }
    .route-name { font-size: 14px; }
    .route-location,
    .wind-label,
    .wind-value { font-size: 12px; }
    .legend-text { font-size: 10px; }
    .legend-dot { width: 10px; height: 10px; }
    .card-icon { width: 28px; height: 28px; }
    .card-header-with-icon { gap: 12px; }
    .wind-bar { height: 8px; }

    /* Steps Section responsive */
    .steps-section {
        padding: 50px 0;
    }
    .steps-cards-grid {
        margin-top: 30px;
    }
    .step-content {
        padding: 20px;
    }
    .step-card-new {
        border-radius: 16px;
    }

    /* Plan Like a Pro responsive */
    .plan-like-pro {
        padding: 50px 0;
    }

    .plan-like-pro-layout {
        gap: 16px;
        margin-top: 30px;
    }

    .plan-screens-container {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .plan-screen-image {
        flex: 1;
        height: auto;
        width: 50%;
        max-width: calc(50% - 4px);
        border-radius: 12px;
    }

    .plan-hero-image {
        border-radius: 12px;
    }

    /* Ready to Ride Smarter responsive */
    .ready-cta {
        padding: 50px 0;
    }

    .ready-cta-container {
        padding: 20px;
        gap: 24px;
        border-radius: 16px;
    }

    .ready-cta-logo-img {
        width: 100px;
        height: 75px;
    }

    .ready-cta-logo-text {
        font-size: 26px;
    }

    .ready-cta-beta {
        font-size: 14px;
    }

    .ready-cta-content h2 {
        font-size: 26px;
    }

    .ready-cta-content > p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn-feedback {
        height: 44px;
        padding: 0 20px;
        font-size: 14px;
    }

    /* FAQ Section responsive */
    .faq-section {
        padding: 50px 0;
    }

    .faq-list {
        margin-top: 30px;
        gap: 12px;
    }

    .faq-item {
        padding-bottom: 12px;
    }

    .faq-question span {
        font-size: 18px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    /* Footer responsive - mobile */
    .footer {
        padding: 50px 0 24px;
    }

    .footer-main {
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer-logo {
        gap: 12px;
        margin-bottom: 16px;
    }

    .footer-logo-img {
        width: 40px;
        height: 30px;
    }

    .footer-logo-text {
        font-size: 22px;
    }

    .footer-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .footer-telegram {
        padding: 10px 16px;
        font-size: 14px;
    }

    .footer-telegram svg {
        width: 20px;
        height: 20px;
    }

    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .footer-nav-col {
        flex: 1;
        text-align: left;
        gap: 10px;
    }

    .footer-bottom {
        text-align: left;
        align-items: flex-start;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .footer-nav-col h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .footer-nav-col a {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 24px;
        gap: 16px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-legal a {
        font-size: 12px;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 48px;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}
