/* ═══════════════════════════════════════════════════════════════
   Investorhood — Black Friday LP (The Foundation, -50%)
   Tokens vizuale preluate din landing page-ul program.investorhood.ro
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #FAFAF8;
  --bg-2: #EEF1EC;
  --white: #FFFFFF;
  --black: #090A09;
  --text: #0B0C0B;
  --text-2: #5F625F;
  --text-3: #9AA09A;
  --line: #DDE1DB;
  --line-soft: #E9ECE6;

  --green: #20C058;
  --green-deep: #1F7B21;
  --green-ink: #06130A;
  --green-soft: #E4F6EA;
  --danger: #E84040;

  --font: "Space Grotesk", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --container: 1180px;
  --header-height: 76px;
  --ease: cubic-bezier(.22, .72, .24, 1);
  --shadow-soft: 0 14px 40px rgba(9, 10, 9, .06);
  --shadow-lift: 0 26px 64px rgba(9, 10, 9, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 14px; }
a { color: inherit; }
.accent { color: var(--green); }

.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }

.underlined { position: relative; display: inline-block; margin-bottom: 34px; }
.underlined::after {
  content: ""; position: absolute; left: 2px; bottom: -10px;
  width: 64px; height: 5px; border-radius: 3px; background: var(--green);
}

/* ───────── Butoane ───────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-mono); font-size: 13px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative; overflow: hidden;
}
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.button--primary {
  background: var(--green); color: var(--green-ink);
  box-shadow: 0 12px 30px rgba(32, 192, 88, .3);
}
.button--primary:hover { background: #1CB250; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(32, 192, 88, .34); }
.button--primary::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%;
  width: 46%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.44), transparent);
  transform: skewX(-18deg); transition: transform .6s var(--ease);
}
.button--primary:hover::after { transform: skewX(-18deg) translateX(320%); }
.button--small { padding: 11px 20px; font-size: 11.5px; }
.button--large { padding: 18px 34px; font-size: 14px; }

/* ───────── Header ───────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height);
  background: rgba(250, 250, 248, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line-soft); box-shadow: 0 8px 28px rgba(9,10,9,.05); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 100%; }
.logo img { width: 164px; height: auto; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--text-2); text-decoration: none;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--text); }

/* ───────── Hero ───────── */
.hero { padding: calc(var(--header-height) + 56px) 0 70px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy visual" "buy visual";
  column-gap: 46px; align-items: center;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-buy { grid-area: buy; align-self: start; }
.hero-visual { grid-area: visual; }
.bf-badge {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-soft);
  border: 1px solid rgba(32,192,88,.35); border-radius: 999px;
}
.hero-lead { font-size: 20px; font-weight: 600; margin: 4px 0 10px; }
.hero-sub { max-width: 46ch; color: var(--text-2); margin-bottom: 24px; }

.price-row { display: flex; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.price-old {
  font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--text-3);
  text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(154,160,154,.8);
}
.price-new { font-size: clamp(44px, 6vw, 64px); font-weight: 700; color: var(--green); letter-spacing: -.03em; }

.hero-cta { margin-bottom: 22px; }
.guarantee-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 6px; }
.guarantee-line svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--green-deep); stroke-width: 2; }
.hero-note { font-size: 12.5px; color: var(--text-3); }

