/* ZoogVPN — friendly consumer VPN landing
   Axes: Hero G central card / Nav B transparent->white / Cards F large icon top
   Typo G rounded (Quicksand) / Buttons B pill / Sections A alternating
   Price A gradient / FAQ A accordion / Footer D two-level / Anim A fade-up */

:root {
  --primary: #115E59;
  --primary-deep: #0D4844;
  --primary-soft: #CCFBF1;
  --accent: #FF8B3D;
  --accent-deep: #E96D1F;
  --bg: #FFFFFF;
  --bg-alt: #F0FDFA;
  --text: #0F1A14;
  --text-muted: #475569;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 26, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(17, 94, 89, 0.10);
  --shadow-lg: 0 18px 48px rgba(17, 94, 89, 0.15);
  --pill: 50px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--text-muted); }

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

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

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

/* ============== HEADER (transparent → solid white) ============== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

.brand img { width: 36px; height: 36px; }

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

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent);
  padding: 11px 22px;
  border-radius: var(--pill);
  transition: background var(--transition), transform var(--transition);
}

.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.burger span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 17px; }
.burger span:nth-child(3) { top: 24px; }

.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: 0;
  right: -100%;
  width: 80%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg);
  z-index: 99;
  padding: 90px 30px 30px;
  transition: right 0.35s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
}

.mobile-nav.active { right: 0; }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.mobile-nav a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--pill);
  text-align: center;
  display: block;
  margin-top: 12px;
}

/* ============== BUTTONS — pill ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--pill);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1a0a00;
  box-shadow: 0 6px 18px rgba(255, 139, 61, 0.35);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #1a0a00;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 139, 61, 0.45);
}

.btn-secondary {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-ghost:hover {
  background: var(--primary-soft);
}

/* ============== HERO — central card form ============== */
.hero {
  padding: 140px 0 90px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 139, 61, 0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(17, 94, 89, 0.12), transparent 50%),
    var(--bg-alt);
  position: relative;
}

.hero-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 56px 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(17, 94, 89, 0.08);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: -1;
  opacity: 0.15;
  filter: blur(14px);
}

.hero-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-deep);
  padding: 6px 16px;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero-card h1 {
  margin-bottom: 18px;
  color: var(--text);
}

.hero-card h1 .accent-word {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  margin: 0 auto 30px;
  max-width: 560px;
  color: var(--text-muted);
}

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

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.trust-badges span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============== SECTIONS ============== */
section {
  padding: 80px 0;
}

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

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

.section-head .eyebrow {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}

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

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

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

.stat-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

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

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}

.feature-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--primary);
  position: relative;
}

.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, #FFF1E5, #FFE4CC);
  color: var(--accent-deep);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.platform-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}

.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  color: var(--primary);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}

.platform-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}

.platform-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============== WHY (text block) ============== */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-text h2 { text-align: left; }
.why-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.why-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.why-list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.why-list strong {
  font-family: 'Quicksand', sans-serif;
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
}

.why-list span {
  color: var(--text-muted);
  font-size: 0.96rem;
}

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

.usecase-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.usecase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.usecase-card h3 {
  margin-bottom: 10px;
  padding-left: 10px;
}

.usecase-card p {
  padding-left: 10px;
  font-size: 0.97rem;
}

/* ============== PRICING — gradient card teal->orange ============== */
.pricing-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 35%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: 26px;
  padding: 56px 48px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  border-radius: 50%;
}

.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 139, 61, 0.30), transparent 70%);
  border-radius: 50%;
}

.pricing-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.pricing-content h2 {
  color: #fff;
  margin-bottom: 14px;
}

.pricing-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.pricing-list {
  list-style: none;
  margin-bottom: 26px;
}

.pricing-list li {
  color: rgba(255, 255, 255, 0.95);
  padding: 6px 0 6px 28px;
  position: relative;
}

.pricing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 139, 61, 0.30);
}

.pricing-cta-box {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.pricing-cta-box .price-tag {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.pricing-cta-box .price-tag small {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

.pricing-cta-box .price-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.pricing-cta-box .btn {
  width: 100%;
}

/* ============== CTA banner ============== */
.cta-banner {
  text-align: center;
  background: linear-gradient(120deg, var(--bg-alt), #FFF7ED);
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner h2 {
  margin-bottom: 14px;
}

.cta-banner p {
  max-width: 580px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

/* ============== FAQ accordion ============== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-q {
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  user-select: none;
}

.faq-q:hover { color: var(--primary); }

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--primary);
  font-weight: 700;
}

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

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

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

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

/* ============== FOOTER — two-level ============== */
.site-footer {
  background: var(--text);
  color: #cbd5e1;
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

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

.footer-col a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding: 22px 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============== ANIM — 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);
}

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

.instr-hero h1 { margin-bottom: 16px; }
.instr-hero p { font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

.steps {
  padding: 70px 0;
}

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

.step-num {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step h2 { text-align: left; margin-bottom: 12px; font-size: 1.6rem; }
.step p { margin-bottom: 14px; }
.step .btn { margin-top: 6px; }

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

.after-pay h2 { text-align: center; margin-bottom: 14px; }
.after-pay > .container > p {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero { padding: 110px 0 60px; }
  .hero-card { padding: 38px 24px; border-radius: 22px; }
  section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 1fr; padding: 28px 22px; gap: 18px; text-align: center; }
  .step h2 { text-align: center; }
  .step-num { margin: 0 auto; width: 76px; height: 76px; font-size: 2rem; }
  .pricing-card { padding: 38px 26px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .hero-buttons .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }
}
