/* ============================================
   AIvoy — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Colores — Tema Light (estilo NotebookLM) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-surface: rgba(0, 0, 0, 0.02);
    --bg-surface-hover: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-strong: rgba(0, 0, 0, 0.06);

    --border-subtle: #e8eaed;
    --border-medium: #dadce0;
    --border-accent: rgba(26, 115, 232, 0.3);

    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-muted: #9aa0a6;
    --text-accent: #1a73e8;

    --primary: #1a73e8;
    --primary-light: #4285f4;
    --primary-dark: #1557b0;
    --secondary: #8b5cf6;
    --accent: #a78bfa;
    --gradient-primary: linear-gradient(135deg, #1a73e8, #4285f4);
    --gradient-hero: linear-gradient(135deg, #1a73e8 0%, #4285f4 50%, #669df6 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);

    --success: #0d904f;
    --warning: #e37400;
    --danger: #d93025;
    --info: #1a73e8;

    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    --fs-7xl: 4.5rem;

    /* Espaciado */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Bordes */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(99, 102, 241, 0.25);

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-nav: 200;
    --z-modal: 300;
    --z-toast: 400;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

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

ul, ol { list-style: none; }

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn--sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--fs-sm);
}

.btn--md {
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-base);
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--fs-lg);
}

.btn--xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--fs-xl);
}

.btn--full {
    width: 100%;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

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

.btn--primary:active {
    transform: translateY(0);
}

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

.btn--outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn--glass {
    background: var(--bg-glass-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.nav--scrolled {
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3) 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-size: var(--fs-2xl);
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.nav__logo-voy {
    color: var(--text-primary);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav__link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-nav) + 1);
}

.mobile-menu--open {
    display: flex;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.mobile-menu__panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-subtle);
    padding: var(--space-20) var(--space-8) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    animation: slideInRight 300ms ease;
}

.mobile-menu__link {
    font-size: var(--fs-lg);
    font-weight: 500;
    padding: var(--space-3) 0;
    color: var(--text-secondary);
}

.mobile-menu__divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: var(--space-4) 0;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) var(--space-6) var(--space-16);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06), transparent 70%);
    animation: globePulse 8s ease-in-out infinite;
}

.hero__globe::before {
    content: '';
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.08);
    animation: globeRotate 20s linear infinite;
}

.hero__globe::after {
    content: '';
    position: absolute;
    inset: -80px;
    border-radius: 50%;
    border: 1px dashed rgba(139, 92, 246, 0.06);
    animation: globeRotate 30s linear infinite reverse;
}

.hero__gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-accent);
    margin-bottom: var(--space-8);
    animation: fadeInUp 600ms ease both;
}

.hero__title {
    font-size: clamp(var(--fs-4xl), 6vw, var(--fs-7xl));
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-6);
    animation: fadeInUp 600ms ease 100ms both;
}

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

.hero__subtitle {
    font-size: clamp(var(--fs-lg), 2vw, var(--fs-xl));
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-10);
    animation: fadeInUp 600ms ease 200ms both;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-16);
    animation: fadeInUp 600ms ease 300ms both;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    animation: fadeInUp 600ms ease 400ms both;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-header__tag {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-header__title {
    font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-header__subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Features --- */
.features {
    padding: var(--space-24) 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

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

.feature-card--highlight {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.feature-card__icon--chat {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    color: var(--primary-light);
}

.feature-card__icon--map {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--success);
}

.feature-card__icon--transport {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
    color: var(--warning);
}

.feature-card__icon--budget {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
    color: #22c55e;
}

.feature-card__icon--gem {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
    color: #c084fc;
}

.feature-card__icon--share {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--info);
}

.feature-card__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-card__desc {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Chat preview inside feature card */
.feature-card__preview {
    margin-top: var(--space-8);
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.chat-preview__bubble {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--fs-sm);
    max-width: 85%;
    line-height: 1.5;
}

.chat-preview__bubble--user {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: var(--space-1);
}

.chat-preview__bubble--ai {
    align-self: flex-start;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-bottom-left-radius: var(--space-1);
}

/* --- How It Works --- */
.how {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.how__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.how__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: var(--space-8);
}

.how__step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-6);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.how__step-content h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.how__step-content p {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.how__connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: calc(var(--space-8) + 32px);
}

/* --- Popular Trips --- */
.popular {
    padding: var(--space-24) 0;
}

.popular__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.popular__cta {
    text-align: center;
    margin-top: var(--space-12);
}

.trip-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.trip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-accent);
}

.trip-card__image {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: var(--space-4);
    position: relative;
}

.trip-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
}

.trip-card__duration, .trip-card__transport {
    position: relative;
    z-index: 1;
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: white;
}

.trip-card__body {
    padding: var(--space-5);
}

.trip-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.trip-card__route {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.trip-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.trip-card__budget {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--success);
}

.trip-card__rating {
    font-size: var(--fs-sm);
}

.trip-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.trip-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: white;
}

.trip-card__stats {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.trip-card__stats svg {
    color: #ef4444;
}

.trip-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.trip-card__tag {
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-glass-strong);
    color: var(--text-accent);
    border: 1px solid var(--border-subtle);
    font-weight: 500;
}

/* --- Filtros de viajes --- */
.trips-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.trips-filter {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-medium);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.trips-filter:hover {
    background: var(--bg-glass-strong);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.trips-filter--active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Grid responsivo 4 columnas */
.popular__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
}

@media (min-width: 1200px) {
    .popular__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .trips-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .trips-filters::-webkit-scrollbar {
        display: none;
    }
    .trips-filter {
        flex-shrink: 0;
    }
}

/* --- CTA Final --- */
.cta-final {
    padding: var(--space-24) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-final__title {
    font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
    position: relative;
}

.cta-final__subtitle {
    font-size: var(--fs-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
    position: relative;
}

/* --- Footer --- */
.footer {
    padding: var(--space-12) 0 var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.footer__tagline {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

.footer__links {
    display: flex;
    gap: var(--space-6);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

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

.footer__bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes globePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
}

@keyframes globeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 600ms ease;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .feature-card--highlight {
        grid-column: span 2;
        grid-row: span 1;
    }

    .popular__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }

    .hero {
        min-height: auto;
        padding: var(--space-24) var(--space-4) var(--space-16);
    }

    .hero__globe {
        width: 400px;
        height: 400px;
    }

    .hero__stats {
        gap: var(--space-6);
    }

    .hero__stat-number {
        font-size: var(--fs-2xl);
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .feature-card--highlight {
        grid-column: span 1;
    }

    .how__steps {
        flex-direction: column;
    }

    .how__connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
        align-self: center;
    }

    .popular__grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-6);
    }
}
