/* =====================================================
   THYCARE — MAIN STYLESHEET
   ===================================================== */

/* ---- CUSTOM PROPERTIES ---- */
:root {
    --primary:        #5B6EF5;
    --primary-dark:   #4355D4;
    --primary-light:  #EEF0FF;
    --accent:         #00BFA6;
    --accent-light:   #E0F7F4;
    --dark:           #1A1A3E;
    --text:           #3D3D5C;
    --text-light:     #7B7B9A;
    --bg:             #F8F9FF;
    --white:          #FFFFFF;
    --border:         #E4E4F0;
    --shadow:         0 4px 24px rgba(91, 110, 245, 0.10);
    --shadow-lg:      0 12px 48px rgba(91, 110, 245, 0.18);
    --radius:         18px;
    --radius-sm:      10px;
    --transition:     all 0.3s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; color: var(--dark); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--dark); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; color: var(--dark); }
h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 14px; }

.gradient-text {
    background: linear-gradient(130deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- SECTION UTILITIES ---- */
.section { padding: 96px 0; }
.text-center { text-align: center; }

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--text-light);
    font-size: 1.08rem;
    max-width: 580px;
    margin: 14px auto 0;
    line-height: 1.75;
}

/* ---- BADGE (hero) ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 110, 245, 0.12);
    color: var(--primary);
    border: 1px solid rgba(91, 110, 245, 0.25);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 26px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(248, 249, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    padding: 12px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    padding: 8px 0;
    box-shadow: var(--shadow);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}
.logo span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.35));
}
.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(2, 132, 199, 0)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(2, 132, 199, 0.45)); }
}
.logo-img-light {
    filter: brightness(0) invert(1);
}
.logo-light { color: var(--white); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: var(--transition) !important;
}
.btn-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91,110,245,0.35) !important;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    padding: 160px 0 100px;
    overflow: hidden;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}
.hero-text { max-width: 560px; }
.hero-sub {
    color: var(--text-light);
    font-size: 1.12rem;
    margin: 22px 0 34px;
    line-height: 1.8;
}

/* Waitlist Form */
.waitlist-form {
    margin-top: 32px;
    max-width: 500px;
}
.waitlist-form-cta {
    margin: 0 auto;
}
.waitlist-input-wrap {
    display: flex;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
    background: var(--white);
    transition: border-color 0.2s;
}
.waitlist-input-wrap:focus-within {
    border-color: var(--primary);
}
.waitlist-input-wrap input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 0.98rem;
    color: var(--dark);
    background: transparent;
    font-family: inherit;
    min-width: 0;
}
.waitlist-input-wrap input::placeholder { color: var(--text-light); }
.waitlist-input-wrap button {
    padding: 15px 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-family: inherit;
}
.waitlist-input-wrap button:hover { opacity: 0.88; }
.waitlist-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.waitlist-note i { color: var(--accent); font-size: 0.75rem; }
.waitlist-success {
    display: none;
    margin-top: 14px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    font-size: 0.94rem;
    font-weight: 600;
    gap: 9px;
    align-items: center;
}
.waitlist-success i { font-size: 1.1rem; }

/* Coming Soon Store Badges */
.coming-soon-stores {
    margin-top: 24px;
}
.coming-soon-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 10px;
}
.store-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    opacity: 0.85;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.store-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.store-badge i {
    font-size: 1.6rem;
}
.store-badge div {
    display: flex;
    flex-direction: column;
}
.store-badge-small {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.85;
    line-height: 1;
}
.store-badge-big {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.coming-soon-stores--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.coming-soon-stores--cta .coming-soon-label {
    color: rgba(255,255,255,0.65);
}
.coming-soon-stores--cta .store-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}
.coming-soon-stores--cta .store-badge:hover {
    background: rgba(255,255,255,0.25);
}

/* Hero Ratings */
.hero-ratings {
    display: flex;
    align-items: center;
    gap: 20px;
}
.rating-item { display: flex; flex-direction: column; gap: 3px; }
.rating-item .stars { color: #F59E0B; font-size: 0.85rem; letter-spacing: 2px; }
.rating-item span { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.rating-divider { width: 1px; height: 38px; background: var(--border); }

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}
.orb-1 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -80px; right: -80px;
}
.orb-2 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -50px; left: -30px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    z-index: 1;
    width: 275px;
    background: linear-gradient(145deg, #9CA3AF, #B0B5BE, #858B95);
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255,255,255,0.3);
    animation: floatPhone 4s ease-in-out infinite;
}
@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.phone-screen {
    background: var(--bg);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}
