:root {
    color-scheme: dark;
    --bg: #05070f;
    --bg-2: #0b1020;
    --panel: rgba(18, 26, 45, 0.9);
    --panel-light: rgba(23, 33, 56, 0.9);
    --text: #f5f7ff;
    --muted: #a1aec5;
    --accent: #7c8cff;
    --accent-2: #22d3ee;
    --accent-3: #38efc3;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 30px 60px rgba(5, 10, 28, 0.35);
    --glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 40px rgba(12, 20, 45, 0.5);
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

body {
    background: radial-gradient(circle at 10% 10%, rgba(124, 140, 255, 0.18), transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.12), transparent 40%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text);
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-glow {
    position: fixed;
    inset: -20% -20% auto auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(124, 140, 255, 0.25), transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(5, 7, 15, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

.brand {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 16px rgba(124, 140, 255, 0.6);
}

.nav {
    display: flex;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
}

.nav a {
    transition: color 0.2s ease;
}

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

.cta,
.ghost,
.icon-btn {
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    background: transparent;
    color: var(--text);
}

.cta {
    background: linear-gradient(120deg, var(--accent), #8b5cf6);
    padding: 10px 18px;
    box-shadow: 0 12px 30px rgba(124, 140, 255, 0.35);
}

.cta:hover {
    transform: translateY(-1px);
}

.ghost {
    border: 1px solid var(--border);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
}

.icon-btn {
    border: 1px solid var(--border);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
}

.icon-btn.is-copied {
    border-color: rgba(56, 239, 195, 0.6);
    color: var(--accent-3);
}

.cta svg,
.ghost svg,
.icon-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hero {
    padding: 90px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    color: var(--accent-2);
    margin-bottom: 12px;
}

.subhead {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-3);
    box-shadow: 0 0 8px rgba(56, 239, 195, 0.6);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.hero-stats h3 {
    font-size: 20px;
}

.hero-stats p {
    color: var(--muted);
    font-size: 12px;
}

.hero-card {
    background: linear-gradient(160deg, rgba(18, 26, 45, 0.9), rgba(12, 18, 34, 0.9));
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--glow);
    border: 1px solid var(--border);
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.card-title-row h2 {
    font-size: 20px;
}

.card-badge {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(56, 239, 195, 0.35);
    color: var(--accent-3);
    font-size: 12px;
    font-weight: 600;
}

.result {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.result input {
    flex: 1;
    background: var(--panel-light);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
}

.options {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

.option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.option-title {
    color: var(--text);
    font-weight: 600;
    display: block;
}

.option-sub {
    font-size: 12px;
    color: var(--muted);
}

.slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider input[type="range"] {
    width: 120px;
    accent-color: var(--accent);
}

.slider span {
    min-width: 30px;
    text-align: right;
    font-weight: 600;
}

.toggle {
    position: relative;
    width: 42px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: background 0.2s ease;
}

.toggle-track::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-track {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.toggle input:checked + .toggle-track::after {
    transform: translateX(18px);
}

.toggle input:disabled + .toggle-track {
    background: rgba(255, 255, 255, 0.05);
}

.strength {
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--muted);
}

.strength-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strength-hint {
    color: var(--accent-2);
    font-weight: 600;
    font-size: 11px;
}

.strength-bar {
    height: 6px;
    border-radius: 999px;
    background: var(--panel-light);
    margin-top: 8px;
    overflow: hidden;
}

#strengthFill {
    height: 100%;
    width: 0%;
    background: var(--accent-2);
    transition: width 0.3s ease, background 0.3s ease;
}

#strengthFill[data-level="weak"] {
    background: #f87171;
}

#strengthFill[data-level="fair"] {
    background: #facc15;
}

#strengthFill[data-level="good"] {
    background: #38bdf8;
}

#strengthFill[data-level="strong"] {
    background: #22d3ee;
}

#strengthFill[data-level="elite"] {
    background: #34d399;
}

.full {
    width: 100%;
}

.status {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.status[data-tone="good"] {
    color: var(--accent-3);
}

.status[data-tone="bad"] {
    color: #fca5a5;
}

.logos {
    padding: 30px 0 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos p {
    color: var(--muted);
    margin-bottom: 16px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}

.logo-grid span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.features,
.data-centers,
.pricing,
.history {
    padding: 80px 0;
}

.feature-grid,
.pricing-grid,
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card,
.price-card,
.history-card {
    background: var(--panel);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 140, 255, 0.18);
    margin-bottom: 12px;
}

.icon-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.feature-card p,
.price-card ul,
.history-card p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 13px;
}

.price-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.price-card.highlight {
    border: 1px solid rgba(124, 140, 255, 0.6);
    box-shadow: 0 20px 50px rgba(124, 140, 255, 0.35);
}

.price {
    font-size: 32px;
    margin: 12px 0;
}

.data-centers .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
}

.center-grid {
    display: grid;
    gap: 16px;
    background: var(--panel);
    border-radius: 20px;
    padding: 26px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.muted {
    color: var(--muted);
}

.section-title {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.history-card {
    display: grid;
    gap: 12px;
}

.history-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.history-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-2);
    fill: none;
    stroke-width: 1.8;
}

.legal-hero {
    padding-bottom: 40px;
}

.legal-stack {
    display: grid;
    gap: 24px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.footer-grid a {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-size: 13px;
}

.footer-note {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 720px) {
    .site-header .nav {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .option-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
