* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Header Base Styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 21px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    padding: 12px 0;
    white-space: nowrap;
}

.logo span {
    color: #007AFF;
}

/* Navigation for Desktop */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 24px;
}

nav a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: #007AFF;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007AFF;
    transition: width 0.3s;
}

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

.cta-button {
    background-color: #007AFF;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #0056CC;
    transform: scale(1.03);
}

/* ===== MOBILE MENU (Hamburger) ===== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1d1d1f;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    z-index: 1001;
}

.menu-toggle:focus {
    outline: none;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 1024px) {
    /* Tablet adjustments */
    nav li {
        margin-left: 16px;
    }

    .logo {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    /* Mobile menu activation */
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }

    nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        width: 100%;
    }

    nav a::after {
        display: none;
    }

    .logo {
        font-size: 18px;
        flex: 1;
    }

    .cta-button {
        padding: 8px 12px;
        font-size: 13px;
        margin-left: auto;
        margin-right: 10px;
    }

    /* Adjust hero section padding for fixed header */
    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 20px;
    }

    /* Adjust privacy page padding */
    .privacy-container {
        padding: 100px 15px 40px;
    }

    .privacy-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    header {
        padding: 0 15px;
    }

    .logo {
        font-size: 17px;
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 90px 15px 50px;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 18px;
    }

    .privacy-container {
        padding: 90px 12px 30px;
    }

    .privacy-header h1 {
        font-size: 30px;
    }

    .privacy-content {
        padding: 20px;
    }

    .privacy-section h2 {
        font-size: 22px;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Privacy policy page specific header adjustments */
.privacy-header {
    padding-top: 20px;
}

/* Ensure content doesn't hide under fixed header */
section {
    scroll-margin-top: 80px; /* Adjust based on your header height */
}

/* Smooth scrolling offset for anchor links */
html {
    scroll-padding-top: 80px;
}

/* Fix for iOS Safari viewport height */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

.cta-button:hover {
    background-color: #0056CC;
    transform: scale(1.03);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
    max-width: 900px;
}

.hero h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.14286;
    letter-spacing: 0.007em;
    color: #86868b;
    margin-bottom: 40px;
    max-width: 700px;
}

/* Media Container */
.media-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-video, .how-it-works-video {
    width: 100%;
    height: auto;
    display: block;
}

.feature-image, .destinations-image {
    width: 100%;
    height: auto;
    display: block;
}

.prompt-description {
    background-color: rgba(0, 122, 255, 0.1);
    padding: 15px;
    font-size: 14px;
    text-align: left;
}

.prompt-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #007AFF;
}

/* Chat Platforms */
.platforms {
    padding: 80px 20px;
    text-align: center;
    background-color: #fbfbfd;
}

.platforms h3 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0em;
    margin-bottom: 10px;
}

.platforms p {
    font-size: 21px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 50px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 18px;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s;
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 40px;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features */
.features {
    padding: 80px 20px;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background-color: #fbfbfd;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 25px;
    color: #007AFF;
}

.feature-card h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #86868b;
    font-size: 17px;
    line-height: 1.47059;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    background-color: #f5f7fa;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #007AFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 25px;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
}

.cta-section h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-large-button {
    background-color: white;
    color: #007AFF;
    border: none;
    padding: 18px 36px;
    border-radius: 980px;
    font-size: 21px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-large-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #f5f7fa;
    padding: 40px 20px 20px;
    color: #86868b;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: #515154;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #007AFF;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-example {
        max-height: 250px;
        padding: 15px;
    }

    .chat-bubble {
        max-width: 90%;
    }

    .chat-message {
        padding: 10px 14px;
    }

    .chat-message p {
        font-size: 13px;
    }

    .quick-replies {
        flex-direction: column;
    }

    .quick-reply {
        width: 100%;
        text-align: center;
    }

    .itinerary-actions {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 18px;
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    padding: 0;
    animation: fadeIn 0.8s ease;
}

.slide.active {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}

.slide-image {
    flex: 1;
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #f8f9fa;
}

.slide-image-real {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.slide.active .slide-image-real {
    transform: scale(1.02);
}

.slide-content {
    flex: 1;
    min-width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-number {
    font-size: 14px;
    font-weight: 600;
    color: #007AFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.slide-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.slide-description {
    font-size: 18px;
    color: #515154;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Slideshow Navigation Dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #007AFF;
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(0, 122, 255, 0.5);
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.control-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.timer-bar {
    width: 100px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.timer-progress {
    width: 100%;
    height: 100%;
    background-color: #007AFF;
    border-radius: 2px;
    animation: timer 5s linear infinite;
}

/* Animation for slide transition */
@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide.active {
        flex-direction: column;
    }

    .slide-image,
    .slide-content {
        min-width: 100%;
    }

    .slide-image {
        min-height: 250px;
        padding: 20px;
    }

    .slide-content {
        padding: 30px;
    }

    .slide-title {
        font-size: 24px;
    }

    .slide-image-real {
        max-height: 300px;
    }
}

/* Chat Example Styles */
.chat-example {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
}

.chat-bubble {
    display: flex;
    margin-bottom: 16px;
    max-width: 85%;
}

.chat-bubble.user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.chat-bubble.assistant {
    margin-right: auto;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #007AFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin: 0 10px;
}

.chat-bubble.user .chat-avatar {
    background: #34C759;
}

.chat-message {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.chat-bubble.user .chat-message {
    background: #007AFF;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-bubble.assistant .chat-message {
    background: white;
    color: #1d1d1f;
    border-bottom-left-radius: 4px;
}

.chat-message p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message p:last-child {
    margin-bottom: 0;
}

.chat-time {
    font-size: 11px;
    color: #8e8e93;
    display: block;
    text-align: right;
    margin-top: 4px;
}

.chat-bubble.user .chat-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 8px 0;
}

.quick-reply {
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 13px;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-reply:hover {
    background: #e8eaed;
    border-color: #007AFF;
}

/* Confirmation Message */
.chat-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.confirmation-icon {
    font-size: 20px;
}

.confirmation-header h5 {
    margin: 0;
    color: #155724;
    font-size: 16px;
    font-weight: 600;
}

.itinerary-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.itinerary-btn {
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 1;
}

.itinerary-btn:hover {
    background: #0056CC;
}

/* Chat Example Scrollbar */
.chat-example::-webkit-scrollbar {
    width: 6px;
}

.chat-example::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-example::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-example::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile-only elements */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    /* Hide desktop CTA button on mobile */
    .cta-button {
        display: none;
    }

    /* Show mobile CTA in menu */
    .mobile-cta {
        margin-top: 20px;
        padding: 0 30px;
    }

    .mobile-cta .cta-button {
        display: block;
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* Back button styling for privacy page */
.privacy-header .back-button {
    margin-top: 20px;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero, .privacy-container {
        min-height: -webkit-fill-available;
    }
}

/* Prevent horizontal scrolling on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
