/* Avo VPN — fresh organic theme */
/* Hina Mincho headings + DM Sans body */

:root {
  --primary: #166534;
  --primary-deep: #0F4E26;
  --primary-soft: #4A8B5E;
  --accent: #FB923C;
  --accent-soft: #FED7AA;
  --bg: #FEF7E0;
  --bg-alt: #F0FDF4;
  --text: #1A2620;
  --text-muted: #4D6655;
  --card-bg: #FFFFFF;
  --border: #E0E8DD;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(22, 101, 52, 0.06);
  --shadow-md: 0 8px 24px rgba(22, 101, 52, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 101, 52, 0.12);
  --shadow-hover: 0 20px 48px rgba(22, 101, 52, 0.18);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

h1, h2, h3 {
  font-family: 'Hina Mincho', 'Noto Serif JP', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 400; }
h4 { font-size: 1.1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

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

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

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

/* === HEADER (Nav A: white sticky shadow) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(22, 101, 52, 0.07);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Hina Mincho', serif;
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 400;
}

.brand-mark img { width: 38px; height: 38px; border-radius: 8px; }

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

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

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 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 {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(251, 146, 60, 0.4);
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg);
  z-index: 200;
  padding: 80px 32px 32px;
  transition: right 0.4s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

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

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}

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

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

/* === HERO (G: central card-form) === */
.hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(251, 146, 60, 0.12), transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(22, 101, 52, 0.10), transparent 50%),
    var(--bg);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.5;
  border-radius: 50%;
}

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

.hero-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 0 0 4px 4px;
}

.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: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--primary-deep);
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

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

/* === BUTTONS (A: rounded 10-12px) === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.3);
}

.btn-primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(22, 101, 52, 0.4);
}

.btn-secondary {
  background: var(--accent);
  color: #1A2620;
  box-shadow: 0 6px 16px rgba(251, 146, 60, 0.3);
}

.btn-secondary:hover {
  color: #1A2620;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(251, 146, 60, 0.42);
}

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

.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}

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

.trust-item::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--primary-soft);
  flex-shrink: 0;
}

/* === STATS BAR === */
.stats {
  background: var(--primary);
  padding: 48px 24px;
  color: #fff;
}

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

.stat-num {
  font-family: 'Hina Mincho', serif;
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* === SECTIONS (alternating cream/mint) === */
.section {
  padding: 96px 24px;
}

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

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

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

.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
}

/* === FEATURES (Cards A: shadow + lift) === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-alt), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-family: 'Hina Mincho', serif;
  font-size: 1.6rem;
  color: var(--primary);
  border: 1px solid var(--border);
}

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

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

/* === PLATFORMS / DOWNLOAD === */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.platform-card {
  background: var(--card-bg);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: block;
  color: var(--text);
}

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

.platform-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hina Mincho', serif;
  color: var(--primary);
  font-size: 1.4rem;
  border: 1px solid var(--border);
}

.platform-card h4 {
  margin-bottom: 6px;
  color: var(--primary-deep);
}

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

/* === WHY-AVO TEXT BLOCK === */
.why-avo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.why-text h2 { margin-bottom: 24px; color: var(--primary-deep); }
.why-text p { margin-bottom: 18px; font-size: 1.02rem; }

.why-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: 24px;
  padding: 48px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-visual::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.25;
}

.why-visual h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
}

.why-list {
  list-style: none;
  position: relative;
}

.why-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.why-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 6px;
}

/* === USE CASES === */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.case-card {
  background: var(--card-bg);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

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

.case-card h3 {
  color: var(--primary-deep);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.case-card p { font-size: 0.97rem; }

/* === PRICING (B: 3 cols, no ₽) === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-name {
  font-family: 'Hina Mincho', serif;
  font-size: 1.5rem;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.price-descriptor {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 48px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 24px 0 28px;
}

.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.25;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  font-size: 1.08rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* === FAQ (D: open card grid) === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  padding: 28px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-soft);
  transition: var(--transition);
}

.faq-item:nth-child(odd) { border-top-color: var(--accent); }

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-q {
  font-family: 'Hina Mincho', serif;
  font-size: 1.15rem;
  color: var(--primary-deep);
  margin-bottom: 12px;
  line-height: 1.35;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* === FOOTER (D: two-level) === */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.85);
}

.footer-top {
  padding: 64px 24px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .brand-mark {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
}

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

.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.94rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 24px;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom .eng-name {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 6px;
  display: block;
}

/* === INSTRUKTSIYA === */
.steps-wrap {
  max-width: 880px;
  margin: 0 auto;
}

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

.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hina Mincho', serif;
  font-size: 1.8rem;
}

.step h2 {
  margin-bottom: 14px;
  color: var(--primary-deep);
  font-size: 1.6rem;
}

.step p { margin-bottom: 16px; }

.step .btn { margin-top: 12px; }

.after-pay {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin: 40px auto 0;
  max-width: 880px;
  border: 1px dashed var(--primary-soft);
}

.after-pay h2 {
  color: var(--primary-deep);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

/* === ANIMATIONS (A: 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);
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-avo { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 16px 64px; }
  .hero-card { padding: 40px 24px; border-radius: 20px; }
  .section { padding: 64px 18px; }
  .features-grid, .platforms-grid, .cases-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 1fr; }
  .step-num { margin: 0 auto; }
  .cta-banner { padding: 44px 24px; border-radius: 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .nav-wrap { padding: 14px 16px; }
  .container { padding: 0 16px; }
}
