/* ==========================================================================
   FLUORA: Warm, Modern, Empathetic Aesthetic (Target: Practice Managers)
   Colors: Teal, Mint, Warm Cream, Soft Peach, Bright Whites
   ========================================================================== */

:root {
    --teal: #0D9488;
    --teal-dark: #0f766e;
    --teal-light: #f0fdfa;
    --mint: #34d399;
    --cream: #fffbeb;
    --peach: #fff1f2;
    --charcoal: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-full: 100px;
    
    --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 50px rgba(13, 148, 136, 0.1);
    
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for the sticky navbar */
}

body {
    background-color: var(--bg-white);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-name, .hero-headline, .section-title {
    font-family: 'Fraunces', serif;
    color: var(--charcoal);
    font-weight: 700;
}

.container-mid {
    max-width: 1000px; margin: 0 auto; text-align: center;
}
.section-desc {
    font-size: 18px; color: var(--text-light); margin-bottom: 50px;
}

/* ----------------------------------------------------
   Navigation
---------------------------------------------------- */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
}

.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.logo-display { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
    width: 36px; height: 36px;
    background: var(--teal); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: bold; font-family: 'Fraunces', serif; font-size: 20px;
}

.logo-name { font-size: 24px; letter-spacing: -0.5px; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-link:hover { color: var(--teal); }

.nav-cta {
    background: var(--teal); color: white;
    padding: 12px 28px; border-radius: var(--radius-full);
    text-decoration: none; font-weight: 600; font-size: 15px;
    transition: all 0.3s var(--ease); margin-left: 12px;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2); }

/* ----------------------------------------------------
   Warm Hero Section (Photography Background)
---------------------------------------------------- */
.hero-section {
    padding: 180px 32px 120px;
    background: var(--bg-gray);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-bg-image {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 1; z-index: 0; object-position: center 20%;
}

.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
}

.hero-section::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-white) 100%);
    z-index: 1; pointer-events: none;
}

.hero-content {
    max-width: 800px; margin: 0 auto;
    position: relative; z-index: 2;
}

.trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: var(--radius-full);
    background: white; border: 1px solid rgba(13, 148, 136, 0.2);
    color: var(--teal-dark); font-size: 14px; font-weight: 600;
    margin-bottom: 24px; box-shadow: var(--shadow-soft);
}

.hero-headline {
    font-size: clamp(38px, 5vw, 68px); color: var(--charcoal);
    line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 24px;
}

.hero-headline em {
    font-style: normal; color: var(--teal);
    position: relative;
}

.hero-subheadline {
    font-size: 20px; color: var(--text-light);
    max-width: 650px; margin: 0 auto 40px; line-height: 1.6;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; }

.primary-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--teal); color: white; border: none;
    padding: 18px 42px; border-radius: var(--radius-full);
    font-size: 18px; font-weight: 600; text-decoration: none;
    transition: all 0.3s var(--ease); box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}
.primary-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13, 148, 136, 0.4); }

.secondary-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--charcoal); border: 1px solid var(--border);
    padding: 18px 42px; border-radius: var(--radius-full);
    font-size: 18px; font-weight: 600; text-decoration: none;
    transition: all 0.3s var(--ease); box-shadow: var(--shadow-soft);
}
.secondary-btn:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ----------------------------------------------------
   Empathetic Human Split Section
---------------------------------------------------- */
.empathy-section {
    padding: 80px 32px 100px; background: white;
    max-width: 1200px; margin: 0 auto;
}

.photo-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.photo-split.reverse .photo-text { order: 2; }
.photo-split.reverse .photo-visual { order: 1; }

.photo-text h2 { font-size: 38px; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; color: var(--charcoal); }
.photo-text p { font-size: 18px; color: var(--text-light); margin-bottom: 24px; line-height: 1.7; }

.beautiful-photo {
    width: 100%; height: auto; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover); border: 4px solid var(--bg-gray);
}

