/*
  PhoneVault Sub-site CSS
  Shares the VMH Digital colour palette but carries the app's own "Midnight Gold"
  scheme — deep navy #0E1526 surfaces with the champagne #D4AF6A accent the app
  uses, so the site and the product read as one thing.
  The app's design system is "the instrument": figures are the hero, the accent
  marks one thing per screen, call affordances stay semantic green/red.
  Primary Navy: #0B192C | Secondary: #1E3E62 | Gold: #D4AF37
  PhoneVault Surface: #0E1526 | Champagne: #D4AF6A
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Roboto+Mono:wght@500;600&display=swap');

:root {
  --primary-navy:      #0B192C;
  --secondary-navy:    #1E3E62;
  --accent-gold:       #D4AF37;
  --accent-gold-light: #FFE082;
  --pv-surface:        #0E1526;
  --pv-surface-2:      #16203a;
  --pv-champagne:      #D4AF6A;
  --pv-champagne-light:#E8CD9A;
  --pv-champagne-deep: #9c7c40;
  --pv-call-green:     #2E9E5B;
  --bg-soft:           #F5F7FA;
  --white:             #ffffff;
  --text-dark:         #1C2D37;
  --text-light:        #5A7184;
  --success:           #059669;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium:    0 10px 30px rgba(11, 25, 44, 0.08);
  --shadow-hover:      0 20px 50px rgba(11, 25, 44, 0.18);
  --border-subtle:     rgba(11, 25, 44, 0.08);
  --font-mono:         'Roboto Mono', 'Consolas', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
header {
  background: linear-gradient(135deg, var(--pv-surface), var(--primary-navy));
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Space the icon from the wordmark via margin, NOT flex `gap`.
   `gap` would also apply between the "Phone" text node and the
   <span>Vault</span>, rendering the brand name as "Phone Vault". */
.logo img, .logo > i { margin-right: 10px; }

.logo img { height: 34px; width: 34px; border-radius: 8px; }

.logo span { color: var(--pv-champagne); }

nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; align-items: center; justify-content: flex-end; }

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
  color: var(--pv-champagne-light);
  background: rgba(212,175,106,0.14);
}

.nav-back {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-back:hover { color: var(--accent-gold); border-color: rgba(212,175,55,0.3); }

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, var(--pv-surface) 0%, #131c33 55%, var(--secondary-navy) 130%);
  color: var(--white);
  padding: 80px 32px 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(212,175,106,0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(30,62,98,0.5) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,106,0.14);
  border: 1px solid rgba(212,175,106,0.4);
  color: var(--pv-champagne-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.12;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--pv-champagne-light), var(--pv-champagne));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.76);
  margin-bottom: 30px;
  line-height: 1.75;
  max-width: 54ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

.hero-trust i { color: var(--pv-champagne); font-size: 13px; }

/* ── SIGNATURE: the call row with a memory ─────────────────────────────
   A recreation of the product's atomic unit — one Recents entry carrying
   a note, a follow-up and a category — built as live HTML. Figures are
   set in the mono face because in this app the numerals are the hero. */
.call-ledger {
  background: linear-gradient(160deg, #101a30, var(--pv-surface));
  border: 1px solid rgba(212,175,106,0.22);
  border-radius: 20px;
  padding: 22px 20px 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03) inset;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}

.call-ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.call-ledger-head h2 { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.9); }

.call-ledger-head .ledger-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pv-champagne);
  letter-spacing: 0.5px;
}

.call-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.call-row:last-child { border-bottom: none; }

.call-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--pv-surface);
  background: linear-gradient(135deg, var(--pv-champagne-light), var(--pv-champagne));
}

