/* ══════════════════════════════════════════════════════════════
   LENSLOOP  —  getlensloop.waitlist.css
   Waitlist page styles.
   Requires: getlensloop.site.css
             getlensloop.navbar.floating.css
             getlensloop.footer.css
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════
   HERO
   ══════════════════════════════ */

.waitlist-hero {
    padding: 120px 0 100px;
    background: var(--bg);
    text-align: center;
}

.waitlist-hero h1 {
    margin: 0;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .96;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--text);
}

.waitlist-hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.waitlist-hero .hero-sub {
    margin: 28px auto 0;
    max-width: 560px;
    font-size: 20px;
    line-height: 1.7;
    color: var(--muted);
}


/* ══════════════════════════════
   STAT STRIP
   ══════════════════════════════ */

.stat-strip-wrap {
    margin-top: 64px;
    padding-top: 52px;
    border-top: 1px solid var(--border);
}

.stat-strip-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 36px;
}

.stat-strip {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-strip-item {
    text-align: center;
    padding: 0 44px;
    border-right: 1px solid var(--border);
}

.stat-strip-item:last-child {
    border-right: none;
}

.stat-strip-num {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--brand);
    line-height: 1;
}

.stat-strip-lbl {
    margin-top: 7px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    max-width: 130px;
    margin-left: auto;
    margin-right: auto;
}


/* ══════════════════════════════
   FORM SECTION  — dark brand green
   ══════════════════════════════ */

.form-section {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-mid) 100%);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ── Value prop (left column, on dark) ── */

.form-left h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
}

.form-left p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .72);
}

.value-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.value-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 16px;
    line-height: 1.5;
}

.value-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.value-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.value-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--brand-light);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-list strong {
    display: block;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.value-list span {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.modality-note {
    margin-top: 36px;
    padding: 24px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border-left: 4px solid var(--brand-light);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
}

.modality-note strong {
    color: #fff;
    font-weight: 700;
}


/* ── Form card (right column) ── */

.form-card {
    background: var(--bg-alt);
    border-radius: 28px;
    padding: 48px 44px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.form-card h3 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.form-card .form-sub {
    margin: 0 0 36px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.field input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color .2s;
}

.field input::placeholder {
    color: #b0b5bc;
}

.field input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
}

/* Segment / pill buttons — lens modality */

.segment-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.segment-btn {
    flex: 1;
    min-width: 80px;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .18s;
    text-align: center;
    font-family: inherit;
}

.segment-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.segment-btn.selected {
    border-color: var(--brand);
    background: var(--brand-pale);
    color: var(--brand);
}

/* Submit button */

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 24px;
    border: none;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    margin-top: 10px;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
    opacity: .93;
}

.submit-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: waitlist-spin .7s linear infinite;
    display: none;
}

.submit-btn.loading .spinner { display: block; }
.submit-btn.loading .btn-label { opacity: 0; }

@keyframes waitlist-spin {
    to { transform: rotate(360deg); }
}

.form-fine {
    margin-top: 16px;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

/* Validation */

.field-error {
    font-size: 12px;
    color: #c0392b;
    margin-top: 5px;
    display: none;
}

.field.invalid input {
    border-color: #e74c3c;
}

.field.invalid .segment-group {
    outline: 1px solid #e74c3c;
    border-radius: 12px;
}

.field.invalid .field-error {
    display: block;
}

/* Success state */

.success-state {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-state .check-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-state .check-circle svg {
    width: 34px;
    height: 34px;
    stroke: var(--brand);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-state h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.success-state p {
    margin: 0;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
}

.form-card.done .form-inner { display: none; }
.form-card.done .success-state { display: block; }


/* ══════════════════════════════
   HOW IT WORKS  — bg: #ffffff
   ══════════════════════════════ */

.hiw-mini {
    padding: 140px 0;
    background: var(--bg-alt);
}

.hiw-mini .section-head {
    text-align: center;
    margin-bottom: 64px;
}

.hiw-mini h2 {
    margin: 16px 0 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.step-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    padding: 40px 36px;
    border-radius: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.step-card-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 24px;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.step-card p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}


/* ══════════════════════════════
   FAQ  — bg: #ece8df
   ══════════════════════════════ */

.faq-mini {
    padding: 100px 0;
    background: var(--bg-sand);
}

.faq-mini h2 {
    margin: 0 0 52px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.faq-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 26px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-q-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 24px;
    color: var(--brand);
    transition: transform .25s;
    line-height: 1;
}

.faq-a {
    padding-bottom: 22px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    display: none;
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }


/* ══════════════════════════════
   CONTACT  — bg: #ffffff
   ══════════════════════════════ */

.contact-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.contact-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-card h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.contact-card p {
    margin: 14px 0 0;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-card .email-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 19px;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
}

.contact-card .email-link:hover {
    text-decoration: underline;
}


/* ══════════════════════════════
   RESPONSIVE  ≤ 900px
   ══════════════════════════════ */

@media (max-width: 900px) {

    .form-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .step-cards {
        grid-template-columns: 1fr;
    }

    .waitlist-hero,
    .form-section,
    .hiw-mini,
    .faq-mini {
        padding: 90px 0;
    }

    .stat-strip-item {
        padding: 0 24px;
    }

    .contact-card {
        padding: 36px 24px;
    }
}


/* ══════════════════════════════
   RESPONSIVE  ≤ 600px
   ══════════════════════════════ */

@media (max-width: 600px) {

    .form-card {
        padding: 36px 24px;
    }

    .stat-strip {
        flex-direction: column;
        gap: 28px;
    }

    .stat-strip-item {
        border-right: none;
        padding: 0;
    }
}
