/* Paper VPN — papervpn24.mom
   Aesthetic: paper, literary, thoughtful
   Fonts: Cormorant Garamond (serif H) + Karla (sans body)
   Palette: warm brown + sage green on ivory
*/

:root {
  --primary: #78350F;
  --primary-dark: #5C2A0A;
  --accent: #84CC16;
  --accent-dark: #65A30D;
  --bg: #FFFBEB;
  --bg-alt: #FEF3C7;
  --text: #1C1917;
  --text-muted: #57534E;
  --card-bg: #FFFFFF;
  --border: #E7E5E4;
  --border-strong: #D6D3D1;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 25, 23, 0.04), 0 6px 18px rgba(28, 25, 23, 0.04);
}

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

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

body {
  font-family: 'Karla', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* HEADER — centered logo, nav row beneath */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(28, 25, 23, 0.06);
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 28px 10px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 40px; height: 40px;
  border-radius: 8px;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
}

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 44px; height: 44px;
  cursor: pointer;
  position: absolute;
  right: 28px;
  top: 18px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.burger span::before { top: -7px; }
.burger span::after  { top:  7px; }

.header-nav {
  display: flex;
  justify-content: center;
  padding: 6px 28px 16px;
  border-top: 1px dashed var(--border-strong);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav-links a:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  border: 1px solid #000000;
  padding: 8px 18px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent);
  border-color: #000000;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 200;
  padding: 80px 28px 28px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 18px;
  color: var(--text);
}
.mobile-nav a.nav-cta {
  color: #000000;
  font-weight: 800;
  margin-top: 18px;
  border: 1px solid #000000;
  border-radius: 10px;
  text-align: center;
  padding: 14px 20px;
}
.mobile-close {
  position: absolute;
  top: 22px; right: 28px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 11px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-align: center;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #FFFBEB;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #FFFBEB;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(120, 53, 15, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #FFFBEB;
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: #1C1917;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #FFFBEB;
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* HERO — minimalist white, huge serif */
.hero {
  padding: 90px 0 100px;
  background: var(--bg);
  text-align: center;
  position: relative;
}
.hero::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: var(--primary);
  margin: 70px auto 0;
  opacity: 0.4;
}
.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border: 1px dashed var(--primary);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 36px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 auto 28px;
  max-width: 920px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  gap: 38px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* STATS */
.stats {
  background: var(--bg-alt);
  padding: 60px 0;
  border-top: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stats-grid .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-grid .stat-lbl {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* SECTION BASE — alternating ivory/cream */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); }
section.ivory { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 18px;
  font-weight: 500;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
  font-family: 'Karla', sans-serif;
}

/* CARDS — dashed border (paper/sketch feel) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--card-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover {
  border-color: var(--primary);
  border-style: dashed;
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px dashed var(--primary);
}
.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 500;
}
.card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* PLATFORMS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  background: var(--card-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.platform:hover {
  border-color: var(--accent);
  background: #FFFFFF;
  transform: translateY(-3px);
}
.platform-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
}
.platform-desc {
  font-size: 14px;
  color: var(--text-muted);
}
.platform .btn {
  margin-top: auto;
  width: 100%;
}

/* WHY-US text block */
.why-us {
  max-width: 880px;
  margin: 0 auto;
}
.why-us p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 22px;
}
.why-us p:first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  line-height: 0.9;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--primary);
  font-weight: 600;
}
.why-us-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.5;
  text-align: center;
  color: var(--primary);
  padding: 36px 28px;
  border-top: 1px dashed var(--primary);
  border-bottom: 1px dashed var(--primary);
  margin: 36px 0;
  font-weight: 500;
}

