/* Reset and Global Styles with Cross-Browser Compatibility */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Fix for Safari and iOS */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Prevent zoom on iOS form inputs */
input[type="email"],
input[type="text"],
textarea {
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

:root {
    /* Ari Brand Foundation */
    --primary-bg: #597662;           /* Green-gray background */
    --primary-text: #F2F1EB;         /* Soft cream text */
    --dark-text: #2F2F2F;            /* Dark text for light backgrounds */
    
    /* Refined Accent Palette */
    --mint-primary: #B4EBC2;         /* Primary accent - mint (CTAs, highlights) */
    --mint-hover: #B2E0C1;           /* Mint hover state */
    --mint-subtle: #7AC295;          /* Deeper mint for emphasis */
    
    --turquoise-info: #F2F1EB;       /* Informational - soft cream (tooltips, system messages) */
    --turquoise-light: #9AC7CB;      /* Light turquoise for backgrounds */
    --turquoise-deep: #5A9CA2;       /* Deep turquoise for contrast */
    
    --coral-warning: #C7795B;        /* Warning - muted clay orange (alerts, cautions) */
    --coral-light: #D4926F;          /* Light clay orange for backgrounds */
    --coral-deep: #B36A4F;           /* Deep clay orange for emphasis */
    
    --clay-error: #b5473c;           /* Error - clay red (errors, critical alerts) */
    --clay-light: #C9967F;           /* Light clay for backgrounds */
    --clay-deep: #A67159;            /* Deep clay for strong emphasis */
    
    /* Surface & Structure */
    --card-elevated: #4A6B55;        /* Elevated card backgrounds */
    --card-subtle: #526B5E;          /* Subtle card backgrounds */
    --border-soft: #7A8B7E;          /* Soft border color */
    --border-accent: #8FA68F;        /* Accent border color */
    
    /* Text Hierarchy */
    --text-muted: #B8C4BC;           /* Muted secondary text */
    --text-subtle: #9CAA9F;          /* Subtle tertiary text */
    --text-accent: #A7B5AB;          /* Accent text color */
    
    /* Interactive States */
    --hover-overlay: rgba(159, 214, 176, 0.1);  /* Mint hover overlay */
    --focus-ring: rgba(159, 214, 176, 0.3);     /* Focus ring color */
    --shadow-soft: rgba(89, 118, 98, 0.2);      /* Soft shadow */
    --shadow-elevated: rgba(89, 118, 98, 0.3);  /* Elevated shadow */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 120px 0;
    --section-padding-mobile: 80px 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-text);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Buttons */
.cta-button {
    background: -webkit-linear-gradient(315deg, var(--mint-primary), var(--mint-hover));
    background: -moz-linear-gradient(315deg, var(--mint-primary), var(--mint-hover));
    background: -o-linear-gradient(315deg, var(--mint-primary), var(--mint-hover));
    background: linear-gradient(135deg, var(--mint-primary), var(--mint-hover));
    color: var(--dark-text);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(180, 235, 194, 0.3);
    -webkit-box-shadow: 0 4px 12px rgba(180, 235, 194, 0.3);
    -moz-box-shadow: 0 4px 12px rgba(180, 235, 194, 0.3);
    /* Fix for Safari button styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Fix for touch devices */
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--shadow-elevated);
    background: var(--mint-hover);
    filter: brightness(1.02);
}

.cta-button:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    color: var(--primary-text);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 90%;
}

.waitlist-form-container {
    max-width: 480px;
}

