/* Lvcha VPN — coral + sage on warm cream */
/* Bitter (serif headings) + Mulish (sans body) */

:root {
  --primary: #F87171;
  --primary-deep: #E85D5D;
  --accent: #65A30D;
  --accent-deep: #4D7C0F;
  --bg: #FFFAF0;
  --bg-alt: #FFF1E5;
  --text: #292524;
  --text-muted: #78716C;
  --card-bg: #FFFFFF;
  --border: #F5E6D3;
  --shadow-sm: 0 1px 3px rgba(120, 80, 40, 0.06);
  --shadow-md: 0 6px 18px rgba(120, 80, 40, 0.10);
  --shadow-lg: 0 14px 40px rgba(120, 80, 40, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.18; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; line-height: 1.35; }

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

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER (centered logo, nav row beneath) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px 12px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.brand-name {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}
.burger {
  display: none;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-row {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--primary);
  border-radius: 50px;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--primary);
}

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 200;
  padding: 80px 32px 32px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
}
.mobile-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* ===== HERO (centered card-form layout) ===== */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 64px 0 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 30px; left: 8%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.18), transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 40px; right: 6%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(101, 163, 13, 0.14), transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
}
.hero-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 44px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(101, 163, 13, 0.25);
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--primary); }
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-item .dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  font-family: 'Mulish', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(248, 113, 113, 0.32);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(248, 113, 113, 0.38);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-secondary:hover {
  background: var(--text);
  color: var(--bg);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

/* ===== Stats bar ===== */
.stats {
  background: var(--bg);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: 'Bitter', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Section base + alternating bg ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Cards: large icon top (60×60 colored square) ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: var(--transition);
  cursor: default;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.feat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'Bitter', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition);
}
.feat-card:hover .feat-icon { transform: rotate(-6deg) scale(1.05); }
.feat-icon.coral { background: var(--primary); }
.feat-icon.sage { background: var(--accent); }
.feat-card h3 {
  margin-bottom: 12px;
}
.feat-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ===== Platforms ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: var(--transition);
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.platform-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}
.platform-info h4 { font-size: 1.05rem; margin-bottom: 4px; }
.platform-info span { font-size: 0.84rem; color: var(--text-muted); font-weight: 600; }

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-text h2 { margin-bottom: 18px; }
.why-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.why-list { list-style: none; margin-top: 22px; }
.why-list li {
  padding: 12px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px dashed var(--border);
}
.why-list li::before {
  content: '✓';
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.why-visual {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.why-visual-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.why-visual-row:last-child { border-bottom: none; }
.why-visual-row .l { color: var(--text-muted); font-weight: 600; }
.why-visual-row .r { color: var(--primary); font-weight: 700; font-family: 'Bitter', serif; }

/* ===== Pricing: 3 columns, no numbers ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #FFF, #FFF6F0);
  box-shadow: var(--shadow-md);
}
.price-card.featured::before {
  content: 'Самый выбираемый';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.price-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.price-feature-block {
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.price-feature-block .lead {
  font-family: 'Bitter', serif;
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 700;
}
.price-feature-block .sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 6px;
}
.price-list {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.price-list li {
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.price-list li::before {
  content: '·';
  color: var(--accent);
  font-weight: 900;
}

/* ===== Use cases ===== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.uc-card {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  transition: var(--transition);
}
.uc-card:nth-child(even) { border-left-color: var(--accent); }
.uc-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.uc-card h3 { margin-bottom: 10px; }
.uc-card p { color: var(--text-muted); font-size: 0.97rem; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, #FB923C 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  margin: 80px auto;
  max-width: var(--maxw);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  background: #fff;
  color: var(--primary);
}
.cta-banner .btn:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== FAQ: open card grid (no accordion) ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: var(--transition);
}
.faq-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: var(--text);
}
.faq-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Footer (two-level) ===== */
.site-footer {
  background: var(--text);
  color: #D6D3D1;
  padding-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #44403C;
}
.footer-brand { max-width: 360px; }
.footer-brand .brand img {
  filter: brightness(1.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p {
  color: #A8A29E;
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #A8A29E;
  font-size: 0.93rem;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #78716C;
}
.footer-bottom a { color: #78716C; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Instruktsiya page ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 26px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  transition: var(--transition);
}
.step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bitter', serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.step:nth-child(2) .step-num { background: var(--accent); }
.step-body h3 { margin-bottom: 10px; font-size: 1.25rem; }
.step-body p { color: var(--text-muted); margin-bottom: 14px; }
.step-body ul {
  list-style: none;
  padding: 14px 0 0;
  border-top: 1px dashed var(--border);
}
.step-body li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 22px;
  position: relative;
}
.step-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.after-pay {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--border);
  margin-top: 30px;
}
.after-pay h3 { margin-bottom: 14px; }
.after-pay p { color: var(--text-muted); margin-bottom: 22px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .feat-grid, .platform-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .nav-links { gap: 24px; }
  .hero-card { padding: 38px 28px; }
  .cta-banner { padding: 44px 30px; margin: 60px 24px; }
}

@media (max-width: 640px) {
  .header-top { padding: 14px 24px; justify-content: flex-start; }
  .nav-row { display: none; }
  .burger { display: flex; }
  .feat-grid, .platform-grid, .price-grid, .uc-grid, .faq-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .hero-card { padding: 32px 22px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust-row { gap: 14px 22px; }
  .step { flex-direction: column; padding: 26px 22px; gap: 18px; }
  .cta-banner { padding: 36px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
