/* ═══════════════════════════════════════════════
   Budgetly Landing — Editorial Redesign
   Colors: brandbook tokens
   Typography: Neue Haas Grotesk Display Pro (local)
   ═══════════════════════════════════════════════ */

/* ── Variables ── */

:root {
  --shell: #0d1628;
  --shell-mid: #1a2740;
  --shell-soft: #1e2d45;

  --mint: #1dcf98;
  --mint-strong: #18c58f;
  --mint-deep: #12a678;
  --mint-soft: rgba(29, 207, 152, 0.12);
  --mint-glow: rgba(29, 207, 152, 0.32);
  --gold: #f6b434;

  --canvas: #f7f9fb;
  --surface: #ffffff;
  --surface-dim: #f1f5f9;

  --ink: #18242d;
  --ink-soft: #61727e;
  --ink-muted: #94a3b8;
  --ink-on-dark: #eaf5ef;
  --ink-on-dark-muted: rgba(225, 241, 235, 0.68);

  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-on-dark: rgba(255, 255, 255, 0.08);
  --border-on-dark-strong: rgba(255, 255, 255, 0.14);

  --error: #f26863;
  --success: #24b47e;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.14);

  --max-w: 1320px;
  --header-h: 80px;
}

/* ── Font Faces ── */

@font-face {
  font-family: "NH Grotesk";
  src: url("./assets/fonts/Neue Haas Grotesk Display Pro 35 Extra Light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NH Grotesk";
  src: url("./assets/fonts/Neue Haas Grotesk Display Pro 55 Roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NH Grotesk";
  src: url("./assets/fonts/Neue Haas Grotesk Display Pro 65 Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NH Grotesk";
  src: url("./assets/fonts/Neue Haas Grotesk Display Pro 75 Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset / Base ── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  color: var(--ink);
  font-family: "NH Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

/* ══════════════════════════════════════════════
   BACKGROUND DEPTH EFFECTS
   ══════════════════════════════════════════════ */

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-mesh {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(14, 23, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 23, 38, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

.bg-vignette {
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 40%, rgba(14, 23, 38, 0.08) 100%);
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: orbFadeIn 1.6s ease forwards;
}

.bg-orb--mint {
  width: 600px;
  height: 600px;
  top: -8%;
  left: -4%;
  background: radial-gradient(circle, rgba(29, 207, 152, 0.18), transparent 70%);
  animation-delay: 0.2s;
}

.bg-orb--indigo {
  width: 700px;
  height: 700px;
  top: -5%;
  right: -8%;
  background: radial-gradient(circle, rgba(23, 96, 173, 0.14), transparent 70%);
  animation-delay: 0.5s;
}

.bg-orb--gold {
  width: 400px;
  height: 400px;
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(246, 180, 52, 0.08), transparent 70%);
  animation-delay: 0.8s;
}

@keyframes orbFadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 207, 152, 0.14), transparent 70%);
  transform: translate3d(-9999px, -9999px, 0);
  z-index: -1;
  transition: opacity 300ms;
}

/* Hero mockup local glow effects */
.hero__mockup {
  position: relative;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(60px);
}

.hero__glow--top {
  width: 260px;
  height: 260px;
  top: -60px;
  left: -50px;
  background: rgba(29, 207, 152, 0.16);
}

.hero__glow--bottom {
  width: 200px;
  height: 200px;
  bottom: -40px;
  right: -40px;
  background: rgba(23, 96, 173, 0.12);
}

/* ── Layout ── */

.container {
  width: min(var(--max-w), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 22, 40, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-on-dark);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px var(--mint-glow));
}

.brand__name {
  color: #f0f6ff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  color: rgba(200, 215, 230, 0.8);
  font-size: 15px;
  font-weight: 500;
  transition: color 200ms;
}

.header__nav a:hover {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Language Switch ── */

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-on-dark-strong);
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch__btn {
  min-width: 40px;
  height: 30px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(200, 215, 230, 0.7);
  transition: all 200ms;
}

.lang-switch__btn.is-active {
  color: #0e2820;
  background: linear-gradient(145deg, #2de7ac, #17b485);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--accent {
  color: #0e2820;
  background: linear-gradient(145deg, var(--mint), var(--mint-deep));
  box-shadow: 0 8px 24px var(--mint-glow);
}

.btn--accent:hover {
  box-shadow: 0 12px 32px rgba(29, 207, 152, 0.4);
}

.btn--ghost {
  color: rgba(230, 240, 250, 0.9);
  border-color: var(--border-on-dark-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--soft {
  color: var(--ink);
  border-color: var(--border);
  background: var(--surface);
}

.btn--soft:hover {
  background: var(--surface-dim);
}

.btn--lg {
  height: 52px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn--xl {
  height: 60px;
  padding: 0 48px;
  font-size: 18px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px var(--mint-glow);
}

/* ── Badge ── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  border: 1px solid rgba(29, 207, 152, 0.2);
  color: var(--mint-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.hero {
  padding: calc(var(--header-h) + 64px) 0 120px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  margin-top: 20px;
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero__copy > p {
  margin-top: 20px;
  max-width: 540px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Mockup Panel ── */

.mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 32px 28px;
  background: var(--shell);
  color: #f0f6ff;
}

.mockup__kpi--right {
  text-align: right;
}

.mockup__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}

.mockup__value {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mockup__value--mint {
  color: var(--mint);
}

.mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 32px 32px;
  background: var(--shell);
}

.mockup__stat {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f6ff;
}

.mockup__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-muted);
  margin-bottom: 8px;
}

.mockup__dot--mint {
  background: var(--mint);
}

.mockup__stat-label {
  display: block;
  font-size: 10px;
  color: var(--ink-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mockup__stat strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.mockup__transactions {
  padding: 24px 32px 32px;
}

.mockup__tx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup__tx-head span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.mockup__tx {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.mockup__tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dim);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.mockup__tx-icon--income {
  background: var(--mint-soft);
  border-color: rgba(29, 207, 152, 0.2);
  color: var(--mint-deep);
}

.mockup__tx-info {
  flex: 1;
  min-width: 0;
}

.mockup__tx-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.mockup__tx-info span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

.mockup__tx-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.mockup__tx-amount--mint {
  color: var(--mint-strong);
}

/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */

.features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 207, 152, 0.06), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.features::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 96, 173, 0.05), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section__head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-soft);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Feature Cards ── */

