/* ═══════════════════════════════════════════════════════════════════════════
   True Heart — Components Stylesheet
   components.css: hero, truth, problem, what, features, founder, alpha CTA
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display:    flex;
    align-items:     center;
    justify-content: center;
    position:   relative;
    padding:    120px 48px 80px;
    overflow:   hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(62,207,207,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(62,207,207,0.04) 0%, transparent 60%);
}

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
    position:         absolute;
    width:  2px;
    height: 2px;
    background:       var(--teal);
    border-radius:    50%;
    opacity:          0;
    animation:        float-particle linear infinite;
}

.hero-content {
    max-width:  760px;
    text-align: center;
    position:   relative;
    z-index:    2;
    animation:  fadeUp 1.2s ease both;
}

.hero-eyebrow {
    font-size:      11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color:          var(--teal);
    margin-bottom:  28px;
    animation:      fadeUp 1.2s 0.2s ease both;
    opacity: 0;
}

.hero-title {
    font-family:    var(--font-serif);
    font-size:      clamp(52px, 8vw, 96px);
    font-weight:    300;
    line-height:    1.0;
    letter-spacing: -0.01em;
    margin-bottom:  32px;
    animation:      fadeUp 1.2s 0.3s ease both;
    opacity: 0;
}
.hero-title em { font-style: italic; color: var(--teal); }

.hero-sub {
    font-size:     17px;
    line-height:   1.8;
    color:         var(--white-dim);
    max-width:     520px;
    margin:        0 auto 48px;
    animation:     fadeUp 1.2s 0.5s ease both;
    opacity: 0;
}

.hero-actions {
    display:         flex;
    gap:             16px;
    justify-content: center;
    flex-wrap:       wrap;
    animation:       fadeUp 1.2s 0.7s ease both;
    opacity: 0;
}

.scroll-indicator {
    position:  absolute;
    bottom:    40px;
    left:      50%;
    transform: translateX(-50%);
    display:   flex;
    flex-direction: column;
    align-items:    center;
    gap:       8px;
    opacity:   0.4;
    animation: fadeUp 1.2s 1.2s ease both;
}
.scroll-line {
    width:      1px;
    height:     48px;
    background: linear-gradient(to bottom, var(--teal), transparent);
    animation:  scroll-pulse 2s ease infinite;
}

/* ── Truth Statement ─────────────────────────────────────────────────────── */
.truth {
    padding:    120px 48px;
    max-width:  900px;
    margin:     0 auto;
    text-align: center;
}

.truth-quote {
    font-family:    var(--font-serif);
    font-size:      clamp(28px, 4vw, 48px);
    font-weight:    300;
    font-style:     italic;
    line-height:    1.5;
    color:          var(--white);
    margin-bottom:  32px;
    position:       relative;
}
.truth-quote::before {
    content:    '"';
    position:   absolute;
    top:        -20px;
    left:       -20px;
    font-size:  120px;
    color:      var(--teal);
    opacity:    0.15;
    font-family: var(--font-serif);
    line-height: 1;
}

.truth-attr {
    font-size:      12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color:          var(--teal);
}

/* ── Problem ─────────────────────────────────────────────────────────────── */
.problem {
    padding:    80px 48px 120px;
    background: var(--charcoal-mid);
    position:   relative;
    overflow:   hidden;
}

.problem-grid {
    max-width:  1100px;
    margin:     0 auto;
    display:    grid;
    grid-template-columns: repeat(3, 1fr);
    gap:        1px;
    background: rgba(245,245,240,0.08);
}

.problem-item {
    background: var(--charcoal-mid);
    padding:    48px 40px;
    position:   relative;
    transition: background var(--transition);
}
.problem-item::after {
    content:    '';
    position:   absolute;
    bottom: 0; left: 40px; right: 40px;
    height:     1px;
    background: transparent;
    transition: background var(--transition);
}
.problem-item:hover::after { background: var(--teal); }
.problem-item:hover { background: rgba(62,207,207,0.025); }

.problem-number {
    font-family:   var(--font-serif);
    font-size:     64px;
    font-weight:   300;
    color:         rgba(62,207,207,0.12);
    line-height:   1;
    margin-bottom: 16px;
}

.problem-text { font-size: 16px; line-height: 1.7; color: var(--white-dim); }
.problem-text strong { color: var(--white); font-weight: 400; }

/* ── What Is True Heart ──────────────────────────────────────────────────── */
.what {
    padding:     120px 48px;
    max-width:   1100px;
    margin:      0 auto;
    display:     grid;
    grid-template-columns: 1fr 1fr;
    gap:         80px;
    align-items: center;
}

.what-text h2 {
    font-family:   var(--font-serif);
    font-size:     clamp(36px, 5vw, 60px);
    font-weight:   300;
    line-height:   1.15;
    margin-bottom: 32px;
}
.what-text h2 em { font-style: italic; color: var(--teal); }

