/* LynxVPN website. Dark theme in the style of amnezia.org, with the app's blue as the accent. */

:root {
    --bg: #0E0E11;
    --bg-elev: #141519;
    --card: #17181D;
    --card-2: #1D1E24;
    --border: rgba(255, 255, 255, .07);
    --border-strong: rgba(255, 255, 255, .12);
    --text: #EAEAEC;
    --muted: #A0A2AB;
    --dim: #6F7179;
    --accent: #2FA6F8;
    --accent-strong: #1E8FE0;
    --accent-deep: #2479B5;
    --accent-soft: rgba(47, 166, 248, .14);
    --grad: linear-gradient(92deg, #7AD1FF 0%, #2FA6F8 55%, #3D7BFF 100%);
    --radius: 24px;
    --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7AD1FF; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container { width: min(1160px, 100% - 40px); margin: 0 auto; }
.section { padding: 48px 0; }
.section-narrow { max-width: 820px; }
.section-title { font-size: clamp(30px, 4.2vw, 44px); text-align: center; margin-bottom: 16px; }
.section-lead { text-align: center; max-width: 640px; margin: 0 auto 36px; font-size: 18px; }

/* Soft blue haze behind everything, like the blurred blobs on amnezia.org */
.backdrop {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(700px 500px at 15% -10%, rgba(47, 166, 248, .16), transparent 70%),
        radial-gradient(600px 400px at 100% 10%, rgba(36, 121, 181, .14), transparent 70%);
}

/* ---- Top bar ---- */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(14, 14, 17, .78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 28px; margin-left: 8px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--text); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; border-radius: 10px; }
.menu-btn:hover { background: var(--card-2); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: #fff; font-weight: 600; font-size: 16px;
    padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 8px 30px rgba(47, 166, 248, .25);
}
.btn:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: 14.5px; box-shadow: none; }
.btn-outline { background: transparent; border-color: var(--border-strong); box-shadow: none; color: var(--text); }
.btn-outline:hover { background: var(--card-2); color: var(--text); }
.btn-play { padding: 12px 24px 12px 18px; text-align: left; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.1; }
.btn-play small { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.btn-play strong { font-size: 19px; font-weight: 600; }
.link-arrow { color: var(--text); font-weight: 500; }
.link-arrow::after { content: " →"; color: var(--accent); }
.link-arrow:hover { color: var(--accent); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 84px 0 24px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0 auto 22px; max-width: 900px; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-note { color: var(--dim); font-size: 14px; margin-top: 22px; }

/* ---- App screen with glow and ripples ---- */
.screen-wrap { position: relative; display: flex; justify-content: center; padding: 40px 0 56px; overflow: hidden; }
.glow {
    position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(47, 166, 248, .38) 0%, rgba(47, 166, 248, 0) 62%);
    filter: blur(24px); pointer-events: none;
}
.glow-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(122, 209, 255, .35) 0%, rgba(122, 209, 255, 0) 65%); }
.rings { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); pointer-events: none; }
.rings span {
    position: absolute; inset: 0; border-radius: 50%; opacity: 0;
    border: 1px solid rgba(47, 166, 248, .45);
    animation: ripple 7.5s linear infinite;
}
.rings span:nth-child(2) { animation-delay: 2.5s; }
.rings span:nth-child(3) { animation-delay: 5s; }
@keyframes ripple {
    0%   { transform: scale(.5); opacity: 0; }
    15%  { opacity: .8; }
    100% { transform: scale(1.12); opacity: 0; }
}

