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

:root {
    --bg: #0d0d0d;
    --surface: #141414;
    --border: #2a2a2a;
    --border-hover: #3a3a3a;
    --text: #ececec;
    --text-dim: #999;
    --text-muted: #666;
    --white: #fff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ---- Nav ---- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 450;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 24px 72px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-sub {
    font-size: clamp(17px, 2.5vw, 22px);
    color: var(--text);
    font-weight: 450;
    margin-bottom: 8px;
    max-width: 600px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 44px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 72px;
}

.btn-primary {
    background: var(--white);
    color: #0d0d0d;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #ddd; transform: translateY(-1px); }

.btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--border-hover); background: var(--surface); }

/* ---- Stats ---- */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---- Sections ---- */
section {
    padding: 100px 24px;
}

.section-title {
    text-align: center;
    font-size: clamp(26px, 4.5vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    color: var(--white);
}

.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 48px;
}

/* ---- Features ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    max-width: 960px;
    margin: 0 auto;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.feature-card {
    background: var(--surface);
    padding: 32px 28px;
    transition: background 0.15s;
}

.feature-card:hover {
    background: #1a1a1a;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ---- Stats ---- */
#stats {
    padding: 60px 24px 100px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

#stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

#stats .stat-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

#stats .stat-suf {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

#stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
}

/* ---- Benchmarks Carousel ---- */
#benchmarks {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 40px;
}

#carousel-stage {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

#carousel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    margin-bottom: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#carousel-title.fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

.bar-label {
    width: 170px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-dim);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-track {
    flex: 1;
    height: 24px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease-out;
    background: #3a3a3a;
}

.bar-fill.goy { background: var(--white); }

.bar-val {
    width: 36px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}

#carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

#carousel-prev,
#carousel-next {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}
#carousel-prev:hover,
#carousel-next:hover {
    border-color: var(--border-hover);
    background: var(--surface);
}

#carousel-dots {
    display: flex;
    gap: 6px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.carousel-dot.active {
    background: var(--text);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .bar-label { width: 110px; font-size: 11px; }
}

/* ---- CTA Bottom ---- */
#cta-bottom {
    text-align: center;
    padding: 120px 24px;
}

#cta-bottom h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    letter-spacing: -0.02em;
}

#cta-bottom p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 28px;
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 13px;
}

.footer-disclaimer {
    font-size: 11px;
    color: #555;
}

/* ---- Responsive ---- */
/* ---- Blog Banner ---- */
.blog-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 24px;
    margin-top: 52px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: background 0.15s;
}

.blog-banner:hover {
    background: #1a1a1a;
}

.blog-banner-tag {
    display: inline-block;
    background: var(--white);
    color: #0d0d0d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 10px;
    border-radius: 4px;
}

.blog-banner-text {
    font-weight: 450;
}

.blog-banner-arrow {
    font-size: 13px;
    font-weight: 550;
    color: var(--text-dim);
    margin-left: 4px;
    transition: color 0.15s;
}

.blog-banner:hover .blog-banner-arrow {
    color: var(--text);
}

@media (max-width: 640px) {
    nav { padding: 12px 16px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 13px; }
    .hero { padding: 80px 16px 48px; }
    .stats-grid { gap: 24px; }
    #stats .stat-num { font-size: 26px; }
    section { padding: 56px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .benchmark-grid { grid-template-columns: 1fr 1fr; }
    .blog-banner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px;
        margin-top: 48px;
        font-size: 13px;
        text-align: center;
    }
}