.waitlist-form .form-group {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.waitlist-form input[type="email"] {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    background: rgba(242, 241, 235, 0.1);
    color: var(--primary-text);
    font-size: 16px; /* Prevent zoom on iOS */
    outline: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Remove default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Fix for Safari autofill */
    -webkit-box-shadow: 0 0 0 1000px rgba(242, 241, 235, 0.1) inset;
    -webkit-text-fill-color: var(--primary-text);
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--mint-primary);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.waitlist-form input::placeholder {
    color: var(--text-subtle);
}

.form-message {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: rgba(159, 214, 176, 0.15);
    color: var(--mint-subtle);
    border: 1px solid var(--mint-subtle);
}

.form-message.error {
    background: rgba(181, 71, 60, 0.15);
    color: var(--clay-error);
    border: 1px solid var(--clay-error);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ari-logo-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    background: var(--mint-primary);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    -webkit-box-shadow: 0 8px 24px var(--shadow-elevated);
    -moz-box-shadow: 0 8px 24px var(--shadow-elevated);
    box-shadow: 0 8px 24px var(--shadow-elevated);
    cursor: pointer;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-circle:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    background: var(--mint-hover);
    -webkit-box-shadow: 0 12px 32px rgba(180, 235, 194, 0.4), 0 4px 16px rgba(180, 235, 194, 0.2);
    -moz-box-shadow: 0 12px 32px rgba(180, 235, 194, 0.4), 0 4px 16px rgba(180, 235, 194, 0.2);
    box-shadow: 0 12px 32px rgba(180, 235, 194, 0.4), 0 4px 16px rgba(180, 235, 194, 0.2);
}

.logo-circle:hover .logo-svg {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    transform: scale(1.02);
}

.logo-circle:hover + .pulse-ring {
    -webkit-animation: pulse-hover 2s infinite;
    -moz-animation: pulse-hover 2s infinite;
    -o-animation: pulse-hover 2s infinite;
    animation: pulse-hover 2s infinite;
    border-width: 3px;
    opacity: 0.6;
}

.logo-svg {
    pointer-events: none; /* Make it non-clickable */
    user-select: none; /* Prevent text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pulse-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 2px solid var(--mint-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 3s infinite;
}

@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.3; }
    50% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: 0.1; }
    100% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.3; }
}

@-moz-keyframes pulse {
    0% { -moz-transform: scale(1); transform: scale(1); opacity: 0.3; }
    50% { -moz-transform: scale(1.1); transform: scale(1.1); opacity: 0.1; }
    100% { -moz-transform: scale(1); transform: scale(1); opacity: 0.3; }
}

@keyframes pulse {
    0% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); opacity: 0.3; }
    50% { -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1); opacity: 0.1; }
    100% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); opacity: 0.3; }
}

@-webkit-keyframes pulse-hover {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.6; }
    50% { -webkit-transform: scale(1.15); transform: scale(1.15); opacity: 0.2; }
    100% { -webkit-transform: scale(1); transform: scale(1); opacity: 0.6; }
}

@-moz-keyframes pulse-hover {
    0% { -moz-transform: scale(1); transform: scale(1); opacity: 0.6; }
    50% { -moz-transform: scale(1.15); transform: scale(1.15); opacity: 0.2; }
    100% { -moz-transform: scale(1); transform: scale(1); opacity: 0.6; }
}

@keyframes pulse-hover {
    0% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); opacity: 0.6; }
    50% { -webkit-transform: scale(1.15); -moz-transform: scale(1.15); -ms-transform: scale(1.15); -o-transform: scale(1.15); transform: scale(1.15); opacity: 0.2; }
    100% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); opacity: 0.6; }
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.content-left h2 {
    color: var(--primary-text);
    margin-bottom: 16px;
}

.content-left .highlight {
    color: var(--mint-primary);
    font-size: 2.5rem;
    margin-bottom: 32px;
    font-weight: 600;
    white-space: nowrap;
}

.content-left p {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.notification-mockup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 32px;
    background: #3E5246;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
}

.notification-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    pointer-events: none;
}

.ios-notification {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 20px;
    background: #2A2E2B;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
    border: 1px solid #2D2D2F;
    width: 100%;
    text-align: left;
    backdrop-filter: blur(10px);
}

.notification-content {
    flex: 1;
    min-width: 0;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    align-self: center;
}

.cleo-icon {
    background: url('./images/cleo-logo.jpg') no-repeat;
    background-size: 110% 110%;
    background-position: center -1px;
    font-size: 0;
}

.albert-icon {
    background: url('./images/albert-logo.jpg') center/cover no-repeat;
    font-size: 0;
}

.monarch-icon {
    background: url('./images/monarch-logo.jpg') center/cover no-repeat;
    font-size: 0;
}

.app-name {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2px;
    line-height: 1.2;
}

.notification-text {
    font-size: 13px;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 2px;
}

.timestamp {
    font-size: 11px;
    color: #8E8E93;
    font-weight: 400;
    line-height: 1.2;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: brightness(1.1) saturate(0.8);
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

.solution-highlight {
    color: var(--mint-primary);
    font-weight: 700;
}

.solution h2 {
    text-align: center;
    color: var(--primary-text);
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    padding: 40px 32px;
    background: var(--card-elevated);
    border-radius: 16px;
    border: 1px solid var(--border-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--mint-primary);
    box-shadow: 0 12px 32px var(--shadow-elevated);
    background: var(--card-subtle);
}

.feature-icon {
    font-size: 2.5rem;
    margin-top: 8px;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    color: var(--primary-text);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--primary-bg);
}

.section-highlight {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.section-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 312px;
    height: 1px;
    background: #B4EBC2;
    opacity: 0.3;
}

.section-highlight .highlight {
    font-size: 2.19375rem;
    font-weight: 600;
    color: #B4EBC2;
    line-height: 1.4;
    margin: 0;
    text-transform: none;
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-text);
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    justify-items: center;
    gap: 40px;
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

/* Mobile responsive: stack timeline vertically */
@media (max-width: 768px) {
    .steps-container {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 32px;
        max-width: 100%;
    }
    
    .step-arrow {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        margin: 16px 0;
    }
}

.step {
    text-align: center;
    max-width: 320px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--mint-primary);
    color: var(--dark-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.step h3 {
    color: var(--primary-text);
    margin-bottom: 16px;
    font-size: 1.25rem;
    min-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: var(--turquoise-info);
    font-weight: 300;
}

.how-it-works-caption {
    text-align: center;
    font-size: 1.125rem;
    color: var(--turquoise-info);
    font-weight: 600;
    margin-bottom: 0;
}

/* Why Now Section */
.why-now {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-bottom: 80px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--mint-primary);
    margin-bottom: 16px;
    line-height: 1;
}

.stat p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 0;
}

.user-quote {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-text);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.user-quote cite {
    display: block;
    margin-top: 24px;
    font-size: 1rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--primary-bg);
}

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

