/* Marketing Website Styles - Matching React/Ionic Design */

:root {
    /* Bridge marketing colors to app theme tokens */
    --primary-purple: var(--ion-color-primary, #6c63ff);
    --primary-purple-dark: var(--ion-color-primary-shade, #6057e0);
    --primary-purple-light: var(--ion-color-primary-tint, #7b72ff);
    
    /* Gradient Colors - reuse app hero/header gradients when available */
    --gradient-start: rgb(var(--ion-color-primary-rgb, 108, 99, 255));
    --gradient-end: var(--app-header-bg-end, #7b72ff);
    
    /* Accent Colors - map to Ionic/supporting tokens where possible */
    --blue: var(--ion-color-primary, #6c63ff);
    --green: var(--ion-color-tertiary, #48dcb5);
    --orange: var(--ion-color-warning, #ffc409);
    --pink: var(--ion-color-secondary, #ff7ccd);
    --indigo: var(--ion-color-medium, #5f6e96);
    
    /* Neutral Colors (map towards app neutrals where possible) */
    --gray-50: var(--app-page-background, #f9fafb);
    --gray-100: #f3f4f6;
    --gray-200: var(--app-border-soft, #e5e7eb);
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: var(--app-text-muted, #6b7280);
    --gray-600: var(--app-text-secondary, #4b5563);
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: var(--app-text-primary, #111827);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Borders */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Marketing-specific tokens that need theme awareness */
    --marketing-footer-bg: #0f183a;
    --marketing-footer-text: #ffffff;
    --marketing-footer-muted: rgba(255, 255, 255, 0.75);
    --marketing-footer-border: rgba(255, 255, 255, 0.15);
    --marketing-accent-strong: var(--ion-color-primary, #6c63ff);
    --marketing-accent-strong-contrast: var(--ion-color-primary-contrast, #ffffff);
    
    /* Platform icon colors - adapt to card background contrast */
    /* Light themes: dark icons on white/light cards */
    --marketing-ios-filter: brightness(0) saturate(100%);
    --marketing-ios-hover: var(--ion-color-dark, #0f183a);
    --marketing-ios-button-bg: var(--ion-color-dark, #0f183a);
    --marketing-ios-button-text: #ffffff;
    --marketing-ios-button-hover: var(--ion-color-dark-shade, #0d1433);
    
    --marketing-android-filter: brightness(0) saturate(100%) invert(73%) sepia(32%) saturate(1150%) hue-rotate(121deg) brightness(91%) contrast(89%);
    --marketing-android-hover: var(--ion-color-tertiary, #48dcb5);
    --marketing-android-button-bg: var(--ion-color-tertiary, #48dcb5);
    --marketing-android-button-text: var(--ion-color-tertiary-contrast, #041712);
    --marketing-android-button-hover: var(--ion-color-tertiary-shade, #40c3a0);
}

/* Dark mode: light icons on dark card backgrounds */
body.dark {
    --marketing-ios-filter: brightness(0) saturate(100%) invert(100%);
    --marketing-ios-hover: var(--ion-color-dark, #eef0ff);
    --marketing-ios-button-bg: var(--ion-color-dark, #eef0ff);
    --marketing-ios-button-text: var(--ion-color-dark-contrast, #070b1a);
    --marketing-ios-button-hover: var(--ion-color-dark-shade, #d1d4e0);
    
    --marketing-android-filter: brightness(0) saturate(100%) invert(86%) sepia(11%) saturate(1702%) hue-rotate(115deg) brightness(97%) contrast(92%);
    --marketing-android-hover: var(--ion-color-tertiary, #5fe4c5);
    --marketing-android-button-bg: var(--ion-color-tertiary, #5fe4c5);
    --marketing-android-button-text: var(--ion-color-tertiary-contrast, #031712);
    --marketing-android-button-hover: var(--ion-color-tertiary-shade, #54caaa);
}

/* Forest theme: light icons on dark brown card backgrounds */
body[data-theme='forest'] {
    --marketing-footer-bg: var(--app-surface, #1c170d);
    --marketing-footer-text: var(--app-text-primary, #f5e9d7);
    --marketing-footer-muted: var(--app-text-secondary, #cfc2ad);
    --marketing-footer-border: var(--app-border-soft, rgba(255, 255, 255, 0.12));
    --marketing-accent-strong: var(--ion-color-tertiary, #7a8c5c);
    --marketing-accent-strong-contrast: var(--ion-color-primary-contrast, #ffffff);
    
    /* Forest: cream/light icons on dark brown cards */
    --marketing-ios-filter: brightness(0) saturate(100%) invert(93%) sepia(8%) saturate(673%) hue-rotate(338deg) brightness(103%) contrast(93%);
    --marketing-ios-hover: #ffffff;
    --marketing-ios-button-bg: var(--ion-color-tertiary, #7a8c5c);
    --marketing-ios-button-text: #ffffff;
    --marketing-ios-button-hover: #8b9f6c;
    
    --marketing-android-filter: brightness(0) saturate(100%) invert(56%) sepia(16%) saturate(670%) hue-rotate(41deg) brightness(91%) contrast(86%);
    --marketing-android-hover: #8b9f6c;
    --marketing-android-button-bg: var(--ion-color-tertiary, #7a8c5c);
    --marketing-android-button-text: #ffffff;
    --marketing-android-button-hover: #8b9f6c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.logo-img {
    border-radius: 12px;
}

body {
    font-family: var(--ion-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--app-page-background, var(--gray-50));
    color: var(--app-text-primary, var(--gray-900));
    line-height: 1.6;
}

/* Container */
.marketing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Removed duplicate media query - handled in main responsive section */

/* Header */
.marketing-header {
    background: var(--app-header-gradient, rgba(255, 255, 255, 0.98));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--app-header-border-color, var(--gray-200));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--app-header-shadow, var(--shadow-sm));
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-section:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: color 0.3s ease;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

/* Dark theme - use lighter tint for contrast against dark header */
body.dark .logo-icon {
    color: #a4abff;
}

body.dark .logo-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Forest theme - use light cream/tan for contrast against dark brown header */
body[data-theme="forest"] .logo-icon {
    color: #e8d5b7;
}

body[data-theme="forest"] .logo-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

body[data-theme="forest"] .logo-text {
    color: #fdfaf5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.55);
    backdrop-filter: blur(4px);
    z-index: 998;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--app-header-text, var(--gray-700));
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: calc(var(--marketing-header-height, 70px) + 8px);
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: min(420px, calc(100% - 2rem));
        flex-direction: column;
        gap: 0;
        background: var(--app-surface, rgba(12, 17, 32, 0.96));
        border: 1px solid var(--app-border-soft, rgba(255, 255, 255, 0.08));
        border-radius: 28px;
        box-shadow: 0 28px 60px rgba(6, 11, 25, 0.45);
        padding: 1rem 0;
        max-height: none;
        height: calc(100vh - var(--marketing-header-height, 70px) - 20px);
        overflow-y: auto;
        display: none;
        z-index: 999;
        backdrop-filter: blur(18px);
    }

    .header-nav.open {
        display: flex;
        animation: mobileMenuFade 0.2s ease;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid var(--app-border-soft, var(--gray-200));
    }

    .nav-link.active::after {
        display: none;
    }

    .download-btn {
        margin: 1rem 1.5rem 0;
        width: calc(100% - 3rem);
        justify-content: center;
    }

    .download-btn span {
        display: inline;
    }

    .theme-selector {
        margin: 0.75rem 1.5rem 1rem;
        width: calc(100% - 3rem);
        position: static;
    }

    .theme-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .theme-dropdown-menu-wrapper {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-top: 0.65rem;
    }

    .theme-selector.open .theme-dropdown-menu {
        position: relative;
    }
}

@keyframes mobileMenuFade {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.theme-selector {
    position: relative;
    min-width: auto;
    font-family: inherit;
}

.theme-dropdown-trigger {
    border-radius: 999px;
    border: 1px solid var(--app-border-soft, rgba(15, 28, 67, 0.12));
    background: var(--app-surface, rgba(255, 255, 255, 0.95));
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--app-text-primary, #0f183a);
    box-shadow: 0 10px 22px rgba(15, 28, 67, 0.12);
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-selector.open .theme-dropdown-trigger {
    box-shadow: 0 16px 30px rgba(15, 28, 67, 0.16);
    border-color: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.35);
}

.theme-dropdown-trigger:hover {
    transform: translateY(-1px);
}

.theme-dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.theme-dropdown-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: transparent;
    color: var(--app-text-primary, #0f183a);
    box-shadow: none;
}

.theme-dropdown-text {
    display: inline;
}



.theme-dropdown-menu-wrapper {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    width: 280px;
    max-width: 90vw;
    z-index: 40;
}

.theme-dropdown-menu {
    margin: 0;
    padding: 0.35rem;
    border-radius: 18px;
    border: 1px solid var(--app-border-soft);
    background: var(--app-surface-elevated);
    box-shadow: var(--app-shadow-strong);
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    color: var(--app-text-primary);
    /* Fallback scrollbar styling for non-WebKit browsers */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.3) transparent;
}

.theme-selector.open .theme-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.theme-dropdown-option {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    color: var(--app-text-primary);
    font-family: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.theme-dropdown-option:hover {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.08);
    transform: translateY(-1px);
}

.theme-dropdown-option.selected {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.12);
}

.theme-dropdown-option-icon {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.1);
}

.theme-dropdown-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.theme-dropdown-option-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--app-text-primary);
}

.theme-dropdown-option-description {
    font-size: 0.8rem;
    color: var(--app-text-secondary);
}



/* WebKit scrollbar styling */
.theme-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.theme-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.05);
    border-radius: 999px;
}

.theme-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.35);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.theme-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.5);
    background-clip: padding-box;
}

/* Ensure proper text contrast in dropdown options - use theme tokens without fallbacks */
.theme-dropdown-option-label {
    color: var(--app-text-primary);
    font-weight: 600;
}

.theme-dropdown-option-description {
    color: var(--app-text-secondary);
    font-weight: 400;
}

/* Theme-specific contrast adjustments for dark themes */
body.dark .theme-dropdown-menu,
body[data-theme='forest'] .theme-dropdown-menu,
body[data-theme='mountain-mist'] .theme-dropdown-menu,
body[data-theme='ocean-depths'] .theme-dropdown-menu {
    background: var(--app-surface-elevated);
    border-color: var(--app-border-strong);
    box-shadow: var(--app-shadow-strong);
}

body.dark .theme-dropdown-option-label,
body[data-theme='forest'] .theme-dropdown-option-label,
body[data-theme='mountain-mist'] .theme-dropdown-option-label,
body[data-theme='ocean-depths'] .theme-dropdown-option-label {
    color: var(--app-text-primary);
}

body.dark .theme-dropdown-option-description,
body[data-theme='forest'] .theme-dropdown-option-description,
body[data-theme='mountain-mist'] .theme-dropdown-option-description,
body[data-theme='ocean-depths'] .theme-dropdown-option-description {
    color: var(--app-text-secondary);
}

body.dark .theme-dropdown-option:hover,
body[data-theme='forest'] .theme-dropdown-option:hover,
body[data-theme='mountain-mist'] .theme-dropdown-option:hover,
body[data-theme='ocean-depths'] .theme-dropdown-option:hover {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.15);
}

body.dark .theme-dropdown-option.selected,
body[data-theme='forest'] .theme-dropdown-option.selected,
body[data-theme='mountain-mist'] .theme-dropdown-option.selected,
body[data-theme='ocean-depths'] .theme-dropdown-option.selected {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.25);
}

@media (max-width: 768px) {
    .theme-selector {
        width: 100%;
        min-width: 0;
    }

    .theme-dropdown-menu-wrapper {
        width: 100%;
        max-width: 100%;
        right: auto;
        left: 0;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--app-header-text, var(--gray-700));
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease, opacity 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--app-header-text, var(--gray-700));
    opacity: 0.8;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-purple);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--app-header-gradient, linear-gradient(135deg, var(--gradient-start), var(--gradient-end)));
    color: var(--app-header-text, #ffffff) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Removed duplicate media query - merged into main responsive section below */

/* Main Content */
.marketing-main {
    min-height: 100vh;
}

/* Hero Section */
.landing-hero {
    position: relative;
    background: var(--app-hero-gradient-blue, linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%));
    padding: 6rem 0 5rem;
    overflow: hidden;
    color: var(--app-hero-text, #ffffff);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--app-hero-card-background, rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid var(--app-hero-card-border, rgba(255, 255, 255, 0.2));
    color: var(--app-hero-text-strong, rgba(255, 255, 255, 0.95));
    max-width: 100%;
    text-align: center;
}

.hero-badge span:first-child {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--ion-color-warning, #ffc409), var(--ion-color-secondary, #ff7ccd));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 2.5rem 0; /* Align with hero title by default */
    color: var(--app-hero-text-muted, rgba(255, 255, 255, 0.95));
    max-width: 700px;
    text-align: inherit; /* respect hero-content's alignment (left/center) */
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-device {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.device-frame {
    position: relative;
    width: 320px;
    max-width: 100%;
    aspect-ratio: 9 / 18;
    border-radius: 2.25rem;
    padding: 0.75rem;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.35), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.35), transparent 60%);
    box-shadow: var(--app-shadow-hero, 0 30px 65px rgba(13, 26, 67, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.device-notch {
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 0.35rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 999px;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 1.75rem;
    padding: 0;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.16) 0%, rgba(6, 18, 40, 0.96) 90%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--app-hero-text, #ffffff);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

.device-screen::-webkit-scrollbar {
    width: 6px;
}

.device-screen::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.device-screen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.device-screen::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.device-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.75rem;
    cursor: grab;
    user-select: none;
}

.device-screenshot:active {
    cursor: grabbing;
}

.device-pill {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.device-title {
    margin-top: 1.25rem;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
}

.device-title span {
    display: block;
    font-weight: 600;
    opacity: 0.9;
}

.device-subtitle {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

.device-rows {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.device-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.95;
}

.dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
}

.dot-primary {
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.95);
}

.dot-secondary {
    background: rgba(var(--ion-color-secondary-rgb, 255, 124, 205), 0.95);
}

.dot-tertiary {
    background: rgba(var(--ion-color-tertiary-rgb, 72, 220, 181), 0.95);
}

.device-footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--app-hero-card-background, rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--app-hero-card-border, rgba(255, 255, 255, 0.2));
    box-shadow: var(--app-shadow-hero, var(--shadow-lg));
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.3);
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border: 1px solid var(--app-border-soft, rgba(0, 0, 0, 0.1));
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Minimum touch target size for mobile */
    min-height: 44px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--app-hero-button-background, #ffffff);
    color: var(--primary-purple);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--app-shadow-soft, var(--shadow-lg));
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn:disabled,
.btn[disabled] {
    /* Use theme-aware disabled button background and text to keep good contrast in dark themes */
    background: var(--app-button-disabled-bg, rgba(0, 0, 0, 0.06));
    color: var(--app-button-disabled-text, rgba(255, 255, 255, 0.85));
    border: 1px solid var(--app-button-disabled-border, rgba(0, 0, 0, 0.08));
    cursor: not-allowed;
    transform: none !important;
    opacity: 1; /* avoid faded disabled color which reduces contrast on dark themes */
    pointer-events: none; /* ensure no hover/focus on disabled CTA */
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none !important;
    box-shadow: var(--app-shadow-soft, var(--shadow-lg));
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--app-surface, #ffffff);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--app-text-primary, var(--gray-900));
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--app-text-secondary, var(--gray-600));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

@media (min-width: 900px) {
    /* Use 2 columns for smaller desktop widths to match features-detailed-grid */
    .features-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
}

.feature-card {
    background: var(--app-surface, var(--gray-50));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--app-border-soft, var(--gray-200));
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--app-shadow-strong, var(--shadow-lg));
    border-color: var(--ion-color-primary, var(--primary-purple-light));
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper.purple {
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple));
    color: var(--ion-color-primary-contrast, #ffffff);
}

.feature-icon-wrapper.blue {
    background: linear-gradient(135deg, rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.8), rgba(var(--ion-color-primary-rgb, 108, 99, 255), 1));
    color: var(--ion-color-primary-contrast, #ffffff);
}

.feature-icon-wrapper.green {
    background: linear-gradient(135deg, var(--ion-color-tertiary-tint, #5ae0bd), var(--ion-color-tertiary, #48dcb5));
    color: var(--ion-color-tertiary-contrast, #041712);
}

.feature-icon-wrapper.orange {
    background: linear-gradient(135deg, var(--ion-color-warning-tint, #ffca22), var(--ion-color-warning, #ffc409));
    color: var(--ion-color-warning-contrast, #1f1400);
}

.feature-icon-wrapper.pink {
    background: linear-gradient(135deg, var(--ion-color-secondary-tint, #ff8bd2), var(--ion-color-secondary, #ff7ccd));
    color: var(--ion-color-secondary-contrast, #120621);
}

.feature-icon-wrapper.indigo {
    background: linear-gradient(135deg, var(--ion-color-medium-tint, #7080a1), var(--ion-color-medium, #5f6e96));
    color: var(--ion-color-medium-contrast, #ffffff);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--app-text-primary, var(--gray-900));
    margin-bottom: 0.75rem;
}

.feature-description,
.feature-card-description {
    font-size: 1rem;
    color: var(--app-text-secondary, var(--gray-600));
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--app-hero-gradient-purple, linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%));
    color: var(--app-hero-text, #ffffff);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.marketing-footer {
    background: var(--marketing-footer-bg);
    color: var(--marketing-footer-text);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--marketing-footer-border);
}

/* Global link styles - theme-aware (exclude header nav links) */
a:not(.nav-link) {
    color: var(--app-link-color, var(--ion-color-primary));
}

a:not(.nav-link):hover {
    color: var(--app-link-hover, var(--ion-color-primary-tint));
}

a:not(.nav-link):focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--app-link-focus-rgb, 108, 99, 255), 0.12);
    border-radius: 8px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: var(--marketing-footer-muted);
    font-size: 0.9375rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--marketing-footer-text);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--marketing-accent-strong);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--marketing-footer-border);
}

.footer-bottom p {
    color: var(--marketing-footer-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

.delay-2 {
    animation-delay: 0.4s;
    animation-fill-mode: backwards;
}

.delay-3 {
    animation-delay: 0.6s;
    animation-fill-mode: backwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-device {
        max-width: 400px;
        margin: 0 auto;
    }

    .device-frame {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .marketing-container {
        padding: 0 1.25rem;
    }

    .landing-hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-layout {
        gap: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 0.875rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-actions {
        gap: 0.875rem;
        margin-bottom: 2.5rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-device {
        max-width: 320px;
    }

    .device-frame {
        width: 260px;
    }

    .device-screen {
        padding: 0;
    }

    .device-screenshot {
        border-radius: 1.5rem;
    }

    .device-title {
        font-size: 1.2rem;
    }

    .device-subtitle {
        font-size: 0.8rem;
    }

    .device-row {
        font-size: 0.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-divider {
        width: 3rem;
        height: 1px;
    }
    
    .section-title {
        font-size: 1.875rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .features-section {
        padding: 4rem 0;
    }

    .features-detailed-section {
        padding: 4rem 0;
    }

    .features-detailed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-detailed-card {
        padding: 2rem;
        min-height: auto;
    }

    .feature-number {
        font-size: 2.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .about-mission-section,
    .about-team-section,
    .contact-section,
    .download-options-section {
        padding: 4rem 0;
    }

    .mission-card {
        padding: 2rem;
    }

    .mission-title {
        font-size: 1.5rem;
    }

    .download-platforms-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        position: static;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .marketing-container {
        padding: 0 1rem;
    }

    .landing-hero,
    .features-hero,
    .download-hero,
    .about-hero {
        padding: 2.5rem 0 2rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 0.9375rem;
        padding: 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }

    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-device {
        max-width: 260px;
    }

    .device-frame {
        width: 220px;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .feature-detailed-title {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: 1.625rem;
    }

    .mission-icon {
        font-size: 2.5rem;
    }

    .mission-title {
        font-size: 1.375rem;
    }

    .value-number {
        font-size: 2.5rem;
    }

    .platform-title {
        font-size: 1.625rem;
    }

    .platform-icon-large {
        width: 5rem;
        height: 5rem;
    }

    .app-only-notice {
        padding: 2rem 1.5rem;
    }

    .notice-title {
        font-size: 1.5rem;
    }

    .notice-description {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.625rem;
    }

    .hero-device {
        max-width: 220px;
    }

    .device-frame {
        width: 200px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-large {
        font-size: 0.9375rem;
        padding: 0.75rem 1rem;
    }
}


/* Features Page Styles */
.features-hero { position: relative; background: var(--app-hero-gradient-blue); padding: 5rem 0 4rem; overflow: hidden; color: var(--app-hero-text); text-align: center; }


.features-detailed-section { padding: 6rem 0; background: var(--app-page-background); }
.features-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    justify-content: center; /* center the whole grid to avoid left skew on uneven rows */
}

/* On larger screens, force exactly 3 columns to keep 9 items balanced in 3x3 rows */
@media (min-width: 900px) {
    /* Use a 2-column layout to avoid height-based misalignment, and keep items balanced */
    .features-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

/* Keep a fallback at wider screens to ensure layout is balanced on large desktops */
@media (min-width: 1440px) {
    /* At very wide screens, keep 2 columns to avoid overly wide cards and maintain parity */
    .features-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.feature-detailed-card { position: relative; padding: 2.5rem; background: var(--app-surface-elevated); border-radius: var(--radius-xl); border: 1px solid var(--app-border-strong); transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: flex-start; min-height: 320px; }
.feature-detailed-card:hover { transform: translateY(-8px); box-shadow: var(--app-shadow-strong); border-color: var(--ion-color-primary); }
.feature-number { position: absolute; top: 2rem; right: 2rem; font-size: 3rem; font-weight: 800; color: var(--app-border-soft); line-height: 1; }
.feature-icon-wrapper-large { display: inline-flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.feature-icon-wrapper-large.purple { background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple)); color: var(--ion-color-primary-contrast, #ffffff); }
.feature-icon-wrapper-large.blue { background: linear-gradient(135deg, rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.8), rgba(var(--ion-color-primary-rgb, 108, 99, 255), 1)); color: var(--ion-color-primary-contrast, #ffffff); }
.feature-icon-wrapper-large.green { background: linear-gradient(135deg, var(--ion-color-tertiary-tint, #5ae0bd), var(--ion-color-tertiary, #48dcb5)); color: var(--ion-color-tertiary-contrast, #041712); }
.feature-icon-wrapper-large.orange { background: linear-gradient(135deg, var(--ion-color-warning-tint, #ffca22), var(--ion-color-warning, #ffc409)); color: var(--ion-color-warning-contrast, #1f1400); }
.feature-icon-wrapper-large.pink { background: linear-gradient(135deg, var(--ion-color-secondary-tint, #ff8bd2), var(--ion-color-secondary, #ff7ccd)); color: var(--ion-color-secondary-contrast, #120621); }
.feature-icon-wrapper-large.indigo { background: linear-gradient(135deg, var(--ion-color-medium-tint, #7080a1), var(--ion-color-medium, #5f6e96)); color: var(--ion-color-medium-contrast, #ffffff); }
.feature-detailed-title { font-size: 1.5rem; font-weight: 800; color: var(--app-text-primary); margin-bottom: 1rem; }

/* Badge used to mark a feature as coming soon */
.feature-detailed-card .feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--ion-color-warning-contrast, #1f1400);
    background: linear-gradient(135deg, var(--ion-color-warning-tint, #ffca22), var(--ion-color-warning, #ffc409));
    border-radius: 999px;
    box-shadow: var(--app-shadow-soft);
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 10;
    text-transform: uppercase;
}
.feature-detailed-description { font-size: 1rem; color: var(--app-text-secondary); line-height: 1.7; }
.download-hero { position: relative; background: var(--app-hero-gradient-blue); padding: 5rem 0 4rem; overflow: hidden; color: var(--app-hero-text); text-align: center; }
.download-options-section { padding: 6rem 0; background: var(--app-page-background); }
.download-platforms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.platform-card { text-align: center; padding: 3rem 2rem; background: var(--app-surface-elevated); border-radius: var(--radius-xl); border: 2px solid var(--app-border-strong); transition: all 0.3s ease; }
.platform-card:hover { transform: translateY(-8px); box-shadow: var(--app-shadow-strong); }
.ios-card:hover { border-color: var(--marketing-ios-hover); }
.android-card:hover { border-color: var(--marketing-android-hover); }
.platform-icon-large { display: inline-flex; align-items: center; justify-content: center; width: 6rem; height: 6rem; margin-bottom: 1.5rem; }
.platform-icon-large img { width: 100%; height: 100%; object-fit: contain; transition: filter 0.2s ease; }
.ios-card .platform-icon-large img { filter: var(--marketing-ios-filter); }
.android-card .platform-icon-large img { filter: var(--marketing-android-filter); }
.platform-title { font-size: 2rem; font-weight: 800; color: var(--app-text-primary); margin-bottom: 0.5rem; }
.platform-subtitle { font-size: 1.125rem; color: var(--app-text-secondary); margin-bottom: 1rem; }
.platform-requirements { padding: 0.75rem 1.5rem; background: var(--app-surface-elevated); border-radius: var(--radius); margin-bottom: 2rem; border: 1px solid var(--app-border-soft); }
.platform-requirements span { font-size: 0.875rem; color: var(--app-text-secondary); font-weight: 500; }
.btn-download { width: 100%; justify-content: center; background: var(--primary-purple); color: white; border: 1px solid rgba(108, 99, 255, 0.3); }
.btn-download:disabled { background: var(--app-button-disabled-bg); color: var(--app-button-disabled-text); border: 1px solid var(--app-button-disabled-border); }
.ios-card .btn-download { background: var(--marketing-ios-button-bg); color: var(--marketing-ios-button-text); border: 1px solid rgba(0, 0, 0, 0.15); }
.ios-card .btn-download:hover { background: var(--marketing-ios-button-hover); }
.ios-card .btn-download:disabled { background: var(--app-button-disabled-bg); color: var(--app-button-disabled-text); border: 1px solid var(--app-button-disabled-border); }
.android-card .btn-download { background: var(--marketing-android-button-bg); color: var(--marketing-android-button-text); border: 1px solid rgba(72, 220, 181, 0.3); }
.android-card .btn-download:hover { background: var(--marketing-android-button-hover); }
.android-card .btn-download:disabled { background: var(--app-button-disabled-bg); color: var(--app-button-disabled-text); border: 1px solid var(--app-button-disabled-border); }
.app-only-notice {
    background: var(--app-surface-tinted, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--app-border-soft, rgba(255, 255, 255, 0.2));
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: var(--app-shadow-soft, var(--shadow-md));
}
.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--app-text-primary);
}
.notice-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--app-text-primary, #111827);
    margin-bottom: 1rem;
}
.notice-description {
    font-size: 1.125rem;
    color: var(--app-text-secondary, #4b5563);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.notice-highlight {
    padding: 1rem 1.5rem;
    background: var(--app-surface-elevated, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius);
    margin-top: 1.5rem;
    border: 1px solid var(--app-border-soft, rgba(255, 255, 255, 0.25));
}
.notice-highlight a {
    color: var(--app-link-color, var(--app-text-primary));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
    text-underline-offset: 3px;
    font-weight: 700;
}
.notice-highlight a:hover {
    color: var(--ion-color-primary-contrast, var(--app-text-primary));
}
.notice-highlight strong {
    color: var(--app-text-primary, #111827);
    font-size: 1.125rem;
}

/* Waitlist Section */
.waitlist-section {
    margin-bottom: 4rem;
}

.waitlist-card {
    background: var(--app-surface, #ffffff);
    border: 2px solid var(--ion-color-primary, #6c63ff);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.15);
}

.waitlist-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner-icon {
    animation: spin 1s linear infinite;
}

.waitlist-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--app-text-primary, #111827);
    margin-bottom: 1rem;
}

.waitlist-description {
    font-size: 1.125rem;
    color: var(--app-text-secondary, #4b5563);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--app-border-soft, #e5e7eb);
    border-radius: var(--radius);
    background: var(--app-surface-elevated, #ffffff);
    color: var(--app-text-primary, #111827);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--ion-color-primary, #6c63ff);
    box-shadow: 0 0 0 3px rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.1);
}

.waitlist-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    background: var(--ion-color-primary, #6c63ff);
    color: white;
}

.waitlist-submit-btn:hover {
    background: var(--ion-color-primary-shade, #6057e0);
}

.waitlist-submit-btn:disabled {
    background: var(--app-button-disabled-bg, rgba(0, 0, 0, 0.06));
    color: var(--app-button-disabled-text, rgba(0, 0, 0, 0.38));
    cursor: not-allowed;
    transform: none !important;
}

.waitlist-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    display: none;
}

.waitlist-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #059669;
}

.waitlist-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #dc2626;
}

.waitlist-status.loading {
    display: block;
    background: rgba(var(--ion-color-primary-rgb, 108, 99, 255), 0.1);
    border: 1px solid var(--ion-color-primary, #6c63ff);
    color: var(--ion-color-primary, #6c63ff);
}

.waitlist-status.info {
    display: block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    color: #2563eb;
}

.waitlist-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--app-surface-tinted, rgba(108, 99, 255, 0.05));
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--app-text-secondary, #4b5563);
}

.waitlist-privacy-note svg {
    flex-shrink: 0;
    color: var(--ion-color-primary, #6c63ff);
}

@media (max-width: 768px) {
    .waitlist-card {
        padding: 2rem 1.5rem;
    }

    .waitlist-title {
        font-size: 1.625rem;
    }

    .waitlist-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .waitlist-card {
        padding: 1.5rem 1rem;
    }

    .waitlist-title {
        font-size: 1.5rem;
    }

    .waitlist-privacy-note {
        flex-direction: column;
        text-align: center;
    }
}
.whats-included-section { background: var(--app-surface-elevated); padding: 3rem; border-radius: var(--radius-xl); border: 1px solid var(--app-border-strong); }
.section-title-small { font-size: 1.5rem; font-weight: 800; color: var(--app-text-primary); text-align: center; margin-bottom: 2rem; }
.features-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.checklist-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--app-surface-elevated); border-radius: var(--radius); border: 1px solid var(--app-border-soft); }
.check-icon { flex-shrink: 0; }
.checklist-item span { font-size: 0.9375rem; color: var(--app-text-primary); font-weight: 500; }

/* About Page Styles */
.about-hero { position: relative; background: var(--app-hero-gradient-purple); padding: 5rem 0 4rem; overflow: hidden; color: var(--app-hero-text); text-align: center; }
.about-mission-section { padding: 6rem 0; background: var(--app-page-background); }
.about-content { display: grid; gap: 3rem; max-width: 900px; margin: 0 auto; }
.mission-card { background: var(--app-surface-elevated); padding: 3rem; border-radius: var(--radius-xl); border: 1px solid var(--app-border-strong); }
.mission-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.mission-title { font-size: 1.75rem; font-weight: 800; color: var(--app-text-primary); margin-bottom: 1rem; }
.mission-description { font-size: 1.0625rem; line-height: 1.7; color: var(--app-text-secondary); }
.values-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.values-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--app-border-soft); font-size: 1rem; color: var(--app-text-secondary); }
.values-list li:last-child { border-bottom: none; }
.values-list strong { color: var(--app-text-primary); font-weight: 600; }
.about-team-section { padding: 6rem 0; background: var(--app-surface-tinted); text-align: center; }
.team-values { display: flex; justify-content: center; gap: 4rem; margin-top: 4rem; flex-wrap: wrap; }
.value-item { text-align: center; }
.value-number { font-size: 3.5rem; font-weight: 800; color: var(--marketing-accent-strong); line-height: 1; margin-bottom: 0.5rem; }
.value-label { font-size: 1.125rem; font-weight: 600; color: var(--app-text-secondary); }

/* Contact Section */
.contact-section { padding: 6rem 0; background: var(--app-page-background); }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info { position: sticky; top: 2rem; }
.contact-info-title { font-size: 1.5rem; font-weight: 800; color: var(--app-text-primary); margin-bottom: 1.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-link { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: var(--app-surface-elevated); border: 1px solid var(--app-border-strong); border-radius: var(--radius); color: var(--app-text-primary); text-decoration: none; transition: all 0.2s ease; }
.contact-link:hover { transform: translateX(4px); border-color: var(--marketing-accent-strong); box-shadow: var(--app-shadow-soft); }
.contact-link svg { flex-shrink: 0; color: var(--marketing-accent-strong); }
.contact-note { padding: 1.5rem; background: var(--app-surface-tinted); border-radius: var(--radius); border-left: 4px solid var(--marketing-accent-strong); }
.contact-note p { font-size: 0.9375rem; line-height: 1.6; color: var(--app-text-secondary); margin: 0; }
.contact-note strong { color: var(--app-text-primary); }

/* Contact Form */
.contact-form { background: var(--app-surface-elevated); padding: 3rem; border-radius: var(--radius-xl); border: 1px solid var(--app-border-strong); box-shadow: var(--app-shadow-soft); }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--app-text-primary); margin-bottom: 0.5rem; }
.form-input, .form-textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--app-border-soft); border-radius: var(--radius); background: var(--app-surface-elevated); color: var(--app-text-primary); font-size: 1rem; font-family: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--ion-color-primary); box-shadow: 0 0 0 3px rgba(var(--ion-color-primary-rgb), 0.1); }
.form-textarea { resize: vertical; min-height: 150px; }
.btn-submit { width: 100%; margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: 1rem; border-radius: var(--radius); text-align: center; font-weight: 500; display: none; }
.form-status.form-status-success { display: block; background: rgba(var(--ion-color-success-rgb, 45, 211, 111), 0.1); border: 1px solid var(--ion-color-success); color: var(--ion-color-success); }
.form-status.form-status-error { display: block; background: rgba(var(--ion-color-danger-rgb, 255, 79, 109), 0.1); border: 1px solid var(--ion-color-danger); color: var(--ion-color-danger); }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-info { position: static; }
    .team-values { gap: 2rem; }
    .value-number { font-size: 2.5rem; }
}
