/* index.css — page-specific rules. Nav + basic :root aus _nav.css. */
:root {
    --accent2:#ff6b35;
    --green:#3fb950;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { line-height: 1.6; }

.container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }

/* Nav */
/* Hero */
.hero { padding: 4rem 0 3rem; text-align: center; }
.hero h1 { font-size: 3rem; color: #fff; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 span { color: #fff; }
.hero .subtitle { font-size: 1rem; opacity: 0.7; max-width: 550px; margin: 0 auto 2rem; }
.hero .ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.7rem 1.8rem; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { opacity: 0.85; }
.btn-secondary { border: 1px solid var(--accent); color: var(--accent); }
.btn-secondary:hover { background: rgba(0, 200, 255, 0.1); }

/* Stats bar */
.stats { display: flex; justify-content: center; gap: 3rem; margin: 2.5rem 0; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .number { font-size: 1.8rem; color: #fff; font-weight: bold; }
.stat .label { font-size: 0.7rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.1em; }

/* Clickable stat (link disguised as stat — needs affordance) */
.stat-link {
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    margin: -0.4rem -0.8rem;
    transition: background 0.2s ease;
}
.stat-link .number { color: var(--accent); }
.stat-link:hover { background: rgba(0, 200, 255, 0.08); }
.stat-link .label { opacity: 0.7; }

/* Code block */
.code-block {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
    font-size: 0.85rem;
    overflow-x: auto;
    position: relative;
}
.code-block .comment { color: #6a737d; }
.code-block .keyword { color: #ff7b72; }
.code-block .string { color: #a5d6ff; }
.code-block .func { color: #d2a8ff; }
.code-block .result { color: var(--green); }

/* Sections */
section { padding: 4rem 2rem; margin: 0 -2rem; border-radius: 8px; transition: background 0.4s ease; }
section:hover { background: rgba(255, 255, 255, 0.02); }

/* // Slash in Headlines */
.h2-slash {
    display: inline-block;
    opacity: 0.35;
    transition: color 0.2s ease-out, opacity 0.2s ease-out;
}
section:hover .h2-slash { color: var(--accent2); opacity: 0.85; }
section h2 { font-size: 1.8rem; color: #fff; margin-bottom: 1.5rem; }

/* Three columns */
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.col { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; }
.col h3 { color: var(--accent2); margin-bottom: 0.5rem; font-size: 1rem; }
.col p { font-size: 0.85rem; opacity: 0.8; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.price-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; text-align: center; }
.price-card.featured { border-color: var(--accent); }
.price-card h3 { color: #fff; margin-bottom: 0.5rem; }
.price-card .price { font-size: 1.8rem; color: #fff; margin: 0.5rem 0; }
.price-card .price small { font-size: 0.8rem; color: var(--text); }
.price-card ul { list-style: none; text-align: left; margin-top: 1rem; font-size: 0.8rem; }
.price-card ul li { padding: 0.25rem 0; }
.price-card ul li::before { content: "~ "; color: rgba(200, 220, 255, 0.4); }
.price-card .launch { color: var(--green); font-size: 0.75rem; margin-top: 0.5rem; }

/* Story */
.story { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; margin: 2rem 0; font-style: italic; opacity: 0.9; }
.story .author { font-style: normal; font-size: 0.8rem; color: #7a8fa8; margin-top: 1rem; }

/* Trust badges */
.badges { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 0; }
.badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(0, 200, 255, 0.06); border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 4px; padding: 0.35rem 0.7rem; font-size: 0.7rem;
    color: var(--text); letter-spacing: 0.03em; white-space: nowrap;
}
.badge .badge-icon { font-size: 0.85rem; }
.badge .badge-label { color: rgba(200, 220, 255, 0.5); }
.badge .badge-value { color: #fff; font-weight: bold; }

/* Footer */
footer { padding: 2rem 0; text-align: center; font-size: 0.75rem; color: #6b7fa0; border-top: 1px solid var(--border); }
footer a { color: var(--accent); text-decoration: none; }

/* Quickstart grid (was inline style) */
.quickstart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero { padding: 3rem 0 2rem; }
    .hero h1 { font-size: 2.2rem; }
    .stats { gap: 1.5rem; }
    .quickstart-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    section { padding: 2.5rem 1rem; margin: 0 -1rem; }
    section h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero .subtitle { font-size: 0.88rem; }
    .hero .ctas { flex-direction: column; align-items: center; gap: 0.8rem; }
    .hero .ctas .btn { width: 80%; text-align: center; }
    .stats { gap: 0.8rem 1.5rem; }
    .stat .number { font-size: 1.4rem; }
    .cols-3 { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { max-width: 320px; margin: 0 auto; }
    footer { line-height: 2.2; }
}
