/*
 * hub.css — Shared styles for Vera hub/resource pages
 * Matches veramoney.com design system (Beausite Classic + Inter)
 *
 * FONT NOTE: Beausite Classic Web is a licensed font used on veramoney.com.
 * You must host the .woff2 files and update the @font-face URLs below.
 * Until then, the stack falls back to Inter / system-ui.
 */

/* ─── FONT FACES ─── */
/* Uncomment and update src paths once you have the Beausite Classic .woff2 files:
@font-face {
  font-family: 'Beausite Classic Web';
  src: url('/assets/fonts/BeausiteClassicWeb-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Beausite Classic Web';
  src: url('/assets/fonts/BeausiteClassicWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*/

/* ─── DESIGN TOKENS ─── */
:root {
  /* Colors — matched to veramoney.com (rgb(104,225,130)) */
  --green: #68E182;
  --green-hover: #50D06A;
  --green-light: #d9fae0;
  --green-mid: #b0f0bf;
  --black: #000000;
  --dark: #111111;
  --mid: #333333;
  --muted: #777777;
  --border: #e8e8e8;
  --border-dark: #d0d0d0;
  --light: #eef2ef;
  --white: #ffffff;
  --bg: #ffffff;

  /* Typography — matches veramoney.com stack */
  --font-heading: 'Beausite Classic Web', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fragment Mono', ui-monospace, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-green: 0 8px 32px rgba(104,225,130,0.2);

  /* Radii — matched to veramoney.com CTA (16px) */
  --radius-pill: 16px;
  --radius-card: 24px;
  --radius-sm: 12px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--black); }
a { color: var(--dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── HEADER ─── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px 0;
  height: 73px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
/* Outer wrapper so border spans full width */
.header-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-wrap header {
  position: relative;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
.logo {
  display: flex; align-items: center;
  color: var(--black);
  width: 107px; height: 30px;
}
.logo:hover { text-decoration: none; opacity: 0.8; }
.logo svg { display: block; width: 107px; height: 30px; }
.nav-center {
  display: flex; align-items: center; gap: 24px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 24px;
  height: 46px;
}
.nav-center a {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 500;
  color: var(--dark); padding: 8px;
  border-radius: 10px;
  transition: all 0.2s; letter-spacing: -0.02em;
}
.nav-center a:hover { background: rgba(0,0,0,0.05); text-decoration: none; }
.nav-cta {
  background: var(--green); color: var(--black);
  font-family: var(--font-heading);
  font-weight: 500; padding: 17px 16px;
  border-radius: var(--radius-pill); font-size: 1rem;
  transition: all 0.2s; letter-spacing: -0.02em;
  height: 48px; display: flex; align-items: center;
  border: none; cursor: pointer;
}
.nav-cta:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ─── SCREEN-READER ONLY (visually hidden, SEO preserved) ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── HERO ─── */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 90px 48px 80px;
  position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); border: 1px solid var(--green-mid);
  color: var(--dark); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 20px; border-radius: var(--radius-pill); margin-bottom: 32px;
  animation: fade-up 0.5s ease both;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.035em; margin-bottom: 24px;
  animation: fade-up 0.6s ease 0.1s both;
}
.hero h1 .white-line { color: var(--black); display: block; }
.hero h1 .green-line { color: var(--black); font-style: normal; display: block; }
.hero h1 .sub-line {
  display: block; font-family: var(--font-body);
  font-size: 0.38em; font-style: normal;
  color: var(--muted); font-weight: 600;
  letter-spacing: 0.06em; margin-top: 12px;
}
.hero p {
  font-size: 1.1rem; color: var(--muted);
  max-width: 500px; margin: 0 auto 40px;
  font-weight: 400; animation: fade-up 0.6s ease 0.2s both;
}
.hero-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; animation: fade-up 0.6s ease 0.3s both;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--green); color: var(--black);
  font-weight: 700; font-size: 0.9rem; padding: 14px 30px;
  border-radius: var(--radius-pill); transition: all 0.25s;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  text-decoration: none; color: var(--black);
}
.btn-secondary {
  background: var(--white); color: var(--dark);
  border: 1.5px solid var(--border); font-weight: 600;
  font-size: 0.9rem; padding: 14px 30px;
  border-radius: var(--radius-pill); transition: all 0.25s;
}
.btn-secondary:hover {
  background: var(--light); border-color: var(--border-dark);
  text-decoration: none; transform: translateY(-1px);
}

