/* Hit Wave VPN — unique stylesheet
   Palette: royal blue + gold on deep navy. Synthwave/wave/energy aesthetic.
   Fonts: Phudu (display) + Nunito Sans (body).
*/

:root {
  --primary: #2563EB;
  --primary-2: #4F86FF;
  --accent: #FFD700;
  --accent-2: #FFB347;
  --bg: #0B1739;
  --bg-alt: #122050;
  --bg-deep: #06102B;
  --bg-card: rgba(20, 32, 80, 0.6);
  --text: #E0E7FF;
  --text-muted: #94A3B8;
  --border: rgba(148, 163, 184, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 36px rgba(8, 14, 36, 0.6);
  --shadow-lg: 0 30px 70px rgba(37, 99, 235, 0.25);
  --grad: linear-gradient(135deg, #2563EB 0%, #4F86FF 45%, #FFD700 100%);
  --grad-soft: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(255, 215, 0, 0.18));
  --grad-stripe: linear-gradient(180deg, #2563EB 0%, #4F86FF 50%, #FFD700 100%);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: 'Phudu', 'Nunito Sans', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
h3 { font-size: 1.22rem; }

p { color: var(--text); margin-bottom: 12px; }
p.muted, .muted { color: var(--text-muted); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 16, 43, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(6, 16, 43, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Phudu', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--accent); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--grad);
  color: #000000;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 215, 0, 0.4);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.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 {
  display: none;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 18px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child {
  margin-top: 12px;
  background: var(--grad);
  color: #000;
  text-align: center;
  border-radius: 50px;
  font-weight: 800;
  border: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Phudu', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--grad);
  color: #000;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
  filter: saturate(1.1);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ===== Hero (animated mesh gradient) ===== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before,
.hero::after,
.hero .mesh-blob {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  top: -120px;
  left: -140px;
  animation: blobA 16s ease-in-out infinite;
}
.hero::after {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #FFD700 0%, transparent 70%);
  bottom: -150px;
  right: -120px;
  animation: blobB 18s ease-in-out infinite;
}
.mesh-blob.blob-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #4F86FF 0%, transparent 70%);
  top: 40%;
  right: 28%;
  opacity: 0.45;
  animation: blobC 22s ease-in-out infinite;
}
.mesh-blob.blob-4 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #FFB347 0%, transparent 70%);
  top: 12%;
  right: 6%;
  opacity: 0.38;
  animation: blobD 20s ease-in-out infinite;
}

@keyframes blobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes blobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -90px) scale(1.1); }
}
@keyframes blobC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, 40px) scale(1.2); }
  66% { transform: translate(60px, -50px) scale(0.9); }
}
@keyframes blobD {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 70px) scale(1.25); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 0%, #FFD700 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.98rem;
}
.price-tag .price-num {
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-tag .price-strike { color: var(--text-muted); text-decoration: line-through; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-badges span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ===== Stats row ===== */
.stats {
  background: var(--bg-alt);
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Sections ===== */
section { padding: 90px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: 'Phudu', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.04rem; }

.bg-deep { background: var(--bg-deep); }
.bg-alt { background: var(--bg-alt); }

/* ===== Feature cards (4px LEFT vertical gradient stripe) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 32px 36px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-stripe);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: var(--shadow-md);
}
.feature-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}
.feature-card h3 { margin-bottom: 10px; color: #fff; }
.feature-card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* ===== Platforms ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 22px;
  transition: all 0.28s ease;
}
.platform-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.12);
}
.platform-card .pf-ic {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.platform-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.platform-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.platform-card .dl-btn {
  margin-top: auto;
  padding: 9px 20px;
  border-radius: 50px;
  font-family: 'Phudu', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  background: rgba(255, 215, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 215, 0, 0.32);
  transition: all 0.2s ease;
}
.platform-card .dl-btn:hover {
  background: var(--grad);
  color: #000;
  border-color: transparent;
}

/* ===== Why us ===== */
.whyus {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.whyus h2 { margin-bottom: 22px; }
.whyus p { color: var(--text); margin-bottom: 16px; line-height: 1.75; }
.whyus .panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.whyus .panel::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}
.whyus .panel ul { list-style: none; }
.whyus .panel li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  align-items: flex-start;
}
.whyus .panel li:last-child { border-bottom: 0; }
.whyus .panel li::before {
  content: '✦';
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 4px;
}
.whyus .panel li strong { color: #fff; display: block; margin-bottom: 2px; }
.whyus .panel li span { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Use-cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}
.case-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--grad-soft);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.case-card:hover::after { opacity: 1; }
.case-card .num {
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  display: block;
}
.case-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.case-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #122050 0%, #2563EB 100%);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-banner::before {
  width: 240px; height: 240px;
  background: rgba(255, 215, 0, 0.4);
  top: -80px; left: -60px;
}
.cta-banner::after {
  width: 280px; height: 280px;
  background: rgba(79, 134, 255, 0.4);
  bottom: -100px; right: -80px;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { margin-bottom: 14px; color: #fff; }
.cta-banner p { color: rgba(224, 231, 255, 0.85); margin-bottom: 28px; font-size: 1.04rem; }

/* ===== FAQ accordion ===== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.open { border-color: rgba(255, 215, 0, 0.4); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 26px;
  cursor: pointer;
  font-family: 'Phudu', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  user-select: none;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-muted);
}
.faq-item.open .faq-a {
  max-height: 540px;
  padding: 0 26px 22px;
}

/* ===== Footer (single row minimal) ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Phudu', sans-serif;
  font-weight: 700;
  color: #fff;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-row .copy { color: var(--text-muted); font-size: 0.88rem; }
.footer-row nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
}
.footer-row nav a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-row nav a:hover { color: var(--accent); }

/* ===== Instruktsiya page ===== */
.steps {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
}
.step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-stripe);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.step .step-num {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-family: 'Phudu', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 12px; font-size: 1.4rem; }
.step p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.step .step-cta { margin-top: 16px; }

.after-pay {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  margin: 60px 0;
}
.after-pay h2 { margin-bottom: 18px; text-align: center; }
.after-pay p.intro { text-align: center; max-width: 720px; margin: 0 auto 40px; color: var(--text-muted); }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .features-grid,
  .platforms-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .whyus { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 70px 0; }
  .hero { padding: 70px 0 90px; }
  .cta-banner { padding: 50px 26px; }
  .step { grid-template-columns: 1fr; padding: 30px 24px; }
}

@media (max-width: 640px) {
  .features-grid,
  .platforms-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 80px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-row nav { justify-content: center; }
  .trust-badges { gap: 14px; }
  .section-head { margin-bottom: 40px; }
  .price-tag { padding: 12px 18px; font-size: 0.9rem; }
}