.phone-screen--chat {
    background: #F0F2FF;
}

/* Chat top bar */
.chat-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.chat-avatar {
    font-size: 0.95rem;
    color: var(--primary);
    width: 36px; height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.chat-topbar-info { display: flex; flex-direction: column; gap: 1px; }
.chat-name { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.chat-status { font-size: 0.68rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.online-dot {
    width: 7px; height: 7px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Chat messages area */
.chat-messages {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    scrollbar-width: none;
}
.chat-messages::-webkit-scrollbar { display: none; }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.bot  { justify-content: flex-start; }
.chat-bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 0.76rem;
    line-height: 1.55;
}
.chat-msg.user .chat-bubble {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.chat-msg.bot .chat-bubble {
    background: var(--white);
    color: var(--text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.chat-msg.bot .chat-bubble strong { color: var(--primary); }

/* Typing indicator */
.chat-msg.typing .chat-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 11px 16px;
}
.typing-dot {
    width: 7px; height: 7px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%           { transform: translateY(-5px); }
}

/* Chat input bar */
.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 10px 12px;
    flex-shrink: 0;
}
.chat-input-placeholder {
    flex: 1;
    font-size: 0.74rem;
    color: var(--text-light);
    background: var(--bg);
    border-radius: 20px;
    padding: 8px 13px;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-send-btn {
    width: 30px; height: 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}
.chat-send-btn:hover { background: var(--primary-dark); }

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 44px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.trust-item i {
    font-size: 1.9rem;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}
.trust-item p { font-size: 0.95rem; color: var(--text); line-height: 1.55; }
.trust-item strong { color: var(--dark); }

/* =====================================================
   FEATURED FEATURE ROWS
   ===================================================== */
.features-intro { padding-bottom: 20px; }
.featured-features { padding: 60px 0 96px; }
.feat-rows { display: flex; flex-direction: column; gap: 88px; }

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}
/* Reverse layout: text first visually */
.feature-row.reverse .feature-row-visual { order: 2; }
.feature-row.reverse .feature-row-text   { order: 1; }

.feature-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.feature-row-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-row-text h3 { margin: 0; }
.feature-row-text p  { color: var(--text-light); font-size: 1rem; line-height: 1.78; }
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 4px;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}
.feature-list li i { color: var(--accent); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }

/* --- Feature Illustrations (shared card shell) --- */
.feature-row-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.illus-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border);
}

/* Bar Chart (Lab Tracking illustration) */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    height: 100px;
    margin-bottom: 12px;
}
.bar {
    flex: 1;
    background: var(--primary-light);
    border-radius: 6px 6px 0 0;
    transition: var(--transition);
}
.bar.active { background: var(--primary); }
.chart-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.normal-tag { color: var(--accent); font-weight: 700; }
.lab-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lab-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Reminder card (Medication illustration) */
.reminder-block {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 14px;
}
.reminder-icon-big {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}
.reminder-block strong { display: block; font-size: 0.88rem; color: var(--dark); margin-bottom: 3px; }
.reminder-block span  { font-size: 0.75rem; color: var(--text-light); }
.guidance-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gpill {
    background: var(--accent-light);
    color: var(--accent);
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.streak-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

/* Heatmap (Symptom illustration) */
.heatmap-title { font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 14px; }
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.hm {
    aspect-ratio: 1;
    border-radius: 4px;
}
.hm.level-0 { background: #F0F0FA; }
.hm.level-1 { background: #C5CAF9; }
.hm.level-2 { background: #8F97F2; }
.hm.level-3 { background: #5B6EF5; }
.hm.level-4 { background: #2F3FC4; }
.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-light);
    justify-content: flex-end;
}
.heatmap-legend .hm { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }

/* Q&A card (AI illustration) */
.qa-card { display: flex; flex-direction: column; gap: 12px; }
.qa-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.86rem;
    line-height: 1.55;
    max-width: 92%;
}
.qa-bubble.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.qa-bubble.bot {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}
.qa-bot-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--primary);
    margin-bottom: 7px;
}
.qa-endo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}
.qa-endo i { font-size: 1rem; flex-shrink: 0; }

