/* ================================================================
   VPN Free Way · Landing styles
   ================================================================ */

:root {
    --bg: #0a0a0f;
    --bg-2: #111118;
    --bg-3: #181822;
    --surface: #14141c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f5f7;
    --text-2: #b5b5c0;
    --muted: #7a7a8c;
    --accent: #818cf8;
    --accent-2: #a855f7;
    --ok: #34d399;
    --danger: #f87171;
    --grad: linear-gradient(135deg, #818cf8 0%, #a855f7 100%);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(99, 102, 241, 0.15);
    --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

code { font-family: 'JetBrains Mono', monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.06); padding: 2px 6px; border-radius: 4px; }

a { color: inherit; text-decoration: none; transition: color 0.2s; }

h1, h2, h3 {
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* -------- Container -------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

/* -------- Nav -------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    z-index: 100;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(10, 10, 15, 0.6);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

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

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 14.5px;
    color: var(--text-2);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-cta:hover { background: var(--bg-3); border-color: rgba(168, 85, 247, 0.4); }

@media (max-width: 860px) {
    .nav { padding: 14px 20px; }
    .nav-links { display: none; }
}

/* -------- Hero -------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 600px at 50% 20%, rgba(129, 140, 248, 0.18), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(168, 85, 247, 0.16), transparent 60%),
        radial-gradient(500px 400px at 15% 80%, rgba(99, 102, 241, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}
.badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 12px var(--ok);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.hero-title {
    font-size: clamp(44px, 7vw, 92px);
    line-height: 0.98;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}
.gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradShift 8s ease-in-out infinite;
}

@keyframes gradShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--text-2);
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-meta {
    color: var(--muted);
    font-size: 14px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-meta strong { color: var(--text-2); font-weight: 500; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* -------- Buttons -------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--grad);
    color: white;
    box-shadow: 0 4px 14px rgba(129, 140, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(129, 140, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.4);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* -------- Section -------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.03) 50%, transparent); }
.section-alt::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 50% 0%, rgba(129, 140, 248, 0.06), transparent 70%);
    pointer-events: none;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
    position: relative;
}
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.section-lead {
    font-size: 17px;
    color: var(--text-2);
}

/* -------- Grids -------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* -------- Cards -------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
}

/* -------- Features -------- */
.feature .icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 140, 248, 0.12);
    color: var(--accent);
    border-radius: 10px;
    margin-bottom: 18px;
    transition: transform 0.3s, background 0.3s;
}
.feature:hover .icon {
    transform: rotate(-8deg) scale(1.05);
    background: rgba(168, 85, 247, 0.2);
}
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* -------- Steps -------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    counter-reset: step;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 46px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    z-index: 0;
}
.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px;
}
.step-num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 44px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; }
.how-cta { text-align: center; }

@media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
}

/* -------- Apps -------- */
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.app-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}
.app strong { font-size: 16px; }
.app-os { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.app p { color: var(--text-2); font-size: 14.5px; margin-bottom: 14px; }
.app-link { color: var(--accent); font-size: 14px; font-weight: 500; }
.app:hover .app-link { text-decoration: underline; }

/* -------- Pricing -------- */
.pricing { align-items: stretch; }
.plan {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    position: relative;
}
.plan-period {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.plan-save {
    position: absolute;
    top: 28px; right: 28px;
    background: rgba(52, 211, 153, 0.12);
    color: var(--ok);
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 16px;
    margin-bottom: 4px;
}
.plan-price .num {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.plan-price .cur { font-size: 22px; font-weight: 600; color: var(--text-2); }
.plan-per { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.plan-list {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}
.plan-list li {
    padding: 8px 0;
    font-size: 14.5px;
    color: var(--text-2);
    position: relative;
    padding-left: 22px;
}
.plan-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.plan-cta { width: 100%; justify-content: center; }

.plan-hot {
    border-color: rgba(168, 85, 247, 0.4);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), var(--surface));
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.plan-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--grad);
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 32px;
}

@media (max-width: 960px) {
    .plan-hot { transform: none; }
}

/* -------- FAQ -------- */
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { border-color: rgba(168, 85, 247, 0.35); }

.faq summary {
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.25s, color 0.25s;
    line-height: 1;
}
.faq details[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent);
}
.faq p {
    padding: 0 24px 20px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
}

/* -------- Final CTA -------- */
.cta-final {
    padding: 80px 0 120px;
    position: relative;
}
.cta-card {
    background:
        radial-gradient(800px 400px at 50% 50%, rgba(168, 85, 247, 0.2), transparent 70%),
        linear-gradient(180deg, rgba(129, 140, 248, 0.08), var(--surface));
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 72px 32px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 85, 247, 0.08), transparent 30%);
    animation: rotate 18s linear infinite;
    pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.cta-card h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.cta-card p { color: var(--text-2); font-size: 18px; margin-bottom: 36px; }

/* -------- Footer -------- */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    color: var(--text-2);
    font-size: 14px;
}
.footer .brand { margin-bottom: 12px; font-size: 16px; }
.footer-desc { font-size: 14px; color: var(--muted); max-width: 260px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-head {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.footer a {
    display: block;
    color: var(--text-2);
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
}

/* -------- Reveal animations -------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* -------- Selection -------- */
::selection { background: rgba(168, 85, 247, 0.35); color: white; }

/* -------- Scrollbar -------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a36; }