.what-text p {
    font-size:     16px;
    line-height:   1.9;
    color:         var(--white-dim);
    margin-bottom: 20px;
}

/* Phone mockup */
.what-visual {
    position:         relative;
    display:          flex;
    justify-content:  center;
    align-items:      center;
}

.phone-mock {
    width:         260px;
    height:        520px;
    background:    #0a0f16;
    border-radius: 36px;
    border:        1px solid rgba(62,207,207,0.3);
    position:      relative;
    box-shadow:
        0 0 60px rgba(62,207,207,0.12),
        0 40px 80px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    overflow:      hidden;
    flex-shrink:   0;
}

.phone-inner {
    padding:        32px 20px 20px;
    height:         100%;
    display:        flex;
    flex-direction: column;
}

.phone-greeting             { text-align: center; margin-bottom: 24px; }
.phone-greeting .teal-heart { color: var(--teal); font-size: 20px; margin-bottom: 8px; }
.phone-greeting .name       { font-family: var(--font-serif); font-size: 22px; margin-bottom: 4px; }
.phone-greeting .sub        { font-size: 11px; color: var(--white-dimmer); letter-spacing: 0.05em; }

.phone-cta-box {
    border:        1px solid var(--teal);
    border-radius: var(--radius-md);
    padding:       20px;
    background:    rgba(62,207,207,0.05);
    box-shadow:    0 0 20px rgba(62,207,207,0.08);
    margin-bottom: 24px;
    cursor:        pointer;
}
.phone-cta-box p { font-size: 14px; font-weight: 500; line-height: 1.4; }

.phone-reflections         { font-size: 11px; color: var(--white-dimmer); }
.phone-reflections .label  { font-size: 12px; font-weight: 500; color: var(--white-dim); margin-bottom: 10px; }

.reflection-item {
    display:     flex;
    align-items: center;
    gap:         8px;
    margin-bottom: 8px;
    font-size:   11px;
    color:       var(--white-dimmer);
}
.reflection-dot {
    width:         5px;
    height:        5px;
    border-radius: 50%;
    background:    var(--teal);
    flex-shrink:   0;
}

.phone-nav {
    margin-top:     auto;
    display:        flex;
    justify-content: space-around;
    padding-top:    16px;
    border-top:     1px solid rgba(245,245,240,0.08);
}
.phone-nav-item {
    font-size:  10px;
    text-align: center;
    color:      var(--white-dimmer);
    display:    flex;
    flex-direction: column;
    align-items:    center;
    gap:        4px;
}
.phone-nav-item.active { color: var(--teal); }

.phone-glow {
    position:  absolute;
    width:     300px;
    height:    300px;
    background: radial-gradient(circle, rgba(62,207,207,0.08) 0%, transparent 70%);
    top:       50%;
    left:      50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
    padding:    80px 48px 120px;
    background: var(--charcoal-mid);
    position:   relative;
}

.features-inner { max-width: 1100px; margin: 0 auto; }

.features-header {
    text-align:    center;
    margin-bottom: 80px;
}
.features-header h2 {
    font-family: var(--font-serif);
    font-size:   clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
}
.features-header h2 em { font-style: italic; color: var(--teal); }

.features-grid {
    display:    grid;
    grid-template-columns: repeat(2, 1fr);
    gap:        2px;
    background: rgba(245,245,240,0.06);
}

.feature-card {
    background:  var(--charcoal-mid);
    padding:     48px 40px;
    transition:  background var(--transition);
    position:    relative;
    overflow:    hidden;
}
.feature-card::before {
    content:    '';
    position:   absolute;
    top: 0; left: 0;
    width:      2px;
    height:     0;
    background: var(--teal);
    transition: height 0.4s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover         { background: rgba(62,207,207,0.03); }

.feature-icon  { font-size: 28px; margin-bottom: 20px; opacity: 0.8; }
.feature-title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; margin-bottom: 12px; }
.feature-desc  { font-size: 15px; line-height: 1.8; color: var(--white-dim); }

/* ── Founder ─────────────────────────────────────────────────────────────── */
.founder {
    padding:     120px 48px;
    max-width:   1100px;
    margin:      0 auto;
    display:     grid;
    grid-template-columns: 1fr 1.2fr;
    gap:         80px;
    align-items: center;
}

.founder-image-wrap { position: relative; }

.founder-image-placeholder {
    width:         100%;
    aspect-ratio:  3/4;
    background:    var(--charcoal-light);
    border:        1px solid rgba(62,207,207,0.2);
    display:       flex;
    align-items:   center;
    justify-content: center;
    font-size:     13px;
    color:         var(--white-dimmer);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position:      relative;
    overflow:      hidden;
}
.founder-image-placeholder img {
    width:      100%;
    height:     100%;
    object-fit: cover;
}
.founder-image-placeholder::after {
    content:  '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height:   40%;
    background: linear-gradient(to top, rgba(62,207,207,0.06), transparent);
}