.card {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 300ms, box-shadow 300ms, border-color 300ms;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(29, 207, 152, 0.15), transparent 50%, rgba(23, 96, 173, 0.08));
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 207, 152, 0.2);
}

.card:hover::after {
  opacity: 1;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-soft);
  color: var(--mint-strong);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__icon--dark {
  background: var(--shell);
  color: #fff;
}

.card__icon--mint {
  background: var(--mint-strong);
  color: #fff;
}

.card h3 {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card > p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.card__visual {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Net Flow bar */
.card__bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.card__bar {
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-dim);
  display: flex;
  overflow: hidden;
}

.card__bar-fill--mint {
  background: var(--mint-strong);
}

.card__bar-fill--muted {
  background: var(--border-strong);
}

/* Budget rows */
.card__budget-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface-dim);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.card__budget-row + .card__budget-row {
  margin-top: 8px;
}

.card__budget-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card__budget-dot--ok {
  background: var(--mint-strong);
}

.card__budget-dot--over {
  background: var(--error);
}

/* Bank labels */
.card__banks {
  display: flex;
  align-items: center;
  gap: 20px;
}

.card__bank-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 200ms;
}

.card:hover .card__bank-label {
  opacity: 1;
}

.card__bank-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ══════════════════════════════════════════════
   PENSION
   ══════════════════════════════════════════════ */

.pension__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pension__panel {
  position: relative;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--shell);
  color: #f0f6ff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pension__panel::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 207, 152, 0.12), transparent 70%);
  pointer-events: none;
}

.pension__panel h4 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.pension__bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  margin-bottom: 32px;
}

.pension__bar {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  min-height: 8px;
}

.pension__bar--mid {
  background: rgba(255, 255, 255, 0.16);
}

.pension__bar--mint {
  background: var(--mint-strong);
}

.pension__bar--glow {
  box-shadow: 0 0 24px rgba(29, 207, 152, 0.3);
}

.pension__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.pension__kpis span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  margin-bottom: 6px;
}

.pension__kpis strong {
  font-size: 28px;
  font-weight: 700;
}

.pension__mint {
  color: var(--mint);
}

.pension__quote {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-on-dark);
  background: rgba(255, 255, 255, 0.03);
}

.pension__quote p {
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(200, 215, 230, 0.7);
}

.pension__copy h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pension__copy > p {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pension__features {
  margin-top: 32px;
}

.pension__features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pension__features li + li {
  margin-top: 24px;
}

.check-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--mint-strong);
  margin-top: 2px;
}

.pension__features strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pension__features p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════
   TRUST
   ══════════════════════════════════════════════ */

.trust__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.trust__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
}

.trust__badge svg {
  width: 20px;
  height: 20px;
}