/* USE CASES */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.uc {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--card-bg);
  transition: all .25s ease;
}
.uc:hover {
  border-color: var(--accent);
}
.uc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 16px;
}
.uc h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 500;
}
.uc p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* PRICING — gradient brown→sage */
.pricing {
  display: flex;
  justify-content: center;
}
.price-card {
  max-width: 620px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 40%, var(--accent-dark) 100%);
  border-radius: 18px;
  padding: 56px 44px;
  color: #FFFBEB;
  text-align: center;
  box-shadow: 0 14px 40px rgba(120, 53, 15, 0.25);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 251, 235, 0.4);
  border-radius: 14px;
  pointer-events: none;
}
.price-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 251, 235, 0.15);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
}
.price-card h2 {
  font-size: clamp(36px, 5vw, 54px);
  color: #FFFBEB;
  font-weight: 500;
  margin-bottom: 14px;
}
.price-card p {
  color: rgba(255, 251, 235, 0.9);
  font-size: 17px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.price-card ul {
  list-style: none;
  margin: 0 auto 32px;
  text-align: left;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card ul li {
  font-size: 15.5px;
  padding-left: 26px;
  position: relative;
  color: rgba(255, 251, 235, 0.95);
}
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn-accent { background: #FFFBEB; color: var(--primary); }
.price-card .btn-accent:hover { background: var(--accent); color: var(--primary); }

/* CTA BANNER */
.cta-banner {
  background: var(--bg-alt);
  border-top: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 500;
  margin-bottom: 14px;
}
.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 26px;
  font-size: 17px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ — 2-col open grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.faq-item {
  border-top: 1px dashed var(--primary);
  padding-top: 22px;
}
.faq-item h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-item p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

/* FOOTER CTA */
.footer-cta {
  background: var(--primary);
  color: #FFFBEB;
  padding: 60px 0;
  text-align: center;
}
.footer-cta h2 {
  color: #FFFBEB;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  margin-bottom: 12px;
}
.footer-cta p {
  color: rgba(255, 251, 235, 0.85);
  margin-bottom: 22px;
}
.footer-cta .btn-accent { background: var(--accent); color: #1C1917; }
.footer-cta .btn-accent:hover { background: #FFFBEB; color: var(--primary); }

/* FOOTER — 3 columns */
.site-footer {
  background: #1C1917;
  color: #D6D3D1;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 44px;
}
.footer-col h4 {
  color: #FFFBEB;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #A8A29E;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: #D6D3D1;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.footer-col a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 6px; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: #FFFBEB;
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px dashed #44403C;
  padding-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: #78716C;
}
.footer-eng {
  font-size: 12px;
  color: #57534E;
  margin-top: 6px;
}

/* INSTRUKTSIYA */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  background: var(--card-bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 36px 32px;
  align-items: start;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.step-body h3 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 12px;
}
.step-body p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.75;
}
.step-body ul { padding-left: 20px; color: var(--text-muted); margin-bottom: 16px; }
.step-body ul li { margin-bottom: 6px; }

.after-pay {
  max-width: 880px;
  margin: 0 auto;
}
.after-pay > p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  text-align: center;
  margin-bottom: 36px;
}

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

/* RESPONSIVE 980 */
@media (max-width: 980px) {
  .cards-grid, .platforms-grid, .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 70px 0; }
  .hero { padding: 70px 0 80px; }
}

/* RESPONSIVE 640 */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header-nav { display: none; }
  .burger { display: flex; }
  .header-top { padding: 18px 20px; justify-content: flex-start; }
  body { font-size: 16px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .hero-badge { margin-bottom: 24px; }
  .hero-desc { font-size: 17px; }
  .hero-trust { gap: 20px; font-size: 13px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-grid .stat-num { font-size: 40px; }
  .cards-grid, .platforms-grid, .uc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-card { padding: 40px 26px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 22px; }
  .step-num { font-size: 56px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 44px; }
  .why-us p { font-size: 16.5px; }
  .why-us-quote { font-size: 21px; padding: 26px 18px; }
  .btn-lg { padding: 14px 26px; font-size: 16px; }
}
