:root {
    /* Brand Colors */
    --primary-color: #06b6d4;
    /* Cyan-500 */
    --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

    /* Dark Theme Backgrounds */
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --card-bg: rgba(30, 41, 59, 0.6);
    /* Glassmorphism */
    --card-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --container-width: 1100px;
    --section-spacing: 100px;
}

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

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    min-height: 100vh;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* Section Background Variations */
.hero {
    background: transparent;
}

#designed-for-travellers {
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

#audience {
    background: transparent;
}

#how-it-works {
    background: rgba(30, 41, 59, 0.3);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.btn-signin {
    padding: 8px 24px;
    border: 1px solid rgba(6, 182, 212, 0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-signin:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary-color);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a:not(.btn-signin) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Section 1: Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #475569;
    border: 2px solid #1e293b;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:nth-child(2) {
    background: #64748b;
}

.avatar:nth-child(3) {
    background: #94a3b8;
}

.social-proof span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-image {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section 2: Grid Layout (Designed for Travellers) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

/* Section 3: Audience (For Every Type of Journey) */
.audience-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.audience-intro h2 {
    margin-bottom: 2rem;
}

.audience-quote-box {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    max-width: 500px;
}

.audience-quote-box p {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.audience-grid .card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.audience-grid .card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
}

.audience-grid .card-icon svg {
    width: 24px;
    height: 24px;
}

/* Section 4: How it Works */
.steps-container {
    margin-top: 4rem;
    position: relative;
}

.step-card {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    background: var(--primary-gradient);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Section 5: Final CTA */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-top: 1px solid var(--card-border);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    .audience-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .audience-quote-box {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .nav-links {
        display: none;
        /* Simple mobile nav hiding for now */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .card {
        padding: 1.5rem;
    }

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

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

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Left side */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Right side */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* The Marker/Dot */
.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    position: absolute;
    top: 40px;
    /* Align with content top approx */
    right: -20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* Fix marker for right side */
.timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    /* reset */
    left: -20px;
}

.timeline-content {
    position: relative;
    border-radius: 6px;
}

/* Responsive Timeline */
@media (max-width: 768px) {

    /* Line moves to left */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-marker {
        left: 11px !important;
        /* Force left pos */
        right: auto;
    }
}



/* Waitlist Form Styles */
.waitlist-form {
    margin-bottom: 3rem;
    width: 100%;
    max-width: 480px;
}

.waitlist-form .input-group {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.waitlist-input {
    flex: 1;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    min-width: 0;
    /* Flexbox fix */
}

.waitlist-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.waitlist-input::placeholder {
    color: #cbd5e1;
    /* Slate-300 for better contrast on glass */
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Centered Form Variant (For Footer) */
.centered-form {
    margin: 2rem auto 0;
}

.centered-form .form-message {
    text-align: center;
}

/* Responsive Styles for Form */
@media (max-width: 992px) {
    .waitlist-form {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .waitlist-form .input-group {
        flex-direction: column;
        gap: 1rem;
    }

    .waitlist-input,
    .waitlist-form button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .waitlist-form {
        max-width: 100%;
    }
}

/* App Showcase Section */
#app-showcase {
    background: rgba(30, 41, 59, 0.3);
    border-bottom: 1px solid var(--card-border);
}

.app-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.feature-image-col,
.feature-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-image-col {
    align-items: center;
}

.feature-text-col h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-text-col p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Phone Mockup Styling */
.phone-mockup {
    max-width: 300px;
    width: 100%;
    border-radius: 30px;
    border: 8px solid #1e293b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 900px) {
    .app-showcase-container {
        gap: 5rem;
    }

    .feature-row {
        gap: 3rem;
    }

    .feature-text-col h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    /* Row 1: Img, Txt -> Txt, Img (Text on top) */
    .feature-row:nth-child(1) {
        flex-direction: column-reverse;
        text-align: center;
    }

    /* Row 2: Txt, Img -> Txt, Img (Text on top) */
    .feature-row:nth-child(2) {
        flex-direction: column;
        text-align: center;
    }

    .phone-mockup {
        max-width: 260px;
    }
}