/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-blue: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e40af;
    
    /* Accent Colors */
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    --accent-orange-dark: #ea580c;
    
    /* Neutral Colors */
    --neutral-white: #ffffff;
    --neutral-gray-100: #f3f4f6;
    --neutral-gray-200: #e5e7eb;
    --neutral-gray-300: #d1d5db;
    --neutral-gray-400: #9ca3af;
    --neutral-gray-500: #6b7280;
    --neutral-gray-600: #4b5563;
    --neutral-gray-700: #374151;
    --neutral-gray-800: #1f2937;
    --neutral-gray-900: #111827;
    
    /* Background Gradients */
    --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --bg-secondary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --bg-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--neutral-white);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-white);
    background: var(--bg-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neutral-white);
    background: var(--bg-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--neutral-gray-200);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--bg-accent);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.sign-up-btn {
    background: var(--bg-accent);
    color: var(--neutral-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-size: 0.95rem;
}

.sign-up-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--neutral-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-link {
    color: var(--neutral-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

.mobile-sign-up-btn {
    background: var(--bg-accent);
    color: var(--neutral-white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

.mobile-sign-up-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(30, 58, 138, 0.6)), 
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop&crop=center') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--neutral-white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.3), rgba(30, 58, 138, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    right: 10%;
    z-index: 2;
    opacity: 0.8;
}

.hero-silhouette {
    height: 400px;
    width: auto;
    object-fit: cover;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--neutral-gray-200);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.25rem 2rem;
    color: var(--neutral-white);
    font-size: 1.1rem;
    outline: none;
    font-weight: 400;
}

.search-input::placeholder {
    color: var(--neutral-gray-300);
}

.search-btn {
    background: var(--bg-accent);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-btn:hover {
    background: var(--accent-orange-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.search-btn svg {
    color: var(--neutral-white);
    width: 24px;
    height: 24px;
}

/* Explore Section */
.explore {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 58, 138, 0.4) 100%);
    position: relative;
}

.explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop&crop=center') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.explore .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--neutral-white);
    text-align: center;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Explore Cards */
.explore-card {
    background: var(--glass-bg);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.explore-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-orange-light);
    background: rgba(255, 255, 255, 0.15);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}

.explore-card:hover .card-image {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.2);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--neutral-white);
    line-height: 1.4;
}

.card-content p {
    color: var(--accent-orange-light);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Personalized Recommendations Section */
.recommendations {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 58, 138, 0.4) 100%);
    position: relative;
}

.recommendations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop&crop=center') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.recommendations .container {
    position: relative;
    z-index: 1;
}

.recommendations .section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--neutral-white);
    text-align: center;
    background: linear-gradient(135deg, var(--neutral-white) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recommendation-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 2rem;
    border: 2px solid var(--accent-orange);
    background: var(--glass-bg);
    color: var(--accent-orange);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bg-accent);
    color: var(--neutral-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-orange-light);
}



