/* =========================================
   INPUTO — Editorial Design
   No purple gradients. No generic cards.
   ========================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0a;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --text: #e8e8e8;
    --text2: #888888;
    --accent: #c8ff00;       /* lime green, not purple */
    --accent2: #a0cc00;
    --red: #ff4444;
    --border: #222222;
    --font: 'Satoshi', -apple-system, sans-serif;
    --body: 'General Sans', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
    --radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

a {
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--accent);
}

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ---- CURSOR GLOW ---- */
#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 255, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ---- NAV ---- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.dot { color: var(--accent); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right a {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-right a:hover { color: var(--text); }

.btn-start {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-start:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(200, 255, 0, 0.08), transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(200, 255, 0, 0.2);
    border-radius: 100px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.hero h1 .line {
    display: block;
}

.hero h1 .line-2 {
    color: var(--text2);
}

.hero h1 .accent {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(200, 255, 0, 0.3), 0 0 80px rgba(200, 255, 0, 0.1);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text2);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text2);
}

/* ---- TERMINAL MOCK (HERO VISUAL) ---- */
.hero-visual {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    z-index: 1;
}

.terminal-mock {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 60px rgba(200, 255, 0, 0.06);
}

.term-bar {
    padding: 0.75rem 1rem;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #febc2e; }
.term-dot.green { background: #28c840; }

.term-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--mono);
    font-size: 0.8125rem;
    line-height: 2;
    min-height: 200px;
}

/* Cursor blink */
.term-cursor {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Glow on last line */
.prompt-ai.glow {
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(200, 255, 0, 0.3);
}

.prompt-user {
    color: var(--text);
}

.prompt-ai {
    color: var(--text2);
}

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 640px) {
    .hero-visual {
        display: none;
    }
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 20px; }
}

.scroll-indicator span {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text2);
}

/* ---- SECTION LABELS ---- */
.section-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 3rem;
    padding-left: 1rem;
}

/* ---- HOW IT WORKS ---- */
.how-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    overflow: visible;
}

.step-card {
    background: var(--bg);
    padding: 2.5rem;
    border-left: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    min-height: 0;
}

.step-card:hover {
    background: var(--bg2);
    border-left-color: var(--accent);
    transform: translateX(4px);
}

.step-card.wide {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.step-card.wide .step-num {
    font-size: 3rem;
}

.step-num {
    font-family: var(--mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text2);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ---- MARQUEE ---- */
/* Marquee styles in marquee.css */

/* ---- WIZARD ---- */
.wizard-section {
    display: none;
    padding: 6rem 2rem 4rem;
    min-height: 100vh;
}

.wizard-section.visible {
    display: block;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.wizard-container {
    max-width: 720px;
    margin: 0 auto;
}

/* Progress */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.3;
    transition: all 0.3s;
}

.progress-step.active { opacity: 1; }
.progress-step.done { opacity: 0.6; }

.p-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-step.active .p-num {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--bg);
}

.progress-step.done .p-num {
    border-color: var(--accent);
    color: var(--accent);
}

.p-label {
    font-size: 0.6875rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text2);
}

.progress-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 40px;
    margin: 0 0.25rem;
    margin-bottom: 1.2rem;
}

/* Wizard Steps */
.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-header {
    margin-bottom: 2rem;
}

.step-tag {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.75rem 0 0.5rem;
    letter-spacing: -1px;
}

.step-header p {
    color: var(--text2);
    font-size: 1rem;
}

.step-body {
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.2s;
}

textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea::placeholder {
    color: var(--text2);
    opacity: 0.5;
}

.char-count {
    text-align: right;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text2);
    margin-top: 0.5rem;
}

.step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200, 255, 0, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text2);
    border: 1px solid var(--border);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--text2);
    color: var(--text);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-family: var(--font);
    font-size: inherit;
    text-decoration: underline;
}

/* Result Box */
.result-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.result-box.hidden { display: none; }

/* Freemium blur overlay */
.result-blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.pro-blur-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(10, 10, 10, 0.4);
}

.pro-blur-content {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(200, 255, 0, 0.1);
}

.pro-blur-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.pro-blur-text {
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.btn-pro-unlock {
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
}

.result-box h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-box p {
    color: var(--text2);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.result-box ul {
    list-style: none;
    margin-bottom: 1rem;
}

.result-box li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text2);
}

.result-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Score Table */
.score-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.score-table th {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text2);
    text-align: left;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.score-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.score-table td:last-child {
    text-align: right;
    font-family: var(--mono);
    font-weight: 700;
    color: var(--accent);
}

/* Verdict */
.verdict {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(200, 255, 0, 0.05);
    border-left: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9375rem;
}

.verdict.fail {
    background: rgba(255, 68, 68, 0.05);
    border-color: var(--red);
}

/* Prompt Block */
.prompt-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    margin-top: 1rem;
}

.prompt-block pre {
    font-family: var(--mono);
    font-size: 0.8125rem;
    line-height: 1.8;
    white-space: pre-wrap;
    color: var(--text);
}

.copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text2);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 0.6875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Stack Options */
.stack-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stack-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text2);
    margin-bottom: 0.25rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.radio-card {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-card:has(input:checked) {
    border-color: var(--accent);
    background: rgba(200, 255, 0, 0.03);
}

.radio-card:hover {
    border-color: var(--text2);
}

.radio-card input { display: none; }

.radio-label {
    font-weight: 600;
    font-size: 0.9375rem;
}

.radio-desc {
    font-size: 0.8125rem;
    color: var(--text2);
    margin-top: 0.25rem;
}

/* Pro Tag */
.pro-tag {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent);
    color: var(--bg);
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    vertical-align: middle;
}

/* Launch Checklist */
.launch-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.launch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.launch-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.launch-info p {
    font-size: 0.8125rem;
    color: var(--text2);
}

.affiliate-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.affiliate-btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.affiliate-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.affiliate-primary:hover {
    background: #a8e600;
    border-color: #a8e600;
}

.aff-badge {
    font-family: var(--mono);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(212, 255, 0, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(212, 255, 0, 0.15);
}

/* Build Tools (Step 5) */
.build-tools {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.build-tools h3 {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text2);
    margin-bottom: 1rem;
}

.build-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.build-tool-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--bg2);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s;
}

.build-tool-card:hover {
    border-color: rgba(255,255,255,0.12);
    background: #161616;
}

.build-tool-card.recommended {
    border-color: rgba(200, 255, 0, 0.2);
}

.build-tool-card.recommended:hover {
    border-color: rgba(200, 255, 0, 0.4);
}

.build-tool-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.build-tool-name {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1rem;
}

.build-tool-desc {
    font-size: 0.8125rem;
    color: var(--text2);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 0.75rem;
}

.build-tool-cta {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.build-tool-card.recommended .build-tool-cta {
    color: var(--bg);
    background: var(--accent);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}
.modal-overlay.hidden { display: none; }

.auth-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

.auth-card .modal-title {
    font-size: 1.375rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.auth-card .modal-subtitle {
    color: var(--text2);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--sans);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
    background: #f7f8f8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: var(--text3);
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    text-align: left;
}

.auth-card form label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text2);
    margin-bottom: -0.25rem;
}

.auth-card form .btn-primary {
    width: 100%;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    justify-content: center;
    font-size: 0.9375rem;
}

.auth-card input {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.2s;
    border-radius: 10px;
}

.auth-card input:focus {
    border-color: var(--accent);
}

.auth-card input::placeholder {
    color: var(--text3);
}

.auth-toggle {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text2);
}

.auth-toggle a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-error {
    color: #ff6b6b;
    font-size: 0.8125rem;
    margin-top: 0.75rem;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.nav-auth .user-email {
    color: var(--text2);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-auth a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.nav-auth .manage-sub {
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 100px;
    padding: 2px 10px;
    font-size: 0.75rem;
    transition: background 0.2s, color 0.2s;
}

.nav-auth .manage-sub:hover {
    background: var(--accent);
    color: #000;
}

/* Debug Stats */
.debug-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.debug-stat .label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text2);
}

.debug-stat .value {
    font-size: 1.125rem;
    font-weight: 600;
}

.limit-notice {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text2);
}

.limit-notice.hidden { display: none; }

/* ---- PRICING ---- */
.pricing-section {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.price-card {
    background: var(--bg);
    padding: 3rem 2.5rem;
    text-align: center;
}

.price-card.featured {
    background: var(--bg2);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.35rem 0.75rem;
}

.price-name {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text2);
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.price-period {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 0.6;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text2);
    padding-left: 1.25rem;
    position: relative;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ---- FOOTER ---- */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--text2);
}

/* ---- MODAL ---- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 3rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: fadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text2);
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    color: var(--text2);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.modal-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.modal-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.modal-features li {
    padding: 0.5rem 0;
    color: var(--text2);
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
        letter-spacing: -1.5px;
    }

    .hero-visual { display: none; }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card.wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .nav-right a { display: none; }

    .wizard-progress {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-line { display: none; }

    .debug-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .launch-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .build-tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ---- LOADING STATE ---- */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 1.25rem;
    text-align: center;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    color: var(--text2);
    font-size: 0.875rem;
    font-family: var(--mono);
    min-height: 1.5em;
}

.loading-model {
    font-size: 0.6875rem;
    color: var(--accent);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* Progress bar */
.loading-progress {
    width: 100%;
    max-width: 280px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Refine prompt section */
.refine-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.refine-section h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}

.refine-hint {
    color: var(--text2);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.refine-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.refine-textarea {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-family: var(--sans);
    font-size: 0.9375rem;
    border-radius: 10px;
    outline: none;
    resize: vertical;
    min-height: 2.75rem;
    transition: border-color 0.2s;
}

.refine-textarea:focus {
    border-color: var(--accent);
}

.btn-refine {
    white-space: nowrap;
    padding: 0.75rem 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .refine-input-row {
        flex-direction: column;
    }
    .btn-refine {
        width: 100%;
        justify-content: center;
    }
}

/* Export section */
.export-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-export {
    font-size: 1rem;
    padding: 0.875rem 2rem;
}
