/* SYA Ventures · stiluri. Nu trebuie editat pentru schimbări de text. */

:root {
  --ink: #08080A;
  --surface: #0F0F16;
  --surface-2: #14141D;
  --line: #22222E;
  --text: #EDEDF2;
  --muted: #9A9AAE;
  --accent: #2B52F5;
  --accent-bright: #5A7BFF;
  --accent-soft: rgba(43, 82, 245, 0.14);
  --missed: #E5484D;
  --missed-soft: rgba(229, 72, 77, 0.12);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --section: 104px;

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }

html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, iframe { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; }
.wordmark b { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: 0.01em; }
.wordmark span { font-size: 14px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a.link:hover { color: var(--text); }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.btn:hover { background: #2445D8; }
.btn.small { font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.micro { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ─── Sections ─── */
section { padding: var(--section) 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.005em; max-width: 24ch; }
.lede { color: var(--muted); font-size: 18px; max-width: 58ch; margin-top: 16px; }
.section-head { margin-bottom: 56px; }
.after { margin-top: 48px; }

/* ─── Hero ─── */
.hero { padding-top: 88px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.for-whom { color: var(--accent-bright); font-size: 15px; font-weight: 500; margin-bottom: 22px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--accent-bright); }
.hero .sub { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 26px 0 34px; }

/* The one memorable element: the reception call log */
.calllog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
}
.calllog .cap { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.call {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.call:first-of-type { border-top: 0; }
.call time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.call .status { font-size: 13px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.call .ok { background: var(--accent-soft); color: var(--accent-bright); }
.call .miss { background: var(--missed-soft); color: var(--missed); }
.call .note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.calllog .foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}

.js .call { opacity: 0; transform: translateY(4px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js .call.in { opacity: 1; transform: none; }
.js .calllog .foot { opacity: 0; transition: opacity 0.6s ease; }
.js .calllog .foot.in { opacity: 1; }

/* ─── VSL ─── */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ─── Niches ─── */
.niches { padding: 26px 0; }
.niches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }

/* ─── Diagnosis ─── */
.finding-lead {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) 1.4fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.finding-lead .stat { font-family: var(--serif); font-size: clamp(56px, 8vw, 92px); line-height: 0.95; color: var(--accent-bright); }
.finding h3 { font-family: var(--sans); font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.finding p { color: var(--muted); margin: 0; }
.finding-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.finding-pair .finding { padding-left: 20px; border-left: 2px solid var(--line); }

/* ─── System ─── */
.system-name { color: var(--accent-bright); font-size: 16px; font-weight: 500; margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 36px; position: relative; }
.steps li::before {
  content: "";
  position: absolute;
  left: 21px; top: 50px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.steps li:last-child::before { display: none; }
.steps .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent-bright); }
.steps h3 { font-size: 20px; margin: 6px 0 8px; }
.steps p { color: var(--muted); margin: 0; }

/* ─── Fit ─── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-col { padding: 32px; border-radius: 16px; border: 1px solid var(--line); }
.fit-col.yes { background: var(--surface); }
.fit-col h3 { font-size: 19px; margin-bottom: 20px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 9px 0; }
.fit-col.yes li::before { content: "✓"; color: var(--accent-bright); font-weight: 700; }
.fit-col.no li::before { content: "✕"; color: var(--missed); font-weight: 700; }
.fit-col.no li { color: var(--muted); }

/* ─── Apply ─── */
.apply-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.apply-points { list-style: none; counter-reset: p; margin: 32px 0 24px; padding: 0; }
.apply-points li { counter-increment: p; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 10px 0; }
.apply-points li::before { content: counter(p); font-family: var(--serif); font-size: 22px; color: var(--accent-bright); line-height: 1.25; }
.apply-note { color: var(--muted); font-size: 15px; }
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.booking iframe { display: block; width: 100%; height: 700px; border: 0; }
.booking .fallback { display: block; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--accent-bright); text-decoration: none; }
.booking .fallback:hover { text-decoration: underline; }

/* ─── Guarantee ─── */
.guarantee blockquote {
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  max-width: 30ch;
}
.guarantee p { color: var(--muted); max-width: 58ch; margin-top: 24px; padding-left: 31px; }

/* ─── FAQ ─── */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 19px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-bright);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 24px; max-width: 64ch; }

/* ─── Closing ─── */
.closing { text-align: left; }
.closing h2 { font-size: clamp(34px, 5vw, 58px); max-width: 16ch; }
.closing .lede { margin-bottom: 32px; }

/* ─── Footer ─── */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }

/* ─── Thank-you page ─── */
.ty { padding: 96px 0 120px; }
.ty h1 { font-family: var(--serif); font-size: clamp(38px, 5.5vw, 62px); line-height: 1.06; max-width: 16ch; }
.ty .lede { margin-bottom: 48px; }
.ty-steps { list-style: none; margin: 0 0 48px; padding: 0; counter-reset: s; max-width: 680px; }
.ty-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.ty-steps li::before { content: counter(s); font-family: var(--serif); font-size: 30px; color: var(--accent-bright); line-height: 1; }
.ty-steps h3 { font-size: 19px; margin-bottom: 6px; }
.ty-steps p { color: var(--muted); margin: 0; }
.back { color: var(--muted); font-size: 15px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  :root { --section: 72px; --gutter: 20px; }
  .hero { padding-top: 56px; padding-bottom: 72px; }
  .hero-grid, .apply-grid { grid-template-columns: 1fr; gap: 44px; }
  .finding-lead { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .finding-pair, .fit-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav a.link { display: none; }
  .booking iframe { height: 760px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero .sub { font-size: 17px; }
  .btn { display: block; text-align: center; }
  .btn.small { display: inline-block; }
  .fit-col { padding: 24px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 14px; }
  .steps li::before { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .call, .js .calllog .foot { opacity: 1; transform: none; transition: none; }
  .faq summary::after { transition: none; }
}

/* ─── Demo switch in hero ─── */
.switch { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.switch button {
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.switch button.on { background: var(--accent); color: #fff; }
.call .sys { background: var(--accent-soft); color: var(--accent-bright); }

/* ─── Stats band ─── */
.stats { padding: 44px 0; }
.stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; margin: 0; }
.stats dt { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1; color: var(--text); }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }

/* ─── Comparison ─── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .col { padding: 32px; border-radius: 16px; border: 1px solid var(--line); }
.compare .col.good { background: var(--surface); }
.compare .col h3 { font-size: 19px; margin-bottom: 18px; }
.compare .col.bad h3 { color: var(--muted); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 11px 0; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: 0; }
.compare .col.good li { padding-left: 26px; position: relative; }
.compare .col.good li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-bright); font-weight: 700; }
.compare .col.bad li { color: var(--muted); padding-left: 26px; position: relative; }
.compare .col.bad li::before { content: "–"; position: absolute; left: 4px; color: var(--missed); font-weight: 700; }

/* ─── Founder ─── */
.founder-grid { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
.founder aside img, .founder .photo-empty { width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; object-fit: cover; display: block; }
.founder .photo-empty {
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 72px;
  color: var(--line);
  display: grid;
  place-items: center;
}
.founder .who { margin-top: 16px; color: var(--muted); font-size: 15px; }
.founder .who strong { color: var(--text); }
.beliefs { margin-top: 36px; display: grid; gap: 32px; max-width: 62ch; }
.beliefs h3 { font-family: var(--serif); font-size: 23px; line-height: 1.25; margin-bottom: 10px; }
.beliefs p { color: var(--muted); margin: 0; }

/* ─── Sticky CTA on phones ─── */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    background: rgba(8, 8, 10, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta .btn { width: 100%; padding: 14px; }
  body { padding-bottom: 84px; }
  .site-header .btn.small { display: none; }
}

@media (max-width: 900px) {
  .stats dl { gap: 24px; }
  .compare-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .founder aside { max-width: 220px; }
}

/* ─── Politica de confidențialitate ─── */
.legal h1 { max-width: 20ch; }
.legal-list { max-width: 720px; }
.legal-item { padding: 22px 0; border-top: 1px solid var(--line); }
.legal-item h2 { font-size: 19px; margin-bottom: 8px; }
.legal-item p { color: var(--muted); margin: 0; }
.legal-updated { color: var(--muted); font-size: 14px; margin: 28px 0 40px; }

/* ─── Brand: vișiniul SYA și animații la scroll ─── */
:root { --wine: rgba(150, 32, 62, 0.55); --wine-mid: rgba(110, 24, 48, 0.25); --wine-line: rgba(150, 32, 62, 0.85); }

.wordmark { align-items: center; }
.wordmark .mark { width: 26px; height: auto; display: block; margin-right: 2px; }

/* Strălucirea vișinie: sus-dreapta în hero, jos-stânga în final */
.hero, .closing, #aplica { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .closing::before, #aplica::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, var(--wine), var(--wine-mid) 40%, rgba(110, 24, 48, 0) 68%);
}
.hero::before { width: 900px; height: 900px; top: -420px; right: -320px; }
.closing::before { width: 760px; height: 760px; bottom: -420px; right: -260px; opacity: 0.85; }
#aplica::before { width: 620px; height: 620px; top: -300px; left: -320px; opacity: 0.45; }

/* Linia albastru → vișiniu sub titlurile secțiunilor */
.section-head h2::after, .closing h2::after, .founder h2::after {
  content: ""; display: block; width: 96px; height: 2px; margin-top: 18px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--wine-line) 65%, rgba(150, 32, 62, 0));
}

/* Cardul principal din diagnoză: margine cu tentă vișinie */
.finding-lead { border-color: rgba(150, 32, 62, 0.35); box-shadow: 0 0 0 1px rgba(43, 82, 245, 0.08), 0 30px 80px -40px rgba(150, 32, 62, 0.45); }
.finding .stat-sm { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent-bright); margin-bottom: 12px; }

/* Butoane: hover cu tentă vișinie */
.btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(43, 82, 245, 0.7), 0 6px 24px -12px rgba(150, 32, 62, 0.8); }

/* Animații la scroll (doar cu JavaScript și fără „reduce motion”) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .section-head.reveal h2::after { width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1) .25s; }
.js .section-head.reveal.in h2::after { width: 96px; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .section-head.reveal h2::after { width: 96px; transition: none; }
  .btn:hover { transform: none; }
}

@media (max-width: 720px) {
  .hero::before { width: 560px; height: 560px; top: -260px; right: -300px; }
  .closing::before { width: 480px; height: 480px; }
  #aplica::before { display: none; }
}
