/* IProxy VPN — magenta + neon yellow on cream / Audiowide + Onest */

:root {
  --primary: #C026D3;
  --primary-deep: #A21CAF;
  --accent: #FACC15;
  --accent-deep: #EAB308;
  --bg: #FFFCF7;
  --bg-alt: #FCE7F3;
  --text: #1A0F1A;
  --text-muted: #5C4D5C;
  --card-bg: #FFFFFF;
  --border: #F1D5E6;
  --dark: #14101A;
  --dark-2: #1F1828;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px rgba(192, 38, 211, 0.08);
  --shadow-md: 0 12px 32px rgba(192, 38, 211, 0.14);
  --shadow-lg: 0 28px 60px rgba(192, 38, 211, 0.22);
  --grad: linear-gradient(135deg, #C026D3 0%, #FACC15 100%);
  --grad-soft: linear-gradient(135deg, #FCE7F3 0%, #FEF9C3 100%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Audiowide display headings */
h1, h2, h3, .display {
  font-family: 'Audiowide', cursive;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
  line-height: 1.18;
}

h1 { font-size: clamp(34px, 6vw, 60px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: 0.3px; }

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

/* ===== ACCENT BAR + NAV ===== */
.accent-bar {
  height: 4px;
  background: var(--grad);
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Audiowide', cursive;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Audiowide', cursive;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(192, 38, 211, 0.35);
}

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

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color .2s ease;
}

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

.nav-links a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 50px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.4);
}

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

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}

.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;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  transition: transform .35s ease;
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-nav .nav-cta {
  margin-top: 24px;
  background: var(--accent);
  color: #000;
  padding: 14px 22px;
  border-radius: 50px;
  text-align: center;
  font-weight: 800;
}

/* ===== BUTTONS (pill) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: 'Onest', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(192, 38, 211, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--primary-deep);
  box-shadow: 0 16px 36px rgba(192, 38, 211, 0.5);
}

.btn-accent {
  background: var(--accent);
  color: #000;
  box-shadow: 0 10px 22px rgba(250, 204, 21, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  background: var(--accent-deep);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  padding: 13px 28px;
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ===== HERO — central card ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 18% 20%, rgba(192, 38, 211, 0.14), transparent 40%),
    radial-gradient(circle at 82% 80%, rgba(250, 204, 21, 0.18), transparent 45%),
    var(--bg);
}

.hero-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 28px;
  padding: 60px 56px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(192, 38, 211, 0.2);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.25);
}

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

.hero-card .hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
}

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

.trust-badge .num {
  font-family: 'Audiowide', cursive;
  font-size: 26px;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.trust-badge .lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== STATS ===== */
.stats {
  padding: 0 0 60px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-cell {
  background: var(--grad-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-cell .v {
  font-family: 'Audiowide', cursive;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}

.stat-cell .l {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== SECTION HEADS ===== */
.section {
  padding: 80px 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 5px 14px;
  background: var(--bg-alt);
  border-radius: 50px;
}

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

/* ===== FEATURES — large icon top ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 38px 28px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(192, 38, 211, 0.28);
  position: relative;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.feature-card:nth-child(2n) .feature-icon {
  background: linear-gradient(135deg, #FACC15 0%, #C026D3 100%);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== PLATFORMS ===== */
.platforms-section {
  background: var(--bg-alt);
  position: relative;
}

.platforms-section::before,
.platforms-section::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
}

.platforms-section::before { background: rgba(250, 204, 21, 0.5); top: -100px; left: -80px; }
.platforms-section::after { background: rgba(192, 38, 211, 0.3); bottom: -100px; right: -80px; }

.platforms-section .container { position: relative; z-index: 1; }

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

.platform-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
}

.platform-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: 'Audiowide', cursive;
  font-size: 22px;
}

.platform-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== WHY-IPROXY (text section) ===== */
.why-section .container {
  max-width: 920px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.why-item {
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.why-item:nth-child(2n) { border-left-color: var(--accent); }

.why-item h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.why-item:nth-child(2n) h3 { color: var(--accent-deep); }

.why-item p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

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

.usecase {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.usecase-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: 'Audiowide', cursive;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.usecase h3 { margin-bottom: 8px; font-size: 18px; }
.usecase p { font-size: 14px; color: var(--text-muted); }

/* ===== PRICING (gradient card) ===== */
.pricing-section { background: var(--bg); }

.pricing-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--grad);
  border-radius: 28px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-card::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -180px;
  right: -180px;
}

.pricing-card h2 { color: #fff; margin-bottom: 16px; position: relative; }
.pricing-card .price-sub { color: rgba(255, 255, 255, 0.92); font-size: 16px; margin-bottom: 28px; position: relative; }

.price-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0;
  text-align: left;
  position: relative;
}

.price-features li {
  list-style: none;
  padding-left: 34px;
  position: relative;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.pricing-card .btn-accent {
  position: relative;
  background: #000;
  color: var(--accent);
}

.pricing-card .btn-accent:hover { background: #1a1a1a; }

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

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(192, 38, 211, 0.4), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(250, 204, 21, 0.2), transparent 50%);
}

.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== FAQ accordion ===== */
.faq-section { background: var(--bg-alt); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .25s ease;
}

.faq-item.open { box-shadow: var(--shadow-md); }

.faq-question {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  font-family: 'Onest', sans-serif;
}

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  transition: transform .3s ease, background .25s ease;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== FOOTER (4 dark columns) ===== */
.site-footer {
  background: var(--dark);
  color: #cfc6d6;
  padding: 70px 0 24px;
}

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

.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: #9b8fa8; line-height: 1.7; }

.footer-col h4 {
  font-family: 'Audiowide', cursive;
  font-size: 14px;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: #9b8fa8;
  font-size: 14px;
  transition: color .2s ease;
}

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

.footer-bottom {
  border-top: 1px solid #2a2333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #756481;
}

/* ===== INSTRUKTSIYA STYLES ===== */
.instr-hero {
  padding: 70px 0 50px;
  text-align: center;
  background: var(--bg);
}

.instr-hero h1 { margin-bottom: 16px; }
.instr-hero p { color: var(--text-muted); font-size: 17px; max-width: 620px; margin: 0 auto; }

.steps-section { padding: 60px 0 80px; }

.step-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 44px 44px 44px 32px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

.step-num {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  font-family: 'Audiowide', cursive;
  font-size: 38px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(192, 38, 211, 0.32);
}

.step-card:nth-child(2n) .step-num {
  background: linear-gradient(135deg, #FACC15, #C026D3);
}

.step-card h2 { margin-bottom: 14px; font-size: 26px; }
.step-card p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.step-card .step-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.after-payment {
  background: var(--bg-alt);
  padding: 80px 0;
}

.after-payment .container { max-width: 980px; }

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

.after-platform {
  background: var(--card-bg);
  padding: 22px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.after-platform span {
  display: block;
  color: var(--primary);
  font-family: 'Audiowide', cursive;
  font-size: 20px;
  margin-bottom: 4px;
}

/* ===== FADE-IN + SCALE ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .why-grid, .usecases-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .price-features { grid-template-columns: 1fr; }
  .after-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { grid-template-columns: 1fr; padding: 32px 24px; text-align: left; }
  .step-num { margin-bottom: 8px; }
}

@media (max-width: 720px) {
  .nav-links:not(.mobile-nav .nav-links) { display: none; }
  .burger { display: flex; }
  .hero { padding: 40px 0 60px; }
  .hero-card { padding: 40px 24px; border-radius: 22px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .features-grid, .platforms-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .pricing-card { padding: 40px 24px; }
  .section { padding: 60px 0; }
  .after-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