.team-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: var(--primary-bg);
    text-align: center;
}

.final-cta h2 {
    color: var(--primary-text);
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form-container {
    max-width: 480px;
    margin: 0 auto;
}

.cta-form .form-group {
    display: flex;
    gap: 16px;
}

.cta-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-soft);
    border-radius: 12px;
    background: var(--card-elevated);
    color: var(--primary-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-form input:focus {
    outline: none;
    border-color: var(--mint-primary);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.cta-form input::placeholder {
    color: var(--text-subtle);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: linear-gradient(135deg, #5A7865, var(--primary-bg));
    border-top: 1px solid var(--border-accent);
}

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

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mint-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Color Palette Utilities */
.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(242, 241, 235, 0.15);
    color: var(--turquoise-info);
    border: 1px solid var(--turquoise-info);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(233, 177, 142, 0.15);
    color: #E9B18E;
    border: 1px solid rgba(233, 177, 142, 0.3);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--turquoise-deep);
    color: var(--primary-text);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow-soft);
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

.accent-text {
    color: var(--mint-primary);
    font-weight: 600;
}

.info-text {
    color: var(--turquoise-info);
    font-weight: 500;
}

.warning-text {
    color: var(--coral-warning);
    font-weight: 500;
}

.error-text {
    color: var(--clay-error);
    font-weight: 500;
}

.card-interactive {
    background: var(--card-elevated);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.card-interactive:hover {
    background: var(--card-subtle);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-elevated);
}

.button-secondary {
    background: transparent;
    color: var(--turquoise-info);
    border: 2px solid var(--turquoise-info);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-secondary:hover {
    background: var(--turquoise-info);
    color: var(--dark-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 241, 235, 0.3);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-bg), var(--card-elevated));
}