/* ─── APP STORE BADGES ─── */
.hero-badges {
  display: flex; gap: 12px; justify-content: center;
  align-items: center; margin-top: 32px;
  animation: fade-up 0.6s ease 0.35s both;
}
.hero-badges a { display: inline-flex; }
.hero-badges a:hover { opacity: 0.85; }
.hero-badges img { display: block; }

/* ─── TRUST BADGES ─── */
.hero-trust {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 48px; animation: fade-up 0.6s ease 0.4s both;
}
.trust-item {
  font-size: 0.72rem; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.trust-item span { font-size: 0.8rem; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section-alt { background: #f5f5f5; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.eyebrow {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--green); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--dark); margin-bottom: 12px;
}
.section-title em { color: var(--green); font-style: normal; }
.section-desc {
  font-size: 0.95rem; color: var(--muted);
  max-width: 560px; line-height: 1.8; margin-bottom: 44px;
}
.section-desc a { color: var(--green); font-weight: 600; }

/* ─── GOAL TYPES ─── */
.goal-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.goal-tab {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--muted); font-size: 0.78rem; font-weight: 600;
  padding: 8px 18px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}
.goal-tab:hover { border-color: var(--green); color: var(--dark); }
.goal-tab.active {
  background: var(--green); border-color: var(--green);
  color: var(--black);
}
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.goal-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 32px 28px;
  transition: all 0.25s; position: relative;
}
.goal-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.goal-card.featured { border-color: var(--green); background: var(--green-light); }
.goal-emoji { font-size: 2rem; margin-bottom: 16px; display: block; }
.goal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 8px; color: var(--dark);
}
.goal-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.75; }
.goal-card p a { color: var(--green); font-weight: 600; }
.goal-tag {
  display: inline-block; margin-top: 16px;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); background: var(--green-light);
  padding: 4px 12px; border-radius: var(--radius-pill);
}

/* ─── CALCULATOR ─── */
.calc-wrap {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
}
.calc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 32px; border-bottom: 1px solid var(--border);
}
.calc-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem; font-weight: 700;
}
.calc-header p { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.calc-badge {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); background: var(--green-light);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.calc-inputs { padding: 32px; border-right: 1px solid var(--border); }
.calc-field { margin-bottom: 24px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label {
  display: block; font-size: 0.78rem;
  font-weight: 600; color: var(--mid); margin-bottom: 8px;
}
.calc-field input[type="number"],
.calc-field select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; font-family: var(--font-body);
  color: var(--dark); background: var(--white);
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none; border-color: var(--green);
}
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.range-wrap { margin: 8px 0 4px; }
.range-wrap input[type="range"] {
  width: 100%; height: 6px;
  -webkit-appearance: none; appearance: none;
  background: var(--border); border-radius: 3px;
  outline: none;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.range-labels {
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: var(--muted);
}
.calc-results { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.result-card {
  background: var(--light); border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.result-card.highlight { background: var(--green-light); }
.result-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.result-value {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800;
  color: var(--dark); letter-spacing: -0.02em;
}
.result-sub { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.result-bar { height: 6px; background: var(--border); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.result-bar-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width 0.5s ease; }
.calc-note {
  padding: 16px 32px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--muted); background: var(--white);
}
.calc-note a { color: var(--green); font-weight: 600; }

/* ─── CHALLENGES ─── */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.challenge-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 24px;
  transition: all 0.25s;
}
.challenge-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.challenge-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.challenge-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 6px;
}
.challenge-amount {
  font-size: 0.78rem; font-weight: 700;
  color: var(--green); margin-bottom: 10px;
}
.challenge-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.75; }
.challenge-card p a { color: var(--green); font-weight: 600; }

/* ─── TEMPLATES ─── */
.template-list { display: flex; flex-direction: column; gap: 12px; }
.template-item {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 20px; align-items: start;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px 28px;
  transition: border-color 0.2s;
}
.template-item:hover { border-color: var(--green); }
.t-num {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 800;
  color: var(--green);
}
.t-title {
  font-family: var(--font-heading);
  font-size: 0.92rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.t-body { font-size: 0.78rem; color: var(--muted); line-height: 1.8; }
.t-body a { color: var(--green); font-weight: 600; }
.t-pill {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); background: var(--green-light);
  padding: 4px 14px; border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ─── AI PROMPTS ─── */
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 40px;
}
.prompt-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px;
  transition: border-color 0.2s;
}
.prompt-card:hover { border-color: var(--green); }
.p-label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); margin-bottom: 8px;
}
.prompt-card p {
  font-size: 0.85rem; color: var(--mid);
  line-height: 1.7; font-style: italic;
}

