/* ============================================================
   EBOOK LANDING — /ebook-fotografie
   Pagină independentă de restul site-ului (fundal deschis, nu tema
   întunecată standard) — vezi tokens proprii mai jos, nu ating
   tokens.css global.
   ============================================================ */

.eb-page {
  --eb-navy:        #16213e;
  --eb-navy-light:  #22335c;
  --eb-orange:      #f6af1d;
  --eb-orange-dark: #e09c10;
  --eb-bg:          #ffffff;
  --eb-bg-alt:      #f7f8fb;
  --eb-cream:       #fbf3e9;
  --eb-text:        #16181f;
  --eb-text-muted:  #62687a;
  --eb-border:      #e6e8ee;
  --eb-radius:      10px;
  --eb-shadow:      0 12px 32px rgba(22, 33, 62, 0.08);
  --eb-max:         1180px;

  background: var(--eb-bg);
  color: var(--eb-text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.eb-page * { box-sizing: border-box; }

.eb-page .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eb-container {
  max-width: var(--eb-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.eb-page section { padding-block: clamp(48px, 7vw, 96px); }

.eb-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eb-orange-dark);
  margin-bottom: 14px;
}

.eb-h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--eb-navy);
  margin: 0 0 16px;
}

.eb-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--eb-text-muted);
  max-width: 640px;
}

/* ── Header simplificat ──────────────────────────────────────── */
.eb-header {
  border-bottom: 1px solid var(--eb-border);
  padding-block: 18px;
}

.eb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eb-header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--eb-navy);
}

.eb-header__logo-img {
  max-height: 68px;
  width: auto;
  display: block;
}

.eb-header__logo-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eb-header__logo-motto {
  font-size: 11.5px;
  font-style: italic;
  color: var(--eb-text-muted);
}

.eb-header__cta {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--eb-navy);
  text-decoration: none;
  white-space: nowrap;
}

.eb-header__cta:hover { color: var(--eb-orange-dark); }

/* ── Hero ────────────────────────────────────────────────────── */
.eb-hero {
  background: linear-gradient(180deg, var(--eb-cream) 0%, var(--eb-bg) 100%);
}

.eb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eb-hero__title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--eb-navy);
  margin: 4px 0 18px;
}

.eb-hero__title em {
  font-style: normal;
  color: var(--eb-orange-dark);
}

.eb-hero__intro {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--eb-text-muted);
  margin-bottom: 22px;
  max-width: 520px;
}

.eb-hero__benefits {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb-hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--eb-text);
}

.eb-hero__benefits svg { flex-shrink: 0; margin-top: 2px; color: var(--eb-orange); }

.eb-hero__authority {
  font-size: 13.5px;
  color: var(--eb-text-muted);
  margin-bottom: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--eb-border);
}

.eb-hero__authority strong { color: var(--eb-navy); }

.eb-hero__mockup {
  display: flex;
  justify-content: center;
}

.eb-hero__mockup img {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(22, 33, 62, 0.18));
}

/* ── Formular (reutilizat hero + CTA final) ─────────────────── */
.eb-form {
  background: var(--eb-bg-alt);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  padding: clamp(20px, 3vw, 30px);
  max-width: 460px;
}

.eb-form__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--eb-navy);
  margin: 0 0 16px;
}

.eb-form__row { margin-bottom: 12px; }

.eb-form__row input[type="text"],
.eb-form__row input[type="email"] {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--eb-border);
  border-radius: 8px;
  background: #fff;
  color: var(--eb-text);
}

.eb-form__row input:focus {
  outline: none;
  border-color: var(--eb-orange);
  box-shadow: 0 0 0 3px rgba(246, 175, 29, 0.18);
}

.eb-form__btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #16181f;
  background: var(--eb-orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.eb-form__btn:hover { background: var(--eb-orange-dark); }

.eb-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--eb-text-muted);
  cursor: pointer;
}

.eb-form__consent input { margin-top: 3px; flex-shrink: 0; }

.eb-form__disclaimer {
  font-size: 11.5px;
  color: var(--eb-text-muted);
  margin: 10px 0 0;
  text-align: center;
}

.eb-form__errors {
  background: #fdecec;
  border: 1px solid #f3b8b8;
  color: #9c2b2b;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.eb-form__errors p { margin: 0; }
.eb-form__errors p + p { margin-top: 4px; }

/* ── Hinturi (4 carduri) ─────────────────────────────────────── */
.eb-hints { background: var(--eb-bg-alt); }

.eb-hints__header { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }

.eb-hints__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.eb-hint-card {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--eb-shadow);
  transition: transform 0.2s ease;
}

.eb-hint-card:hover { transform: translateY(-3px); }

.eb-hint-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef0f4;
  overflow: hidden;
}

/* Orientarea imaginii e setabilă din admin (pozele reale nu sunt toate
   landscape) — un raport fix pentru toate ar tăia fix ce contează din cadru. */
.eb-hint-card__img.is-portrait,
.eb-example__img.is-portrait,
.eb-review-card__img.is-portrait { aspect-ratio: 3 / 4; }

