:root {
  --pg-accent: #00f0ff;
  --pg-accent-2: #00ffaa;
  --pg-text: #dce7f2;
  --pg-muted: #93a6bb;
  --pg-card: rgba(15, 30, 50, 0.82);
  --pg-border: rgba(0, 240, 255, 0.16);
  --pg-radius: 16px;
}

/* ── page hero  */
.page-hero {
  position: relative;
  padding: 5rem 2rem 3.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(0, 240, 255, 0.16) 0%, transparent 62%),
    linear-gradient(180deg, #0a1424 0%, #060d1c 100%);
  border-bottom: 1px solid var(--pg-border);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pg-accent), transparent);
  opacity: 0.7;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pg-accent);
  border: 1px solid var(--pg-border);
  background: rgba(0, 240, 255, 0.07);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--pg-accent);
  text-shadow: 0 0 22px rgba(0, 240, 255, 0.55);
  margin-bottom: 1rem;
}

.page-hero .page-lede {
  max-width: 760px;
  margin: 0 auto;
  color: var(--pg-muted);
  font-size: 1.08rem;
}

/* ── generic content shell (overrides index.css's centred sections) ─ */
.page-section {
  padding: 4rem 2rem;
  text-align: left;
}

.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.page-wrap--narrow {
  max-width: 820px;
}

.page-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--pg-accent);
  text-shadow: 0 0 12px rgba(0, 234, 255, 0.45);
  margin-bottom: 1.2rem;
  text-align: left;
}

.page-section p {
  color: var(--pg-text);
  margin-bottom: 1.1rem;
  font-size: 1.03rem;
}

.page-section p:last-child {
  margin-bottom: 0;
}

/* ── glass panel  */
.panel {
  background: var(--pg-card);
  backdrop-filter: blur(9px);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 2rem 2.2rem;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.09);
}

.panel + .panel {
  margin-top: 1.6rem;
}

/* ── feature / commitment cards  */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 1.8rem;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 34px rgba(0, 240, 255, 0.18);
}

.info-card .card-icon {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.9rem;
  display: block;
}

.info-card h3 {
  color: var(--pg-accent);
  font-size: 1.14rem;
  margin-bottom: 0.6rem;
}

.info-card p {
  color: var(--pg-muted);
  font-size: 0.97rem;
  margin: 0;
}

/* ── pull quote  */
.pull-quote {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 2.6rem 2rem;
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(0, 255, 170, 0.04));
}

.pull-quote blockquote {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-style: italic;
  color: #eaf7ff;
  margin: 0;
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.28);
}

/* ── styled lists */
.tick-list,
.step-list {
  margin: 0.4rem 0 1.1rem;
  padding: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--pg-text);
}

.tick-list li::before {
  content: "▹";
  position: absolute;
  left: 0.2rem;
  top: 0;
  color: var(--pg-accent);
  font-weight: 700;
}

.step-list {
  counter-reset: step;
  list-style: none;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.85rem;
  color: var(--pg-text);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.13);
  border: 1px solid var(--pg-border);
  color: var(--pg-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── FAQ accordion (native <details>, no JS) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.14);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.03rem;
  color: #eaf7ff;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  color: var(--pg-accent);
  background: rgba(0, 240, 255, 0.05);
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--pg-accent);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-num {
  flex: 0 0 auto;
  min-width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.12);
  color: var(--pg-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-answer {
  padding: 0 1.4rem 1.35rem 4rem;
  color: var(--pg-text);
  animation: faqIn 0.28s ease;
}

.faq-answer p { margin-bottom: 0.8rem; }
.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child { margin-bottom: 0; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── legal / terms layout  */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.5rem;
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
}

.legal-toc h2 {
  font-size: 0.78rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pg-muted);
  text-shadow: none;
  margin-bottom: 0.9rem;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
}

.legal-toc li { counter-increment: toc; }

