/* Hup VPN — unique theme: rose + yellow on dark indigo */

:root {
  --primary: #FB7185;
  --accent: #FACC15;
  --bg: #1E1B4B;
  --bg-alt: #252261;
  --bg-card: rgba(40, 36, 99, .6);
  --text: #EEF2FF;
  --text-muted: #A5B4FC;
  --border: rgba(165, 180, 252, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --grad: linear-gradient(135deg, #FB7185 0%, #FACC15 100%);
  --grad-soft: linear-gradient(135deg, rgba(251, 113, 133, .18) 0%, rgba(250, 204, 21, .18) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Familjen Grotesk', 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: var(--primary);
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.18;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .55rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(30, 27, 75, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(20, 17, 60, .96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

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

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: .96rem;
  position: relative;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--accent);
}

.nav-links a.nav-cta {
  background: var(--grad);
  color: #000000;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 22px rgba(251, 113, 133, .35);
}

.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(250, 204, 21, .4);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

.burger.active span:nth-child(1) { transform: translate(0, 7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translate(0, -7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  z-index: 55;
}

.mobile-nav.active { display: block; }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 22px;
}

.mobile-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #000000;
  box-shadow: 0 14px 30px rgba(251, 113, 133, .35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(250, 204, 21, .45);
  color: #000000;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.06rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(251, 113, 133, .55), transparent 60%);
  top: -240px;
  left: -180px;
  filter: blur(70px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(250, 204, 21, .42), transparent 60%);
  bottom: -200px;
  right: -160px;
  filter: blur(80px);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-soft);
  border: 1px solid rgba(250, 204, 21, .35);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 600;
}

.trust-item::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(250, 204, 21, .6);
}

/* Floating card overlay */
.hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
}

.hero-card::before {
  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: .55;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}

.hero-card .price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 22px;
}

.hero-card .price-num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card .price-label {
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: .98rem;
}

.hero-card li::before {
  content: '✓';
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  color: #000;
  background: var(--grad);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ SECTIONS ============ */
section {
  padding: 90px 0;
  position: relative;
}

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

.section-head .eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1.05rem;
}

/* ============ STATS BAR ============ */
.stats {
  padding: 50px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: .94rem;
  font-weight: 600;
}

/* ============ FEATURE CARDS — left 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: 30px 28px 28px 36px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, .35);
}

.feature-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 800;
  font-family: 'Hanken Grotesk', sans-serif;
}

.feature-card p {
  font-size: .96rem;
  margin: 0;
}

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

.platform {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: block;
  color: var(--text);
  transition: transform .3s ease, border-color .3s ease;
}

.platform:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  color: var(--text);
}

.platform .pf-name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 6px;
  display: block;
}

.platform .pf-sub {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 16px;
  display: block;
}

.platform .pf-btn {
  display: inline-block;
  background: var(--grad);
  color: #000;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  font-family: 'Hanken Grotesk', sans-serif;
}

/* ============ WHY US ============ */
.why {
  background: var(--bg-alt);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-list .ico-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Hanken Grotesk', sans-serif;
  flex-shrink: 0;
}

.why-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
}

.why-list p {
  font-size: .94rem;
  margin: 0;
}

/* ============ USE CASES ============ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px 26px 34px;
  overflow: hidden;
  transition: transform .3s ease;
}

.case-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad);
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-card h3 {
  font-size: 1.1rem;
}

.case-card p {
  font-size: .94rem;
  margin: 0;
}

/* ============ PRICE — minimalist row ============ */
.price-row {
  background: var(--bg-alt);
  text-align: center;
}

.price-line-big {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
  padding: 28px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 80px;
  margin-bottom: 22px;
}

.price-line-big .label {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.price-line-big .num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-line-big .sep {
  color: var(--text-muted);
  font-size: 1.4rem;
  font-weight: 700;
}

.price-note {
  color: var(--text-muted);
  font-size: .96rem;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--grad);
  padding: 70px 0;
  text-align: center;
  color: #000;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #1A0E2A;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(20, 14, 50, .8);
  font-size: 1.08rem;
  margin-bottom: 26px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-dark {
  display: inline-flex;
  background: #1E1B4B;
  color: var(--text);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Hanken Grotesk', sans-serif;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.cta-banner .btn-dark:hover {
  transform: translateY(-3px);
  color: var(--accent);
}

/* ============ FAQ — accordion ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s ease;
}

.faq-item.open {
  border-color: rgba(250, 204, 21, .45);
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform .3s ease;
  font-size: 1.1rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 26px;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-a p {
  margin: 0;
  font-size: .98rem;
  color: var(--text-muted);
}

/* ============ FOOTER ============ */
.pre-footer-cta {
  background: var(--bg-alt);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.pre-footer-cta .inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.pre-footer-cta .inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: .8;
  z-index: 0;
}

.pre-footer-cta .inner > * { position: relative; z-index: 1; }

.pre-footer-cta h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.pre-footer-cta p {
  margin-bottom: 22px;
  color: var(--text);
}

.site-footer {
  background: #14113A;
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: .94rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-brand p {
  margin-top: 14px;
  font-size: .94rem;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
}

/* ============ INSTRUKTSIYA ============ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}

.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px 100px;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad);
}

.step-num {
  position: absolute;
  left: 30px;
  top: 32px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: 'Hanken Grotesk', sans-serif;
}

.step h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.step .step-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.after-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.after-pay-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}

.after-pay-card .pf-name {
  font-weight: 800;
  font-family: 'Hanken Grotesk', sans-serif;
  display: block;
  margin-bottom: 6px;
}

.after-pay-card .pf-sub {
  color: var(--text-muted);
  font-size: .88rem;
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .platforms-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .after-pay-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
}

@media (max-width: 640px) {
  .features-grid, .platforms-grid, .cases-grid, .stats-grid, .footer-grid, .after-pay-grid {
    grid-template-columns: 1fr;
  }
  .step { padding: 100px 24px 28px; }
  .step-num { left: 24px; top: 24px; }
  .container { padding: 0 18px; }
  .hero-card { padding: 28px 24px; }
  .price-line-big { padding: 22px 24px; flex-direction: column; gap: 4px; }
  .price-line-big .sep { display: none; }
  .pre-footer-cta .inner { padding: 36px 22px; }
  .hero-actions .btn { width: 100%; }
  section { padding: 60px 0; }
}
