/* Split VPN — splitvpn.mom
   Design axes: Hero C (split-screen) / Nav A (white sticky shadow) / Cards A (shadow lift)
   Typo B (Funnel Display + Funnel Sans) / Buttons A (rounded 10-12) / Sections A (alt white/grey)
   Price D (embedded in hero) / FAQ A (accordion) / Footer A (4 cols dark) / Anim A (fade up) */

:root {
  --primary: #06B6D4;
  --primary-deep: #0891B2;
  --accent: #EC4899;
  --accent-deep: #DB2777;
  --bg: #FAFCFF;
  --bg-alt: #EFF7FB;
  --text: #0F172A;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-cyan: 0 12px 28px rgba(6, 182, 212, 0.25);
  --shadow-magenta: 0 12px 28px rgba(236, 72, 153, 0.25);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text);
}

a { color: var(--primary-deep); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--accent-deep); }

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

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

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}
.logo img { width: 38px; height: 38px; border-radius: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 2px;
  transition: color 0.18s;
}
.nav-links a:not(.nav-cta):hover { color: var(--primary-deep); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.22s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  padding: 10px 22px;
  border-radius: 11px;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-magenta);
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  top: 71px;
  left: 0; right: 0;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 99;
  padding: 18px 24px 26px;
}
.mobile-nav.active { transform: translateY(0); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a.nav-cta {
  margin-top: 12px;
  text-align: center;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #000000;
  font-weight: 800;
  border: 0;
  border-radius: 11px;
  padding: 14px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 11px;
  font-family: 'Funnel Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s, box-shadow 0.18s, background 0.22s;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #FFFFFF;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-magenta);
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  color: var(--primary-deep);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ========== HERO (axis C — split screen) ========== */
.hero {
  padding: 56px 0 72px;
  background: var(--bg);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(6,182,212,0.12), rgba(236,72,153,0.12));
  color: var(--primary-deep);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px solid rgba(6,182,212,0.2);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 18px;
}
.hero h1 .accent-split {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-pricetag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.hero-pricetag b { color: var(--text); font-weight: 700; }
.hero-pricetag .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust b {
  font-family: 'Funnel Display', sans-serif;
  font-size: 22px;
  color: var(--text);
}
.hero-trust span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero visual (right column) — split tunneling diagram */
.split-visual {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.split-visual-head {
  padding: 16px 22px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.split-visual-head span:first-child {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.split-visual-head .badge-on {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(16,185,129,0.12);
  color: #047857;
  font-weight: 700;
}
.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-col {
  padding: 28px 22px;
  position: relative;
}
.split-col-cyan {
  background: linear-gradient(180deg, rgba(6,182,212,0.05), rgba(6,182,212,0.12));
  border-right: 1px dashed var(--border);
}
.split-col-magenta {
  background: linear-gradient(180deg, rgba(236,72,153,0.05), rgba(236,72,153,0.12));
}
.split-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 700;
}
.split-col-cyan h4 { color: var(--primary-deep); }
.split-col-magenta h4 { color: var(--accent-deep); }
.split-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split-col li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.split-col li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.split-col-cyan li::before { background: var(--primary); }
.split-col-magenta li::before { background: var(--accent); }
.split-visual-foot {
  padding: 14px 22px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.split-visual-foot .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(6,182,212,0); }
}

/* ========== STATS ROW ========== */
.stats {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-grid > div b {
  display: block;
  font-family: 'Funnel Display', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stats-grid > div span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== SECTIONS / GENERIC ========== */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ========== FEATURES — shadow-lift cards ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,182,212,0.4);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Funnel Display', sans-serif;
  margin-bottom: 18px;
  box-shadow: var(--shadow-cyan);
}
.feature-card:nth-child(2n) .feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: var(--shadow-magenta);
}
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ========== PLATFORMS ========== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  color: var(--text);
}
.platform:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--text);
}
.platform-mark {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-deep);
  flex-shrink: 0;
}
.platform:nth-child(2n) .platform-mark { color: var(--accent-deep); }
.platform b { display: block; font-size: 16px; margin-bottom: 2px; }
.platform span { font-size: 13px; color: var(--text-muted); }

/* ========== WHY US (text block) ========== */
.why {
  padding: 72px 0;
  background: #FFFFFF;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 18px;
}
.why-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 14px;
}
.why-list { list-style: none; margin-top: 22px; }
.why-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}
.why-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.why-visual {
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(236,72,153,0.08));
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.why-visual h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.why-visual .meter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.meter-row b {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text);
}
.meter-bar {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 50px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ========== USE CASES ========== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usecase {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
}
.usecase::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.7;
}
.usecase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.usecase b {
  display: block;
  font-family: 'Funnel Display', sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}
.usecase p { font-size: 14px; color: var(--text-muted); }

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  text-align: center;
}
.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 26px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary {
  background: #FFFFFF;
  color: var(--text);
}
.cta-banner .btn-primary:hover {
  background: #FFFFFF;
  color: var(--primary-deep);
}

/* ========== FAQ — accordion ========== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(6,182,212,0.4);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px 26px;
  font-family: 'Funnel Display', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.22s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, padding 0.32s ease;
  padding: 0 26px;
}
.faq-item.open .faq-a {
  max-height: 460px;
  padding: 0 26px 22px;
}
.faq-a p { color: var(--text-muted); font-size: 15px; }

/* ========== FOOTER — 4 cols dark ========== */
.site-footer {
  background: #0B1220;
  color: #94A3B8;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  color: #F8FAFC;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 700;
  font-family: 'Funnel Display', sans-serif;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: #94A3B8; font-size: 14px; }
.footer-grid a:hover { color: var(--primary); }
.footer-about p {
  font-size: 14px;
  margin: 14px 0 18px;
  line-height: 1.7;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F8FAFC;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 700;
  font-size: 19px;
}
.footer-logo img { width: 36px; height: 36px; border-radius: 9px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  font-size: 13px;
  color: #64748B;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== INSTRUKTSIYA STYLES ========== */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  align-items: start;
}
.step-num {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Funnel Display', sans-serif;
  font-weight: 700;
  font-size: 30px;
  box-shadow: var(--shadow-cyan);
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}
.step-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  margin-top: 14px;
}

.after-pay {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 44px;
}
.after-pay h3 { font-size: 22px; margin-bottom: 12px; }
.after-pay p { color: var(--text-muted); margin-bottom: 22px; }

/* ========== ANIM (axis A — fade up) ========== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid, .platforms-grid, .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
}
@media (max-width: 640px) {
  .feature-grid, .platforms-grid, .usecase-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .step-num { width: 60px; height: 60px; font-size: 26px; }
  .hero h1 { font-size: 32px; }
  .split-cols { grid-template-columns: 1fr; }
  .split-col-cyan { border-right: 0; border-bottom: 1px dashed var(--border); }
  .container { padding: 0 18px; }
  .hero-trust { gap: 14px; }
  .hero-trust b { font-size: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
