*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #0f172a; color: #f1f5f9; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* Header */
header { border-bottom: 1px solid #1e293b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { text-decoration: none; font-size: 1.1rem; font-weight: 700; color: #f1f5f9; }
.logo span { color: #3b82f6; }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { color: #94a3b8; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
nav a:hover { color: #f1f5f9; }
.btn-sm { padding: 0.35rem 1rem; border-radius: 6px; background: #3b82f6; color: #fff !important; font-weight: 600; font-size: 0.8rem; }
.btn-sm:hover { background: #2563eb; }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.75rem; border-radius: 8px; background: #3b82f6; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; border: none; cursor: pointer; }
.btn:hover { background: #2563eb; }
.btn-outline { background: transparent; border: 1px solid #334155; color: #cbd5e1; }
.btn-outline:hover { border-color: #64748b; }
.btn-full { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Hero */
.hero { padding: 4rem 0 3rem; text-align: center; }
.hero h1 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.highlight { color: #3b82f6; }
.hero-sub { margin-top: 1rem; font-size: 1.05rem; color: #94a3b8; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-actions { margin-top: 2rem; display: flex; gap: 0.75rem; justify-content: center; }
@media (max-width: 480px) { .hero h1 { font-size: 1.75rem; } .hero-actions { flex-direction: column; align-items: center; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1rem 0 3rem; }
.step { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 1.25rem; text-align: center; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 0.8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.step-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; }
.step-desc { font-size: 0.75rem; color: #94a3b8; }
@media (max-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* Section alt */
.section-alt { background: rgba(30,41,59,0.5); border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; padding: 3rem 0; }
.section-title { text-align: center; font-size: 1.5rem; margin-bottom: 2rem; }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prop { text-align: center; }
.prop h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.prop p { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }
@media (max-width: 600px) { .props { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { text-align: center; padding: 3rem 0; }
.cta-section h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.muted { color: #94a3b8; margin-bottom: 1.5rem; }

/* Footer */
footer { border-top: 1px solid #1e293b; margin-top: auto; }
.footer-inner { padding: 1.5rem 0; text-align: center; font-size: 0.75rem; color: #64748b; }
.footer-inner a { color: #64748b; text-decoration: none; }
.footer-inner a:hover { color: #94a3b8; }

/* Forms */
.page-narrow { max-width: 480px; margin: 0 auto; padding: 3rem 1.5rem; }
.page-narrow h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.page-narrow .sub { color: #94a3b8; font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.5; }
.form-group { margin-bottom: 1rem; }
.form-row { display: flex; gap: 0.75rem; }
.form-row > .form-group { flex: 1; }
label { display: block; font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
input, textarea, select { width: 100%; padding: 0.7rem; border-radius: 6px; border: 1px solid #334155; background: #1e293b; color: #f1f5f9; font-size: 0.85rem; font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #3b82f6; }
textarea { resize: vertical; min-height: 70px; }
select { cursor: pointer; }
.hint { font-size: 0.7rem; color: #64748b; margin-top: 0.3rem; }
.error-box { background: #7f1d1d; color: #fca5a5; padding: 0.75rem; border-radius: 6px; font-size: 0.85rem; margin-bottom: 1rem; display: none; }
.success-box { background: #065f46; color: #6ee7b7; padding: 1.25rem; border-radius: 8px; line-height: 1.5; display: none; }
.success-box h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.success-box code { display: block; background: #0f172a; padding: 0.75rem; border-radius: 6px; margin-top: 0.75rem; font-size: 0.7rem; color: #6ee7b7; white-space: pre-wrap; word-break: break-all; position: relative; }
.copy-btn { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border-radius: 4px; border: 1px solid #334155; background: #1e293b; color: #6ee7b7; font-size: 11px; cursor: pointer; }

/* Account page */
.card { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 0.9rem; margin-bottom: 1rem; }
.status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

@media (max-width: 480px) { .form-row { flex-direction: column; } }
