/* ============================================================
   Norton VPN — marketing site
   Theme mirrors the iOS app: dark (#0A0A0C) + metallic gold (#D2A15C)
   ============================================================ */

:root {
  --bg:          #0A0A0C;
  --bg-elev:    #141418;
  --card:       #1A1A1D;
  --card-2:     #1F1F24;
  --stroke:     rgba(255,255,255,0.08);
  --stroke-2:   rgba(255,255,255,0.14);

  --text:       #F5F5F5;
  --text-2:     #A0A0A0;
  --text-3:     #6B6B6B;

  --gold:       #D2A15C;
  --gold-light: #E8C48A;
  --gold-pale:  #F5DDB5;
  --gold-deep:  #8B6A32;
  --gold-darkest:#5C4420;

  --green:      #00D26A;
  --red:        #FF5252;

  --grad-gold:  linear-gradient(135deg,#F5DDB5 0%,#E8C48A 25%,#D2A15C 55%,#8B6A32 85%,#5C4420 100%);
  --grad-text:  linear-gradient(90deg,#F5DDB5,#D2A15C);

  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 18px 50px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* Subtle ambient texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 40% at 20% 0%,  rgba(210,161,92,.10), transparent 60%),
    radial-gradient(50% 35% at 100% 30%, rgba(210,161,92,.07), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Brand wordmark ---------- */
.brand          { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 22px; letter-spacing: -.2px; }
.brand-mark     { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.brand-light    { color: var(--text-2); font-weight: 300; }
.brand-mark.sm,
.brand-light.sm { font-size: 16px; }

.gold-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer; user-select: none;
  transition: transform .15s ease, box-shadow .25s ease, background .25s;
  white-space: nowrap;
}
.btn-lg          { padding: 16px 28px; font-size: 16px; }
.btn:hover       { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-gold);
  color: #1a1208;
  box-shadow: 0 12px 30px rgba(210,161,92,.32), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-primary:hover { box-shadow: 0 18px 38px rgba(210,161,92,.42), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--stroke-2);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(210,161,92,.08); border-color: rgba(210,161,92,.45); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(10,10,12,.65);
  border-bottom: 1px solid var(--stroke);
}
.nav-links      { display: flex; gap: 28px; }
.nav-links a    { color: var(--text-2); font-weight: 500; font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta        { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -10% -10% auto -10%; height: 90%;
  background: radial-gradient(ellipse at 50% 30%, rgba(210,161,92,.22) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(210,161,92,.10);
  border: 1px solid rgba(210,161,92,.30);
  color: var(--gold-light);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
}
.lede {
  font-size: 18px; color: var(--text-2);
  max-width: 520px; margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 520px;
}
.trust-row > div { display: flex; flex-direction: column; }
.trust-row strong { font-size: 22px; font-weight: 700; color: var(--gold-light); }
.trust-row span   { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- iPhone mockup ---------- */
.hero-art { display: flex; justify-content: center; align-items: center; }
.phone {
  position: relative;
  width: 290px; height: 600px;
  border-radius: 48px;
  background: linear-gradient(180deg, #2a2a2f, #0c0c0e);
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.7),
    0 0 0 1.5px rgba(255,255,255,.06),
    inset 0 0 0 2px #050505;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 32px; background: #000; border-radius: 22px; z-index: 2;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px;
  background:
    radial-gradient(120% 60% at 50% 50%, rgba(210,161,92,.14) 0%, transparent 60%),
    #0A0A0C;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 50px 16px 20px;
}
.phone-status {
  position: absolute; top: 18px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 28px;
  font-size: 11px; color: var(--text-2); font-weight: 600;
}
.phone-brand { margin-top: 10px; margin-bottom: auto; }
.phone-globe {
  position: absolute; inset: 30% 0 25% 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(210,161,92,.18) 0%, transparent 55%);
  border-radius: 50%;
  pointer-events: none;
}
.phone-knob {
  position: relative; z-index: 1;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 60px rgba(210,161,92,.55),
    0 12px 28px rgba(0,0,0,.45),
    inset 0 2px 0 rgba(255,255,255,.5),
    inset 0 -10px 30px rgba(92,68,32,.5);
  margin-bottom: auto;
}
.phone-knob-inner {
  width: 132px; height: 132px; border-radius: 50%;
  background: conic-gradient(#F5DDB5, #D2A15C, #8B6A32, #D2A15C, #F5DDB5);
  display: flex; align-items: center; justify-content: center;
  filter: brightness(1.05);
}
.phone-status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,210,106,.12);
  border: 1px solid rgba(0,210,106,.35);
  color: var(--green);
  font-size: 12px; font-weight: 600;
  margin-bottom: 16px;
}
.phone-status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 100px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent);
  max-width: none;
  padding-left: max(32px, calc((100vw - 1180px) / 2));
  padding-right: max(32px, calc((100vw - 1180px) / 2));
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1px;
  text-align: center; margin: 0 0 12px;
}
.section-sub {
  text-align: center; color: var(--text-2);
  font-size: 17px; max-width: 620px; margin: 0 auto 56px;
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(210,161,92,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: rgba(210,161,92,.10);
  border: 1px solid rgba(210,161,92,.25);
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p  { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- Servers ---------- */
.server-pills {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.server-pills span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-size: 14px;
  color: var(--text);
  transition: border-color .15s, color .15s;
}
.server-pills span:hover { border-color: rgba(210,161,92,.45); color: var(--gold-light); }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; gap: 18px;
  text-align: center;
  position: relative;
}
.price-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-2); margin: 0; font-weight: 600; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.price .amount { font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.price .per    { color: var(--text-2); font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0 auto; text-align: left; max-width: 200px; color: var(--text-2); font-size: 14.5px; }
.price-card li { padding: 6px 0; }
.price-card li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.price-card .btn { align-self: center; margin-top: auto; }

.price-featured {
  background: linear-gradient(180deg, rgba(210,161,92,.10), rgba(20,20,24,.95));
  border-color: rgba(210,161,92,.45);
  box-shadow: 0 0 0 1px rgba(210,161,92,.25), 0 24px 60px rgba(210,161,92,.18);
  transform: translateY(-6px);
}
.price-featured:hover { transform: translateY(-9px); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: #1a1208;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(210,161,92,.4);
}

.fineprint { text-align: center; color: var(--text-3); font-size: 12.5px; max-width: 720px; margin: 36px auto 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(210,161,92,.35); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 14px 0 0; color: var(--text-2); font-size: 15px; }
.faq a { color: var(--gold-light); text-decoration: underline; }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  padding: 100px 32px;
  border-top: 1px solid var(--stroke);
  margin-top: 40px;
}
.cta-final h2  { font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; letter-spacing: -1px; }
.cta-final p   { color: var(--text-2); font-size: 17px; margin: 0 0 30px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 36px 32px;
  background: #06060a;
}
.footer-row {
  max-width: 1180px;
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--gold-light); }
.copy {
  max-width: 1180px; margin: 18px auto 0;
  color: var(--text-3); font-size: 12px; text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 40px; }
  .hero-art      { order: -1; }
  .grid-3        { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
}
@media (max-width: 600px) {
  .nav           { padding: 14px 18px; }
  .hero          { padding: 60px 18px 80px; }
  .section       { padding: 70px 18px; }
  .grid-3        { grid-template-columns: 1fr; }
  .price-featured{ transform: none; }
  .trust-row     { grid-template-columns: 1fr 1fr; }
  .phone         { width: 240px; height: 500px; }
  .phone-knob    { width: 120px; height: 120px; }
  .phone-knob-inner { width: 104px; height: 104px; }
  .footer-row    { flex-direction: column; text-align: center; }
}