.eb-hint-card__img.is-landscape,
.eb-example__img.is-landscape,
.eb-review-card__img.is-landscape { aspect-ratio: 16 / 10; object-fit: cover; }

.eb-hint-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.eb-hint-card__body { padding: 22px 20px 24px; }

.eb-hint-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--eb-orange);
  color: #16181f;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.eb-hint-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--eb-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.eb-hint-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eb-text-muted);
  margin: 0;
}

/* ── Preview ebook (3 exemple) ───────────────────────────────── */
.eb-preview__header { max-width: 720px; margin-bottom: clamp(32px, 5vw, 48px); }

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

.eb-example__img {
  aspect-ratio: 3 / 4;
  border-radius: var(--eb-radius);
  overflow: hidden;
  background: #eef0f4;
  margin-bottom: 14px;
}

.eb-example__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.eb-example__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--eb-navy);
  margin: 0 0 6px;
}

.eb-example__caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--eb-text-muted);
  margin: 0;
}

/* ── Despre autor ────────────────────────────────────────────── */
.eb-author__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.eb-author__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--eb-text-muted);
  margin: 0 0 16px;
}

.eb-author__highlight {
  font-size: 19px;
  font-weight: 700;
  color: var(--eb-navy);
  line-height: 1.45;
  margin: 22px 0 0;
}

.eb-author__stats {
  background: var(--eb-cream);
  border-radius: var(--eb-radius);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eb-author__stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--eb-orange-dark);
  line-height: 1;
}

.eb-author__stat-label {
  font-size: 13.5px;
  color: var(--eb-text-muted);
  margin-top: 4px;
}

/* ── Bandă social proof (bleumarin) ──────────────────────────── */
.eb-social {
  background: var(--eb-navy);
  color: #fff;
}

.eb-social .eb-h2 { color: #fff; }
.eb-social .eb-lead { color: rgba(255, 255, 255, 0.72); }

.eb-social__categories {
  font-size: 14px;
  font-weight: 600;
  color: var(--eb-orange);
  margin-bottom: 6px;
}

.eb-social__count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.eb-social__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Stil inspirat de cardul real de recenzii Udemy: avatar rotund cu inițiala,
   nume + stele pe primul rând, text simplu (nu italic, ca pe Udemy), rând
   „Helpful?" decorativ la final — recreează aspectul, fără cifre inventate
   (nu avem numărul real de voturi/data exactă a recenziei). */
.eb-review-card {
  background: #fff;
  border-radius: var(--eb-radius);
  padding: 22px 24px;
  color: var(--eb-text);
}

.eb-review-card__img { width: 100%; border-radius: 8px; margin-bottom: 12px; display: block; }

.eb-review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eb-review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--eb-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.eb-review-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--eb-navy);
}

.eb-review-card__stars { color: var(--eb-orange); font-size: 13px; letter-spacing: 1px; margin-top: 2px; }

.eb-review-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--eb-text);
  margin: 0;
}

/* ── Al doilea CTA ───────────────────────────────────────────── */
.eb-cta2 { background: var(--eb-bg-alt); }

.eb-cta2__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.eb-cta2__header { max-width: 640px; }
.eb-cta2__header .eb-lead { margin-inline: auto; }

.eb-cta2 .eb-form { max-width: 460px; text-align: left; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.eb-faq__list {
  width: 100%;
  background: var(--eb-bg-alt);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  box-shadow: var(--eb-shadow);
  padding: 8px clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.eb-faq-item {
  border-bottom: 1px solid var(--eb-border);
  padding: 20px 0;
}

.eb-faq__list .eb-faq-item:nth-last-child(-n+2) { border-bottom: none; }

.eb-faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--eb-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.eb-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--eb-orange-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.eb-faq-item[open] summary::after { transform: rotate(45deg); }

.eb-faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eb-text-muted);
  margin: 10px 0 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.eb-footer {
  border-top: 1px solid var(--eb-border);
  padding-block: 32px;
  text-align: center;
}

.eb-footer__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--eb-navy);
}

.eb-footer__motto {
  font-size: 12.5px;
  font-style: italic;
  color: var(--eb-text-muted);
  margin: 2px 0 14px;
}

.eb-footer__links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}

.eb-footer__links a { color: var(--eb-text-muted); text-decoration: none; }
.eb-footer__links a:hover { color: var(--eb-orange-dark); }
.eb-footer__links span { color: var(--eb-border); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .eb-hero__inner { grid-template-columns: 1fr; }
  .eb-hero__mockup { order: -1; max-width: 360px; margin-inline: auto; }
  .eb-hints__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-preview__grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .eb-author__inner { grid-template-columns: 1fr; }
  .eb-author__stats { flex-direction: row; flex-wrap: wrap; }
  .eb-author__stats > div { flex: 1 1 140px; }
  .eb-social__grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .eb-faq__list { grid-template-columns: minmax(0, 1fr); }
  .eb-faq__list .eb-faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--eb-border); }
  .eb-faq__list .eb-faq-item:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .eb-hints__grid { grid-template-columns: minmax(0, 1fr); }
  .eb-header__logo-motto { display: none; }
  .eb-hero__title { font-size: 30px; }
}
