/* Octohide VPN Template — Mode C */
/* Brand: octohide.com | Design: dark navy + mint green */
/* Fonts: Red Hat Display (headings) + Manrope (body) */

:root {
    --navy: #10395f;
    --navy-dark: #0e3152;
    --navy-mid: #1a4a73;
    --accent: #5edda6;
    --accent-dark: #175288;
    --text: #101112;
    --text-muted: #6e7b87;
    --bg: #f4f4f4;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border: #dbe1eb;
    --radius: 12px;
    --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Manrope', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Red Hat Display', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    line-height: 1.25;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 14px 36px; font-size: 1.1rem; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--accent-dark);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid var(--accent-dark);
    transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-secondary.btn-lg { padding: 14px 36px; font-size: 1.1rem; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.navbar-inner {
    display: flex;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    gap: 24px;
}
.navbar-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.navbar-logo { height: 28px; display: block; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
    text-decoration: none;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-cta { flex-shrink: 0; }
.btn-nav {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.btn-nav:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* Mobile burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: all .25s; }
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--navy-dark);
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile.open { display: flex; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(180deg, #f2f4f7 0%, #eaedf2 100%);
    color: var(--text);
    padding: 80px 0 64px;
    overflow: hidden;
    position: relative;
}
/* Lottie animation — full section background */
.hero-lottie {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .55;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(23, 82, 136, .08);
    border: 1px solid rgba(23, 82, 136, .18);
    color: var(--accent-dark);
    font-size: .85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3.25rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero h1 .accent { color: var(--accent-dark); }
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 500px;
    line-height: 1.7;
}
.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.hero-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(23, 82, 136, .06);
    border: 1px solid rgba(23, 82, 136, .14);
    padding: 5px 12px;
    border-radius: 20px;
}
.hero-check::before { content: '✓'; color: var(--accent-dark); font-weight: 700; }
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hero-trial {
    font-size: .875rem;
    color: var(--text-muted);
}
.hero-trial strong { color: var(--accent-dark); }

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.stat-num { font-family: 'Red Hat Display', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--accent-dark); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ── Section commons ──────────────────────────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(23, 82, 136, .08);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 2.25rem; color: var(--text); margin-bottom: 12px; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Servers ──────────────────────────────────────────────────────────────── */
.servers-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
/* World map background */
.map-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.map-image {
    width: 140%;
    max-width: none;
    opacity: .18;
    user-select: none;
}
.map-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(14,49,82,0) 30%, var(--navy-dark) 80%);
}
/* Pulsing green dots on map */
.map-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(94,221,166,.5);
    animation: dot-pulse 2.5s ease-out infinite;
}
.map-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(94,221,166,.35);
}
@keyframes dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(94,221,166,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(94,221,166,0); }
    100% { box-shadow: 0 0 0 0 rgba(94,221,166,0); }
}
.servers-section > .container {
    position: relative;
    z-index: 1;
}
.servers-section .section-tag {
    color: var(--accent);
    background: rgba(94, 221, 166, .1);
    border: 1px solid rgba(94, 221, 166, .2);
}
.servers-section .section-title { color: #fff; }
.servers-section .section-sub { color: rgba(255,255,255,.6); }
.servers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.server-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background .2s, border-color .2s;
}
.server-card:hover { background: rgba(255,255,255,.11); border-color: var(--accent); }
.server-flag {
    width: 40px;
    height: 27px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}
