/* ============================================
   AirGuide Pro - Premium Styles
   TÜBİTAK Projesi - Modern & Kapsamlı Tasarım
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-violet: #8b5cf6;

    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;

    /* Layout */
    --container-max: 1280px;
    --nav-height: 80px;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-toast);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.airplane-loader {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: fly 2s ease-in-out infinite;
}

.airplane-loader svg {
    width: 100%;
    height: 100%;
    color: white;
}

@keyframes fly {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: white;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; transform: translateX(0); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 100%; transform: translateX(100%); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--neutral-700);
}

.navbar.scrolled {
    height: 64px;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo {
    width: 40px;
    height: 40px;
    color: var(--primary-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-600);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--neutral-100);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--neutral-200);
    transform: scale(1.05);
}

.theme-toggle .moon-icon {
    display: none;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--nav-height) + 4rem) 0 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--primary-50) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-400);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    25% { transform: translateY(-100px) translateX(50px); opacity: 0.8; }
    50% { transform: translateY(-50px) translateX(-30px); opacity: 0.6; }
    75% { transform: translateY(-150px) translateX(20px); opacity: 0.5; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

[data-theme="dark"] .hero-badge {
    background: var(--primary-900);
    color: var(--primary-300);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    background: linear-gradient(135deg, var(--primary-600), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Search Bar */
.hero-search {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.search-container {
    position: relative;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.search-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: var(--z-dropdown);
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suggestion-item:hover {
    background: var(--neutral-100);
}

.suggestion-item img {
    width: 24px;
    height: 16px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.hero-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

[data-theme="dark"] .hero-stat {
    border-color: var(--neutral-700);
}

.hero-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
}

[data-theme="dark"] .hero-stat-icon {
    background: var(--primary-900);
    color: var(--primary-400);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-50);
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-400);
    border-color: var(--primary-400);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary-900);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    pointer-events: none;
}

.floating-cards {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card img {
    width: 80px;
    height: 50px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.floating-card span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 { top: 0; left: 20%; animation-delay: 0s; }
.card-2 { top: 25%; right: 0; animation-delay: 1s; }
.card-3 { top: 50%; left: 0; animation-delay: 2s; }
.card-4 { top: 75%; right: 20%; animation-delay: 3s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: var(--radius-full);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-badge {
    background: var(--primary-900);
    color: var(--primary-300);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Countries Section */
.countries-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

[data-theme="dark"] .countries-section {
    background: var(--bg-tertiary);
}

/* Filter */
.countries-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
}

.filter-btn.active {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

[data-theme="dark"] .filter-btn {
    background: var(--bg-secondary);
    border-color: var(--neutral-700);
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-400);
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Country Card */
.country-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid var(--neutral-200);
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

[data-theme="dark"] .country-card {
    border-color: var(--neutral-700);
}

[data-theme="dark"] .country-card:hover {
    border-color: var(--primary-500);
}

.country-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.country-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.country-card:hover .country-card-image img {
    transform: scale(1.1);
}

.country-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.country-card-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
}

.country-card-favorite:hover {
    transform: scale(1.1);
    background: white;
}

.country-card-favorite svg {
    width: 20px;
    height: 20px;
    color: var(--neutral-400);
    transition: all var(--transition-base);
}

.country-card-favorite.active svg {
    color: var(--accent-rose);
    fill: var(--accent-rose);
}

[data-theme="dark"] .country-card-favorite {
    background: rgba(0,0,0,0.5);
}

[data-theme="dark"] .country-card-favorite:hover {
    background: rgba(0,0,0,0.7);
}

.country-card-region {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    z-index: 10;
}

.country-card-content {
    padding: 1.5rem;
}

.country-card-flag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.country-card-flag img {
    width: 40px;
    height: 27px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.country-card-flag h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.country-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.country-card-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.country-card-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
}

.country-card-weather {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--neutral-100);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .country-card-weather {
    background: var(--bg-tertiary);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weather-icon {
    font-size: 1.5rem;
}

.weather-temp {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.weather-condition {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

[data-theme="dark"] .feature-card {
    border-color: var(--neutral-700);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-cyan));
    border-radius: var(--radius-xl);
    color: var(--primary-700);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: var(--primary-400);
}

.feature-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--neutral-100);
    line-height: 1;
    opacity: 0.5;
}

[data-theme="dark"] .feature-number {
    color: var(--neutral-800);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: var(--neutral-100);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .feature-tag {
    background: var(--neutral-800);
    color: var(--text-tertiary);
}

/* Travel Tips Section */
.travel-tips-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

[data-theme="dark"] .travel-tips-section {
    background: var(--bg-tertiary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--neutral-200);
    text-align: center;
    transition: all var(--transition-base);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-amber);
}

[data-theme="dark"] .tip-card {
    border-color: var(--neutral-700);
}

.tip-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-rose));
    border-radius: var(--radius-xl);
    color: white;
}

.tip-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tip-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.step-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--primary-300), transparent);
    margin-top: 1rem;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .step-icon-wrapper {
    background: var(--primary-900);
    color: var(--primary-400);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

[data-theme="dark"] .about-section {
    background: var(--bg-tertiary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.about-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.about-card:hover {
    border-color: var(--primary-300);
    transform: translateX(10px);
}

[data-theme="dark"] .about-card {
    border-color: var(--neutral-700);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .about-card-icon {
    background: var(--primary-900);
    color: var(--primary-400);
}

.about-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    position: relative;
    background: var(--neutral-900);
    color: var(--text-inverse);
    padding: 4rem 0 2rem;
}

[data-theme="dark"] .footer {
    background: var(--neutral-950);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-primary);
    clip-path: ellipse(80% 100% at 50% 0%);
}

[data-theme="dark"] .footer-wave {
    background: var(--bg-tertiary);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-top: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-800);
    border-radius: var(--radius-full);
    color: var(--neutral-400);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-600);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--neutral-400);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-900);
    color: var(--primary-300);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    background: var(--neutral-100);
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modal-header-flag img {
    width: 80px;
    height: 53px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.modal-header-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.modal-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--neutral-200);
    overflow-x: auto;
}

