/* Paper VPN — clean paper, no fluff. Vollkorn + Mulish. Navy + amber on warm white. */

:root {
  --primary: #1E3A5F;
  --primary-dark: #15263F;
  --primary-light: #2C5380;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-soft: #FCD34D;
  --bg: #FFFEF5;
  --bg-alt: #FEF7E6;
  --bg-dark: #0F1A2E;
  --text: #0F1A2E;
  --text-muted: #475569;
  --card-bg: #FFFFFF;
  --border: #E7E2D0;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 26, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(15, 26, 46, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 26, 46, 0.16);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }

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

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

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

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

/* ---------- Buttons (PILL) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.45);
}

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

.btn-light {
  background: #FFFFFF;
  color: var(--primary);
  border-color: rgba(255,255,255,0.6);
}
.btn-light:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* ---------- Header (white sticky w/ shadow) ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 254, 245, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 14px rgba(15, 26, 46, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Vollkorn', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}
.brand img { width: 38px; height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--primary);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s;
}
.nav-links a:not(.nav-cta):hover { color: var(--accent-dark); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 22px 24px;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.mobile-nav a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 14px;
  margin-top: 6px;
}

/* ---------- Hero — gradient + form-card overlay ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.18), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(30, 58, 95, 0.10), transparent 50%),
    linear-gradient(165deg, #FEF7E6 0%, #FFFEF5 50%, #FCE9C2 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(15,26,46,0.04) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(15,26,46,0.04) 0 1px, transparent 1px 30px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 95, 0.08);
  border: 1px solid rgba(30, 58, 95, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}

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

.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 540px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  transform: rotate(45deg);
}

/* Form-card overlay */
.hero-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 30px 60px rgba(15, 26, 46, 0.18), 0 0 0 1px rgba(15, 26, 46, 0.04);
  position: relative;
  transform: rotate(-1.2deg);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px;
  right: -14px; bottom: -14px;
  background: var(--primary);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.92;
}
.hero-card-title {
  font-family: 'Vollkorn', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.hero-card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.hero-card-list {
  list-style: none;
  margin-bottom: 24px;
}
.hero-card-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
.hero-card-list li:last-child { border-bottom: 0; }
.hero-card-list li span:last-child {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
}
.hero-card .btn {
  width: 100%;
}

/* ---------- Stats bar ---------- */
.stats {
  background: var(--primary);
  padding: 48px 0;
  color: #FFFFFF;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: 'Vollkorn', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Sections (alternating) ---------- */
section { padding: 90px 0; }
section.bg-alt { background: var(--bg-alt); }
section.bg-light { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16.5px;
  margin-top: 12px;
}

/* ---------- Features (large icon top) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 36px;
  color: var(--bg-dark);
  font-family: 'Vollkorn', serif;
  font-weight: 700;
}
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Platforms ---------- */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
}
.platform-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.platform-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vollkorn', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}
.platform-card h4 {
  font-family: 'Vollkorn', serif;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--primary);
}
.platform-card p {
  font-size: 13px;
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Why-paper text ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text p {
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.why-text p:first-child::first-letter {
  font-family: 'Vollkorn', serif;
  font-size: 3.6rem;
  float: left;
  line-height: 1;
  color: var(--accent-dark);
  margin-right: 10px;
  margin-top: 4px;
  font-weight: 700;
}
.why-card {
  background: var(--primary);
  color: #FFFFFF;
  padding: 40px 36px;
  border-radius: var(--radius);
  position: relative;
}
.why-card h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.why-card ul {
  list-style: none;
  margin: 0;
}
.why-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
  color: rgba(255,255,255,0.86);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.why-card li::before {
  content: '✦';
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.why-card li:last-child { border-bottom: 0; }

/* ---------- Use cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-row {
  background: var(--card-bg);
  border-left: 4px solid var(--accent);
  padding: 26px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.case-row h4 {
  font-family: 'Vollkorn', serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.case-row p { font-size: 15px; }

/* ---------- Pricing — gradient card ---------- */
.pricing-wrap {
  max-width: 580px;
  margin: 0 auto;
}
.price-card {
  background: linear-gradient(135deg, #1E3A5F 0%, #2C5380 55%, #F59E0B 160%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 48px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: rgba(245, 158, 11, 0.22);
  border-radius: 50%;
  filter: blur(28px);
}
.price-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.price-card h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.price-card p {
  color: rgba(255,255,255,0.86);
  margin-bottom: 26px;
  font-size: 15.5px;
  position: relative;
  z-index: 1;
}
.price-features {
  list-style: none;
  margin: 0 0 32px;
  text-align: left;
  position: relative;
  z-index: 1;
}
.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 60%, rgba(245, 158, 11, 0.18), transparent 45%);
}
.cta-banner h2 { color: #FFFFFF; }
.cta-banner p {
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 14px auto 30px;
  font-size: 16.5px;
  position: relative;
  z-index: 1;
}
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- FAQ — accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(245, 158, 11, 0.4); }
.faq-q {
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Vollkorn', serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
  user-select: none;
  gap: 16px;
}
.faq-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-dark);
  font-size: 18px;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg-dark);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 26px;
}
.faq-a-inner {
  padding: 0 0 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 360px; }

/* ---------- Footer (4 cols dark) ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.72);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: 'Vollkorn', serif;
  font-size: 22px;
  color: #FFFFFF;
}
.footer-brand img { width: 38px; height: 38px; }
.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-col h5 {
  font-family: 'Vollkorn', serif;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.66);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  gap: 14px;
}

/* ---------- Instruktsiya ---------- */
.steps-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 36px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vollkorn', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--bg-dark);
}
.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.step-card p {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.step-card .btn { margin-top: 6px; }

.aftermath {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 50px 44px;
  margin-top: 30px;
  border: 1px solid var(--border);
}
.aftermath h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-card { transform: none; max-width: 480px; margin: 0 auto; }
  .hero-card::before { display: none; }
  .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero { padding: 56px 0 80px; }
  section { padding: 64px 0; }
  .features-grid, .platforms-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 34px; }
  .price-card { padding: 36px 26px; }
  .step-card { grid-template-columns: 1fr; gap: 18px; }
  .aftermath { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 18px; }
}
