/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors - Dark Theme */
    --bg: #0F172A;
    --bgGradient: linear-gradient(135deg, #0F172A 0%, #6B21A8 50%, #0F172A 100%);
    --surface: rgba(255, 255, 255, 0.05);
    --surfaceHover: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --borderFocus: rgba(167, 139, 250, 0.3);
    --text: #FFFFFF;
    --textMuted: #D1D5DB;
    --textSubtle: #9CA3AF;
    --primary: #A78BFA;
    --primaryDark: #8B5CF6;
    --primaryLight: #C4B5FD;
    --focusRing: rgba(167, 139, 250, 0.3);
    
    /* Gradient colors */
    --gradientPurple: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%);
    --gradientCard: linear-gradient(135deg, rgba(107, 33, 168, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    
    /* Traffic light colors */
    --green: #22C55E;
    --yellow: #EAB308;
    --red: #EF4444;
    --greenTint: rgba(34, 197, 94, 0.1);
    --yellowTint: rgba(234, 179, 8, 0.1);
    --redTint: rgba(239, 68, 68, 0.1);
    
    /* Layout */
    --radius: 16px;
    --radiusSmall: 12px;
    --radiusButton: 12px;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadowCard: 0 10px 40px rgba(0, 0, 0, 0.3);
    --maxWidth: 1200px;
    
    /* Typography */
    --fontHeading: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --fontBody: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Fix for mobile viewport height with dynamic toolbars */
    height: 100%;
}

body {
    font-family: var(--fontBody);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bgGradient);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better touch scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fontHeading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Prevent text size adjustment on orientation change */
@media screen and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--maxWidth);
    margin: 0 auto;
    padding: 0 24px;
}

.required {
    color: var(--red);
}

.small-text {
    font-size: 14px;
    color: var(--textMuted);
    margin-top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-family: var(--fontHeading);
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.nav {
    display: none;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--textMuted);
    transition: color 0.3s ease;
    /* Better touch targets */
    padding: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

.nav-link:hover,
.nav-link:active {
    color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fontBody);
    font-weight: 600;
    font-size: 15px;
    padding: 0 24px;
    height: 44px;
    border-radius: var(--radiusButton);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    /* Better touch targets on mobile */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focusRing);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    height: 52px;
    font-size: 16px;
    padding: 0 32px;
}

.btn-block {
    width: 100%;
}

.link-secondary {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    /* Better touch target */
    padding: 4px 0;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
}

.link-secondary:hover,
.link-secondary:active {
    color: var(--primaryLight);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 48px 0;
}

.section-gray {
    background-color: rgba(255, 255, 255, 0.02);
}

.section-highlight {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    border-top: 1px solid var(--border);
}

.section-note {
    text-align: center;
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 32px;
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-intro {
    text-align: center;
    color: var(--textMuted);
    max-width: 700px;
    margin: 0 auto 32px;
}

.section-description {
    text-align: center;
    color: var(--textMuted);
    max-width: 700px;
    margin: 32px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 64px 0;
}

.hero-grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--textMuted);
    margin-bottom: 16px;
}

.disclaimer {
    font-size: 13px;
    color: var(--textMuted);
    padding: 12px 16px;
    background: rgba(234, 179, 8, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-left: 3px solid var(--yellow);
    border-radius: 8px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0 32px 0;
}

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

.trust-item-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--fontHeading);
    margin-bottom: 4px;
}