.highlight-box {
    background: rgba(159, 214, 176, 0.1);
    border-left: 4px solid var(--mint-primary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

/* Enhanced Interactive States */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.interactive-element:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* Loading State */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--hover-overlay), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Mobile Responsive Design */

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Large mobile and small tablet */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 24px;
    }
    
    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
    }
    
    .hero-text h1 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .logo-circle {
        width: 200px;
        height: 200px;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .pulse-ring {
        width: 240px;
        height: 240px;
    }
    
    /* Typography Mobile */
    h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.1;
    }
    
    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 32px;
    }
    
    /* Problem Section Mobile */
    .content-left .highlight {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    /* Forms Mobile */
    .waitlist-form .form-group,
    .cta-form .form-group {
        flex-direction: column;
        gap: 16px;
    }
    
    .waitlist-form input,
    .cta-form input {
        width: 100%;
        text-align: center;
    }
    
    .cta-button {
        width: 100%;
        padding: 18px 24px;
        font-size: 1.1rem;
    }
    
    /* Layout Mobile */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .content-left {
        order: 0;
    }
    
    .content-right {
        order: 1;
    }
    
    .notification-mockup {
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px 20px;
        text-align: center;
    }
    
    /* Steps Mobile */
    .steps-container {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .step {
        min-height: auto;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 16px 0;
        font-size: 1.5rem;
    }
    
    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* CTA Section Mobile */
    .final-cta {
        text-align: center;
    }
    
    .cta-form-container {
        max-width: 100%;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        gap: 32px;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
    }
    
    .logo-text {
        font-size: 2.25rem;
    }
    
    .pulse-ring {
        width: 180px;
        height: 180px;
    }
    
    /* Typography Small Mobile */
    h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
        margin-bottom: 16px;
    }
    
    h2 {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 24px;
    }
    
    h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    /* Forms Small Mobile */
    .waitlist-form-container,
    .cta-form-container {
        margin-top: 24px;
    }
    
    .cta-button {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    /* Cards Small Mobile */
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    /* Notifications Small Mobile */
    .notification {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .notification .icon {
        font-size: 1rem;
    }
    
    /* Steps Small Mobile */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step h3 {
        font-size: 1.125rem;
    }
    
    .step p {
        font-size: 0.95rem;
    }
    
    /* Stats Small Mobile */
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-text {
        font-size: 1.875rem;
    }
    
    .pulse-ring {
        width: 150px;
        height: 150px;
    }
    
    .cta-button {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: clamp(20px, 3vh, 40px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 56px);
    height: clamp(40px, 6vw, 56px);
    background: rgba(159, 214, 176, 0.9);
    border-radius: 50%;
    color: var(--dark-text);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(159, 214, 176, 0.3);
}

.scroll-arrow svg {
    width: clamp(18px, 4vw, 24px);
    height: clamp(18px, 4vw, 24px);
}



/* Mobile spacing for scroll indicator */
@media (max-width: 768px) {
    .hero {
        padding-bottom: clamp(100px, 15vh, 140px) !important; /* Add space for scroll indicator */
    }
    
    .scroll-indicator {
        bottom: clamp(20px, 4vh, 40px); /* Position within the added space */
    }
    
    /* Mobile section highlight adjustments */
    .section-highlight .highlight {
        font-size: 1.5rem; /* Smaller on mobile */
        line-height: 1.3;
        padding: 0 20px; /* Add horizontal padding */
    }
    
    .section-highlight::before {
        width: 200px; /* Shorter line on mobile */
    }
}

/* Hide scroll indicator on mobile when keyboard might be visible */
@media (max-height: 600px) {
    .scroll-indicator {
        display: none;
    }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 300px;
        gap: 40px;
        align-items: center;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-text {
        font-size: 1.875rem;
    }
    
    .pulse-ring {
        width: 150px;
        height: 150px;
    }
}