/* Mobile-first responsive design - Extra Small devices (max-width: 576px) */
@media (max-width: 576px) {
    /* Base typography improvements */
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    /* Improved button typography */
    .btn, .cta-button, .search-btn, .filter-btn {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
    
    /* Container and spacing improvements */
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    /* Section spacing */
    section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
        line-height: 1.5;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .compass-logo {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .nav {
        display: none;
    }
    
    .desktop-sign-up {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: 70vh;
        padding: 3rem 0 2rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        font-weight: 400;
        opacity: 0.9;
    }
    
    .hero-image-overlay {
        display: none; /* Hide decorative image on mobile */
    }
    
    /* Scrolling cities mobile optimization */
    .scrolling-cities,
    .scrolling-cities-hero {
        display: inline-block;
        min-width: 80px;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    /* Search section improvements */
    .search-container {
        flex-direction: column;
        gap: 12px;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
        border-radius: 8px;
    }
    
    .search-btn {
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 8px;
        font-weight: 600;
    }
    
    /* Explore section improvements */
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .explore-card {
        border-radius: 12px;
        overflow: hidden;
    }
    
    .explore-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .explore-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Recommendations section improvements */
    .recommendations {
        padding: 2.5rem 0;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 20px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* AI Trip Planner improvements */
    .ai-trip-planner {
        padding: 2.5rem 0;
    }
    
    .planner-header .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        font-weight: 700;
        text-align: center;
    }
    
    .planner-header .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .planner-interface {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .chat-container {
        padding: 15px;
        border-radius: 15px;
        max-height: 300px;
        margin-bottom: 1.5rem;
    }
    
    .chat-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
        border-radius: 8px;
    }
    
    .send-btn {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .option-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
    }
    
    .option-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .planner-sidebar {
        flex-direction: column;
        gap: 15px;
    }
    
    .trip-summary, .suggested-destinations {
        padding: 15px;
    }
    
    .trip-summary h3, .suggested-destinations h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .destination-cards {
        gap: 8px;
        flex-direction: column;
    }
    
    .destination-card {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        min-height: auto;
    }
    
    .destination-card h4 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .destination-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations for better performance */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Optimize scrolling cities for mobile */
    .scrolling-cities,
    .scrolling-cities-hero {
        will-change: opacity, transform;
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Smooth transitions for mobile */
    .fade-out,
    .fade-in {
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .scrolling-cities,
        .scrolling-cities-hero,
        .fade-out,
        .fade-in,
        .animate {
            animation: none !important;
            transition: none !important;
        }
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .desktop-sign-up {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recommendation-filters {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* AI Trip Planner Tablet */
    .ai-trip-planner {
        padding: 70px 0;
    }
    
    .planner-header .section-title {
        font-size: 2.25rem;
    }
    
    .planner-header .section-subtitle {
        font-size: 1rem;
    }
    
    .planner-interface {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .chat-container {
        padding: 18px;
    }
    
    .option-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .option-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .planner-sidebar {
        flex-direction: row;
        gap: 20px;
    }
    
    .trip-summary, .suggested-destinations {
        flex: 1;
        padding: 18px;
    }
}

/* Large devices (desktops, 992px and up) - Tablet landscape */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .search-container {
        max-width: 100%;
        margin: 0 0.5rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .recommendations {
        padding: 40px 0;
    }
    
    .header-container {
        padding: 0.5rem 0.75rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .compass-logo {
        width: 28px;
        height: 28px;
    }
    
    /* AI Trip Planner Extra Small */
    .ai-trip-planner {
        padding: 50px 0;
    }
    
    .planner-header .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .planner-header .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .chat-container {
        padding: 12px;
        margin: 0 0.5rem;
    }
    
    .chat-input {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .send-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .option-btn {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .trip-summary, .suggested-destinations {
        padding: 12px;
        margin: 0 0.5rem;
    }
    
    .trip-summary h3, .suggested-destinations h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .destination-card {
        padding: 8px;
    }
    
    .destination-card h4 {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .destination-card p {
        font-size: 0.75rem;
    }
}

/* AI Trip Planner Section */
.ai-trip-planner {
    background: var(--bg-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.ai-trip-planner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.planner-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.planner-header .section-title {
    color: var(--neutral-white);
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.planner-header .section-subtitle {
    color: var(--neutral-gray-200);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.planner-interface {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.chat-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.chat-messages {
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 30px;
    padding-right: 10px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: var(--bg-secondary);
}

.user-message .message-avatar {
    background: var(--bg-accent);
}

.message-content {
    flex: 1;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 15px;
    border-top-left-radius: 5px;
    color: var(--neutral-white);
}

.user-message .message-content {
    background: var(--primary-blue);
    color: var(--neutral-white);
    border-top-left-radius: 15px;
    border-top-right-radius: 5px;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-content p + p {
    margin-top: 10px;
}

.quick-options {
    margin-bottom: 30px;
}

.quick-options h4 {
    margin-bottom: 15px;
    color: var(--neutral-white);
    font-size: 1.1rem;
}

.option-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-white);
}

.option-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-blue-light);
    transform: translateY(-2px);
}

.option-btn i {
    font-size: 1.2rem;
    color: var(--accent-orange);
}

.chat-input-container {
    position: relative;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    color: var(--neutral-white);
}

.chat-input::placeholder {
    color: var(--neutral-gray-400);
}

.chat-input:focus {
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-accent);
    border: none;
    color: var(--neutral-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.planner-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trip-summary, .suggested-destinations {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.trip-summary h4, .suggested-destinations h4 {
    margin-bottom: 20px;
    color: var(--neutral-white);
    font-size: 1.3rem;
    font-weight: 600;
}

.summary-content .empty-state {
    color: var(--neutral-gray-300);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.destination-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.destination-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.destination-card:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.destination-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.destination-info h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-white);
}

.destination-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--neutral-gray-300);
}

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

/* Responsive Design for AI Trip Planner */
@media (max-width: 1024px) {
    .planner-interface {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .planner-sidebar {
        flex-direction: row;
    }
    
    .trip-summary, .suggested-destinations {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .ai-trip-planner {
        padding: 80px 0;
    }
    
    .planner-header .section-title {
        font-size: 2.5rem;
    }
    
    .planner-header .section-subtitle {
        font-size: 1.1rem;
    }
    
    .chat-container {
        padding: 20px;
    }
    
    .option-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .option-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .planner-sidebar {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .planner-header .section-title {
        font-size: 2rem;
    }
    
    .option-buttons {
        grid-template-columns: 1fr;
    }
    
    .destination-cards {
        gap: 10px;
    }
    
    .destination-card {
        padding: 12px;
    }
    
    .destination-card img {
        width: 50px;
        height: 50px;
    }
}

/* Scrolling Cities Animation */
.scrolling-cities {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 600;
    position: relative;
    min-width: 100px;
    text-align: center;
}

.scrolling-cities-hero {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 600;
    position: relative;
    min-width: 100px;
    text-align: center;
}

.scrolling-cities.fade-out,
.scrolling-cities-hero.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease-in-out;
}

.scrolling-cities.fade-in,
.scrolling-cities-hero.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
}

@keyframes citySlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.scrolling-cities.animate,
.scrolling-cities-hero.animate {
    animation: citySlideUp 3s ease-in-out;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    color: var(--neutral-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.footer-tagline {
    color: var(--neutral-gray-300);
    font-size: 0.95rem;
    margin: 0;
}

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

.footer-column h4 {
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-orange);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--neutral-gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0 0 0.5rem 0;
    color: var(--neutral-gray-300);
    font-size: 0.9rem;
}

.footer-ipr {
    font-size: 0.8rem !important;
    color: var(--neutral-gray-400) !important;
    font-style: italic;
}

.footer-credits {
    font-size: 0.8rem;
    color: #ff6b35;
    margin-top: 0.5rem;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--neutral-gray-400);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-orange);
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}