.trust-item-label {
    font-size: 13px;
    color: var(--textSubtle);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.mock-image {
    max-width: 300px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Hero Form Container */
.hero-form-container {
    width: 100%;
}

.countdown-section {
    text-align: center;
    margin-bottom: 24px;
}

.countdown-urgency-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

.countdown-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-subtext {
    font-size: 14px;
    color: var(--textMuted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(239, 68, 68, 0.5);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 70px;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    font-family: var(--fontHeading);
    color: var(--red);
    line-height: 1;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.countdown-label {
    font-size: 11px;
    color: #FCA5A5;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 24px;
    font-weight: 700;
    color: var(--red);
    padding: 0 4px;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-form-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
    color: var(--text);
}

.hero-form-subtitle {
    font-size: 14px;
    color: var(--textMuted);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.form-reassurance {
    text-align: center;
    font-size: 13px;
    color: var(--textSubtle);
    margin-top: 12px;
}

.hero-lead-form .form-group {
    margin-bottom: 20px;
}

/* ============================================
   HOW IT WORKS VISUAL
   ============================================ */
.how-it-works-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 48px 0;
    padding: 0 20px;
}

.diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadowCard);
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    font-family: var(--fontHeading);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.card-text {
    color: var(--textMuted);
}

/* ============================================
   CONDITIONS GRID
   ============================================ */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.condition-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.condition-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.condition-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.icon-box-red {
    background: linear-gradient(135deg, #EF4444, #EC4899);
}

.icon-box-orange {
    background: linear-gradient(135deg, #F97316, #FB923C);
}

.icon-box-yellow {
    background: linear-gradient(135deg, #EAB308, #F59E0B);
}

.icon-box-rose {
    background: linear-gradient(135deg, #F43F5E, #EF4444);
}

.icon-box-blue {
    background: linear-gradient(135deg, #3B82F6, #06B6D4);
}

.condition-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.condition-text {
    font-size: 13px;
    color: var(--textSubtle);
}

/* ============================================
   CHIPS
   ============================================ */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.chip {
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

.chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison-grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

.comparison-column {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.comparison-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border-color: rgba(167, 139, 250, 0.5);
    border-width: 2px;
}

.comparison-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--textMuted);
}

.comparison-highlight .comparison-list li {
    color: var(--text);
}

.comparison-list li::before {
    content: '✗';
    position: absolute;
    left: 8px;
    color: #EF4444;
    font-weight: bold;
    font-size: 18px;
}

.comparison-highlight .comparison-list li::before {
    content: '✓';
    color: #22C55E;
    font-size: 18px;
}

/* ============================================
   MULTI-STEP FORM STYLES
   ============================================ */
.form-step {
    transition: opacity 0.3s ease-in-out;
}

.form-step[style*="display: none"] {
    opacity: 0;
}

.form-step:not([style*="display: none"]) {
    opacity: 1;
}

/* ============================================
   SIGNUP FORM (HIDDEN - NOW IN HERO)
   ============================================ */
#signup {
    display: none;
}

.signup-grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

.signup-intro {
    max-width: 500px;
}

.form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadowCard);
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--fontBody);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radiusSmall);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition: all 0.3s ease;
    /* Prevent zoom on iOS when focusing inputs */
    font-size: max(15px, 1em);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--textSubtle);
}

.form-input {
    height: 44px;
    min-height: 44px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px var(--focusRing);
}

.form-input-small {
    margin-top: 8px;
}

/* Select dropdown specific styling */
select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A78BFA' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
    color-scheme: dark;
    /* Ensure no native rendering */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Force dark background on dropdown container */
select.form-input:focus {
    color-scheme: dark;
}

select.form-input optgroup {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
}

/* Force styling on the dropdown list itself */
select.form-input::-ms-expand {
    display: none;
}

select.form-input datalist,
select.form-input option {
    background: #0F172A !important;
    color: #FFFFFF !important;
}

select.form-input option {
    background-color: #0F172A !important;
    background: #0F172A !important;
    color: #FFFFFF !important;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 400;
}

select.form-input option:hover,
select.form-input option:checked,
select.form-input option:focus {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6)) !important;
    background-color: rgba(139, 92, 246, 0.8) !important;
    color: #FFFFFF !important;
}

/* Webkit browsers (Chrome, Safari, Edge) */
select.form-input option[value] {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
}

/* Additional webkit styling */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select.form-input option {
        background-color: #0F172A !important;
        background: #0F172A !important;
        color: #FFFFFF !important;
    }
    
    select.form-input option:hover {
        background-color: rgba(139, 92, 246, 0.8) !important;
        background: rgba(139, 92, 246, 0.8) !important;
    }
}

