:root {
    --bg: #0a0a0a;
    --bg-soft: #0f0f0f;
    --card: #111111;
    --border: #222222;
    --text: #f5f5f5;
    --text-muted: #888888;
    --accent: #3b82f6;
    --accent-strong: #60a5fa;
    --accent-warm: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

body {
    background: linear-gradient(135deg, var(--bg) 0%, #0d0d0d 100%);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.ambient-bg { display: none; }

@keyframes drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(0, -20px, 0) scale(1.05); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    margin-bottom: 60px;
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.logo {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.3px;
    text-decoration: none;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    text-decoration: none;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

.hero {
    margin-bottom: 90px;
    display: grid;
    gap: 36px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: #f5f5f5;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn-secondary:hover { background: var(--card); }

.btn-ghost {
    color: var(--text-muted);
    border: 1px solid transparent;
}

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

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    margin: 30px 0 22px;
    display: block;
    letter-spacing: 1px;
}

.features-grid,
.steps-grid,
.status-grid,
.stats-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 80px;
}

.features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.status-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card,
.feature-card,
.step-card,
.status-card,
.cta-card,
.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.feature-card h3,
.step-card h3,
.status-card h3,
.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p,
.step-card p,
.status-card p,
.card p {
    color: var(--text-muted);
    font-size: 14px;
}

.step-card { text-align: center; }

.step-number {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.terminal {
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    position: relative;
}

.terminal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.08), transparent 60%);
    opacity: 0.2;
    animation: none;
}

@keyframes shimmer {
    0% { opacity: 0.15; }
    50% { opacity: 0.35; }
    100% { opacity: 0.15; }
}


.terminal-header {
    background: #0f111a;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 6px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: #22263a; }

.terminal-content {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.blue { color: var(--accent-strong); }
.green { color: #34d399; }

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

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

.float-slow { animation: float 8s ease-in-out infinite; }
.float-mid { animation: float 6s ease-in-out infinite; }
.float-fast { animation: float 5s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.status-card .status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 12px;
}

.status-card .status-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.status-card .status-indicator.partial span { background: var(--accent-warm); }
.status-card .status-indicator.partial { color: var(--accent-warm); }

.status-card .status-indicator.down span { background: var(--danger); }
.status-card .status-indicator.down { color: var(--danger); }

.stats-grid .card {
    text-align: center;
}

.stats-grid h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.form-card {
    max-width: 460px;
    margin: 0 auto 60px;
}

.form-card label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-card input {
    width: 100%;
    background: #0b0b0b;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text);
    margin-bottom: 16px;
}

.form-card input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    margin-bottom: 10px;
}

.code-block {
    background: #0b0b0b;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #d1d5db;
    overflow: auto;
}

.pricing-table-wrapper {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: auto;
    background: var(--card);
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
    color: var(--text);
    font-size: 14px;
}

.pricing-table thead {
    background: #0f0f0f;
}

.pricing-table th,
.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.pricing-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover { color: var(--text); }

@media (max-width: 768px) {
    .hero h1 { font-size: 38px; }
    nav .nav-links { display: none; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}