/* ─── VERA TIP ─── */
.vera-tip {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 24px; align-items: start;
  background: var(--green-light); border: 1.5px solid var(--green-mid);
  border-radius: var(--radius-card); padding: 32px;
}
.tip-icon { font-size: 2rem; }
.vera-tip-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.vera-tip-content ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vera-tip-content li {
  font-size: 0.82rem; color: var(--mid); line-height: 1.7;
  display: flex; gap: 10px;
}
.vera-tip-content li a { color: var(--green); font-weight: 600; }
.arr { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ─── TRACKER ─── */
.tracker-wrap {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
}
.tracker-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tracker-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
}
.tracker-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
}
.tracker-header span { font-size: 0.75rem; color: var(--muted); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.82rem; }
th {
  text-align: left; padding: 14px 20px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); border-bottom: 1px solid var(--border);
  background: var(--light);
}
td { padding: 16px 20px; border-bottom: 1px solid var(--border); color: var(--mid); }
.bar-wrap { height: 6px; background: var(--border); border-radius: 3px; min-width: 80px; overflow: hidden; }
.bar { height: 100%; border-radius: 3px; }
.bar.green { background: var(--green); }
.bar.yellow { background: #f5c542; }
.bar.blue { background: #87dced; }
.status-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 8px;
}
.status-dot.on { background: var(--green); }
.status-dot.close { background: #f5c542; }
.status-dot.start { background: #87dced; }
.pct-label { font-size: 0.78rem; font-weight: 600; }
.tracker-note {
  padding: 16px 28px; font-size: 0.78rem;
  color: var(--muted); border-top: 1px solid var(--border);
}
.tracker-note a { color: var(--green); font-weight: 600; }

/* ─── MILESTONES ─── */
.milestone-wrap {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
}
.milestone-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
}
.milestone-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
}
.milestone-header span { font-size: 0.78rem; color: var(--muted); }
.milestone-track { padding: 40px 28px; position: relative; }
.milestone-line {
  position: absolute; top: 62px; left: 28px; right: 28px;
  height: 2px; background: var(--border);
}
.milestone-steps {
  display: flex; justify-content: space-between;
  position: relative; gap: 12px;
}
.m-step { text-align: center; flex: 1; }
.m-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; font-size: 0.8rem; font-weight: 700;
  background: var(--light); border: 2px solid var(--border);
  color: var(--muted);
}
.m-circle.done { background: var(--green); border-color: var(--green); color: var(--black); }
.m-circle.active { background: var(--green-light); border-color: var(--green); color: var(--green); }
.m-label { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.m-amount {
  display: block; font-weight: 700;
  color: var(--dark); font-size: 0.82rem;
}
.milestone-progress {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px; border-top: 1px solid var(--border);
}
.mp-bar-wrap {
  height: 8px; background: var(--border);
  border-radius: 4px; overflow: hidden;
}
.mp-bar {
  height: 100%; width: 30%;
  background: linear-gradient(90deg, var(--green), var(--green-hover));
  border-radius: 4px;
}
.mp-labels { text-align: right; }
.mp-saved {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 800;
  color: var(--green);
}
.mp-total { font-size: 0.72rem; color: var(--muted); }

/* ─── COMMUNITY WINS ─── */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.win-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 32px;
  transition: border-color 0.2s;
}
.win-card:hover { border-color: var(--green); }
.stars { color: #f5c542; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.win-quote {
  font-size: 0.88rem; color: var(--mid);
  line-height: 1.8; font-style: italic; margin-bottom: 20px;
}
.win-meta {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted);
}
.win-author { font-weight: 600; }
.win-amount { font-weight: 700; color: var(--green); }

/* ─── BLOG CARDS ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.blog-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px;
  transition: all 0.25s; display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--green); transform: translateY(-2px);
  box-shadow: var(--shadow-sm); text-decoration: none;
}
.b-tag {
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px; line-height: 1.4;
}
.blog-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.7; flex: 1; }
.b-arrow {
  margin-top: 16px; font-size: 0.78rem;
  font-weight: 700; color: var(--green);
}
.b-arrow span { transition: transform 0.2s; display: inline-block; }
.blog-card:hover .b-arrow span { transform: translateX(4px); }

/* ─── FAQ ─── */
.faq-section { }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-size: 0.92rem;
  font-weight: 600; color: var(--dark); transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  font-size: 1.2rem; color: var(--muted);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p {
  font-size: 0.875rem; color: var(--muted);
  line-height: 1.8; padding-bottom: 22px;
}
.faq-a a { color: var(--green); font-weight: 600; }

