:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card: #111827;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    color: var(--text);
}

body {
    line-height: 1.6;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85), transparent);
    border-bottom: 1px solid rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #f9fafb, #38bdf8, #0f172a);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #0b1120;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #e5e7eb;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    margin-left: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
    color: var(--accent);
    border-color: rgba(56, 189, 248, 0.6);
}

/* Hero */

.hero {
    padding: 64px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: stretch;
}

.hero-text h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 0.98rem;
    max-width: 38rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 8px;
}

.hero-note {
    font-size: 0.82rem;
    color: var(--muted);
}

.hero-card {
    background: radial-gradient(circle at top left, #1f2937, #020617);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e5e7eb;
}

.card-footnote {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--muted);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.16s ease;
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    color: #020617;
    font-weight: 600;
    box-shadow: 0 16px 30px rgba(8, 47, 73, 0.7);
}

.btn.primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 18px 36px rgba(8, 47, 73, 0.9);
}

.btn.secondary {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.45);
    color: var(--text);
}

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

.btn.ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--muted);
}

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

/* Sections */

.section {
    padding: 40px 0 36px;
}

.section-alt {
    background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.section-intro {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 40rem;
}

/* Cards & grid */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 14px 14px 12px;
}

.feature-card h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--muted);
}

/* Insights */

.insights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
    gap: 24px;
    margin-top: 16px;
}

.table-wrapper {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 10px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

th,
td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

tbody tr:hover {
    background: rgba(15, 23, 42, 0.9);
}

.table-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 6px;
}

/* Products */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.product-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.95);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card h3 {
    margin: 0;
    font-size: 1rem;
}

.product-card p {
    font-size: 0.86rem;
    color: var(--muted);
}

.product-card ul {
    margin: 0 0 8px;
    padding-left: 18px;
}

.product-card li {
    font-size: 0.82rem;
    color: var(--muted);
}

.product-card .btn {
    margin-top: auto;
}

.product-card.highlight {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 18px 40px rgba(8, 47, 73, 0.7);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 16px 0 18px;
    background: #020617;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--muted);
    max-width: 28rem;
    margin-top: 6px;
}

.footer-right a {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
}

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

/* Responsive */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .insights-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .nav {
        display: none;
    }
}
