/* ═══════════════════════════════════════════════════════════════════════
   TIOO Waitlist — Aurora Modern surface, hero + form card + confirmation
   Dependencies: marketing_v2.css (variables + body reset).
   Namespace: .wl-*
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── NAV ─────────────────────────────────────────────────────────── */
.wl-body {
    background: var(--v2-bg-1);
    color: var(--v2-fg-1);
    font-family: var(--v2-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wl-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(8, 9, 12, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--v2-border-1);
}
.wl-nav-inner {
    max-width: var(--v2-container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.wl-nav-logo { display: inline-flex; align-items: center; }
.wl-nav-links {
    flex: 1;
    display: flex;
    gap: 28px;
    margin-left: 16px;
}
.wl-nav-links a {
    color: var(--v2-fg-2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s var(--v2-ease);
}
.wl-nav-links a:hover { color: var(--v2-fg-1); }
.wl-nav-cta { display: flex; gap: 12px; align-items: center; }
.wl-nav-signin {
    color: var(--v2-fg-2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all 0.2s var(--v2-ease);
}
.wl-nav-signin:hover {
    color: var(--v2-fg-1);
    background: var(--v2-border-1);
}

@media (max-width: 720px) {
    .wl-nav-links { display: none; }
    .wl-nav-inner { gap: 12px; padding: 0 20px; }
}

/* ─── MAIN ────────────────────────────────────────────────────────── */
.wl-main { flex: 1; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.wl-hero {
    position: relative;
    padding: 72px 32px 96px;
    overflow: hidden;
}
.wl-hero-grid {
    max-width: var(--v2-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: start;
}
@media (max-width: 1000px) {
    .wl-hero { padding: 48px 24px 72px; }
    .wl-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Aurora orbs — same aesthetic as home_v2 */
.wl-hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.wl-orb {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: wl-orb-drift 24s var(--v2-ease) infinite alternate;
}
.wl-orb--1 { background: var(--v2-aurora-1); top: -120px; left: -80px; }
.wl-orb--2 { background: var(--v2-aurora-2); top: 40%; right: -200px; animation-delay: -6s; opacity: 0.35; }
.wl-orb--3 { background: var(--v2-aurora-3); bottom: -200px; left: 30%; animation-delay: -12s; opacity: 0.3; }

@keyframes wl-orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(60px, -40px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
    .wl-orb { animation: none; }
}

.wl-hero-copy { position: relative; z-index: 1; }

.wl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(124, 58, 237, 0.32);
    color: #C4B5FD;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.wl-eyebrow-dot {
    width: 7px;
    height: 7px;
    background: #A78BFA;
    border-radius: 50%;
    box-shadow: 0 0 10px #A78BFA;
    animation: wl-pulse 2s ease-in-out infinite;
}
@keyframes wl-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
    .wl-eyebrow-dot { animation: none; }
}

.wl-hero-h {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--v2-fg-1);
    text-wrap: balance;
}
.wl-hero-sub {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--v2-fg-2);
    margin: 0 0 32px;
    max-width: 560px;
}

.wl-promise {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wl-promise li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--v2-fg-2);
    font-size: 15px;
    line-height: 1.5;
}
.wl-check {
    width: 20px;
    height: 20px;
    color: #22D3EE;
    flex-shrink: 0;
    margin-top: 1px;
}

.wl-social-proof {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--v2-border-1);
}
.wl-social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.wl-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--v2-bg-2);
    border: 1px solid var(--v2-border-1);
    color: var(--v2-fg-2);
    font-size: 13px;
    font-weight: 500;
}
.wl-pill--more {
    background: transparent;
    border-style: dashed;
    color: var(--v2-fg-3);
}
.wl-pill svg { width: 14px; height: 14px; }
.wl-social-caption {
    font-size: 13px;
    color: var(--v2-fg-3);
    margin: 0;
}

/* ─── FORM CARD ───────────────────────────────────────────────────── */
.wl-form-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--v2-bg-2) 0%, var(--v2-bg-3) 100%);
    border: 1px solid var(--v2-border-2);
    border-radius: var(--v2-radius-lg);
    padding: 36px;
    box-shadow: var(--v2-shadow-3);
}
@media (max-width: 520px) {
    .wl-form-card { padding: 28px 22px; border-radius: var(--v2-radius); }
}