.legal-toc a {
  display: block;
  padding: 0.34rem 0;
  font-size: 0.92rem;
  color: var(--pg-muted);
  border-left: 2px solid transparent;
  padding-left: 0.7rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a::before {
  content: counter(toc) ". ";
  color: rgba(0, 240, 255, 0.55);
}

.legal-toc a:hover {
  color: var(--pg-accent);
  border-left-color: var(--pg-accent);
}

.legal-article { min-width: 0; }

.legal-article section {
  padding: 0;
  text-align: left;
  scroll-margin-top: 6.5rem;
  margin-bottom: 2.4rem;
}

.legal-article section:last-child { margin-bottom: 0; }

.legal-article h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.legal-article h2 .sec-num {
  font-size: 0.9rem;
  color: rgba(0, 240, 255, 0.6);
  font-weight: 700;
}

.legal-article h3 {
  color: #cfe9f5;
  font-size: 1.03rem;
  margin: 1.2rem 0 0.5rem;
}

.legal-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid rgba(255, 193, 7, 0.75);
  background: rgba(255, 193, 7, 0.07);
  border-radius: 0 10px 10px 0;
  color: #e9dcb5;
  font-size: 0.93rem;
}

/* ── testimonials grid  */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.6rem;
}

.testi-card {
  display: flex;
  flex-direction: column;
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  padding: 1.7rem;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.38);
  box-shadow: 0 12px 36px rgba(0, 240, 255, 0.17);
}

.testi-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.t-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.28), rgba(0, 255, 170, 0.16));
  border: 2px solid rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.28);
  display: grid;
  place-items: center;
}

/* Shown when no photo file is present (see js/testimonials.js) */
.t-initials {
  font-weight: 700;
  font-size: 1.15rem;
  color: #04121a;
  letter-spacing: 0.02em;
}

.t-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t-meta { min-width: 0; }

.t-name {
  color: #eaf7ff;
  font-weight: 700;
  font-size: 1.04rem;
}

.t-role {
  color: var(--pg-muted);
  font-size: 0.87rem;
}

.t-stars {
  color: #ffc107;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
}

.testi-card blockquote {
  color: #cfdded;
  font-style: italic;
  font-size: 0.99rem;
  margin: 0 0 1.2rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(0, 240, 255, 0.3);
  flex: 1 1 auto;
}

/* Stacked so every badge is the same shape whatever the gain text length —
   "+15% over 1 year" and "+8% over 1 year (conservative profile)" both sit
   on their own line instead of wrapping mid-pill. */
.t-gain {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-self: stretch;
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.38);
}

.t-gain-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86e8b4;
}

.t-gain-value {
  font-weight: 700;
  color: #00e676;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

/* ── stat strip  */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 1.4rem 1rem;
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  background: var(--pg-card);
}

.stat-value {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--pg-accent);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

.stat-label {
  color: var(--pg-muted);
  font-size: 0.88rem;
}

/* ── risk disclaimer  */
.disclaimer {
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding: 1.15rem 1.4rem;
  border: 1px dashed rgba(255, 193, 7, 0.5);
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.06);
  color: #e6d9b2;
  font-size: 0.9rem;
  text-align: left;
}

/* ── CTA band  */
.cta-band {
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 240, 255, 0.18) 0%, transparent 60%),
    #08111f;
  border-top: 1px solid var(--pg-border);
}

.cta-band h2 {
  text-align: center;
  color: var(--pg-accent);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--pg-muted);
  max-width: 620px;
  margin: 0 auto 1.8rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── navbar tweaks for the static pages */
.nav-links a.is-active {
  color: var(--pg-accent);
  text-shadow: 0 0 8px var(--pg-accent);
}

.nav-lang { display: flex; align-items: center; }

/* ── responsive */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .legal-toc { position: static; }
}

@media (max-width: 640px) {
  .page-section { padding: 3rem 1.2rem; }
  .panel { padding: 1.5rem 1.3rem; }
  .faq-answer { padding-left: 1.4rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3.5rem 1.2rem 2.5rem; }
}
