/* ========================================
   SOLARIS — Beta Page
   The showcase page. Every detail counts.
   ======================================== */

/* ---- Hero ---- */

.beta-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px 2rem 160px;
    background:
        radial-gradient(ellipse at 15% 45%, rgba(50, 90, 211, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(105, 41, 183, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(56, 156, 255, 0.15) 0%, transparent 45%),
        var(--bg-primary);
}

/* Canvas star-field */
.beta-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Ambient orbs */
.beta-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.beta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.beta-orb-1 {
    width: 560px;
    height: 560px;
    top: -140px;
    left: -140px;
    background: radial-gradient(circle, rgba(50, 90, 211, 0.45) 0%, transparent 70%);
    animation: orb-drift-a 12s ease-in-out infinite;
}

.beta-orb-2 {
    width: 440px;
    height: 440px;
    bottom: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(105, 41, 183, 0.4) 0%, transparent 70%);
    animation: orb-drift-b 10s ease-in-out infinite;
}

.beta-orb-3 {
    width: 320px;
    height: 320px;
    top: 45%;
    left: 58%;
    background: radial-gradient(circle, rgba(56, 156, 255, 0.3) 0%, transparent 70%);
    animation: orb-drift-c 14s ease-in-out infinite;
}

@keyframes orb-drift-a {
    0%,100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -50px) scale(1.07); }
    66%      { transform: translate(-25px, 35px) scale(0.94); }
}
@keyframes orb-drift-b {
    0%,100% { transform: translate(0, 0) scale(1); }
    40%      { transform: translate(-35px, 45px) scale(1.05); }
    70%      { transform: translate(20px, -30px) scale(0.96); }
}
@keyframes orb-drift-c {
    0%,100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-40px, -30px) scale(1.1); }
}

/* ---- Hero content ---- */

.beta-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

/* Live status pill */
.beta-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 22px;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-green);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 1.75rem;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.beta-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    flex-shrink: 0;
    animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50%      { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

/* Title */
.beta-hero-title {
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.beta-title-line {
    display: block;
    font-size: clamp(4.5rem, 14vw, 10rem);
    background: linear-gradient(145deg, #ffffff 10%, #b8d4ff 55%, #c9a8ff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.beta-title-sub {
    display: block;
    font-size: clamp(1rem, 3vw, 2rem);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: -0.4rem;
}

/* Tagline */
.beta-hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 600;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ---- Signup counter ---- */

.beta-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px;
    border-radius: 50px;
    background: rgba(50, 90, 211, 0.1);
    border: 1.5px solid rgba(50, 90, 211, 0.3);
    margin-bottom: 2rem;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.beta-counter i {
    color: var(--primary-light);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.beta-counter-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-heading);
    line-height: 1;
    min-width: 2ch;
}

.beta-counter-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ---- Signup card ---- */

.beta-signup-card {
    background: rgba(30, 30, 44, 0.65);
    border: 2px solid rgba(50, 90, 211, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 2.25rem 2rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 100px rgba(50, 90, 211, 0.1);
    text-align: left;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.beta-signup-card:focus-within {
    border-color: rgba(50, 90, 211, 0.5);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 120px rgba(50, 90, 211, 0.18);
}

/* Form row */
.beta-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 1.75rem;
}

.beta-input-wrap {
    flex: 1;
    position: relative;
}

.beta-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}

.beta-input-wrap:focus-within .beta-input-icon {
    color: var(--primary-light);
}

.beta-email-input {
    width: 100%;
    padding: 15px 20px 15px 48px;
    background: rgba(18, 18, 24, 0.75);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-email-input::placeholder {
    color: var(--text-secondary);
}

.beta-email-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(50, 90, 211, 0.2);
}

.beta-submit-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 50px;
    font-size: 1rem;
    white-space: nowrap;
}

.beta-btn-arrow {
    transition: transform 0.2s ease;
}

.beta-submit-btn:hover .beta-btn-arrow {
    transform: translateX(4px);
}

/* Excitement chips */
.beta-excitement {
    border-top: 2px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
}

.beta-excitement-label {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
}

.beta-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.beta-chip {
    cursor: pointer;
    user-select: none;
}

.beta-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.beta-chip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: rgba(18, 18, 24, 0.5);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.beta-chip:hover span {
    border-color: var(--border-color-hover);
    color: var(--text-primary);
    background: rgba(50, 90, 211, 0.08);
}

.beta-chip input:checked + span {
    background: rgba(50, 90, 211, 0.18);
    border-color: var(--primary);
    color: #b8d4ff;
    box-shadow: 0 0 0 1px rgba(50, 90, 211, 0.25) inset;
}

/* ---- Success state ---- */

.beta-success {
    display: none;
    text-align: center;
    padding: 0.5rem 0;
}

.beta-success.show {
    display: block;
    animation: hero-fade-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.beta-success-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.25rem;
    background: rgba(16, 185, 129, 0.12);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 1.6rem;
    animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes success-pop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.beta-success h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.beta-success p {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.beta-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Error message in form */
.beta-error {
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    background: rgba(239, 68, 68, 0.12);
    border: 1.5px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Fine print */
.beta-fine-print {
    font-size: 0.775rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.7;
    animation: hero-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}


/* ---- Wave transition ---- */

.beta-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}

.beta-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ---- Shared animation ---- */

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   What's in Beta — Features Grid
   ======================================== */

.beta-features {
    padding: var(--space-xl) 0 calc(var(--space-xl) + 2rem);
    background: var(--bg-primary);
}

.beta-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.beta-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.beta-how-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.beta-how-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.beta-how-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
}

.beta-how-desc {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 720px) {
    .beta-how-grid {
        grid-template-columns: 1fr;
    }
}

.beta-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.beta-feature-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.beta-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(135deg, rgba(50, 90, 211, 0.06), rgba(105, 41, 183, 0.04));
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.beta-feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(50, 90, 211, 0.2);
}

.beta-feature-card:hover::after {
    opacity: 1;
}

.beta-feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(50, 90, 211, 0.14);
    border: 1.5px solid rgba(50, 90, 211, 0.3);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    z-index: 1;
}

