/* ============================================================
   Rotowizards — Coming Soon Page
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,700;0,800;0,900&family=Inter:wght@400;500&display=swap');

/* ── Reset / base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Body ─────────────────────────────────────────────────── */
.rw-cs-body {
    background: #0A0F1E;
    color: #F9FAFB;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Override any Astra padding that leaks through */
.rw-cs-body #page,
.rw-cs-body #content,
.rw-cs-body .ast-container { all: unset; display: block; }

/* ── Page shell ───────────────────────────────────────────── */
.rw-cs-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    overflow: hidden;
}

/* ── Ambient orbs ─────────────────────────────────────────── */
.rw-cs-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.35;
}

.rw-cs-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    top: -200px;
    right: -180px;
}

.rw-cs-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0ABFBC 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
}

/* ── Center content ───────────────────────────────────────── */
.rw-cs-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Logo ─────────────────────────────────────────────────── */
.rw-cs-logo-link {
    display: inline-block;
    line-height: 0;
}

.rw-cs-logo {
    height: 48px;
    width: auto;
}

/* ── Launch badge ─────────────────────────────────────────── */
.rw-cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,148,136,0.12);
    border: 1px solid rgba(13,148,136,0.3);
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #0ABFBC;
    letter-spacing: 0.03em;
}

.rw-cs-badge-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0ABFBC;
    animation: rw-cs-pulse 2s ease-in-out infinite;
}

@keyframes rw-cs-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Headline ─────────────────────────────────────────────── */
.rw-cs-headline {
    font-family: 'Barlow', sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #F9FAFB;
}

.rw-cs-headline-gradient {
    background: linear-gradient(135deg, #0ABFBC 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Subtext ──────────────────────────────────────────────── */
.rw-cs-sub {
    font-size: 1.05rem;
    color: #9CA3AF;
    line-height: 1.7;
    max-width: 540px;
}

.rw-cs-sub em {
    font-style: normal;
    color: #F9FAFB;
}

/* ── Email capture ────────────────────────────────────────── */
.rw-cs-capture-wrap {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rw-cs-capture-label {
    font-size: 0.85rem;
    color: #6B7280;
    text-align: center;
}

.rw-cs-form-row {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    transition: border-color 0.2s;
}

.rw-cs-form-row:focus-within {
    border-color: rgba(10,191,188,0.5);
    background: rgba(10,191,188,0.04);
}

.rw-cs-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 14px 18px;
}

.rw-cs-input::placeholder {
    color: #6B7280;
}

.rw-cs-submit {
    flex-shrink: 0;
    background: linear-gradient(135deg, #0ABFBC, #7C3AED);
    border: none;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 14px 22px;
    cursor: pointer;
    transition: opacity 0.2s;
    position: relative;
    white-space: nowrap;
}

.rw-cs-submit:hover { opacity: 0.9; }

.rw-cs-submit.loading .rw-cs-submit-text { opacity: 0; }
.rw-cs-submit.loading .rw-cs-submit-spinner { display: block; }

.rw-cs-submit-spinner {
    display: none;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rw-cs-spin 0.7s linear infinite;
}

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

.rw-cs-form-note {
    font-size: 0.78rem;
    color: #4B5563;
    text-align: center;
}

.rw-cs-msg {
    font-size: 0.88rem;
    text-align: center;
    min-height: 1.4em;
}

.rw-cs-msg-ok  { color: #0ABFBC; }
.rw-cs-msg-err { color: #F87171; }

/* ── Pillars ──────────────────────────────────────────────── */
.rw-cs-pillars {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.rw-cs-pillar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #D1D5DB;
    white-space: nowrap;
}

.rw-cs-pillar-icon {
    font-size: 0.95rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.rw-cs-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    font-size: 0.78rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.rw-cs-admin-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.rw-cs-admin-link:hover { color: #6B7280; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 520px) {
    .rw-cs-form-row {
        flex-direction: column;
        border-radius: 12px;
        overflow: visible;
        border: none;
        background: transparent;
        gap: 10px;
    }

    .rw-cs-input {
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px;
        background: rgba(255,255,255,0.04);
        padding: 14px 16px;
    }

    .rw-cs-submit {
        border-radius: 10px;
        padding: 14px;
    }

    .rw-cs-pillars { gap: 8px; }
}