.call-avatar.avatar-blue  { background: linear-gradient(135deg, #9cc3ff, #4C8DFF); color: #0b1a33; }
.call-avatar.avatar-green { background: linear-gradient(135deg, #8fd8b0, #3FA97A); color: #0d241a; }

.call-meta { flex: 1; min-width: 0; }

.call-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

.cat-chip {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2.5px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.cat-chip.cat-customer { background: rgba(79,163,173,0.18); color: #7fd0da; border: 1px solid rgba(79,163,173,0.4); }
.cat-chip.cat-family   { background: rgba(230,150,80,0.15); color: #eeb083; border: 1px solid rgba(230,150,80,0.4); }
.cat-chip.cat-vip      { background: rgba(212,175,106,0.16); color: var(--pv-champagne-light); border: 1px solid rgba(212,175,106,0.45); }

.call-figures {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.call-figures .missed { color: #e0705f; }

.call-marks {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-size: 11px;
  color: var(--pv-champagne);
  font-weight: 600;
}

.call-marks i { margin-right: 3px; font-size: 10px; }

.call-when {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.ledger-followup {
  margin-top: 12px;
  background: rgba(212,175,106,0.08);
  border: 1px dashed rgba(212,175,106,0.35);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ledger-followup i { color: var(--pv-champagne); font-size: 14px; }

.ledger-followup .fu-text {
  flex: 1;
  font-size: 12.5px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.ledger-followup .fu-due {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pv-champagne);
  font-variant-numeric: tabular-nums;
}

.fu-actions { display: flex; gap: 7px; }

.fu-actions span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

.fu-actions span.act-call { color: #6fcf97; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pv-champagne), var(--pv-champagne-deep));
  color: var(--pv-surface);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--pv-champagne-light), var(--pv-champagne));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,106,0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-outline-light-bg {
  background-color: transparent;
  color: var(--secondary-navy);
  border-color: rgba(30,62,98,0.35);
}

.btn-outline-light-bg:hover {
  border-color: var(--secondary-navy);
  background: rgba(30,62,98,0.06);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(to right, var(--pv-champagne), var(--pv-champagne-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 52px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FEATURE CARDS ── */
.features { max-width: 1280px; margin: 0 auto; padding: 80px 32px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: 18px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--pv-champagne), var(--pv-champagne-light));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212,175,106,0.1), rgba(232,205,154,0.16));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--pv-champagne-deep);
  font-size: 22px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--primary-navy); }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ── SCREENSHOT GALLERY ── */
.gallery-section {
  background: linear-gradient(150deg, var(--pv-surface) 0%, #131c33 70%, var(--secondary-navy) 140%);
  padding: 80px 0 84px;
}

.gallery-section .section-title { color: var(--white); }
.gallery-section .section-subtitle { color: rgba(255,255,255,0.6); }

.gallery-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 32px 24px;
  max-width: 1280px;
  margin: 0 auto;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(212,175,106,0.5) rgba(255,255,255,0.06);
}

.gallery-item { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }

.gallery-item img {
  width: 216px;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(212,175,106,0.25);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  display: block;
  transition: var(--transition-smooth);
}

.gallery-item img:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.55); }

.gallery-item figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

/* The gallery always overflows its container, so signal that it scrolls —
   the clipped last card alone is too weak a cue on a wide desktop screen. */
.gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.45);
}

.gallery-hint i { color: var(--pv-champagne); font-size: 11px; }

.gallery-scroll:focus-visible {
  outline: 2px solid var(--pv-champagne);
  outline-offset: 4px;
  border-radius: 12px;
}

/* ── STATS STRIP (figures are the hero) ── */
.figures-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  text-align: center;
}

.figure-item .figure-value {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 600;
  color: var(--primary-navy);
  display: block;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.figure-item .figure-value em { font-style: normal; color: var(--pv-champagne-deep); }

.figure-item .figure-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

/* ── CONTENT PAGES (privacy / terms / support) ── */
.content-page {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 32px;
}

.content-card {
  background: var(--white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.content-card h1 { font-size: 30px; font-weight: 800; color: var(--primary-navy); margin-bottom: 6px; }
.content-card .updated { color: var(--text-light); font-size: 13px; margin-bottom: 28px; }
.content-card h2 { font-size: 20px; font-weight: 700; color: var(--primary-navy); margin: 28px 0 10px; }
.content-card h3 { font-size: 17px; font-weight: 600; color: var(--secondary-navy); margin: 20px 0 8px; }
.content-card p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.content-card ul, .content-card ol { margin-left: 24px; color: var(--text-light); font-size: 15px; margin-bottom: 14px; }
.content-card li { margin-bottom: 6px; line-height: 1.7; }
.content-card a { color: var(--pv-champagne-deep); text-decoration: none; font-weight: 600; }
.content-card a:hover { color: var(--pv-champagne); }

.info-banner {
  background: rgba(212,175,106,0.07);
  border: 1.5px dashed rgba(212,175,106,0.45);
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.info-banner i { color: var(--pv-champagne-deep); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.info-banner h4 { color: var(--pv-champagne-deep); font-weight: 700; margin-bottom: 4px; }
.info-banner p { font-size: 13.5px; color: var(--text-dark); margin: 0; }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.policy-table th, .policy-table td {
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text-light);
}

.policy-table th { background: var(--bg-soft); color: var(--primary-navy); font-weight: 700; }
.policy-table-wrap { overflow-x: auto; margin-bottom: 14px; }

/* ── FAQ ── */
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: var(--primary-navy); font-size: 15px; margin-bottom: 6px; }
.faq-a { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 96px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-section h2 { font-size: 36px; font-weight: 900; color: var(--primary-navy); margin-bottom: 16px; letter-spacing: -0.5px; }
.cta-section p { color: var(--text-light); font-size: 17px; margin-bottom: 36px; line-height: 1.7; }

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--pv-surface);
  color: var(--pv-champagne-light);
  border: 1px solid rgba(212,175,106,0.4);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, var(--pv-surface), var(--primary-navy));
  color: rgba(255,255,255,0.65);
  padding: 48px 32px 28px;
  font-size: 14px;
  margin-top: 80px;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-size: 14px;
}

.footer-links a:hover { color: var(--pv-champagne-light); background: rgba(212,175,106,0.14); }

.footer-bottom-text { text-align: center; color: rgba(255,255,255,0.45); font-size: 13px; }

.footer-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.footer-back-home:hover { color: var(--accent-gold); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-inner > div:first-child { text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-container { padding: 12px 20px; flex-wrap: wrap; gap: 10px; justify-content: center; }
  nav { width: 100%; }
  nav ul { gap: 2px; justify-content: center; }
  nav a { font-size: 13px; padding: 7px 10px; }
  .hero { padding: 56px 20px; }
  .features { padding: 60px 20px; }
  .content-page { padding: 0 20px; }
  .content-card { padding: 28px 20px; }
  .gallery-scroll { padding: 8px 20px 20px; }
  .call-ledger { max-width: 100%; }
  .call-when { display: none; }
}