.beta-feature-card:hover .beta-feature-icon {
    background: rgba(50, 90, 211, 0.24);
    box-shadow: 0 0 22px rgba(50, 90, 211, 0.35);
}

.beta-feature-icon--purple {
    background: rgba(105, 41, 183, 0.14);
    border-color: rgba(105, 41, 183, 0.3);
    color: var(--secondary-light);
}

.beta-feature-card:hover .beta-feature-icon--purple {
    background: rgba(105, 41, 183, 0.24);
    box-shadow: 0 0 22px rgba(105, 41, 183, 0.35);
}

.beta-feature-icon--warm {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.28);
    color: var(--accent-warm);
}

.beta-feature-card:hover .beta-feature-icon--warm {
    background: rgba(245, 158, 11, 0.22);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.3);
}

.beta-feature-icon--green {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    color: var(--accent-green);
}

.beta-feature-card:hover .beta-feature-icon--green {
    background: rgba(16, 185, 129, 0.22);
    box-shadow: 0 0 22px rgba(16, 185, 129, 0.3);
}

.beta-feature-body {
    flex: 1;
    position: relative;
    z-index: 1;
}

.beta-feature-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.625rem;
    color: var(--text-heading);
}

.beta-feature-body p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.beta-feature-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: rgba(50, 90, 211, 0.14);
    border: 1px solid rgba(50, 90, 211, 0.3);
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

.beta-feature-badge--exclusive {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-warm);
}

.beta-feature-badge--green {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.beta-feature-badge--upcoming {
    background: rgba(100, 116, 139, 0.12);
    border-color: rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

/* ========================================
   Roadmap Teaser
   ======================================== */

.beta-roadmap {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
}

.beta-roadmap-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.beta-roadmap-text .beta-eyebrow {
    margin-bottom: 0.75rem;
}

.beta-roadmap-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text-heading);
    margin-bottom: 1.1rem;
    line-height: 1.15;
}

.beta-roadmap-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 600;
    margin-bottom: 2rem;
    max-width: 420px;
}

/* Roadmap preview card */
.beta-roadmap-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.roadmap-phase {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 0.9rem 0;
    position: relative;
}

.roadmap-phase:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 40px;
    width: 2px;
    height: calc(100% - 16px);
    background: var(--border-color);
}

.roadmap-dot {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    margin-top: 1px;
    transition: var(--transition);
}

.roadmap-dot--active {
    background: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 14px rgba(50, 90, 211, 0.55);
    animation: dot-glow 2.2s ease-in-out infinite;
}

@keyframes dot-glow {
    0%,100% { box-shadow: 0 0 14px rgba(50, 90, 211, 0.55); }
    50%      { box-shadow: 0 0 24px rgba(50, 90, 211, 0.85); }
}

.roadmap-phase div {
    flex: 1;
}

.roadmap-phase strong {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.roadmap-phase span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   Bottom CTA
   ======================================== */

.beta-bottom {
    padding: var(--space-xl) 0;
    background: var(--bg-primary);
    text-align: center;
}

.beta-bottom-inner {
    max-width: 560px;
    margin: 0 auto;
}

.beta-bottom-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.beta-bottom-inner p {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.beta-scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 860px) {
    .beta-roadmap-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .beta-roadmap-text p {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .beta-hero {
        padding: 120px 1.25rem 140px;
    }

    .beta-signup-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .beta-form-row {
        flex-direction: column;
    }

    .beta-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .beta-title-line {
        letter-spacing: -1px;
    }

    .beta-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .beta-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Light theme adjustments
   ======================================== */

[data-theme="light"] .beta-hero {
    background:
        radial-gradient(ellipse at 15% 45%, rgba(50, 90, 211, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(105, 41, 183, 0.1) 0%, transparent 50%),
        var(--bg-primary);
}

[data-theme="light"] .beta-signup-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(50, 90, 211, 0.2);
    box-shadow:
        0 0 0 1px rgba(50, 90, 211, 0.08),
        0 24px 80px rgba(0, 0, 0, 0.1),
        0 0 80px rgba(50, 90, 211, 0.06);
}

[data-theme="light"] .beta-email-input {
    background: rgba(242, 240, 245, 0.9);
}

[data-theme="light"] .beta-chip span {
    background: rgba(242, 240, 245, 0.8);
}

[data-theme="light"] .beta-title-line {
    background: linear-gradient(145deg, #1a1a30 10%, #325ad3 55%, #6929b7 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .beta-hero-tagline {
    color: var(--text-secondary);
}

[data-theme="light"] .beta-orb-1 {
    opacity: 0.25;
}
[data-theme="light"] .beta-orb-2 {
    opacity: 0.2;
}
[data-theme="light"] .beta-orb-3 {
    opacity: 0.15;
}
