/* ============================================================
   Fast VPN — style.css
   Design source: fastvpn.com
   Mode C (service) — VPN/ВПН allowed
   Palette: #fff bg, #E8563C orange accent, gradient hero
   Light theme with gradient hero — cloned from fastvpn.com
   ============================================================ */

:root {
  --bg:         #ffffff;
  --bg-light:   #f8f8f8;
  --bg-dark:    #1a1a2e;
  --accent:     #E8563C;
  --accent-hover:#D04530;
  --accent-light:rgba(232,86,60,0.08);
  --text:       #1a1a1a;
  --text-muted: #6B7280;
  --border:     #e5e5e5;
  --radius-lg:  20px;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 40px rgba(232,86,60,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px; font-weight: 600;
  font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .25s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.btn-dark:hover { opacity: .9; }
.btn-lg { padding: 16px 44px; font-size: 16px; }

/* ── Header (fastvpn.com: white, logo left, nav center, CTA right) ── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 28px; }
.logo span { font-weight: 700; font-size: 22px; color: var(--text); }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

/* ── Hero (fastvpn.com: gradient bg, text left, illustration right) ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 35%, #e8a87c 50%, #8b5cf6 75%, #3b82f6 100%);
  padding: 100px 0 80px; min-height: 520px;
}
.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; max-width: 500px; }
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.05; margin-bottom: 20px;
  color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { flex: 1; text-align: right; }
.hero-visual img { max-height: 400px; opacity: .2; }

/* ── Zigzag Features (fastvpn.com: alternating image+text) ──── */
.zigzag { padding: 80px 0; }
.zigzag-item {
  display: flex; align-items: center; gap: 60px;
  padding: 60px 0;
}
.zigzag-item:nth-child(even) { flex-direction: row-reverse; }
.zigzag-visual { flex: 1; text-align: center; }
.zigzag-visual .zigzag-icon {
  width: 120px; height: 120px; border-radius: 24px;
  background: linear-gradient(135deg, var(--accent-light), rgba(232,86,60,0.15));
  display: flex; align-items: center;
  justify-content: center; font-size: 42px; margin: 0 auto;
  box-shadow: 0 8px 32px rgba(232,86,60,0.12);
}
.zigzag-text { flex: 1; }
.zigzag-text h3 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.zigzag-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ── Map Stats (fastvpn.com: world map bg + numbers) ────────── */
.map-stats {
  background: var(--bg-light); padding: 80px 0; text-align: center;
  background-image: radial-gradient(circle at 2px 2px, #ccc 1px, transparent 0);
  background-size: 24px 24px;
}
.map-stats-grid { display: flex; justify-content: center; gap: 60px; margin-bottom: 32px; }
.map-stat { text-align: center; }
.map-stat-icon { font-size: 28px; margin-bottom: 4px; color: var(--accent); }
.map-stat-num { font-size: 36px; font-weight: 800; }
.map-stat-label { font-size: 14px; color: var(--text-muted); }

/* ── Section common ───────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── Benefits (fastvpn.com: 3-col icon cards) ─────────────── */
.benefits { background: var(--bg-light); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit-card { text-align: center; padding: 32px 20px; }
.benefit-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: var(--accent-light); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); }

/* ── Servers ──────────────────────────────── */
.servers-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.server-item {
  padding: 8px 18px; background: var(--bg-light); border-radius: 50px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border); transition: .2s;
}
.server-item:hover { border-color: var(--accent); color: var(--accent); }

/* ── Pricing ──────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--bg-light); border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center; border: 2px solid transparent; transition: .3s; position: relative;
}
.price-card.featured { border-color: var(--accent); background: #fff; box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 600;
}
.price-period { font-size: 16px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.price-amount { font-size: 48px; font-weight: 800; margin-bottom: 4px; }
.price-amount sup { font-size: 20px; vertical-align: super; }
.price-saving { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 20px; min-height: 20px; }
.price-btn {
  display: block; padding: 14px; border-radius: 50px; font-weight: 600;
  background: var(--accent); color: #fff; transition: .25s;
}
.price-btn:hover { background: var(--accent-hover); }
.trial-note {
  text-align: center; margin-top: 28px; font-size: 15px; color: var(--text-muted);
  padding: 16px; background: var(--accent-light); border-radius: var(--radius-sm);
}
.trial-note strong { color: var(--accent); }

/* ── Install ──────────────────────────────── */
.install-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.install-item {
  background: var(--bg-light); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border);
}
.install-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.install-text { font-size: 15px; margin-bottom: 12px; }
.btn-tg {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: #0088cc; color: #fff; border-radius: 50px; font-weight: 600; font-size: 14px;
}
.install-dl-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.install-dl-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: #fff; border-radius: 50px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--border); transition: .2s;
}
.install-dl-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Referral ─────────────────────────────── */
.referral-box {
  display: flex; gap: 40px; align-items: center; padding: 48px;
  background: var(--bg-light); border-radius: var(--radius-lg);
}
.referral-steps { margin-top: 24px; }
.referral-step { display: flex; gap: 16px; margin-bottom: 16px; }
.step-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 14px;
}
.step-text strong { display: block; font-size: 15px; }
.step-text span { font-size: 13px; color: var(--text-muted); }
.referral-bonus {
  flex-shrink: 0; width: 280px; background: #fff; border-radius: var(--radius);
  padding: 32px; text-align: center; box-shadow: var(--shadow);
}
.bonus-emoji { font-size: 40px; margin-bottom: 8px; }
.bonus-title { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.bonus-highlight { display: inline-block; font-size: 28px; font-weight: 800; color: var(--accent); margin: 8px 0; }
.bonus-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ ──────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--bg-light); border-radius: var(--radius-sm); margin-bottom: 12px;
  border: 1px solid var(--border);
}
.faq-q {
  width: 100%; text-align: left; padding: 18px 24px; font-size: 15px;
  font-weight: 600; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; color: var(--text);
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); }
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s;
  padding: 0 24px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
}
.faq-a.open { max-height: 300px; padding: 0 24px 18px; }

/* ── CTA ──────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #d04530, #8b5cf6);
  padding: 72px 0; text-align: center; color: #fff;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: rgba(255,255,255,0.85); }

/* ── Footer ──────────────────────────────── */
.site-footer { background: var(--bg-dark); color: #fff; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; }
.footer-col-title { font-weight: 700; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.4);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-inner, .zigzag-item, .zigzag-item:nth-child(even) { flex-direction: column; text-align: center; }
  .hero-visual, .zigzag-visual { display: none; }
  .benefits-grid, .pricing-grid, .install-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .referral-box { flex-direction: column; padding: 28px; }
  .referral-bonus { width: 100%; }
  .map-stats-grid { flex-direction: column; gap: 24px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow); }
  .menu-toggle { display: block; }
  .header-inner .btn { display: none; }
}
