/* Default VPN — pragmatic, no-frills landing
   Palette: charcoal + amber on light slate
   Type: Bricolage Grotesque (display) + Cabin (body)
   Axes: Hero E, Nav F, Cards B, Typo B, Buttons E, Sections A, Price A, FAQ B, Footer B, Anim A
*/

:root {
  --primary: #1F2937;
  --primary-soft: #2A3645;
  --accent: #FBBF24;
  --accent-deep: #D97706;
  --bg: #F1F5F9;
  --bg-alt: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  --shadow-pop: 0 18px 40px rgba(15, 23, 42, 0.10);
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabin', system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-deep); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Display headings */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Cabin', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}
h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }

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

/* ======= HEADER (Nav F: centered logo, menu under it) ======= */

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 0;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.burger {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding: 12px 0 14px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a:not(.nav-cta):hover { color: var(--primary); }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
}

.nav-links a.nav-cta:hover {
  color: #000000;
  background: #fde68a;
}

/* ===== Mobile nav drawer ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  padding: 80px 24px 32px;
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 90;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
}
.mobile-nav a.nav-cta {
  margin-top: 14px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-align: center;
  border-radius: 999px;
  border-bottom: none;
  padding: 14px;
}

/* ======= BUTTONS (E: ghost / outline) ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
}

.btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-amber {
  border-color: var(--accent);
  color: var(--primary);
  background: var(--accent);
}

.btn-amber:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.btn-large {
  padding: 16px 34px;
  font-size: 1.02rem;
}

/* ======= HERO (E: minimalist white, large typography) ======= */
.hero {
  background: var(--bg-alt);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -120px;
  width: 320px;
  height: 320px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 36px;
  background: var(--bg);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  color: var(--primary);
}

.hero h1 .accent {
  color: var(--accent-deep);
  position: relative;
  white-space: nowrap;
}

.hero-desc {
  font-size: 1.14rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

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

.trust-item strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 700;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ======= SECTIONS (A: alternating white / light slate) ======= */
section {
  padding: 84px 0;
}

.section-light { background: var(--bg); }
.section-white { background: var(--bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* ======= STATS BAR ======= */
.stats {
  background: var(--primary);
  padding: 44px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ======= CARDS (B: coloured border-top, rotating) ======= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}

.card:nth-child(6n+2) { border-top-color: var(--primary); }
.card:nth-child(6n+3) { border-top-color: var(--accent-deep); }
.card:nth-child(6n+4) { border-top-color: #475569; }
.card:nth-child(6n+5) { border-top-color: var(--accent); }
.card:nth-child(6n+6) { border-top-color: var(--primary-soft); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  border: 1px solid var(--border);
}

.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

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

.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all .25s ease;
  text-decoration: none;
}

.platform-card:nth-child(6n+1) { border-top-color: var(--accent); }
.platform-card:nth-child(6n+2) { border-top-color: var(--primary); }
.platform-card:nth-child(6n+3) { border-top-color: var(--accent-deep); }
.platform-card:nth-child(6n+4) { border-top-color: #475569; }
.platform-card:nth-child(6n+5) { border-top-color: var(--primary-soft); }
.platform-card:nth-child(6n+6) { border-top-color: var(--accent); }

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}

.platform-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
}

.platform-card h3 { font-size: 1.05rem; margin-bottom: 2px; color: var(--primary); }
.platform-card span { font-size: 0.85rem; color: var(--text-muted); }

/* ======= WHY-US TEXT BLOCK ======= */
.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-us-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 22px;
}

.why-us-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.why-list {
  list-style: none;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}

.why-list li {
  margin-bottom: 22px;
  position: relative;
}

.why-list li:last-child { margin-bottom: 0; }

.why-list strong {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.why-list span {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ======= PRICING (A: gradient card) ======= */
.pricing-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background: linear-gradient(135deg, var(--primary) 0%, #374151 50%, var(--accent-deep) 100%);
  border-radius: 18px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.price-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(40px);
}

.price-card .ribbon {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.price-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  position: relative;
}

.price-card .price-tag {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin: 18px 0 8px;
  position: relative;
}

.price-card .price-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 32px;
  position: relative;
}

.price-card .btn {
  border-color: #fff;
  color: #fff;
  position: relative;
  z-index: 1;
}

.price-card .btn:hover {
  background: #fff;
  color: var(--primary);
}

.price-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  position: relative;
}

.price-bullets div {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ======= CTA BANNER ======= */
.cta-banner {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  margin-top: 0;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= FAQ (B: two columns, all open) ======= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.faq-item:nth-child(even) { border-left-color: var(--primary); }

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: -0.005em;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ======= FOOTER (B: single row, minimal) ======= */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-logo img { width: 26px; height: 26px; border-radius: 6px; }

.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.footer-nav a:hover { color: var(--accent); }

.footer-copy { color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }

/* ======= INSTRUKTSIYA ======= */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
}

.step:nth-child(2) { border-top-color: var(--primary); }

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.step h2 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--text-muted); margin-bottom: 14px; }

.after-pay {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 40px;
}

.after-pay h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* ======= ANIM (A: fade-up via IntersectionObserver) ======= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .price-bullets { grid-template-columns: 1fr; }
  .price-card { padding: 44px 28px; }
  .hero { padding: 70px 0 80px; }
  section { padding: 64px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .burger { display: flex; }
  .nav-row { display: none; }
  .header-inner { padding: 16px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .step { grid-template-columns: 1fr; padding: 28px; gap: 16px; }
  .step-num { width: 56px; height: 56px; font-size: 1.5rem; }
  .price-card { padding: 36px 22px; }
  .price-card .price-tag { font-size: 2.6rem; }
  .cta-banner { padding: 36px 24px; }
  .footer-row { flex-direction: column; text-align: center; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
}