/* =====================================================
   ALL FEATURES GRID
   ===================================================== */
.all-features { background: var(--white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 52px;
}
.feat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: var(--transition);
}
.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--white);
}
.feat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--primary);
}
.feat-card h4 { margin-bottom: 8px; }
.feat-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works { background: var(--bg); }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 52px;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}
.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}
.step-icon-big { font-size: 2.5rem; margin: 6px 0 16px; }
.step-card h4 { margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-section { background: var(--white); }
.faq-list {
    max-width: 760px;
    margin: 52px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}
.faq-question:hover { background: var(--bg); }
.faq-question i { color: var(--primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 0.96rem;
    color: var(--text-light);
    line-height: 1.75;
}
.faq-item.open .faq-answer {
    max-height: 240px;
    padding: 0 24px 22px;
}

/* =====================================================
   FINAL CTA
   ===================================================== */
.final-cta {
    background: linear-gradient(140deg, var(--primary) 0%, #764ba2 100%);
    color: var(--white);
}
.final-cta h2 { color: var(--white); margin-bottom: 18px; }
.final-cta > .container > p { color: rgba(255,255,255,0.82); font-size: 1.1rem; }
.final-cta .waitlist-form { margin: 32px auto 0; }
.final-cta .waitlist-input-wrap { border-color: rgba(255,255,255,0.25); }
.final-cta .waitlist-input-wrap:focus-within { border-color: var(--white); }
.final-cta .waitlist-note { color: rgba(255,255,255,0.65); justify-content: center; }
.final-cta .waitlist-note i { color: rgba(255,255,255,0.65); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.72);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 280px;
    margin-top: 16px;
}
.social-links { display: flex; gap: 12px; margin-top: 22px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 11px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    padding: 22px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
    padding: 160px 0 60px;
    text-align: center;
}
.contact-hero h1 { margin: 10px 0 16px; }
.contact-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto;
}

.contact-section { padding: 20px 0 96px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: start;
    max-width: 680px;
    margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 46px; height: 46px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-text h5 {
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 700;
}
.contact-info-text p { font-size: 0.9rem; color: var(--text-light); margin: 0; line-height: 1.6; }
.contact-social { margin-top: 12px; }
.contact-social p { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.contact-social .social-links a {
    background: var(--primary-light);
    color: var(--primary);
}
.contact-social .social-links a:hover { background: var(--primary); color: var(--white); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.contact-form-wrapper h3 { margin-bottom: 8px; }
.form-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}
.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    color: var(--dark);
    background: var(--bg);
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.92;
}
.form-success {
    display: none;
    text-align: center;
    padding: 36px 24px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    color: var(--accent);
    margin-top: 16px;
}
.form-success i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 14px;
}
.form-success strong { font-size: 1.1rem; display: block; margin-bottom: 8px; }
.form-success p { font-size: 0.92rem; color: var(--text-light); margin: 0; }
.form-error {
    background: #FEF2F2;
    color: #EF4444;
}
.form-error p { color: #B91C1C; }

/* =====================================================
   SCROLL REVEAL ANIMATION
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE — 1024px
   ===================================================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-grid { gap: 40px; }
    .phone-mockup { width: 250px; }
}

/* =====================================================
   RESPONSIVE — 768px
   ===================================================== */
@media (max-width: 768px) {
    /* Navbar mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 28px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }

    /* Hero */
    .hero { padding: 110px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { max-width: 100%; }
    .badge { margin: 0 auto 26px; }
    .waitlist-form { margin: 32px auto 0; }
    .waitlist-note { justify-content: center; }
    .hero-visual { display: none; }

    /* Trust bar */
    .trust-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Feature rows */
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-row.reverse .feature-row-visual { order: 0; }
    .feature-row.reverse .feature-row-text   { order: 0; }

    /* Feature grid */
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .step-arrow { display: none; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand p { max-width: 100%; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px 20px; }
}

/* =====================================================
   RESPONSIVE — 480px
   ===================================================== */
@media (max-width: 480px) {
    .section { padding: 64px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .waitlist-input-wrap { flex-direction: column; border-radius: var(--radius-sm); }
    .waitlist-input-wrap input { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
    .waitlist-input-wrap button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 14px; }
    .hero { padding: 100px 0 60px; }
    .illus-card { padding: 20px 16px; }
}