/* Firefox-specific styling */
@-moz-document url-prefix() {
    select.form-input option {
        background-color: #0F172A !important;
        color: #FFFFFF !important;
    }
}

/* Edge-specific styling */
@supports (-ms-ime-align: auto) {
    select.form-input option {
        background-color: #0F172A !important;
        color: #FFFFFF !important;
    }
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 13px;
    color: var(--textSubtle);
    margin-top: 4px;
}

.form-fieldset {
    border: none;
    padding: 0;
}

.checkbox-grid {
    display: grid;
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
    /* Better touch targets */
    min-height: 44px;
    padding: 4px 0;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-label input,
.radio-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    /* Larger tap target on mobile */
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
}

.checkbox-consent {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.radio-group {
    display: flex;
    gap: 24px;
}

.form-error {
    padding: 16px;
    background: rgba(239, 68, 68, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 3px solid var(--red);
    border-radius: 8px;
    color: #FCA5A5;
    margin-bottom: 16px;
    font-weight: 500;
}

.form-success {
    padding: 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(167, 139, 250, 0.5);
    border-radius: 16px;
    color: var(--text);
    margin-bottom: 16px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.form-success p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.form-success strong {
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.form-success::before {
    content: '✓';
    display: block;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    border-radius: 50%;
    margin: 0 auto 16px;
    font-size: 28px;
    line-height: 48px;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.form-success .link-secondary {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
}

/* ============================================
   CUSTOM DROPDOWN (replaces native select)
   ============================================ */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    font-family: var(--fontBody);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radiusSmall);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    position: relative;
}

.custom-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A78BFA' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-trigger:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.custom-dropdown-trigger:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px var(--focusRing);
}

.custom-dropdown-trigger .placeholder {
    color: var(--textSubtle);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #0F172A;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: var(--radiusSmall);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-option {
    padding: 12px 16px;
    font-size: 15px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #0F172A;
}

.custom-dropdown-option:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.4));
}

.custom-dropdown-option.selected {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6));
    font-weight: 500;
}

.custom-dropdown-option:first-child {
    border-radius: var(--radiusSmall) var(--radiusSmall) 0 0;
}

.custom-dropdown-option:last-child {
    border-radius: 0 0 var(--radiusSmall) var(--radiusSmall);
}

/* Custom scrollbar for dropdown */
.custom-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.4);
    border-radius: 4px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 139, 250, 0.6);
}

/* Hide original select when custom dropdown is active */
select.form-input.hidden-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.faq-question {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-answer {
    color: var(--textMuted);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    padding: 48px 0;
    margin-top: 48px;
}

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

.disclaimer-footer {
    font-size: 12px;
    color: var(--textMuted);
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 12px;
    line-height: 1.5;
}

.disclaimer-footer strong {
    color: var(--text);
}

.footer-contact {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--textMuted);
}

.footer-contact a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primaryLight);
}

