/* ============================================================
   iTop VPN — style.css
   Design source: itopvpn.com
   Mode C (service) — VPN/ВПН allowed
   Palette: #f5f5fa bg, #4B5AFA accent, #0E0C1A text
   Light theme — cloned from itopvpn.com layout
   ============================================================ */

/* Inter font via system fallback (no external import) */
:root {
  --bg:         #f5f5fa;
  --bg-white:   #ffffff;
  --bg-dark:    #1a1a2e;
  --accent:     #4B5AFA;
  --accent-hover:#3A47D6;
  --accent-light:rgba(75,90,250,0.08);
  --orange:     #EFA124;
  --text:       #0E0C1A;
  --text-muted: #6B7280;
  --text-light: #ffffff;
  --border:     rgba(0,0,0,0.06);
  --radius-lg:  24px;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 40px rgba(75,90,250,0.12);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 15px; border: none; cursor: pointer; transition: all .25s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-white { background: #fff; color: var(--accent); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-1px); }

/* ── Header ──────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo img { height: 32px; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; 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; transition: .3s; }

/* ── Hero (itopvpn.com style: left text + right image) ─── */
.hero {
  background: linear-gradient(135deg, #f5f5fa 0%, #e8e8f5 50%, #dde0ff 100%);
  padding: 80px 0 0; overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-content { flex: 1; max-width: 550px; }
.hero-label {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--accent-light); color: var(--accent); font-size: 13px;
  font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 44px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-platforms { display: flex; gap: 12px; margin-top: 16px; }
.hero-platforms a {
  width: 40px; height: 40px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: .2s;
}
.hero-platforms a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hero-visual { flex: 1; text-align: right; }

/* ── Stats Bar (itopvpn.com: dark horizontal strip) ────── */
.stats-bar { background: linear-gradient(135deg, #3a3a5c, #2a2a4a); padding: 28px 0; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 36px; font-weight: 800; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ── Sections ─────────────────────────────────── */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--accent-light); color: var(--accent); font-size: 13px;
  font-weight: 600; margin-bottom: 12px;
}
.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; }

/* ── Features (itopvpn.com: cards with icons on top) ──── */
.features { background: var(--bg-white); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: var(--bg); border-radius: var(--radius); padding: 32px;
  transition: .3s; border: 1px solid var(--border);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card--accent { background: var(--accent); color: #fff; border-color: transparent; }
.feat-card--accent p { color: rgba(255,255,255,0.85); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feat-card--accent .feat-icon { background: rgba(255,255,255,0.2); }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Servers (pill/tag style like itopvpn.com) ────────── */
.servers { background: var(--bg); }
.servers-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.server-item {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: #fff; 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); }
.server-item strong { font-weight: 600; }

/* ── Pricing (clean cards, itopvpn.com style) ─────────── */
.pricing { background: var(--bg-white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card {
  background: var(--bg); border-radius: var(--radius); 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;
  font-size: 15px; 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 { background: var(--bg); }
.install-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.install-item {
  background: #fff; 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; transition: .2s;
}
.btn-tg:hover { opacity: .9; }
.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: var(--bg); 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 { background: var(--bg-white); }
.referral-box {
  display: flex; gap: 40px; align-items: center; padding: 48px;
  background: var(--bg); 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 { background: var(--bg); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px;
  border: 1px solid var(--border); overflow: hidden;
}
.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; align-items: center; color: var(--text);
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent); transition: .2s; }
.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 (gradient like itopvpn.com) ──────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #6366f1);
  padding: 72px 0; text-align: center; color: #fff;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: rgba(255,255,255,0.8); }

/* ── Footer (dark, like itopvpn.com) ─────────── */
.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: 0.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: 32px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .referral-box { flex-direction: column; padding: 28px; }
  .referral-bonus { width: 100%; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: var(--shadow); }
  .menu-toggle { display: block; }
  .header-inner .btn { display: none; }
}