.wl-form-h {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
    color: var(--v2-fg-1);
}
.wl-form-sub {
    font-size: 14px;
    color: var(--v2-fg-3);
    margin: 0 0 28px;
}

.wl-banner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--v2-radius-sm);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.wl-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.wl-banner--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}
.wl-banner--info {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #7DD3FC;
}

/* ─── FORM FIELDS ─────────────────────────────────────────────────── */
.wl-form { display: flex; flex-direction: column; gap: 18px; }

.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 520px) {
    .wl-field-row { grid-template-columns: 1fr; }
}

.wl-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2-fg-2);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.wl-label-hint {
    font-weight: 400;
    color: var(--v2-fg-4);
    font-size: 12px;
}
.wl-required {
    color: #F87171;
    font-weight: 600;
}

.wl-form input[type="text"],
.wl-form input[type="email"],
.wl-form input[type="number"],
.wl-form select,
.wl-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--v2-border-2);
    border-radius: var(--v2-radius-sm);
    color: var(--v2-fg-1);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: all 0.15s var(--v2-ease);
}
.wl-form input::placeholder,
.wl-form textarea::placeholder {
    color: var(--v2-fg-4);
}
.wl-form input:focus,
.wl-form select:focus,
.wl-form textarea:focus {
    outline: none;
    border-color: var(--v2-aurora-1);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.wl-form textarea {
    resize: vertical;
    min-height: 76px;
    font-family: inherit;
}

.wl-field--error input,
.wl-field--error select,
.wl-field--error textarea {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}
.wl-field-error {
    font-size: 13px;
    color: #FCA5A5;
    margin: 2px 0 0;
}

/* Select dropdown — custom chevron */
.wl-select-wrap {
    position: relative;
}
.wl-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    cursor: pointer;
}
.wl-select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--v2-fg-3);
    pointer-events: none;
}

/* Honeypot — fully hidden, inert */
.wl-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* ─── CHIP MULTI-SELECT ──────────────────────────────────────────── */
.wl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.wl-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--v2-border-2);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--v2-fg-2);
    transition: all 0.15s var(--v2-ease);
    user-select: none;
}
.wl-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--v2-border-3);
    color: var(--v2-fg-1);
}
.wl-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.wl-chip-label { line-height: 1; }

.wl-chip.wl-chip--on,
.wl-chip:has(input:checked) {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--v2-aurora-1);
    color: #DDD6FE;
}

/* ─── TURNSTILE ──────────────────────────────────────────────────── */
.wl-turnstile {
    display: flex;
    justify-content: center;
    min-height: 65px;
    margin-top: 4px;
}

/* ─── SUBMIT ─────────────────────────────────────────────────────── */
.wl-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(180deg, var(--v2-brand-2) 0%, var(--v2-brand) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--v2-radius-sm);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--v2-ease);
    box-shadow: 0 10px 24px -8px rgba(166, 52, 70, 0.5);
    margin-top: 8px;
}
.wl-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -8px rgba(166, 52, 70, 0.6);
}
.wl-submit:active:not(:disabled) {
    transform: translateY(0);
}
.wl-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}
.wl-submit-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--v2-ease);
}
.wl-submit:hover:not(:disabled) .wl-submit-arrow {
    transform: translateX(3px);
}
.wl-submit--sending .wl-submit-arrow {
    animation: wl-spin 0.8s linear infinite;
}
@keyframes wl-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .wl-submit:hover:not(:disabled) { transform: none; }
    .wl-submit:hover:not(:disabled) .wl-submit-arrow { transform: none; }
    .wl-submit--sending .wl-submit-arrow { animation: none; }
}

.wl-privacy {
    font-size: 12px;
    color: var(--v2-fg-4);
    line-height: 1.5;
    margin: 10px 0 0;
    text-align: center;
}
.wl-privacy a {
    color: var(--v2-fg-3);
    text-decoration: underline;
}

