:root {
    --bg: #0d1a12;
    --bg-card: #14281c;
    --accent: #00c853;
    --accent-dark: #00963e;
    --accent-glow: rgba(0, 200, 83, 0.3);
    --text: #ffffff;
    --text-muted: #8c9b91;
    --font-heading: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    --border: #1f3d2a;
    --danger: #ff3b30;
    --warning: #ffcc00;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .section-title {
    font-family: var(--font-heading);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s ease;
}

ul { list-style: none; }

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

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.green { color: var(--accent); }
.danger { color: var(--danger); }
.fw-bold { font-weight: 700; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-glow);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.terminal-btn {
    color: var(--accent);
    font-weight: bold;
    text-shadow: 0 0 5px var(--accent-glow);
    display: inline-block;
}
.terminal-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent);
}

/* Scroll Progress */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 1000;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(13, 26, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--accent), #00ff6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

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

.btn-nav {
    background: var(--accent);
    color: #000;
    padding: 8px 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 998;
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    color: var(--text);
    font-size: 18px;
    display: block;
    text-align: center;
}

/* Hero */
.hero {
    padding: 150px 0 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-invisible {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,200,83,0.1) 0%, transparent 60%);
    opacity: 0;
    animation: invisibleBg 8s infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes invisibleBg {
    0% { opacity: 0; }
    50% { opacity: 0.15; }
    100% { opacity: 0; }
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.glitch {
    position: relative;
    color: var(--text);
    display: inline-block;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 86px, 0); transform: skew(0.5deg); }
    5% { clip: rect(31px, 9999px, 45px, 0); transform: skew(0.2deg); }
    10% { clip: rect(98px, 9999px, 82px, 0); transform: skew(0.7deg); }
    15% { clip: rect(3px, 9999px, 12px, 0); transform: skew(0.1deg); }
    20% { clip: rect(54px, 9999px, 98px, 0); transform: skew(0.3deg); }
    100% { clip: rect(10px, 9999px, 86px, 0); transform: skew(0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); transform: skew(0.1deg); }
    5% { clip: rect(21px, 9999px, 95px, 0); transform: skew(0.4deg); }
    10% { clip: rect(18px, 9999px, 42px, 0); transform: skew(0.2deg); }
    15% { clip: rect(83px, 9999px, 2px, 0); transform: skew(0.8deg); }
    20% { clip: rect(44px, 9999px, 68px, 0); transform: skew(0.5deg); }
    100% { clip: rect(65px, 9999px, 100px, 0); transform: skew(0); }
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-sub {
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.7;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    margin-bottom: 50px;
}

/* Terminal */
.terminal-wrapper {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #111;
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%; margin-right: 8px;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    color: #888;
    font-size: 12px;
    margin-left: 10px;
}

.terminal-body {
    padding: 15px;
    color: #00c853;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
}

.term-line { margin: 2px 0; }
.term-line.danger { color: var(--warning); }
.term-line.critical { color: var(--danger); font-weight: bold; }
.term-line.hidden { display: none; }

.blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

.center { text-align: center; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0,200,83,0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Stats */
.border-y {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 50px;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text);
}

.stat-number.zero {
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.2;
}

.stat-sub {
    font-size: 12px;
    color: var(--accent);
    margin-top: 5px;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.step-icon svg { color: var(--accent); }

.step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: 1s ease;
}
.step-connector.in-view::after { width: 100%; }

/* Secondary CTA */
.cta-box {
    background: linear-gradient(135deg, var(--bg-card), #0a140f);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    text-align: center;
}

.cta-box h2 { font-size: 32px; margin-bottom: 20px; }
.cta-text { color: var(--text-muted); font-size: 18px; max-width: 800px; margin: 0 auto; }

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.pricing-header h3 { font-size: 24px; margin-bottom: 5px; }
.sub-name { color: var(--accent); font-size: 14px; margin-bottom: 15px; }

.pricing-price { margin: 20px 0 5px; }
.monthly { font-size: 40px; font-weight: 900; font-family: var(--font-heading); }
.period { color: var(--text-muted); }
.pricing-total { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }

.pricing-savings {
    background: rgba(0, 200, 83, 0.1);
    color: var(--accent);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    margin: 10px auto 20px;
    display: inline-block;
}
.old-price { text-decoration: line-through; color: var(--text-muted); }

.pricing-features {
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 15px;
}

.pricing-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0,200,83,0.1);
    background: linear-gradient(180deg, var(--bg-card) 0%, #0d2114 100%);
}

.pricing-card.popular:hover {
    background-image: repeating-linear-gradient(45deg, rgba(0,200,83,0.02) 0px, rgba(0,200,83,0.02) 20px, transparent 20px, transparent 40px);
}