.phone {
    position: relative; width: 318px; padding: 12px;
    background: #1B1C22; border-radius: 48px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(47, 166, 248, .18);
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 84px; height: 6px; transform: translateX(-50%); background: #0A0A0D; border-radius: 6px; }
.phone-screen {
    border-radius: 38px; overflow: hidden; padding: 14px 20px 20px;
    background: linear-gradient(180deg, #121318 0%, #0E0E11 100%);
    display: flex; flex-direction: column;
}
.p-status { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 0 4px; }
.p-status-icons { display: inline-flex; gap: 4px; align-items: flex-end; }
.p-status-icons i { display: block; width: 3px; background: var(--muted); border-radius: 1px; }
.p-status-icons i:nth-child(1) { height: 6px; } .p-status-icons i:nth-child(2) { height: 9px; } .p-status-icons i:nth-child(3) { height: 12px; }
.p-top { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; color: var(--accent); }
.p-menu i { display: block; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; margin: 4px 0; }
.p-title { font-weight: 600; font-size: 20px; margin-top: 12px; }
.p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.p-stat { background: var(--card-2); border-radius: 14px; padding: 10px 12px 8px; text-align: center; }
.p-stat span { display: block; font-size: 11.5px; color: var(--muted); }
.p-stat strong { display: block; font-size: 15px; font-weight: 600; margin: 2px 0 6px; }
.p-stat svg { width: 100%; height: 30px; }
.p-country { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; background: var(--card-2); border-radius: 14px; padding: 12px; font-size: 14px; font-weight: 500; }
.p-flag { display: inline-flex; flex-direction: column; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; }
.p-flag i { flex: 1; } .p-flag i:nth-child(1) { background: #AE1C28; } .p-flag i:nth-child(2) { background: #fff; } .p-flag i:nth-child(3) { background: #21468B; }
.p-connect { display: flex; flex-direction: column; align-items: center; margin-top: 18px; }
.p-connected { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.p-connect-ring {
    width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; color: var(--accent);
    background: radial-gradient(circle at 50% 40%, #202128, #16171C);
    box-shadow: 0 0 0 6px rgba(47, 166, 248, .12), 0 0 40px rgba(47, 166, 248, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.p-connect-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.p-card { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.p-card span { font-size: 11.5px; color: var(--muted); display: block; }
.p-card strong { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.p-pill { background: var(--accent); color: #fff !important; font-weight: 600; font-size: 12.5px !important; padding: 8px 14px; border-radius: 999px; }
.p-bar { height: 5px; background: var(--card-2); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.p-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.p-data { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ---- Cards ---- */
.card {
    background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card-wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 48px; }
.card-wide h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.card-wide-text p + p { margin-top: 12px; }
.card-art svg { width: 100%; height: auto; border-radius: 22px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }

/* Free plan steps */
.steps .step { position: relative; text-align: left; }
.step-num { position: absolute; top: 24px; right: 24px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
.step .big { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.step h3 { color: var(--muted); font-weight: 500; font-size: 18px; margin-bottom: 14px; }

/* Pricing */
.pricing { max-width: 900px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan-featured { border-color: rgba(47, 166, 248, .45); box-shadow: 0 0 0 1px rgba(47, 166, 248, .2), 0 20px 60px rgba(47, 166, 248, .12); }
.plan-badge { position: absolute; top: -14px; left: 28px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan-price { font-size: 20px; font-weight: 600; color: var(--text); margin: 6px 0 20px; }
.plan-price span { color: var(--muted); font-weight: 400; font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FA6F8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks li.dim::before { background-color: rgba(255, 255, 255, .06); filter: grayscale(1) opacity(.6); }
.plan .btn { margin-top: auto; }
.plan-note { font-size: 13.5px; color: var(--dim); text-align: center; margin-top: 12px; }

/* FAQ */
.faq { border-top: 1px solid var(--border); padding: 4px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq[open] summary::after { transform: rotate(225deg); }
.faq p { color: var(--muted); padding-bottom: 20px; }

/* Final CTA */
.cta { text-align: center; padding: 56px 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta img { margin-bottom: 6px; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta .btn { margin-top: 16px; }

/* Text pages (privacy policy) */
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose b { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 8px; }
.prose p + p { margin-top: 12px; }

/* Footer */
.footer { margin-top: 40px; border-top: 1px solid var(--border); background: rgba(20, 21, 25, .6); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.footer-brand .muted { margin-top: 14px; max-width: 320px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-col a { color: var(--muted); font-size: 15.5px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13.5px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .nav { display: none; }
    .nav.open {
        display: flex; flex-direction: column; gap: 4px;
        position: absolute; left: 0; right: 0; top: 72px;
        background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 12px 20px 16px;
    }
    .nav.open a { padding: 12px 8px; font-size: 17px; }
    .menu-btn { display: inline-flex; }
    .card-wide { grid-template-columns: 1fr; padding: 32px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero { padding-top: 56px; }
    .grid-3, .grid-2, .footer-inner { grid-template-columns: 1fr; }
    .card { padding: 26px; }
    .section { padding: 36px 0; }
    .btn-small { display: none; }
    .rings { width: 560px; height: 560px; }
    .phone { width: 296px; }
    .plan-featured { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .rings span { animation: none; opacity: .35; transform: scale(.8); }
    html { scroll-behavior: auto; }
}