/* ----------------------------------------------------
   Problem vs Solution Matrix
---------------------------------------------------- */
.problem-solution-section { padding: 40px 32px 100px; background: white; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.ps-card { padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); text-align: left; }
.problem-card { background: #fff1f2; border-color: #fecdd3; }
.solution-card { background: var(--teal-light); border-color: rgba(13, 148, 136, 0.2); }
.ps-header { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.problem-card .ps-header { color: #e11d48; }
.solution-card .ps-header { color: var(--teal-dark); }
.ps-header h3 { font-size: 28px; margin: 0; letter-spacing: -0.5px; }
.ps-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.ps-list li { font-size: 16px; color: var(--text-light); line-height: 1.6; }
.ps-list li strong { display: block; margin-bottom: 4px; color: var(--charcoal); font-size: 18px; font-family: 'Plus Jakarta Sans', sans-serif;}

/* ----------------------------------------------------
   Clear ROI Calculator (The Pain & Gain)
---------------------------------------------------- */
.roi-section {
    padding: 100px 32px; background: var(--teal-light);
}
.roi-container {
    max-width: 900px; margin: 0 auto; text-align: center;
}
.roi-container h2 { font-size: 42px; margin-bottom: 16px; letter-spacing: -1px; }
.roi-container > p { font-size: 18px; color: var(--teal-dark); margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }

.roi-card {
    background: white; border-radius: var(--radius-lg);
    padding: 48px; box-shadow: var(--shadow-hover);
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; text-align: left; align-items: center;
}

.roi-inputs { display: flex; flex-direction: column; gap: 24px; }
.input-group label { display: block; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; font-size: 15px; }
.input-group input { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 18px; font-family: inherit; transition: all 0.2s; }
.input-group input:focus { outline: none; border-color: var(--teal); }

.roi-results {
    background: var(--bg-gray); border-radius: var(--radius-md); padding: 40px;
    text-align: center; border: 1px solid var(--border);
}

.roi-results h3 { font-size: 16px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.roi-results .big-number { font-size: 56px; color: #ef4444; line-height: 1; letter-spacing: -2px; margin-bottom: 8px; font-family: 'Fraunces', serif; }
.roi-results .recovered { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.roi-results .recovered p { font-size: 16px; color: var(--teal-dark); font-weight: 600; }
.roi-results .recovered .big-green { font-size: 36px; color: var(--teal); font-family: 'Fraunces', serif; display: block; margin-top: 4px; letter-spacing: -1px;}

/* ----------------------------------------------------
   How It Works Flow
---------------------------------------------------- */
.how-section { padding: 100px 32px; background: white; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; margin-top: 20px; }
.flow-step { position: relative; }
.flow-num { width: 50px; height: 50px; border-radius: 50%; background: var(--teal-light); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 16px; font-family: 'Fraunces', serif; }
.flow-step h3 { font-size: 20px; margin-bottom: 12px; }
.flow-step p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* ----------------------------------------------------
   Features Grid
---------------------------------------------------- */
.features-section { padding: 100px 32px; background: var(--bg-gray); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
.feat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.feat-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.feat-icon { font-size: 32px; margin-bottom: 16px; }
.feat-card h3 { font-size: 20px; margin-bottom: 10px; }
.feat-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* ----------------------------------------------------
   Friendly Product Suite (3 Tiers)
---------------------------------------------------- */
.products-section { padding: 120px 32px; background: white; text-align: center; }
.products-header h2 { font-size: 42px; margin-bottom: 16px; }
.products-header p { font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto 60px; }
.product-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.product-card {
    background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 40px 32px; text-align: left; position: relative; overflow: hidden;
    transition: all 0.3s var(--ease); box-shadow: var(--shadow-soft);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(13, 148, 136, 0.3); }
.product-card.voice { background: var(--cream); border-color: #fde68a; }
.product-card.voice:hover { border-color: #fbbf24; }
.product-card.chat { opacity: 0.8; border-style: dashed; }
.coming-soon-badge { position: absolute; top: 20px; right: 20px; background: var(--charcoal); color: white; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }

.product-icon { width: 56px; height: 56px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--teal); }
.product-card.voice .product-icon { background: white; color: #d97706; }
.product-card h3 { font-size: 24px; margin-bottom: 12px; }
.product-card p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; min-height: 70px; }

.feature-check { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; border-top: 1px solid var(--border); padding-top: 24px; list-style: none; }
.feature-check li { display: flex; align-items: start; gap: 10px; font-size: 14px; color: var(--text); }
.feature-check li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ----------------------------------------------------
   Live Demos Section
---------------------------------------------------- */
.live-demos-section { padding: 120px 32px; background: var(--charcoal); color: white; }
.live-demos-section .section-desc { color: rgba(255,255,255,0.7); }
.live-demos-section h2 { color: white; }
.demo-splits { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-top: 40px; }

.demo-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 40px; }
.demo-tag { display: inline-block; padding: 6px 14px; border-radius: 100px; background: rgba(52, 211, 153, 0.2); color: var(--mint); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.demo-box h3 { color: white; font-size: 28px; margin-bottom: 12px; }
.demo-box p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; line-height: 1.6; }

.demo-phone a { display: inline-block; font-size: 32px; font-family: 'Fraunces', serif; color: var(--mint); text-decoration: none; font-weight: 700; padding: 10px 20px; border: 2px dashed rgba(52, 211, 153, 0.4); border-radius: var(--radius-md); transition: all 0.3s; }
.demo-phone a:hover { background: rgba(52, 211, 153, 0.1); border-style: solid; }

.live-schedule-mockup { background: white; border-radius: var(--radius-sm); padding: 16px; margin-bottom: 32px; }
.schedule-head { font-size: 13px; font-weight: 700; color: var(--charcoal); text-transform: uppercase; margin-bottom: 12px; text-align: center; letter-spacing: 1px; }
.schedule-slot { padding: 10px 14px; border-radius: 6px; font-size: 14px; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; }
.schedule-slot.booked { background: var(--bg-gray); color: var(--text-light); text-decoration: line-through; }
.schedule-slot.available { background: var(--teal-light); color: var(--teal-dark); border: 1px solid rgba(13, 148, 136, 0.2); }

.demo-stage { text-align: center; }
.friendly-mic-btn { width: 90px; height: 90px; border-radius: 50%; background: var(--mint); border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(52, 211, 153, 0.3); transition: all 0.3s var(--ease); }
.friendly-mic-btn svg { width: 36px; height: 36px; color: white; }
.friendly-mic-btn:hover { transform: scale(1.05); }
.friendly-mic-btn.active { background: #ef4444; box-shadow: 0 10px 40px rgba(239, 68, 68, 0.4); animation: pulseRecord 1.5s infinite; }
@keyframes pulseRecord { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.demo-instruction { margin-top: 16px; font-size: 15px; font-weight: 600; color: white; }

/* ----------------------------------------------------
   FAQ Section
---------------------------------------------------- */
.faq-section { padding: 100px 32px; background: white; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; margin-top: 40px; }
.faq-item { background: var(--bg-gray); padding: 32px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.faq-item h4 { font-size: 18px; margin-bottom: 12px; color: var(--charcoal); }
.faq-item p { font-size: 15px; color: var(--text-light); line-height: 1.6; }


/* Footer */
footer { background: var(--bg-gray); padding: 60px 32px 30px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--charcoal); }
.footer-col a { display: block; color: var(--text-light); text-decoration: none; margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-light); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .photo-split { grid-template-columns: 1fr; gap: 40px; }
    .photo-split.reverse .photo-text { order: 1; }
    .photo-split.reverse .photo-visual { order: 2; }
    .ps-grid { grid-template-columns: 1fr; }
    .roi-card { grid-template-columns: 1fr; gap: 40px; padding: 32px; }
    .product-grid { grid-template-columns: 1fr; }
    .flow-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .demo-splits { grid-template-columns: 1fr; }
    .faq-list { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .hero-section { padding: 140px 20px 80px; }
    .hero-subheadline { font-size: 17px; }
    .primary-btn, .secondary-btn { padding: 16px 32px; font-size: 16px; width: 100%; justify-content: center; }
    .main-nav { padding: 12px 16px; }
    .empathy-section { padding: 60px 20px 80px; }
    .problem-solution-section { padding: 40px 20px 80px; }
    .roi-section { padding: 80px 20px; }
    .roi-container h2 { font-size: 32px; }
    .roi-results .big-number { font-size: 40px; }
    .roi-results .recovered .big-green { font-size: 28px; }
    .how-section { padding: 80px 20px; }
    .features-section { padding: 80px 20px; }
    .products-section { padding: 80px 20px; }
    .products-header h2 { font-size: 32px; }
    .live-demos-section { padding: 80px 20px; }
    .faq-section { padding: 80px 20px; }
    .demo-phone a { font-size: 24px; }
    .demo-box { padding: 28px; }
    .demo-box h3 { font-size: 22px; }
    .ps-card { padding: 32px; }
    .ps-header h3 { font-size: 22px; }
    .photo-text h2 { font-size: 28px; }
    .section-desc { font-size: 16px; margin-bottom: 32px; }
    footer { padding: 40px 20px 24px; }
}

html, body {
    overflow-x: hidden;
}

/* ==========================================================================
   COOKIE BANNER (GDPR)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0F172A; /* Premium Deep Navy/Slate */
    color: #F8FAFC;
    padding: 20px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    max-width: 800px;
}

.cookie-text a {
    color: var(--teal);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    margin-left: 24px;
}

.btn-decline, .btn-accept {
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-decline {
    background-color: #334155;
    color: white;
}

.btn-decline:hover {
    background-color: #475569;
}

.btn-accept {
    background-color: var(--teal);
    color: white;
}

.btn-accept:hover {
    background-color: #0d8b80;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        text-align: center;
    }
    .cookie-actions {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
}

/* ==========================================================================
   AGENCY POLISH (Logo Marquee)
   ========================================================================== */
.logo-marquee-container {
    background: white; padding: 40px 0; border-bottom: 1px solid var(--border);
    overflow: hidden; text-align: center; position: relative; z-index: 10;
}

.marquee-title {
    font-size: 13px; font-weight: 700; color: #94a3b8; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 24px; font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo-marquee {
    width: 100%; overflow: hidden; position: relative;
    white-space: nowrap; display: flex; align-items: center;
}

.logo-marquee::before, .logo-marquee::after {
    content: ''; position: absolute; top: 0; width: 15vw; height: 100%; z-index: 3;
}

.logo-marquee::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, white, transparent); }

.marquee-track {
    display: inline-block; animation: scrollMarquee 35s linear infinite;
}

.marquee-track span {
    font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; color: #cbd5e1;
    margin: 0 50px; display: inline-block; vertical-align: middle;
}

@keyframes scrollMarquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* ==========================================================================
   MOBILE STICKY CTA WIDGET
   ========================================================================== */
.mobile-sticky-wrap {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    padding: 16px; background: rgba(255,255,255,0.95); backdrop-filter: blur(15px);
    border-top: 1px solid var(--border); z-index: 9998; box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
}

.mobile-sticky-btn {
    display: flex; align-items: center; justify-content: center; width: 100%;
    background: var(--teal); color: white; text-decoration: none; font-weight: 600;
    padding: 16px; border-radius: var(--radius-sm); font-size: 16px;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3); transition: all 0.2s;
}

.mobile-sticky-btn:active { background: var(--teal-dark); transform: scale(0.98); }

@media (max-width: 768px) {
    .mobile-sticky-wrap { display: block; }
    body { padding-bottom: 80px; } /* Prevent footer & cookie banner overlap */
    .cookie-banner { bottom: 82px; } /* Push cookie banner above mobile CTA */
}

/* ==========================================================================
   ONBOARDING FORM PAGE
   ========================================================================== */
.onboard-section {
    padding: 140px 32px 100px;
    background: var(--bg-gray);
    min-height: 100vh;
}

.onboard-container {
    max-width: 760px;
    margin: 0 auto;
}

.onboard-header {
    text-align: center;
    margin-bottom: 48px;
}

.onboard-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.onboard-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.onboard-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
}

.form-group-heading {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.form-group-heading:not(:first-child) {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

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

.form-group-wide {
    grid-column: span 1;
    flex: 2;
}

.form-group-narrow {
    grid-column: span 1;
    flex: 1;
}

.form-row:has(.form-group-wide) {
    grid-template-columns: 2fr 1fr;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

.onboard-submit {
    display: block;
    width: 100%;
    margin-top: 32px;
    background: var(--teal);
    color: white;
    border: none;
    padding: 18px 42px;
    border-radius: var(--radius-full);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.onboard-submit:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.4);
}

.onboard-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.form-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-success {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid rgba(13, 148, 136, 0.2);
    font-size: 20px;
    padding: 40px 24px;
}

/* Onboarding Responsive */
@media (max-width: 900px) {
    .onboard-section {
        padding: 120px 20px 60px;
    }

    .onboard-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-row:has(.form-group-wide) {
        grid-template-columns: 1fr;
    }

    .onboard-header h1 {
        font-size: 32px;
    }

    .onboard-header p {
        font-size: 16px;
    }

    .form-group-heading {
        font-size: 18px;
    }
}
