/* VPN Bot — vpnbot24.lol
   Geist + Karla, deep purple + amber, bot-friendly automated tone */

:root {
  --primary: #5B21B6;
  --primary-dark: #4C1D95;
  --primary-light: #7C3AED;
  --accent: #FBBF24;
  --accent-dark: #F59E0B;
  --bg: #FFFFFF;
  --bg-alt: #F5F3FF;
  --text: #1F0F2E;
  --text-muted: #525078;
  --card-bg: #FFFFFF;
  --border: #E9E3FA;
  --radius: 14px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(91, 33, 182, 0.06);
  --shadow-md: 0 8px 24px rgba(91, 33, 182, 0.10);
  --shadow-lg: 0 20px 50px rgba(91, 33, 182, 0.16);
  --font-head: 'Geist', system-ui, sans-serif;
  --font-body: 'Karla', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.8em; }
h3 { font-size: 1.25rem; }

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

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

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

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

/* ======= HEADER (transparent → solid white on scroll) ======= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.site-header.scrolled .nav-links a { color: var(--text); }
.site-header.scrolled .logo-text { color: var(--text); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo-text { color: #fff; transition: color .3s; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.96rem;
  transition: color .2s, opacity .2s;
}
.nav-links a:hover { opacity: 0.78; }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .2s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .2s;
}
.site-header.scrolled .burger span { background: var(--text); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 80px 28px 28px;
  transition: right .3s;
  box-shadow: -10px 0 30px rgba(0,0,0,.12);
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mobile-nav a { color: var(--text); font-size: 1.1rem; font-weight: 600; }
.mobile-nav .close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: 0;
  font-size: 1.6rem; cursor: pointer;
  color: var(--text);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 30, .55);
  z-index: 150;
}
.mobile-overlay.open { display: block; }

/* ======= HERO (gradient + form-card overlay) ======= */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(251,191,36,.18), transparent 50%),
    linear-gradient(135deg, #5B21B6 0%, #7C3AED 55%, #A78BFA 100%);
  color: #fff;
  padding: 150px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 span.amber { color: var(--accent); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.86);
  margin-bottom: 28px;
  max-width: 540px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--accent);
  color: #1F0F2E;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #1F0F2E;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(251,191,36,.40);
}
.btn-secondary {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-ghost:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.78);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Embedded price tag inside hero */
.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(251,191,36,.4);
  border-radius: var(--radius-pill);
}
.hero-price .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-price .value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}

/* Form-card overlay (chat-bubble visual) */
.hero-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  padding: 26px;
  color: var(--text);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -22px; right: 28px;
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 18px;
  transform: rotate(8deg);
  z-index: -1;
}

.bot-window-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.bot-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-family: var(--font-head);
  font-size: 0.95rem;
}
.bot-window-head .name { font-weight: 700; font-family: var(--font-head); }
.bot-window-head .status { font-size: 0.8rem; color: #16A34A; }
.bot-window-head .status::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #16A34A;
  border-radius: 50%;
  margin-right: 6px;
}

.chat-bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
}
.bubble-bot {
  background: var(--bg-alt);
  color: var(--text);
  border-top-left-radius: 4px;
}
.bubble-user {
  background: var(--primary);
  color: #fff;
  margin-left: auto;
  border-top-right-radius: 4px;
}
.bubble-bot strong { color: var(--primary); }

.bot-key {
  margin-top: 12px;
  padding: 12px;
  background: #1F0F2E;
  border-radius: 10px;
  color: var(--accent);
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem;
  word-break: break-all;
  border: 1px dashed rgba(251,191,36,.4);
}

.hero-card-cta {
  margin-top: 18px;
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: var(--font-head);
  transition: background .2s;
}
.hero-card-cta:hover { background: var(--primary-dark); color: #fff; }

/* ======= STATS BAR ======= */
.stats {
  background: var(--bg-alt);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { color: var(--text-muted); font-size: 0.92rem; }

/* ======= GENERIC SECTION ======= */
section { padding: 90px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.section-head p { font-size: 1.05rem; }

/* Alternating sections */
.bg-tint { background: var(--bg-alt); }

/* ======= FEATURES (large icon top) ======= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 30px;
  text-align: left;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, .35);
}
.feature-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(91,33,182,.22);
}
.feature-icon svg { width: 38px; height: 38px; stroke: #fff; }
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}
.feature-card p { 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: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all .25s;
}
.platform-card:hover {
  background: linear-gradient(135deg, #fff 0%, var(--bg-alt) 100%);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.platform-icon {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--primary);
}
.platform-icon svg { width: 30px; height: 30px; }
.platform-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.platform-sub { font-size: 0.86rem; color: var(--text-muted); }

/* ======= WHY-BOT (text section) ======= */
.why-bot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-bot-text h2 { margin-bottom: 18px; }
.why-bot-text p { font-size: 1.02rem; margin-bottom: 16px; }
.why-bot-list {
  list-style: none;
  margin-top: 18px;
}
.why-bot-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.98rem;
}
.why-bot-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
}
.why-bot-list li::after {
  content: '';
  position: absolute;
  left: 7px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid #1F0F2E;
  border-bottom: 2px solid #1F0F2E;
  transform: rotate(-45deg);
}

.why-bot-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px;
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-bot-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .25;
}
.why-bot-visual h3 { color: #fff; font-size: 1.4rem; margin-bottom: 14px; position: relative; }
.why-bot-visual p { color: rgba(255,255,255,.86); position: relative; }
.why-bot-visual .metric {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
}

/* ======= USE CASES ======= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.case-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--primary-dark);
}
.case-card p { margin: 0; font-size: 0.96rem; }

/* ======= CTA BANNER ======= */
.cta-banner {
  background:
    radial-gradient(circle at 80% 30%, rgba(251,191,36,.22), transparent 50%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  border-radius: 28px;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.86); margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { font-size: 1.08rem; padding: 16px 36px; }

/* ======= FAQ ACCORDION ======= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  font-size: 1.02rem;
}
.faq-q .ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: transform .25s, background .2s;
}
.faq-item.open .ico {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
  color: var(--text-muted);
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 22px 20px;
}

/* ======= FOOTER (4 dark columns) ======= */
.site-footer {
  background: #160C28;
  color: rgba(255,255,255,.72);
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.72);
  font-size: 0.94rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo .logo-text { color: #fff; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,.6); }
.footer-eng { font-size: 0.78rem; color: rgba(255,255,255,.4); margin-top: 12px; font-family: 'Geist Mono', monospace; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}

/* ======= INSTRUKTSIYA PAGE ======= */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 880px;
  margin: 0 auto;
}
.step-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 700;
  color: #fff;
}
.step-body h3 { margin-bottom: 10px; }
.step-body p { font-size: 0.98rem; }
.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-head);
}

.after-pay {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 50px;
  margin-top: 40px;
}
.after-pay h2 { margin-bottom: 12px; }

.tiny-cta {
  text-align: center;
  padding: 60px 24px;
}

/* ======= ANIMATIONS (fade-in + scale) ======= */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 130px 0 80px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-bot { grid-template-columns: 1fr; gap: 36px; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 60px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 110px 0 60px; }
  .features-grid, .platforms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step-card { grid-template-columns: 1fr; padding: 24px; }
  .step-num { width: 60px; height: 60px; font-size: 1.4rem; }
  .after-pay { padding: 32px 22px; }
  .cta-banner { padding: 56px 22px; margin: 0; border-radius: 18px; }
  .hero-card { padding: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