/* vizualul hero: laptop + chips + săgeată */
.hero-visual { position: relative; min-height: 360px; }
.hero-blob {
  position: absolute; inset: 6% -4% 10% 8%;
  background: radial-gradient(closest-side, rgba(32,192,88,.18), rgba(32,192,88,.05) 68%, transparent);
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
}
.laptop { position: relative; z-index: 2; width: min(520px, 100%); margin-inline: auto; }
.laptop-screen {
  position: relative; background: var(--white);
  border: 10px solid #151815; border-bottom-width: 14px; border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.laptop-screen .chart { display: block; width: 100%; height: auto; border-radius: 6px; background: #FDFDFC; }
.laptop-base {
  width: 118%; margin-left: -9%; height: 15px;
  background: linear-gradient(#20231F, #101210);
  border-radius: 3px 3px 14px 14px; box-shadow: 0 18px 34px rgba(9,10,9,.22);
}
.laptop-base::after {
  content: ""; display: block; width: 14%; height: 5px; margin: 0 auto;
  background: #2C302B; border-radius: 0 0 8px 8px;
}
.chips { position: absolute; top: 28%; right: 4%; display: grid; gap: 8px; }
.chips span {
  padding: 8px 14px; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: 9px;
  box-shadow: 0 8px 20px rgba(9,10,9,.08);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
}



/* ───────── Badge Trustpilot (stilul oficial: Excellent + pătrate + text) ───────── */
.proof-badges {
  position: relative; z-index: 2;
  display: flex; justify-content: center;
  margin-top: 30px;
}
.tp-strip {
  display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap;
  padding: 16px 28px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tp-strip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tp-word { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.tp-squares { display: inline-flex; gap: 4px; }
.tp-squares i {
  display: grid; place-items: center; width: 27px; height: 27px;
  background: #00B67A; color: #fff; font-style: normal; font-size: 17px; line-height: 1;
}
.tp-squares .tp-part { background: linear-gradient(90deg, #00B67A 70%, #DCDCE6 70%); }
.tp-text { font-size: 15.5px; }
.tp-text u { font-weight: 600; text-underline-offset: 3px; }
.tp-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 700; }
.tp-brand svg { width: 19px; height: 19px; }

/* ───────── 4 beneficii ───────── */
.features { background: var(--bg-2); padding: 54px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center;
}
.feature svg {
  width: 36px; height: 36px; margin: 0 auto 14px; display: block;
  fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-2); max-width: 30ch; margin-inline: auto; }

/* ───────── Ce vei învăța ───────── */
.learn { padding: 84px 0; }
.learn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.learn h2 { position: relative; display: inline-block; margin-bottom: 30px; }
.learn h2::after {
  content: ""; position: absolute; left: 2px; bottom: -10px;
  width: 64px; height: 5px; border-radius: 3px; background: var(--green);
}
.learn-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 15px; }
.learn-list li { display: flex; align-items: center; gap: 15px; font-size: 16.5px; font-weight: 500; }
.learn-list .num {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep);
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 800; border-radius: 50%;
}
.learn-visual { position: relative; padding: 36px 20px; }
.learn-blob {
  position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(32,192,88,.16), rgba(32,192,88,.04) 70%, transparent);
  border-radius: 54% 46% 48% 52% / 48% 54% 46% 52%;
}
.learn-chart { position: relative; display: block; width: min(420px, 100%); margin-inline: auto; }
.learn-chip {
  position: absolute; z-index: 2; padding: 9px 16px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 999px;
  box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 600; white-space: nowrap;
}

/* ───────── Pentru cine ───────── */
.audience { padding: 10px 0 84px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 26px 22px; box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.aud-card svg {
  width: 32px; height: 32px; margin-bottom: 14px;
  fill: none; stroke: var(--green-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.aud-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.aud-card p { font-size: 14px; color: var(--text-2); margin: 0; }

/* ───────── Garanție ───────── */
.guarantee { background: var(--bg-2); padding: 64px 0; overflow: hidden; }
.guarantee-inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 36px; align-items: center;
}
.guarantee-icon {
  width: 96px; height: 96px; display: grid; place-items: center;
  background: var(--green-soft); border-radius: 50%;
}
.guarantee-icon svg { width: 44px; height: 44px; fill: none; stroke: var(--green-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-copy h2 { margin-bottom: 10px; }
.guarantee-copy p { max-width: 54ch; color: var(--text-2); margin: 0; }

.bf-splash {
  position: relative; display: grid; place-items: center; gap: 2px;
  min-width: 250px; padding: 38px 30px;
  background: var(--black); color: var(--white);
  border-radius: 58% 42% 50% 50% / 46% 56% 44% 54%;
  box-shadow: 0 24px 54px rgba(9,10,9,.3);
}
.bf-splash .l1 {
  font-family: var(--font-mono); font-size: 15px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.bf-splash .l1 em { font-style: normal; color: var(--green); }
.bf-splash .l2 { font-size: 58px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.bf-splash .l3 {
  font-family: var(--font-mono); font-size: 13px; font-weight: 800;
  letter-spacing: .3em; text-transform: uppercase;
}

/* ───────── Testimoniale ───────── */
.testimonials { padding: 84px 0; }
.testimonials-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.t-nav { display: flex; gap: 10px; }
.t-nav button {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  transition: background .2s ease, border-color .2s ease;
}
.t-nav button:hover { background: var(--green-soft); border-color: rgba(32,192,88,.4); }
.t-nav svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.t-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3); /* 3 carduri vizibile pe desktop */
  gap: 20px; overflow-x: auto; overflow-y: hidden; /* doar stânga-dreapta, fără tras pe verticală */
  scroll-snap-type: x mandatory; padding: 6px 2px 14px;
  scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  position: relative; scroll-snap-align: start; margin: 0;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 24px; box-shadow: var(--shadow-soft);
}
.t-card figcaption { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
/* Poza (thumbnail) stă în colțul din dreapta-sus al recenziei.
   Dacă fișierul lipsește, <img> se elimină singur (onerror) și rămâne inițiala. */
.t-avatar {
  position: absolute; top: 18px; right: 18px; overflow: hidden;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-deep);
  border: 1px solid rgba(32,192,88,.3); border-radius: 50%;
  font-weight: 700; font-size: 17px;
}
.t-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
}
/* carduri video (Vimeo) */
.t-card--video { padding: 0; overflow: hidden; display: grid; align-content: start; }
.t-video { aspect-ratio: 16 / 9; background: #0D0F0D; }
.t-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.t-video-cap {
  padding: 13px 16px; margin: 0;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
}
.t-card strong { display: block; font-size: 15px; }
.stars { color: var(--green); font-size: 13px; letter-spacing: 2px; }
.t-card blockquote { margin: 0; font-size: 14.5px; color: var(--text-2); font-style: italic; }
/* banda-dovadă: partea de sus a e-mailului original, uniformizată; click = imaginea completă */
.t-proof {
  position: relative; display: block; margin-top: 14px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-soft); background: #0E0F0E;
}
.t-proof img {
  display: block; width: 100%; height: 92px;
  object-fit: cover; object-position: top;
  opacity: .92; transition: opacity .25s ease;
}
.t-proof:hover img { opacity: 1; }
.t-proof span {
  position: absolute; right: 8px; bottom: 8px; padding: 4px 10px;
  background: rgba(9,10,9,.74); color: #fff; border-radius: 999px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}

/* ───────── CTA final ───────── */
.final-cta { background: var(--bg-2); padding: 64px 0; }
.final-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 44px; align-items: center;
}
.final-brand { display: grid; gap: 10px; justify-items: start; }
.final-brand .tagline {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-deep);
}
.final-copy h2 { margin-bottom: 6px; }
.final-copy > p { font-size: 18px; margin-bottom: 20px; }
.final-copy .button { margin-bottom: 14px; }

/* ───────── Footer ───────── */
.site-footer { border-top: 1px solid var(--line-soft); padding: 26px 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; font-size: 13px; color: var(--text-3);
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-inner a { color: var(--text-2); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .features-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-inner { grid-template-columns: auto 1fr; }
  .bf-splash { grid-column: 1 / -1; justify-self: center; margin-top: 10px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  /* fără meniu, butonul se duce la marginea dreaptă (simetric cu logo-ul) */
  .header-inner .button { margin-left: auto; }
  .hero { padding-top: calc(var(--header-height) + 34px); }
  .learn-grid, .final-inner { grid-template-columns: 1fr; }
  /* Ordinea din layoutul de referință: text → laptop → preț/CTA */
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "buy"; }
  .hero-visual { margin-top: 12px; min-height: 0; }
  /* laptopul nu domină ecranul pe mobil */
  .laptop { width: min(420px, 82%); }
  .hero-buy { margin-top: 26px; }
  /* prețul centrat sub laptop */
  .price-row { justify-content: center; }
  .guarantee-line { justify-content: center; }
  .hero-note { text-align: center; }
  .chips { right: 0; }
  .learn-visual { order: 2; }
  .final-brand { justify-items: center; text-align: center; margin-inline: auto; }
  .final-copy { text-align: center; }
}
@media (max-width: 900px) {
  /* ~1,8 carduri vizibile → al doilea se vede tăiat, invită la swipe */
  .t-track { grid-auto-columns: calc((100% - 20px) / 1.8); }
}
@media (max-width: 560px) {
  /* 2×2, ca în layoutul de referință (nu o coloană lungă) */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .feature svg { width: 30px; height: 30px; margin-bottom: 10px; }
  .feature h3 { font-size: 15px; }
  .feature p { font-size: 12.5px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aud-card { padding: 18px 14px; }
  .aud-card h3 { font-size: 14.5px; }
  .aud-card p { font-size: 12.5px; }
  .guarantee-inner { grid-template-columns: 1fr; text-align: center; }
  .guarantee-icon { margin-inline: auto; }
  .guarantee-copy p { margin-inline: auto; }
  .price-row { gap: 14px; }
  /* cardul următor rămâne vizibil ~20% → e evident că se poate da swipe */
  .t-track { grid-auto-columns: 78%; gap: 12px; }
  .chips { top: 24%; gap: 6px; }
  .chips span { padding: 5px 9px; font-size: 9px; }
  /* Titlul pe 3 rânduri trebuie să încapă și pe 360px */
  h1 { font-size: clamp(23px, 7vw, 30px); }
  /* CTA-urile lungi nu trebuie să dea pe-afară pe 360px */
  .button { white-space: normal; text-align: center; }
  .button--large { width: 100%; padding: 16px 18px; font-size: 12.5px; }
  .hero-cta svg { display: none; }
  .hero-lead { font-size: 18px; }
  .guarantee-line { font-size: 13.5px; }
  .proof-badges { margin-top: 24px; }
  .tp-strip { width: 100%; padding: 14px 16px; gap: 10px; }
  .tp-word { font-size: 16px; }
  .tp-squares i { width: 22px; height: 22px; font-size: 14px; }
  .tp-text, .tp-brand { font-size: 13.5px; }
  .bf-splash { min-width: 0; width: min(250px, 100%); margin-inline: auto; }
  .bf-splash .l2 { font-size: 46px; }
  .final-copy .button { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}

[hidden] { display: none !important; }

/* ═══ Varianta bf2 — vizualuri ilustrate (stil flat) ═══ */
.hero-illu { display: block; width: min(560px, 100%); margin-inline: auto; }
.learn-books { position: relative; display: block; width: min(420px, 100%); margin-inline: auto; }

/* iconițele beneficiilor în cercuri verzi pale, ca în machetă */
.feature svg {
  width: 72px; height: 72px; padding: 19px; box-sizing: border-box;
  background: var(--green-soft); border-radius: 50%;
}

@media (max-width: 560px) {
  .feature svg { width: 58px; height: 58px; padding: 15px; }
  .hero-illu { width: min(440px, 96%); }
}
