/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Colors - Light & Airy Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    /* Slate 50 */
    --bg-tertiary: #f1f5f9;
    /* Slate 100 */

    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    /* Accents */
    --accent-blue: #3b82f6;
    /* Blue 500 */
    --accent-blue-hover: #2563eb;
    /* Blue 600 */
    --accent-blue-light: #eff6ff;

    --accent-green: #10b981;
    /* Emerald 500 */
    --accent-green-light: #ecfdf5;

    --accent-sand: #fde5d4;
    --accent-orange: #f97316;
    /* Orange 500 */

    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

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

    /* Layout */
    --container-max-width: 1200px;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--accent-blue-hover);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

.bg-gray-50 {
    background-color: var(--bg-secondary);
}

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

.text-accent-blue {
    color: var(--accent-blue);
}

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

.ms-2 {
    margin-left: 0.5rem;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: 9999px;
    /* Pill shape */
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px 0 rgba(59, 130, 246, 0.39);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 0px solid var(--border-color);
        transition: max-height var(--transition-normal);
        text-align: center;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 1rem 0;
        border-bottom-width: 1px;
        box-shadow: var(--shadow-md);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.geo-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle topographical map SVG pattern encoded as data URI */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2394a3b8' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

/* Subtle gradient blobs in background */
.geo-pattern::before,
.geo-pattern::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
}

.geo-pattern::before {
    top: -100px;
    right: -100px;
    background: var(--gradient-primary);
}

.geo-pattern::after {
    bottom: -100px;
    left: -100px;
    background: var(--gradient-warm);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pill-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--bg-primary);
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   Essential Apps Section
   ========================================================================== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.app-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.app-name {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.app-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.app-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent-blue);
    margin-top: auto;
}

.app-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.app-link:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   Getting Started Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

@media (max-width: 640px) {
    .timeline::before {
        left: 1.5rem;
    }
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 0 4px var(--bg-primary);
    z-index: 2;
    margin-left: -0.25rem;
    /* center on the line */
}

/* Customizing marker colors to match the subtle pastel accents */
.timeline-marker.step-2 {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.timeline-marker.step-3 {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.timeline-marker.step-4 {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.timeline-marker.step-5 {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

/* Violet */

@media (max-width: 640px) {
    .timeline-marker {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
        margin-left: 0;
    }

    .timeline-item {
        gap: 1rem;
    }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex-grow: 1;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Travel Tips & FAQ
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.accordion-icon {
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-in-out;
}

.accordion-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-desc {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

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

.footer-social a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}