/* ─── WHAT-NEXT SECTION ──────────────────────────────────────────── */
.wl-what-next {
    padding: 80px 32px;
    background: var(--v2-bg-2);
    border-top: 1px solid var(--v2-border-1);
}
.wl-what-next-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.wl-wn-h {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.015em;
    text-align: center;
    margin: 0 0 48px;
}

.wl-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 820px) {
    .wl-steps { grid-template-columns: 1fr; }
    .wl-what-next { padding: 56px 24px; }
}
.wl-steps li {
    padding: 28px 24px;
    background: var(--v2-bg-3);
    border: 1px solid var(--v2-border-1);
    border-radius: var(--v2-radius);
    position: relative;
}
.wl-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--v2-aurora-1), var(--v2-aurora-2));
    color: #FFFFFF;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}
.wl-steps h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--v2-fg-1);
}
.wl-steps p {
    font-size: 14px;
    color: var(--v2-fg-2);
    line-height: 1.55;
    margin: 0;
}

/* ─── THANKS / UNSUBSCRIBE ───────────────────────────────────────── */
.wl-thanks {
    position: relative;
    padding: 96px 32px 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.wl-thanks-card {
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: 100%;
    text-align: center;
    background: linear-gradient(180deg, var(--v2-bg-2) 0%, var(--v2-bg-3) 100%);
    border: 1px solid var(--v2-border-2);
    border-radius: var(--v2-radius-lg);
    padding: 56px 48px;
    box-shadow: var(--v2-shadow-3);
}
@media (max-width: 520px) {
    .wl-thanks { padding: 56px 20px; }
    .wl-thanks-card { padding: 44px 28px; }
}

.wl-success-ring {
    display: inline-flex;
    width: 72px;
    height: 72px;
    color: #22D3EE;
    margin-bottom: 24px;
}
.wl-success-ring svg { width: 100%; height: 100%; }
.wl-check-draw {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: wl-draw-check 0.7s var(--v2-ease-out) 0.2s forwards;
}
@keyframes wl-draw-check {
    to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .wl-check-draw { stroke-dashoffset: 0; animation: none; }
}

.wl-thanks-h {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.wl-thanks-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--v2-fg-2);
    margin: 0 0 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.wl-thanks-sub strong { color: var(--v2-fg-1); font-weight: 600; }
.wl-thanks-sub a {
    color: var(--v2-aurora-2);
    text-decoration: underline;
}

.wl-thanks-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 36px;
    text-align: left;
}
.wl-thanks-bullet {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--v2-border-1);
    border-radius: var(--v2-radius-sm);
}
.wl-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(124, 58, 237, 0.14);
    color: #C4B5FD;
    border-radius: 10px;
    flex-shrink: 0;
}
.wl-thanks-icon svg { width: 18px; height: 18px; }
.wl-thanks-bullet h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--v2-fg-1);
}
.wl-thanks-bullet p {
    font-size: 13px;
    color: var(--v2-fg-3);
    line-height: 1.4;
    margin: 0;
}

.wl-thanks-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.wl-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    background: transparent;
    border: 1px solid var(--v2-border-2);
    border-radius: 999px;
    color: var(--v2-fg-1);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s var(--v2-ease);
}
.wl-btn-ghost:hover {
    background: var(--v2-border-1);
    border-color: var(--v2-border-3);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.wl-footer {
    padding: 40px 32px;
    border-top: 1px solid var(--v2-border-1);
    background: var(--v2-bg-1);
}
.wl-footer-inner {
    max-width: var(--v2-container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.wl-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wl-footer-tag {
    font-size: 13px;
    color: var(--v2-fg-3);
}
.wl-footer-links {
    display: flex;
    gap: 20px;
    margin-left: auto;
}
.wl-footer-links a {
    color: var(--v2-fg-3);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s var(--v2-ease);
}
.wl-footer-links a:hover { color: var(--v2-fg-1); }
.wl-footer-note {
    font-size: 12px;
    color: var(--v2-fg-4);
    width: 100%;
    text-align: center;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px solid var(--v2-border-1);
}