.founder-accent {
    position:       absolute;
    bottom:         -16px;
    right:          -16px;
    width:          60%;
    height:         60%;
    border:         1px solid rgba(62,207,207,0.2);
    pointer-events: none;
}

.founder-text .section-label { text-align: left; }

.founder-text h2 {
    font-family:   var(--font-serif);
    font-size:     clamp(32px, 4vw, 52px);
    font-weight:   300;
    line-height:   1.2;
    margin-bottom: 28px;
}
.founder-text h2 em { font-style: italic; color: var(--teal); }
.founder-text p  { font-size: 16px; line-height: 1.9; color: var(--white-dim); margin-bottom: 20px; }

.founder-name {
    margin-top:    40px;
    padding-top:   28px;
    border-top:    1px solid rgba(245,245,240,0.1);
}
.founder-name strong {
    display:        block;
    font-family:    var(--font-serif);
    font-size:      22px;
    font-weight:    400;
    letter-spacing: 0.05em;
    margin-bottom:  4px;
}
.founder-name span {
    font-size:      12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color:          var(--teal);
}

/* ── Alpha CTA / Form ────────────────────────────────────────────────────── */
.alpha-cta {
    padding:    120px 48px;
    background: var(--charcoal-mid);
    text-align: center;
    position:   relative;
    overflow:   hidden;
}

.alpha-glow {
    position:  absolute;
    width:     600px;
    height:    300px;
    background: radial-gradient(ellipse, rgba(62,207,207,0.06) 0%, transparent 70%);
    top:       50%;
    left:      50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.alpha-cta-inner {
    position:  relative;
    z-index:   2;
    max-width: 600px;
    margin:    0 auto;
}

.alpha-cta h2 {
    font-family:   var(--font-serif);
    font-size:     clamp(36px, 5vw, 64px);
    font-weight:   300;
    line-height:   1.2;
    margin-bottom: 20px;
}
.alpha-cta h2 em { font-style: italic; color: var(--teal); }

.alpha-cta p {
    font-size:     16px;
    line-height:   1.8;
    color:         var(--white-dim);
    margin-bottom: 16px;
}

.alpha-note {
    font-size:      12px;
    letter-spacing: 0.1em;
    color:          var(--white-dimmer);
    margin-bottom:  48px;
    text-transform: uppercase;
}

/* Form */
.email-form {
    display:    flex;
    max-width:  460px;
    margin:     0 auto;
}

.email-input {
    flex:       1;
    background: rgba(245,245,240,0.05);
    border:     1px solid rgba(245,245,240,0.15);
    border-right: none;
    padding:    16px 20px;
    color:      var(--white);
    font-family: var(--font-sans);
    font-size:  14px;
    outline:    none;
    transition: border-color var(--transition), background var(--transition);
}
.email-input:focus {
    border-color: var(--teal);
    background:   rgba(62,207,207,0.04);
}
.email-input::placeholder { color: var(--white-dimmer); }
.email-input.is-invalid   { border-color: #e05; }

.email-submit {
    background:     var(--teal);
    color:          var(--charcoal);
    border:         none;
    padding:        16px 28px;
    font-family:    var(--font-sans);
    font-size:      13px;
    font-weight:    500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor:         pointer;
    white-space:    nowrap;
    transition:     background var(--transition);
}
.email-submit:hover    { background: #5DDFDF; }
.email-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Inline error message */
.form-error {
    display:    block;
    font-size:  12px;
    color:      #ff5577;
    margin-top: 10px;
    min-height: 18px;
    text-align: left;
    max-width:  460px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Waitlist fields (shown when group is full) ──────────────────────────── */
.waitlist-fields {
    max-width: 460px;
    margin: 16px auto 0;
    text-align: left;
}

.waitlist-optin {
    margin-top: 8px;
}

.optin-label {
    display:     flex;
    align-items: flex-start;
    gap:         10px;
    cursor:      pointer;
    font-size:   14px;
    color:       rgba(245,245,240,0.75);
    line-height: 1.5;
}

.optin-label input[type="checkbox"] {
    flex-shrink:    0;
    margin-top:     2px;
    width:          16px;
    height:         16px;
    accent-color:   #3ECFCF;
    cursor:         pointer;
}

.optin-label span { flex: 1; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero         { padding: 100px 24px 80px; }
    .truth        { padding: 80px 24px; }
    .problem      { padding: 60px 24px 80px; }
    .problem-grid { grid-template-columns: 1fr; }
    .what         { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
    .what-visual  { display: none; }
    .features     { padding: 60px 24px 80px; }
    .features-grid { grid-template-columns: 1fr; }
    .founder      { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
    .founder-image-wrap { display: none; }
    .alpha-cta    { padding: 80px 24px; }
    .email-form   { flex-direction: column; }
    .email-input  { border-right: 1px solid rgba(245,245,240,0.15); border-bottom: none; }
}
