/* SOLARA VPN — single CSS, dark glassmorphic theme. No framework. */

:root {
    --bg-0:        #05060d;
    --bg-1:        #0a0d1a;
    --bg-2:        #11152a;
    --fg-0:        #f4f6ff;
    --fg-1:        #b8c0d8;
    --fg-2:        #6c7494;
    --accent:      #6e8cff;
    --accent-hot:  #b46dff;
    --accent-glow: 0 0 60px rgba(110, 140, 255, 0.4);
    --card-bg:     rgba(255, 255, 255, 0.04);
    --card-edge:   rgba(255, 255, 255, 0.08);
    --max-w:       1100px;
}

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

html, body {
    background: var(--bg-0);
    color: var(--fg-0);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "Inter", "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%,  rgba(110, 140, 255, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 30%, rgba(180, 109, 255, 0.12), transparent 60%),
        var(--bg-0);
    background-attachment: fixed;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color 120ms ease; }
a:hover { color: var(--accent-hot); }

/* ── Layout ────────────────────────────────────────────────────────── */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

nav.top {
    padding: 22px 0;
    backdrop-filter: blur(12px);
    background: rgba(5, 6, 13, 0.6);
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid var(--card-edge);
}
nav.top .container { display: flex; align-items: center; justify-content: space-between; }
nav.top .logo {
    font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
    background: linear-gradient(95deg, var(--accent), var(--accent-hot));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
nav.top ul { list-style: none; display: flex; gap: 28px; }
nav.top ul a { color: var(--fg-1); font-size: 14px; }
nav.top ul a:hover { color: var(--fg-0); }

footer {
    padding: 48px 0 64px;
    border-top: 1px solid var(--card-edge);
    margin-top: 96px;
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer p { color: var(--fg-2); font-size: 14px; }
footer a { color: var(--fg-1); margin-left: 24px; font-size: 14px; }

/* ── Hero ──────────────────────────────────────────────────────────── */

section.hero { padding: 96px 0 64px; text-align: center; }
section.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
}
section.hero h1 .grad {
    background: linear-gradient(95deg, var(--accent) 0%, var(--accent-hot) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
section.hero p.tag {
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--fg-1);
    max-width: 640px; margin: 0 auto 40px;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600; font-size: 15px;
    text-decoration: none;
    transition: transform 120ms ease, box-shadow 200ms ease;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(95deg, var(--accent), var(--accent-hot));
    color: white;
    box-shadow: var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); color: white; }
.btn-ghost {
    background: var(--card-bg); border-color: var(--card-edge); color: var(--fg-0);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--fg-0); }

/* ── Feature cards ─────────────────────────────────────────────────── */

section.features { padding: 64px 0; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature {
    background: var(--card-bg);
    border: 1px solid var(--card-edge);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(14px);
    transition: border-color 200ms ease, transform 200ms ease;
}
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature .icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(110,140,255,0.25), rgba(180,109,255,0.25));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
}
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--fg-1); font-size: 14px; }

/* ── Pricing ───────────────────────────────────────────────────────── */

section.pricing { padding: 96px 0 64px; text-align: center; }
section.pricing h2 {
    font-size: clamp(32px, 4vw, 48px); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 16px;
}
section.pricing > .container > p { color: var(--fg-1); margin-bottom: 48px; }

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; max-width: 720px; margin: 0 auto;
}
.price {
    background: var(--card-bg);
    border: 1px solid var(--card-edge);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: left;
    backdrop-filter: blur(14px);
    position: relative;
}
.price.featured {
    border-color: var(--accent);
    box-shadow: var(--accent-glow);
}
.price.featured::after {
    content: "BEST VALUE";
    position: absolute; top: -12px; right: 20px;
    background: linear-gradient(95deg, var(--accent), var(--accent-hot));
    color: white; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 6px; letter-spacing: 0.05em;
}
.price h3 { font-size: 16px; color: var(--fg-1); font-weight: 500; margin-bottom: 8px; }
.price .amount { font-size: 48px; font-weight: 800; letter-spacing: -0.02em; }
.price .amount small { font-size: 16px; color: var(--fg-2); font-weight: 500; }
.price .savings { color: var(--accent); font-size: 13px; margin-top: 4px; font-weight: 600; }
.price ul { list-style: none; margin: 24px 0; }
.price ul li {
    padding: 8px 0; color: var(--fg-1); font-size: 14px;
    border-bottom: 1px solid var(--card-edge);
}
.price ul li:last-child { border-bottom: none; }
.price ul li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }

/* ── Long-form (privacy / terms / transparency) ────────────────────── */

article.legal {
    max-width: 760px; margin: 64px auto;
    padding: 0 24px;
}
article.legal h1 {
    font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 8px;
}
article.legal .meta {
    color: var(--fg-2); font-size: 14px; margin-bottom: 48px;
}
article.legal h2 {
    font-size: 22px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em;
}
article.legal h3 {
    font-size: 16px; font-weight: 600; margin: 24px 0 8px;
}
article.legal p, article.legal ul, article.legal ol {
    color: var(--fg-1); margin-bottom: 16px;
}
article.legal ul, article.legal ol { padding-left: 24px; }
article.legal li { margin-bottom: 8px; }
article.legal table {
    width: 100%; border-collapse: collapse; margin: 16px 0;
    background: var(--card-bg); border: 1px solid var(--card-edge); border-radius: 8px;
    overflow: hidden;
}
article.legal th, article.legal td {
    padding: 12px 16px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--card-edge);
}
article.legal th { background: rgba(255,255,255,0.03); color: var(--fg-0); font-weight: 600; }
article.legal code {
    background: var(--bg-2); color: var(--accent);
    padding: 2px 6px; border-radius: 4px; font-size: 13px;
    font-family: "SF Mono", Menlo, Consolas, monospace;
}

/* ── Tiny utilities ────────────────────────────────────────────────── */
.muted { color: var(--fg-2); }
.center { text-align: center; }
.spacer-lg { height: 64px; }