[data-theme="dark"] .modal-tabs {
    background: var(--bg-tertiary);
    border-bottom-color: var(--neutral-700);
}

.modal-tab {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-lg);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.modal-tab:hover {
    background: var(--neutral-100);
    color: var(--text-primary);
}

.modal-tab.active {
    background: var(--primary-600);
    color: white;
}

[data-theme="dark"] .modal-tab:hover {
    background: var(--neutral-700);
}

.modal-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
}

/* Currency Converter */
.currency-converter {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

[data-theme="dark"] .currency-converter {
    background: var(--bg-tertiary);
}

.converter-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.converter-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.converter-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.converter-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.converter-input-group input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.converter-input-group input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.converter-arrow {
    padding: 1rem;
    color: var(--primary-600);
}

.converter-result {
    padding: 1rem;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    text-align: center;
}

[data-theme="dark"] .converter-result {
    background: var(--primary-900);
}

.converter-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-700);
}

[data-theme="dark"] .converter-result-value {
    color: var(--primary-300);
}

.converter-result-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
}

[data-theme="dark"] .info-card {
    background: var(--bg-tertiary);
    border-color: var(--neutral-700);
}

.info-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Attractions */
.attraction-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.attraction-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-300);
}

[data-theme="dark"] .attraction-card {
    border-color: var(--neutral-700);
}

.attraction-image {
    position: relative;
    height: 200px;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.attraction-badge {
    padding: 0.375rem 0.75rem;
    background: var(--primary-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.attraction-badge.unesco {
    background: var(--accent-emerald);
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.attraction-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.attraction-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.attraction-meta {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

[data-theme="dark"] .attraction-meta {
    border-top-color: var(--neutral-700);
}

.attraction-meta-item {
    flex: 1;
    text-align: center;
}

.attraction-meta-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.attraction-meta-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Food Cards */
.food-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.food-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .food-card {
    border-color: var(--neutral-700);
}

.food-image {
    height: 180px;
}

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-content {
    padding: 1.5rem;
}

.food-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.food-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.food-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.food-tags {
    display: flex;
    gap: 0.5rem;
}

.food-tag {
    padding: 0.25rem 0.5rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .food-tag {
    background: var(--primary-900);
    color: var(--primary-300);
}

.food-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

/* Culture Section */
.culture-section {
    display: grid;
    gap: 1.5rem;
}

.culture-block {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

[data-theme="dark"] .culture-block {
    background: var(--bg-tertiary);
}

.culture-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.culture-block p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.dos-list, .donts-list {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.dos-list h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 0.75rem;
}

.donts-list h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-rose);
    margin-bottom: 0.75rem;
}

.dos-list ul, .donts-list ul {
    list-style: none;
}

.dos-list li, .donts-list li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.dos-list li::before {
    content: '✓';
    color: var(--accent-emerald);
    font-weight: 700;
}

.donts-list li::before {
    content: '✗';
    color: var(--accent-rose);
    font-weight: 700;
}

/* Visa Section */
.visa-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .visa-card {
    background: var(--bg-tertiary);
}

.visa-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.visa-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

[data-theme="dark"] .visa-item {
    border-bottom-color: var(--neutral-700);
}

.visa-item:last-child {
    border-bottom: none;
}

.visa-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.visa-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Emergency Section */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.emergency-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--neutral-200);
}

[data-theme="dark"] .emergency-card {
    background: var(--bg-tertiary);
    border-color: var(--neutral-700);
}

.emergency-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-rose);
    border-radius: var(--radius-full);
    color: white;
}

.emergency-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.emergency-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-700);
    transform: translateY(-3px);
}

/* Favorites Section */
.favorites-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.favorites-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-tertiary);
}

.favorites-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.favorites-empty p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.favorites-empty span {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-search {
        max-width: 100%;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    
    .hero {
        padding: calc(var(--nav-height) + 2rem) 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 1rem;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .countries-filter {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .dos-donts {
        grid-template-columns: 1fr;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-container {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .modal-tabs {
        padding: 0.75rem 1rem;
    }
    
    .modal-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-500);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--neutral-800);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--neutral-600);
}

/* Selection */
::selection {
    background: var(--primary-200);
    color: var(--primary-900);
}

[data-theme="dark"] ::selection {
    background: var(--primary-800);
    color: var(--primary-100);
}