.server-name { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.85); text-align: center; }
.server-status { font-size: .7rem; color: var(--accent); font-weight: 700; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-section {
    background: var(--bg-light);
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(23, 82, 136, .08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent-dark);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-section {
    background: var(--bg-white);
    padding: 80px 0;
}
.pricing-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: box-shadow .2s;
}
.pricing-featured {
    border-color: var(--accent-dark);
    background: var(--bg-white);
    box-shadow: 0 8px 32px rgba(23, 82, 136, .15);
    transform: translateY(-6px);
}
.pricing-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-dark);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-name { font-size: .9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-bottom: 6px; }
.price-amt { font-family: 'Red Hat Display', sans-serif; font-size: 3rem; font-weight: 700; color: var(--text); line-height: 1; }
.price-cur { font-size: 1.4rem; font-weight: 700; color: var(--accent-dark); }
.price-per-unit { font-size: .82rem; color: #2d9e5a; font-weight: 600; min-height: 20px; margin-bottom: 20px; }
.btn-pricing {
    display: block;
    width: 100%;
    background: rgba(0,0,0,.06);
    color: var(--text);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.btn-pricing:hover { background: rgba(0,0,0,.12); color: var(--text); text-decoration: none; }
.btn-pricing-primary { background: var(--accent-dark); color: #fff; }
.btn-pricing-primary:hover { background: var(--navy); color: #fff; }
.trial-note { text-align: center; margin-top: 28px; font-size: .9rem; color: var(--text-muted); }
.trial-note strong { color: var(--text); }

/* ── Referral ─────────────────────────────────────────────────────────────── */
.referral-section {
    background: var(--bg-light);
    padding: 80px 0;
}
.referral-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}
.referral-left h2 { font-size: 1.75rem; margin-bottom: 12px; }
.referral-left > p { color: var(--text-muted); font-size: .95rem; margin-bottom: 28px; }
.referral-steps { display: flex; flex-direction: column; gap: 20px; }
.referral-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 700;
    flex-shrink: 0;
}
.step-text { display: flex; flex-direction: column; gap: 3px; }
.step-text strong { font-size: .95rem; color: var(--text); }
.step-text span { font-size: .875rem; color: var(--text-muted); }

.referral-right {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    color: #fff;
}
.bonus-emoji { font-size: 2.5rem; margin-bottom: 10px; }
.bonus-title { font-size: .85rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.bonus-highlight { font-family: 'Red Hat Display', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); display: block; line-height: 1; margin-bottom: 12px; }
.bonus-desc { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ── CTA ──────────────────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}
.cta-section h2 { font-size: 2.25rem; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Download ─────────────────────────────────────────────────────────────── */
.download-section {
    background: var(--bg-white);
    padding: 80px 0;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.download-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow .2s, transform .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.download-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-3px); text-decoration: none; color: var(--text); border-color: var(--accent-dark); }
.download-icon svg { width: 44px; height: 44px; }
.download-card h3 { font-size: 1rem; font-weight: 700; }
.platform-version { font-size: .78rem; color: var(--text-muted); }
.btn-download {
    display: inline-block;
    background: var(--accent-dark);
    color: #fff;
    padding: 7px 20px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    font-weight: 700;
    margin-top: 4px;
    transition: background .2s;
}
.download-card:hover .btn-download { background: var(--navy); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section {
    background: var(--bg-light);
    padding: 80px 0;
}
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item.open { border-color: var(--accent-dark); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: .97rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: 12px;
}
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s; stroke: var(--accent-dark); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-muted); line-height: 1.65; font-size: .9rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,.7);
    padding: 56px 0 0;
    font-size: .875rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand { margin-bottom: 14px; }
.footer-logo { height: 26px; filter: brightness(0) invert(1); opacity: .85; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 280px; margin-bottom: 4px; }
.footer-col-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.07);
    font-size: .78rem;
    color: rgba(255,255,255,.3);
    gap: 12px;
    flex-wrap: wrap;
}

/* ── SEO Block ────────────────────────────────────────────────────────────── */
.seo-block { padding: 20px 24px 12px; border-top: 1px solid rgba(255,255,255,.05); margin-top: 0; }
.seo-block-wrap { max-width: 1152px; margin: 0 auto; }
.seo-block-label { font-size: .65rem; color: rgba(255,255,255,.2); font-weight: 700; letter-spacing: .1em; margin-bottom: 8px; }
.seo-block-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.seo-block-links li a { font-size: .75rem; color: rgba(255,255,255,.22); text-decoration: none; }
.seo-block-links li a:hover { color: rgba(255,255,255,.5); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .servers-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .servers-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-row { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-featured { transform: none; }
    .referral-card { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
    .download-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-title { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .servers-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; }
    .btn-primary.btn-lg, .btn-secondary.btn-lg { width: 100%; justify-content: center; text-align: center; }
}
