/* ========================================
   SAVVY AI SKILLZ — WAITLIST PAGE
   Dark, minimal, cinematic.
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0A0A0A;
    color: #F5F5F5;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: #1D9BF0;
    color: #fff;
}

/* ---- Typography ---- */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #F5F5F5;
}

a {
    color: #1D9BF0;
    text-decoration: none;
}

strong {
    color: #FFFFFF;
    font-weight: 600;
}

em {
    font-style: italic;
    color: #9CA3AF;
}

/* ---- Utility ---- */
.text-blue { color: #1D9BF0; font-weight: 700; }
.text-muted { color: #6B7280; font-weight: 400; font-size: 0.7em; }
.required { color: #1D9BF0; font-weight: 400; }

/* ---- Divider ---- */
.divider {
    width: 100%;
    max-width: 680px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin: 0 auto;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #0B1120 0%, #0A0A0A 100%);
}

#particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.35;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29,155,240,0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(29,155,240,0.35);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(29,155,240,0.9);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-headline {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-sub {
    font-size: 22px;
    color: #9CA3AF;
    margin-bottom: 28px;
    line-height: 1.5;
}

.hero-body {
    font-size: 18px;
    color: #9CA3AF;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
}

/* ---- CTA Button ---- */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: #1D9BF0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1A8CD8;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(29,155,240,0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   SECTIONS — General
   ======================================== */
.section {
    padding: 0 24px 100px;
}

.section-inner {
    max-width: 680px;
    margin: 0 auto;
}

.section-heading {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    margin-top: 100px;
    letter-spacing: -0.025em;
}

.section-body {
    font-size: 18px;
    color: #9CA3AF;
    line-height: 1.7;
    margin-bottom: 24px;
}

.section-emphasis {
    color: #F5F5F5;
    font-weight: 600;
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.section-closing {
    color: #F5F5F5;
    font-weight: 500;
    margin-top: 40px;
}

/* ========================================
   THE FILTER — Criteria list
   ======================================== */
.criteria-list {
    list-style: none;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.criteria-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 17px;
    color: #F5F5F5;
    line-height: 1.6;
}

.criteria-item:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.criteria-arrow {
    color: #1D9BF0;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   THE PROCESS — Steps
   ======================================== */
.process-list {
    list-style: none;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.process-step:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(29,155,240,0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1D9BF0;
    flex-shrink: 0;
    margin-top: 2px;
}

.process-step p {
    font-size: 17px;
    color: #9CA3AF;
    line-height: 1.6;
}

/* ========================================
   MULTI-STEP SURVEY
   ======================================== */
.section-survey {
    padding-top: 0;
    padding-bottom: 100px;
}

.survey-flow {
    position: relative;
}

/* Progress bar */
.survey-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    margin-top: 100px;
}

.survey-bar {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.survey-bar-fill {
    width: 33.33%;
    height: 100%;
    background: #1D9BF0;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.survey-step-label {
    font-size: 12px;
    color: #6B7280;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    font-weight: 500;
}

/* Steps */
.survey-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.survey-step.active { display: block; }
.survey-step.visible { opacity: 1; transform: translateY(0); }

.survey-heading {
    font-size: 36px;
    margin-bottom: 36px;
    line-height: 1.2;
}

/* Radio options */
.survey-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.radio-option:hover {
    background: rgba(29,155,240,0.04);
    border-color: rgba(29,155,240,0.15);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0; height: 0;
}

.radio-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px; min-width: 20px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.25s ease;
}

.radio-ui::after {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #1D9BF0;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked ~ .radio-ui {
    border-color: #1D9BF0;
}

.radio-option input[type="radio"]:checked ~ .radio-ui::after {
    transform: scale(1);
}

.radio-option:has(input[type="radio"]:checked) {
    background: rgba(29,155,240,0.08);
    border-color: rgba(29,155,240,0.4);
}

.radio-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #E8E8E8;
}

/* Other text input */
.form-group-other {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.form-group-other input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-group-other input:focus {
    border-color: rgba(29,155,240,0.4);
}

.form-group-other input::placeholder {
    color: rgba(255,255,255,0.18);
}

.btn-other-confirm {
    padding: 14px 24px;
    white-space: nowrap;
    font-size: 14px;
}

/* ---- Contact form (Step 3) ---- */
.waitlist-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #9CA3AF;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    color: #F5F5F5;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus {
    border-color: rgba(29,155,240,0.4);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.18);
}

/* Validation */
.form-group.error input {
    border-color: #EF4444;
}

.form-group .error-msg {
    display: none;
    font-size: 12px;
    color: #EF4444;
    margin-top: 6px;
}

.form-group.error .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
    padding: 18px 40px;
    font-size: 16px;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: #6B7280;
    margin-top: 16px;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 60px 0 20px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border: 1.5px solid #1D9BF0;
    border-radius: 50%;
    font-size: 28px;
    color: #1D9BF0;
    margin-bottom: 32px;
}

.form-success h3 {
    font-size: 30px;
    margin-bottom: 16px;
}

.form-success p {
    font-size: 17px;
    color: #9CA3AF;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto 12px;
}

.success-sig {
    color: #F5F5F5 !important;
    font-weight: 500;
    font-style: italic;
    margin-top: 24px !important;
}

/* ========================================
   CONTACT OPTIONS
   ======================================== */
.section-contact {
    padding-top: 80px;
    padding-bottom: 100px;
}

.contact-heading {
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}

.contact-sub {
    text-align: center;
    color: #6B7280;
    font-size: 16px;
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 32px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    border-color: rgba(29,155,240,0.15);
    background: rgba(29,155,240,0.03);
    transform: translateY(-1px);
}

a.contact-card {
    cursor: pointer;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-number {
    font-size: 15px;
    color: #1D9BF0;
    font-weight: 500;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.contact-phone-link {
    color: #1D9BF0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.contact-phone-link:hover {
    border-bottom-color: #1D9BF0;
}

.contact-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-action {
    font-size: 13px;
    color: #1D9BF0;
    font-weight: 500;
    margin-top: auto;
}

.contact-link {
    display: inline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 48px 24px 56px;
    text-align: center;
}

.footer p {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.7;
}

.footer-handle {
    margin-top: 4px;
    color: rgba(255,255,255,0.15) !important;
    font-size: 12px !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-delay-1 { animation-delay: 0.15s; }
.fade-delay-2 { animation-delay: 0.35s; }
.fade-delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    body { font-size: 16px; }

    .hero { padding: 60px 20px; }
    .hero-headline { font-size: 44px; margin-bottom: 20px; }
    .hero-sub { font-size: 19px; }
    .hero-body { font-size: 16px; }
    .hero-glow { width: 400px; height: 400px; }

    .section { padding: 0 20px 80px; }
    .section-heading { font-size: 32px; margin-top: 80px; margin-bottom: 24px; }
    .section-body { font-size: 16px; }
    .section-emphasis { font-size: 18px; }

    .criteria-item { font-size: 15px; padding: 16px 0; }
    .process-step p { font-size: 15px; }
    .step-number { min-width: 32px; width: 32px; height: 32px; font-size: 13px; }

    .survey-heading { font-size: 28px; margin-bottom: 28px; }
    .survey-progress { margin-top: 80px; margin-bottom: 36px; }
    .radio-option { padding: 16px 20px; gap: 14px; }
    .radio-label { font-size: 14px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contact-heading { font-size: 26px; }
    .contact-sub { margin-bottom: 32px; }

    .btn-primary { padding: 14px 32px; font-size: 14px; }
}

@media (max-width: 480px) {
    .hero {
        padding: 48px 16px;
        min-height: 100svh;
    }

    .hero-headline { font-size: 36px; }
    .hero-sub { font-size: 17px; }
    .hero-body { font-size: 15px; }

    .badge {
        font-size: 9px;
        padding: 6px 14px;
        margin-bottom: 32px;
    }

    .section { padding: 0 16px 60px; }
    .section-heading { font-size: 28px; margin-top: 60px; }

    .survey-heading { font-size: 24px; margin-bottom: 24px; }
    .survey-progress { margin-top: 60px; margin-bottom: 28px; }

    .radio-option { padding: 14px 16px; gap: 12px; }
    .radio-ui { width: 18px; height: 18px; min-width: 18px; }
    .radio-ui::after { width: 7px; height: 7px; }

    .form-group-other { flex-direction: column; }

    .contact-card { padding: 24px 20px; }
    .form-success h3 { font-size: 24px; }
}
