/* ============================================================
   ALEX BRATU — Antrenor Personal & Coaching Online
   Design system: dark + branding portocaliu (forge aesthetic)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Brand colors (din design system) */
  --orange:        #F16001;
  --orange-bright: #FC5014;
  --orange-deep:   #C10801;
  --orange-soft:   #D85002;
  --tan:           #D9C5AB;

  --black:      #000000;
  --surface-1:  #0a0a0a;
  --surface-2:  #121110;
  --surface-3:  #1a1817;
  --line:       #2a2724;
  --line-soft:  #1f1d1b;

  --white:      #ffffff;
  --gray:       #b9b3ac;
  --gray-mid:   #8a847d;
  --gray-dark:  #4d4843;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #FC5014 0%, #F16001 45%, #C10801 100%);
  --grad-ember: radial-gradient(120% 120% at 70% 20%, rgba(252,80,20,.55) 0%, rgba(193,8,1,.25) 35%, rgba(0,0,0,0) 70%);
  --glow-orange: 0 0 0 1px rgba(252,80,20,.4), 0 14px 50px -12px rgba(241,96,1,.55);

  /* Type */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Grotesk', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-size: clamp(3rem, 8.5vw, 6.6rem);
  line-height: 0.9;
}
h2.section-title { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--gray); text-wrap: pretty; }
strong { color: var(--white); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.text-orange { color: var(--orange); }
.muted { color: var(--gray-mid); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 10vw, 140px); position: relative; }
.section.tight { padding-block: clamp(48px, 7vw, 90px); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gray); max-width: 60ch; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.stack > * + * { margin-top: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 34px -10px rgba(241,96,1,.7), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(241,96,1,.85), inset 0 1px 0 rgba(255,255,255,.4); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-lg { padding: 19px 34px; font-size: 0.88rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  --nav-h: 84px; --nav-top: 0px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.nav.scrolled {
  --nav-h: 66px;
  background: rgba(8,7,6,.72);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  backdrop-filter: blur(30px) saturate(1.5);
  border-bottom-color: rgba(255,255,255,.07);
  box-shadow: 0 14px 44px -22px rgba(0,0,0,.85);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
  transition: height .45s cubic-bezier(.2,.8,.2,1);
}
.nav.scrolled .nav-inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 20px -6px rgba(241,96,1,.7);
}
.brand .name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.05rem; }
.brand .name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.25em; color: var(--gray-mid); text-transform: uppercase; }
.brand .name { font-size: 1.06rem; letter-spacing: 0.18em; white-space: nowrap; }
.brand .name small { letter-spacing: 0.34em; opacity: .75; }
/* logo mark removed per request */
.brand .mark { display: none; }

.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.76rem; font-weight: 400; letter-spacing: 0.1em; color: var(--gray);
  text-transform: uppercase; font-family: var(--font-mono);
  transition: color .25s; position: relative; padding-block: 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -6px; width: 16px; height: 2px; border-radius: 2px; background: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 0.75rem; letter-spacing: 0.1em; box-shadow: 0 6px 20px -8px rgba(241,96,1,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.nav-cta .btn-primary:hover { transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: calc(var(--nav-top) + var(--nav-h)); left: 0; right: 0; bottom: auto;
    max-height: calc(100vh - var(--nav-top) - var(--nav-h)); overflow-y: auto;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--surface-1); border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 24px;
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
}

/* ---------- Cards ---------- */
/* ---------- Liquid glass cards ---------- */
.card {
  background: linear-gradient(155deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.03) 42%, rgba(255,255,255,.015) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 30px -20px rgba(255,255,255,.5), 0 24px 56px -30px rgba(0,0,0,.85);
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 32%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(252,80,20,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 34px 80px -34px rgba(241,96,1,.55); }
.card .num { font-family: var(--font-mono); color: var(--orange); font-size: 0.8rem; letter-spacing: 0.1em; }
.card .card-link { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); display: inline-flex; gap: 8px; margin-top: 8px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Image slots / placeholders ---------- */
image-slot {
  --slot-bg: repeating-linear-gradient(135deg, #161412 0 14px, #1b1815 14px 28px);
  background: var(--slot-bg);
}
.slot-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: relative; }

/* ---------- Stat badges ---------- */
.stats-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  background: linear-gradient(155deg, rgba(255,255,255,.18), rgba(255,255,255,.045));
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px; padding: 18px 24px; min-width: 130px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -16px 26px -16px rgba(0,0,0,.35), 0 20px 44px -20px rgba(0,0,0,.7);
  position: relative; overflow: hidden;
}
.stat::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 52%; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.22), transparent); }
.stat > * { position: relative; z-index: 1; }
.stat .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem,4vw,2.8rem); line-height: 1; }
.stat .lbl { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-top: 6px; }

/* ---------- Section glow background ---------- */
.glow-top::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(252,80,20,.14), transparent 60%);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface-1); padding-block: 64px 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h4 { font-size: 0.78rem; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.16em; color: var(--gray-mid); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--gray); font-size: 0.92rem; transition: color .2s; }
.footer ul a:hover { color: var(--orange); }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--gray-dark); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; }

/* ---------- Pill badge ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }
.pill .dot { display: none; }
.pill { padding: 8px 16px; }

/* ---------- CTA band (shared across pages) ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(48px,7vw,90px) var(--pad); text-align: center; background: var(--grad-brand); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 0%, rgba(255,255,255,.3), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: #000; box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
  .reveal.r-left  { transform: translateX(-44px); }
  .reveal.r-right { transform: translateX(44px); }
  .reveal.r-scale { transform: scale(.92); }
  .reveal.r-blur  { filter: blur(10px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
  .reveal.in { opacity: 1; transform: none; filter: none; }
}

/* ---------- Accessibility helpers ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 1000; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s ease; }
.skip-link:focus { top: 8px; }

/* „Transformarea mea" (Home + pagina Rezultate): arată poza întreagă, fără zoom/decupaj */
.ba-slider .ba-img img,
.ba-slider .ba-img image-slot { object-fit: contain; }

/* ---------- Film grain texture (less-flat, less-AI feel) ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Accordion (FAQ) ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; background: none; border: none; color: #fff; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.05rem,2vw,1.4rem); padding: 26px 0; cursor: pointer; text-align: left; }
.faq-q .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; font-size: 1.2rem; color: var(--orange); }
.faq-item.open .faq-q .ico { background: var(--grad-brand); color: #fff; transform: rotate(45deg); border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding-bottom: 26px; margin: 0; max-width: 70ch; }

/* ---------- Forms ---------- */
.field { margin-bottom: 26px; }
.field > label { display: block; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--white); margin-bottom: 10px; }
.field .req { color: var(--orange); }
.field .hint { color: var(--gray-mid); font-size: 0.85rem; margin: 4px 0 12px; }
.input, .textarea, select.input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  color: #fff; font-family: var(--font-body); font-size: 1rem; padding: 15px 16px; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, select.input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,96,1,.18); }
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--gray-dark); }

.choice-list { display: flex; flex-direction: column; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-2); cursor: pointer; transition: border-color .2s, background .2s;
}
.choice:hover { border-color: var(--gray-dark); }
.choice input { accent-color: var(--orange); width: 20px; height: 20px; flex: none; }
.choice.checked { border-color: var(--orange); background: linear-gradient(160deg, rgba(252,80,20,.12), transparent); }
.choice span { font-size: 0.98rem; }

.form-progress { height: 4px; background: var(--surface-3); border-radius: 100px; overflow: hidden; margin-bottom: 8px; }
.form-progress .bar { height: 100%; width: 0; background: var(--grad-brand); transition: width .4s; }