.trust__badge span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust__card {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trust__card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(29, 207, 152, 0.06), transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

.trust__card h3 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.trust__card > p {
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.trust__exports {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.trust__export-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all 200ms;
  box-shadow: var(--shadow-sm);
}

.trust__export-btn:hover {
  background: var(--surface-dim);
  transform: translateY(-1px);
}

.trust__export-btn svg {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════ */

.cta {
  background: var(--shell);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(29, 207, 152, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(26, 39, 64, 0.8), transparent 70%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 207, 152, 0.15), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.cta__inner h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f0f6ff;
}

.cta__inner p {
  margin-top: 20px;
  font-size: 20px;
  color: rgba(200, 215, 230, 0.7);
  font-weight: 500;
}

.cta__inner .btn {
  margin-top: 40px;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 48px;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.footer__brand strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer__brand p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 280px;
}

.footer__col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 200ms;
}

.footer__col a:hover {
  color: var(--mint-strong);
}

.footer__lang-switch {
  display: flex;
  gap: 16px;
}

.footer-lang-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding-bottom: 4px;
  transition: color 200ms;
}

.footer-lang-btn.is-active {
  color: var(--mint-strong);
  border-bottom: 2px solid var(--mint-strong);
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════════════════════ */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .header__nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pension__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  /* ── Header mobile ── */
  .brand__name {
    font-size: 18px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 10px;
  }

  .lang-switch__btn {
    min-width: 34px;
    height: 26px;
    font-size: 10px;
  }

  /* ── Hero mobile ── */
  .hero {
    padding: calc(var(--header-h) + 32px) 0 64px;
  }

  .hero__copy h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero__copy > p {
    font-size: 16px;
  }

  /* ── Cards mobile ── */
  .features__grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 28px;
  }

  /* ── Mockup mobile ── */
  .mockup__header {
    padding: 24px 20px;
    flex-direction: column;
    gap: 14px;
  }

  .mockup__kpi--right {
    text-align: left;
  }

  .mockup__value {
    font-size: 24px;
  }

  .mockup__stats {
    padding: 0 20px 20px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mockup__stat {
    padding: 12px 10px;
  }

  .mockup__stat strong {
    font-size: 13px;
  }

  .mockup__transactions {
    padding: 18px 20px 20px;
  }

  .mockup__tx-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .mockup__tx {
    gap: 10px;
  }

  /* ── Pension mobile ── */
  .pension__panel {
    padding: 28px;
  }

  .pension__panel h4 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .pension__bars {
    height: 110px;
    margin-bottom: 24px;
  }

  .pension__kpis strong {
    font-size: 22px;
  }

  /* ── Trust mobile ── */
  .trust__badges {
    gap: 20px;
  }

  .trust__card {
    padding: 28px 24px;
  }

  .trust__card > p {
    font-size: 16px;
  }

  .trust__exports {
    flex-direction: column;
    align-items: stretch;
  }

  .trust__export-btn {
    justify-content: center;
  }

  /* ── CTA mobile ── */
  .cta__inner p {
    font-size: 17px;
  }

  .btn--xl {
    height: 52px;
    padding: 0 28px;
    font-size: 16px;
    width: 100%;
  }

  /* ── Footer mobile ── */
  .footer {
    padding: 48px 0 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    margin-top: 32px;
  }

  /* ── BG effects off on mobile ── */
  .bg-orb { display: none; }
  .cursor-glow { display: none; }
  .hero__glow { display: none; }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  /* Header: hide brand text, keep logo only */
  .brand__name {
    display: none;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .header__inner {
    gap: 16px;
  }

  .header__actions .btn {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  /* Hero buttons full-width */
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__copy h1 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  /* Mockup: stack stats on very narrow */
  .mockup__stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mockup__stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .mockup__dot {
    margin-bottom: 0;
  }

  .mockup__stat-label {
    flex: 1;
  }

  .mockup__stat strong {
    margin-top: 0;
  }

  /* Pension: compact bar chart */
  .pension__bars {
    height: 90px;
    gap: 6px;
  }

  .pension__kpis {
    gap: 16px;
  }

  .pension__kpis strong {
    font-size: 20px;
  }

  .pension__quote p {
    font-size: 13px;
  }

  .pension__copy > p {
    font-size: 16px;
  }

  .pension__features strong {
    font-size: 16px;
  }

  /* Trust: stack badges vertically */
  .trust__badges {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  /* CTA */
  .cta__inner p {
    font-size: 16px;
  }

  .btn--xl {
    padding: 0 20px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .bg-orb {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