.footer-consent {
    font-size: 13px;
    color: var(--textSubtle);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

/* Mobile specific styles (default) */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 16px;
    }
    
    .logo-image {
        height: 48px;
        width: 48px;
    }
    
    .mobile-hidden {
        display: none;
    }
    
    .hero {
        padding: 32px 0;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .disclaimer {
        font-size: 12px;
        padding: 10px 12px;
        margin-bottom: 24px;
    }
    
    .countdown-urgency-text {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .countdown-text {
        font-size: 16px;
    }
    
    .countdown-timer {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-segment {
        min-width: 60px;
        padding: 10px 12px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .countdown-separator {
        font-size: 20px;
        padding: 0 2px;
    }
    
    .hero-form-card {
        padding: 24px 20px;
    }
    
    .hero-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .section-intro {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .section-description {
        font-size: 14px;
        margin-top: 24px;
        padding: 0 4px;
    }
    
    .how-it-works-visual {
        margin: 32px 0;
        padding: 0 10px;
    }
    
    .cards-grid {
        gap: 20px;
        margin-top: 32px;
    }
    
    .card {
        padding: 24px 20px;
    }
    
    .card-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .card-text {
        font-size: 14px;
    }
    
    .chips {
        gap: 8px;
        margin-top: 24px;
    }
    
    .chip {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .comparison-grid {
        gap: 20px;
        margin-top: 32px;
    }
    
    .comparison-column {
        padding: 24px 20px;
    }
    
    .comparison-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .comparison-list li {
        padding: 10px 0 10px 24px;
        font-size: 14px;
    }
    
    .form-card,
    .hero-form-card {
        padding: 24px 20px;
    }
    
    .form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .form-input {
        height: 42px;
    }
    
    select.form-input {
        background-size: 10px;
        padding-right: 36px;
    }
    
    select.form-input option {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    /* Custom dropdown mobile styles */
    .custom-dropdown-trigger {
        font-size: 14px;
        padding: 10px 14px;
        padding-right: 36px;
        height: 42px;
        min-height: 42px;
    }
    
    .custom-dropdown-trigger::after {
        right: 14px;
        width: 10px;
        height: 10px;
    }
    
    .custom-dropdown-option {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .custom-dropdown-menu {
        max-height: 200px;
    }
    
    .btn {
        height: 42px;
        font-size: 14px;
        padding: 0 20px;
    }
    
    .btn-large {
        height: 48px;
        font-size: 15px;
        padding: 0 24px;
    }
    
    .checkbox-label,
    .radio-label {
        font-size: 14px;
    }
    
    .faq-list {
        margin-top: 32px;
    }
    
    .faq-item {
        padding: 20px 16px;
        margin-bottom: 12px;
    }
    
    .faq-question {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .footer {
        padding: 32px 0;
        margin-top: 32px;
    }
    
    .footer-disclaimer,
    .footer-contact,
    .footer-consent {
        font-size: 12px;
    }
    
    /* New elements mobile styles */
    .trust-indicators {
        margin: 24px 0;
        gap: 12px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-item-value {
        font-size: 20px;
    }
    
    .trust-item-label {
        font-size: 11px;
    }
    
    .countdown-urgency-text {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .countdown-text {
        font-size: 16px;
    }
    
    .countdown-subtext {
        font-size: 12px;
    }
    
    .hero-form-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .hero-form-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .form-reassurance {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
    }
    
    .condition-card {
        padding: 16px 12px;
    }
    
    .condition-icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .condition-name {
        font-size: 14px;
    }
    
    .condition-text {
        font-size: 12px;
    }
    
    .section-note {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .form-success {
        padding: 20px 16px;
    }
    
    .form-success p {
        font-size: 14px;
    }
    
    .form-success strong {
        font-size: 16px;
    }
    
    .form-success::before {
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        margin-bottom: 12px;
    }
}

/* Small phones (max 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .countdown-segment {
        min-width: 55px;
        padding: 8px 10px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 9px;
    }
    
    .countdown-separator {
        font-size: 18px;
    }
    
    .hero-form-card {
        padding: 20px 16px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

/* Mobile landscape orientation */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 24px 0;
    }
    
    .hero-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .countdown-section {
        margin-bottom: 16px;
    }
    
    .countdown-urgency-text {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .countdown-text {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .countdown-timer {
        margin-bottom: 16px;
    }
    
    .section {
        padding: 32px 0;
    }
    
    .hero-form-card {
        padding: 20px 16px;
    }
    
    .hero-form-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
}

/* TABLET AND DESKTOP */
@media (min-width: 768px) {
    .section {
        padding: 72px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .logo-image {
        height: 64px;
        width: 64px;
    }
    
    .countdown-segment {
        min-width: 80px;
        padding: 16px 20px;
    }
    
    .countdown-value {
        font-size: 32px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .nav {
        display: flex;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .signup-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mock-image {
        max-width: 400px;
    }
    
    .conditions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .logo-image {
        height: 68px;
        width: 68px;
    }
}