.badge {
    position: absolute;
    top: -15px; right: 20px;
    background: var(--accent);
    color: #000;
    padding: 6px 15px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 14px;
}

/* Calculator specific for terminal style */
.calc-btn-sm { background: transparent; color: var(--text); border: none; cursor: pointer; padding:0 5px; font-family: inherit;}
.calc-btn-sm:hover, .calc-btn-sm.active { color: var(--accent); }
.bar-red { color: #ff3b30; }
.bar-green { color: var(--accent); }

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

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0,200,83,0.15);
}

.platform-card h3 { font-size: 20px; margin-bottom: 15px; display:flex; justify-content:center; align-items:center; gap:5px;}
.platform-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.os-version { font-size: 12px; color: #555; margin-top: 15px; }

/* Chameleon Scheme */
.scheme-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scheme-btn {
    background: #111;
    color: #888;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: 0.3s;
}

.scheme-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.scheme-visual { transition: 0.5s; }

.scheme-visual.no-vpn-state .line-bot { color: #ff3b30; }
.scheme-visual.no-vpn-state .arr-bot { color: transparent; }
.scheme-visual.no-vpn-state .lbl-traffic { color: var(--text); }
.scheme-visual.with-vpn-state .lbl-traffic { color: var(--accent); }
.scheme-visual.with-vpn-state .lbl-prov { color: var(--text-muted); }
.scheme-visual.with-vpn-state .lbl-dpi { color: var(--text-muted); }
.scheme-visual.with-vpn-state .lbl-res { color: var(--accent); }
.scheme-visual.with-vpn-state .line-bot { color: var(--text); }
.scheme-visual.with-vpn-state .arr-bot { color: var(--text); }

/* Protocol Match */
.radio-opts label { display: block; cursor: pointer; }
.radio-opts label:hover { color: #fff; }
.radio-opts input { display:none; }

/* Compare table */
.compare-table-wrap { overflow-x: auto; }
.compare-term {
    max-width: 800px;
}
.compare-term pre {
    font-family: inherit;
    font-size: 14px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.stars { margin-bottom: 15px; letter-spacing: 2px; }
.review-card h4 { margin-bottom: 10px; }
.review-card p { color: var(--text-muted); font-size: 15px; font-style: italic; }

/* Marquee */
.marquee-wrap {
    overflow: hidden;
    background: var(--accent);
    color: #000;
    padding: 15px 0;
    white-space: nowrap;
    position: relative;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
}

.marquee {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee span { padding-right: 50px; }
.bull { color: #fff; padding: 0 10px; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Guarantee */
.guarantee-box {
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 40px;
    background: rgba(0,200,83,0.05);
}

.guarantee-box h3 { font-size: 28px; margin-bottom: 20px; }
.guarantee-box p { margin-bottom: 20px; color: var(--text-muted); }
.guarantee-tags { display: flex; justify-content: center; gap: 20px; color: var(--accent); font-weight: bold;}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.faq-btn {
    width: 100%;
    background: transparent;
    color: var(--text);
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 18px;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-btn .plus { color: var(--accent); font-size: 24px; transition: 0.3s; }
.faq-btn.active .plus { transform: rotate(45deg); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* SEO Content */
.seo-content article {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    color: #888;
    font-size: 14px;
}

.seo-content h3 { color: var(--text); margin-top: 30px; margin-bottom: 15px; font-size: 20px;}
.seo-content h3:first-child { margin-top: 0; }
.seo-content p { margin-bottom: 15px; }

/* Final CTA */
.final-box {
    position: relative;
    padding: 0;
}
.box-decor { position: absolute; font-family: monospace; font-size: 20px; color: var(--accent); }
.top-left { top: 0; left: 0; }
.top-right { top: 0; right: 0; }
.bot-left { bottom: 0; left: 0; }
.bot-right { bottom: 0; right: 0; }
.final-tags span { display: inline-block; margin: 0 10px; color: var(--accent); }

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific elements visibility */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 15px;
    border-top: 1px solid var(--border);
    z-index: 999;
}

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

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .stepper { flex-direction: column; align-items: center; }
    .step-connector { width: 2px; height: 40px; margin: 10px 0; }
    .step-connector::after { height: 0; width: 100%; top: 0; left: 0; }
    .step-connector.in-view::after { height: 100%; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero h1 { font-size: 36px; }
    .hero { padding-top: 120px; }
    .features-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-tags { flex-direction: column; gap: 10px; }
    .mobile-sticky-cta { display: block; }
    footer { padding-bottom: 90px; }
    .term-line { font-size: 11px; }
}
