/* ============================================================
   Stay Vault Days — Trust, Pricing, FAQ, Footer
   ============================================================ */

/* ---------- Trust ---------- */
.trust {
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(79,108,255,0.08), transparent 70%),
    linear-gradient(180deg, #060810, #080a16);
  position: relative;
}
.trust::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.trust-body { display: flex; flex-direction: column; gap: 20px; color: var(--muted); max-width: 540px; }
.trust-body strong { color: var(--text); font-weight: 700; }
.trust-note {
  margin-top: 8px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold-deep);
  background: rgba(242,200,121,0.04);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  color: var(--text);
}
.source-stack { display: flex; flex-direction: column; gap: 14px; }
.source-card { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.source-card .seal { font-size: 26px; flex: none; line-height: 1; margin-top: 2px; }
.source-card .sc-auth { font-size: 15px; font-weight: 700; }
.source-card .sc-doc { font-size: 13px; color: var(--muted); margin: 3px 0 7px; }
.source-card .sc-link { font-size: 12px; color: var(--indigo-soft); word-break: break-all; display: inline-flex; align-items: center; gap: 6px; }
.source-card .sc-lic { font-size: 11px; color: var(--muted-2); margin-top: 6px; }
.trust-tag { text-align: center; margin-top: 44px; font-size: 16px; color: var(--muted); }
.trust-tag b { color: var(--gold); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
  max-width: 920px;
  margin: 64px auto 0;
  align-items: stretch;
}
.price-card { padding: 38px 34px; display: flex; flex-direction: column; }
.price-card.pro {
  border-color: rgba(242,200,121,0.4);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(242,200,121,0.08), transparent 70%),
    var(--card-bg);
  position: relative;
}
.founders-badge {
  position: absolute;
  top: -14px; right: 28px;
  white-space: nowrap;
  background: linear-gradient(135deg, #f7d894, var(--gold));
  color: #2a1d05;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 10px 26px -8px rgba(242,200,121,0.5);
}
.price-tier { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.price-card.pro .price-tier { color: var(--gold); }
.price-amt { font-family: var(--font-display); font-size: 40px; margin: 14px 0 4px; }
.price-amt small { font-size: 16px; color: var(--muted); font-family: var(--font-body); }
.price-note { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.price-trial { font-size: 13px; color: var(--green); font-weight: 700; margin-bottom: 24px; }
.feat-list { list-style: none; padding: 0; margin: 8px 0 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.feat-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text); align-items: flex-start; }
.feat-list li .tick { color: var(--green); flex: none; margin-top: 2px; }
.feat-list.muted li { color: var(--muted); }
.feat-list li .tick.gold { color: var(--gold); }
.price-card .btn { width: 100%; justify-content: center; }
.founders-callout {
  max-width: 920px;
  margin: 26px auto 0;
  text-align: center;
  padding: 24px 30px;
  border: 1px dashed rgba(242,200,121,0.3);
  border-radius: var(--radius);
  background: rgba(242,200,121,0.03);
  font-size: 16px;
  color: var(--muted);
}
.founders-callout b { color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.faq-q {
  width: 100%;
  background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
}
.faq-q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-q .plus::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-q .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 4px 26px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 660px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, #05060d, #04050a);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
/* Footer sits on a near-black gradient, so its text must be light — the dark
   --muted vars read as dark-on-dark and were hard to read. */
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-bottom: 20px; }
.footer .f-brand-text { color: rgba(255,255,255,0.80); font-size: 15px; max-width: 320px; margin: 18px 0 10px; }
.footer .f-copy { font-size: 13px; color: rgba(255,255,255,0.58); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { color: rgba(255,255,255,0.82); font-size: 15px; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--gold-fill); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: rgba(255,255,255,0.62);
  max-width: 720px;
  line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,0.80); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  section { padding: 84px 0; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-globe { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-fine { justify-content: center; }
  .pain-grid, .steps { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .feature-row.flip .feature-art { order: 0; }
  .feature-art { order: -1; }
  .feature-text { text-align: center; }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .globe-overlay { width: 200px; top: 16px; left: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .phone { width: 270px; }
}

/* ============================================================
   Analytics showcase (mirrors the in-app "Your year in numbers")
   ============================================================ */
.section.analytics { background: linear-gradient(180deg,#fafafb,#f8f9fc); }
.section-sub { max-width: 640px; margin: 18px auto 30px; text-align: center; color: var(--muted, #5b6270); }
.an-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 720px; margin: 0 auto 24px; }
.an-stat { background:#fff; border:1px solid var(--card-border,#e6e8f0); border-radius:18px; padding:20px; text-align:left; box-shadow:0 1px 2px rgba(16,20,40,.04); }
.an-ico { width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:12px; font-size:18px; background:color-mix(in srgb, var(--c) 12%, white); }
.an-num { font-size:30px; font-weight:800; letter-spacing:-1px; margin-top:12px; color:#0b0d14; }
.an-lbl { color: var(--muted,#5b6270); font-size:13px; }
.an-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; max-width:720px; margin:0 auto; }
.an-card { background:#fff; border:1px solid var(--card-border,#e6e8f0); border-radius:18px; padding:20px; box-shadow:0 1px 2px rgba(16,20,40,.04); }
.an-card.an-wide { grid-column: 1 / -1; }
.an-card-title { font-weight:700; color:#0b0d14; }
.an-card-sub { color: var(--muted,#5b6270); font-size:13px; margin-bottom:14px; }
.an-card-foot { color:#047857; font-size:13px; font-weight:600; margin-top:12px; }
/* gauge */
.an-gauge-card { display:flex; flex-direction:column; align-items:center; text-align:center; }
.an-gauge { position:relative; width:120px; height:120px; }
.an-ring { width:120px; height:120px; transform:rotate(-90deg); }
.an-ring-bg { fill:none; stroke:#eef0f7; stroke-width:11; }
.an-ring-fg { fill:none; stroke:#6366F1; stroke-width:11; stroke-linecap:round;
  stroke-dasharray: 301.6; stroke-dashoffset: calc(301.6 * (1 - var(--pct)));
  transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.an-gauge-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.an-gauge-center strong { font-size:26px; color:#0b0d14; }
.an-gauge-center span { font-size:12px; color:var(--muted,#5b6270); }
/* bars */
.an-bars { display:flex; align-items:flex-end; gap:10px; height:150px; }
.an-bar { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
.an-bar-fill { width:100%; max-width:26px; border-radius:7px 7px 0 0; height:var(--h);
  background:linear-gradient(180deg,#6366F1,#4F46E5); transition:height 1s cubic-bezier(.2,.8,.2,1); }
.an-bar i { font-style:normal; font-size:18px; margin-top:8px; }
/* sparkline */
.an-spark { width:100%; height:90px; }
.an-spark-line { stroke-dasharray:1000; stroke-dashoffset:1000; animation:anDraw 1.6s ease forwards; }
@keyframes anDraw { to { stroke-dashoffset:0; } }
.an-months { display:flex; justify-content:space-between; color:var(--muted,#5b6270); font-size:11px; margin-top:6px; }
@media (max-width:720px){
  .an-stats{ grid-template-columns:1fr 1fr; }
  .an-grid{ grid-template-columns:1fr; }
}
@media (prefers-color-scheme:dark){
  .section.analytics{ background:linear-gradient(180deg,#0b0d14,#06070c); }
  .an-stat,.an-card{ background:#161a24; border-color:#232838; }
  .an-num,.an-card-title,.an-gauge-center strong{ color:#fff; }
  .an-ring-bg{ stroke:#232838; }
}

.an-axis-x{ margin-top:10px; text-align:center; font-size:11px; color:var(--muted,#5b6270); letter-spacing:.02em; }