/* ─── BIG CTA ─── */
.cta-block {
  background: var(--black); border-radius: var(--radius-card);
  padding: 80px 60px; text-align: center;
  margin: 80px 0; position: relative; overflow: hidden;
}
.cta-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.035em; margin-bottom: 20px;
  position: relative;
}
.cta-block h2 em { color: var(--green); font-style: normal; }
.cta-block p {
  font-size: 1rem; color: rgba(255,255,255,0.45);
  max-width: 420px; margin: 0 auto 44px;
  line-height: 1.8; position: relative;
}
.cta-buttons {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; position: relative;
}
.btn-cta-primary {
  background: var(--green); color: var(--black);
  font-weight: 700; font-size: 0.9rem;
  padding: 15px 32px; border-radius: var(--radius-pill);
  transition: all 0.25s; box-shadow: none;
}
.btn-cta-primary:hover {
  background: var(--green-hover);
  text-decoration: none; color: var(--black);
  transform: translateY(-2px);
}
.btn-cta-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem; padding: 15px 32px;
  border-radius: var(--radius-pill); transition: all 0.25s;
}
.btn-cta-ghost:hover {
  border-color: var(--green); color: var(--green);
  text-decoration: none;
}
.cta-disclaimer {
  margin-top: 24px; font-size: 0.72rem;
  color: rgba(255,255,255,0.2); position: relative;
}

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  padding: 40px 48px 48px;
}
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-bottom: 24px;
}
.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 500;
  color: var(--dark); transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); text-decoration: none; }
.footer-divider {
  height: 1px; background: var(--border);
  margin-bottom: 24px;
}
.footer-legal {
  display: flex; flex-direction: column; gap: 16px;
}
.footer-copy {
  font-family: var(--font-heading);
  font-size: 0.75rem; color: var(--dark);
  line-height: 1.6;
}
.footer-disclaimer {
  font-family: var(--font-heading);
  font-size: 0.72rem; color: var(--muted);
  line-height: 1.8; max-width: 900px;
}
.footer-encryption {
  font-family: var(--font-heading);
  font-size: 0.72rem; color: var(--muted);
  line-height: 1.8;
}

/* ─── DOWNLOAD MODAL ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 48px 40px;
  text-align: center;
  position: relative;
  max-width: 420px; width: 90%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.8rem; color: var(--dark);
  cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 8px;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--light); }
.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.modal-subtitle {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 32px;
}
.modal-qr {
  width: 190px; height: 190px;
  margin: 0 auto 28px; display: block;
}
.modal-disclaimer {
  font-size: 0.75rem; color: var(--muted);
  line-height: 1.6;
}

/* ─── HAMBURGER & MOBILE MENU ─── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--dark); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 80px 32px 32px; opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 600; color: var(--dark); padding: 14px 0;
  border-bottom: 1px solid var(--border); text-decoration: none;
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { text-decoration: none; color: var(--green-hover); }
.mobile-cta {
  margin-top: 16px; width: 100%; text-align: center;
  height: 52px; font-size: 1rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  header { padding: 0 24px; height: 60px; }
  .nav-center { display: none; }
  header > .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .container { padding: 0 24px; }
  .goal-grid,
  .challenge-grid,
  .prompts-grid,
  .blog-grid,
  .wins-grid { grid-template-columns: 1fr 1fr; }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--border); }
  .milestone-steps { gap: 8px; }
  .template-item { grid-template-columns: 44px 1fr; }
  .t-pill { display: none; }
  footer { padding: 32px 24px; }
  .cta-block { padding: 48px 24px; margin: 48px 0; }
}
@media (max-width: 580px) {
  .goal-grid,
  .challenge-grid,
  .prompts-grid,
  .blog-grid,
  .wins-grid { grid-template-columns: 1fr; }
  .vera-tip { grid-template-columns: 1fr; }
  .hero { padding: 60px 24px; }
  .milestone-steps { flex-direction: column; align-items: center; }
  .milestone-line { display: none; }
}
