/*
  Ben's VPN — bensvpn.lol
  Fonts: Marcellus (headings) + Public Sans (body)
  Palette: terracotta + teal on cream
*/

:root {
  --primary: #C2410C;
  --primary-dark: #9A3412;
  --accent: #0D9488;
  --accent-dark: #0F766E;
  --bg: #FEF3C7;
  --bg-alt: #FCEFC1;
  --bg-card: #FFFBEB;
  --text: #292524;
  --text-muted: #78716C;
  --card-bg: #FFFFFF;
  --border: #E7D9A8;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(120, 53, 15, 0.07);
  --shadow-md: 0 8px 24px rgba(120, 53, 15, 0.10);
  --shadow-lg: 0 18px 48px rgba(120, 53, 15, 0.16);
  --grad: linear-gradient(135deg, #C2410C 0%, #0D9488 100%);
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
  font-family: 'Marcellus', 'Georgia', serif;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.18;
  font-weight: 400;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 235, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(120, 53, 15, 0.10);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Marcellus', serif;
  font-size: 1.3rem;
  color: var(--text);
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-name { letter-spacing: 0.5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-cta {
  background: var(--primary);
  color: #000000;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 11px;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.30);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.42);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.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 {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 14px 22px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 14px;
  color: var(--text);
  border-radius: 10px;
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.mobile-nav a.nav-cta {
  background: var(--primary);
  color: #000000;
  font-weight: 800;
  text-align: center;
  margin-top: 6px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(194, 65, 12, 0.42);
}
.btn-secondary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}
.btn-secondary:hover {
  background: var(--accent-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Hero — central card form ===== */
.hero {
  padding: 70px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -80px -80px auto auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 70%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.18), transparent 70%);
  z-index: 0;
}
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 50px 48px 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.12);
  color: var(--accent-dark);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.4px;
}
.hero-card h1 { margin-bottom: 18px; }
.hero-card .lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 26px;
  border-top: 1px dashed var(--border);
}
.trust-item {
  text-align: center;
}
.trust-num {
  font-family: 'Marcellus', serif;
  font-size: 1.6rem;
  color: var(--primary);
  display: block;
}
.trust-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ===== Section base ===== */
section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-top: 12px;
}

/* ===== Stats row ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 36px 0;
}
.stat-cell {
  text-align: center;
  padding: 22px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-num {
  font-family: 'Marcellus', serif;
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.stat-lbl {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== Cards (shadow + lift) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.14), rgba(13, 148, 136, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
}
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ===== Platforms ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.platform:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.platform-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  color: var(--primary);
  font-size: 1.4rem;
}
.platform h3 { margin: 0; font-size: 1.1rem; }
.platform-desc { color: var(--text-muted); font-size: 0.88rem; }
.platform .btn-ghost { padding: 9px 18px; font-size: 0.9rem; }

/* ===== Why us — text block ===== */
.why-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-block .why-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-list li {
  display: flex;
  gap: 14px;
  background: var(--card-bg);
  padding: 18px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.why-list li strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  font-weight: 400;
}
.why-list li span { color: var(--text-muted); font-size: 0.94rem; }
.why-list .bullet {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(194, 65, 12, 0.13);
  color: var(--primary);
  font-family: 'Marcellus', serif;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Use cases ===== */
.usecase {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.usecase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.usecase h3 { color: var(--text); margin-bottom: 8px; }
.usecase p { color: var(--text-muted); font-size: 0.96rem; }

/* ===== Pricing — gradient card ===== */
.pricing-wrap { display: flex; justify-content: center; }
.pricing-card {
  background: var(--grad);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 46px 50px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
}
.pricing-card h2 { color: #FFFFFF; margin-bottom: 14px; }
.pricing-card .pricing-sub {
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
  margin-bottom: 28px;
  max-width: 540px;
  position: relative;
}
.pricing-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 28px;
  position: relative;
}
.pricing-amount {
  font-family: 'Marcellus', serif;
  font-size: 3.2rem;
  line-height: 1;
}
.pricing-amount-lbl {
  color: rgba(255,255,255,0.86);
  margin-bottom: 8px;
  font-size: 0.96rem;
}
.pricing-perks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
  margin-bottom: 30px;
  position: relative;
}
.pricing-perks li {
  font-size: 0.96rem;
  position: relative;
  padding-left: 22px;
}
.pricing-perks li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
}
.pricing-card .btn-primary {
  background: #FFFFFF;
  color: #C2410C;
  font-weight: 800;
  position: relative;
}
.pricing-card .btn-primary:hover {
  background: #FEF3C7;
  color: #C2410C;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 50px 40px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 880px;
  margin: 0 auto;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 26px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ===== FAQ — open card grid ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.faq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq-card h3 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1.12rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-card h3::before {
  content: '?';
  width: 28px; height: 28px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-card p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.65; }

/* ===== Footer — two-level ===== */
.site-footer {
  background: #1C1917;
  color: #D6D3D1;
  padding: 0;
}
.footer-top {
  padding: 60px 0 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  border-bottom: 1px solid #44403C;
}
.footer-brand .brand { color: #FFFFFF; margin-bottom: 16px; }
.footer-brand p { color: #A8A29E; font-size: 0.95rem; max-width: 360px; }
.footer-col h4 {
  color: #FFFFFF;
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #A8A29E;
  font-size: 0.94rem;
  transition: color .2s;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom small {
  color: #78716C;
  font-size: 0.84rem;
}
.footer-bottom .footer-eng {
  color: #57534E;
  font-size: 0.78rem;
}

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

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; }

  .hero { padding: 50px 0 60px; }
  .hero-card { padding: 38px 28px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-block { grid-template-columns: 1fr; gap: 32px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  section { padding: 60px 0; }

  .pricing-card { padding: 36px 28px; }
  .pricing-amount { font-size: 2.6rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.5rem; }

  .hero-card { padding: 32px 22px; border-radius: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .trust-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cards-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .pricing-card { padding: 32px 22px; border-radius: 16px; }
  .pricing-perks { grid-template-columns: 1fr; }
  .pricing-amount { font-size: 2.3rem; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cta-banner { padding: 36px 22px; }
}
