:root {
  /* Paletă */
  --haiti: #161032;
  --java: #14CFBC;
  --bright-sun: #FFE830;
  --butterfly: #5C51A2;
  --mine: #333333;
  --alabaster: #FAFAFA;
  /* UI */
  --radius-xxl: 32px;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, .25);
  --shadow-2: 0 16px 50px rgba(20, 207, 188, .15);

  /* Layout (pentru ecrane mari) */
  --page-max: 1200px;
  --page-pad: 24px;
  --content-max: 70ch;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  /* Reserve space for the fixed navbar to prevent CLS when navbar.css loads async */
  padding-top: 64px;
  color: var(--alabaster);
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(92, 81, 162, .35), rgba(92, 81, 162, 0)) no-repeat,
    radial-gradient(1000px 700px at 90% 10%, rgba(255, 232, 48, .2), rgba(255, 232, 48, 0)) no-repeat,
    var(--haiti);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Subtil: adaugă profunzime pe ecrane foarte mari fără să strice pe laptop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(92, 81, 162, 0.25), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ===== Buttons (folosite și în pagină, nu în navbar) ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--java);
  color: #041d1a;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: var(--shadow-2);
  transition: transform .2s ease, background .2s ease;
  font-size: var(--fs-btn);
  text-decoration: none;
  will-change: transform;
}

/* GPU-composited hover shadow via pseudo-element + opacity */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 12px 30px rgba(20, 207, 188, .35);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

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

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

.btn.secondary {
  background: rgba(22, 16, 50, .55);
  color: var(--alabaster);
  border-color: rgba(255, 255, 255, .18)
}

.btn.secondary:hover {
  background: rgba(22, 16, 50, .7)
}

.btn.big {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-body-lg)
}

/* ===== HERO (un singur card: text + video) ===== */
.hero {
  max-width: var(--page-max);
  margin: var(--sp-4) auto;
  padding: 0 var(--page-pad);
  margin-top: 120px;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(92, 81, 162, .25), rgba(92, 81, 162, .08));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-1);
  padding: var(--sp-4);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--sp-3);
  align-items: center;
  grid-template-areas: "text robot";
  overflow: visible;
}

.hero-text {
  grid-area: text;
  padding-left: var(--sp-3)
}

.hero-robot {
  /* iese din card spre dreapta, control total */
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  background: transparent;
  z-index: 1;
}

/* Typo & helpers */
.kicker {
  color: var(--java);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: var(--fs-micro);
  font-family: var(--font-heading)
}


h1 {
  font-size: var(--fs-h1);
  margin: 0 0 var(--sp-1);
  margin-top: var(--sp-2);
  line-height: var(--lh-heading);
  font-weight: 700;
  opacity: 0.95;
}

.hero-display {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin: 0 0 var(--sp-2);
  color: var(--alabaster);
  opacity: 0.98;
}

.hero-supporting-title {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  margin: 0;
  color: #e7e7f5;
  opacity: .92;
  max-width: none;
  white-space: nowrap;
}

.sub {
  font-size: var(--fs-body-lg);
  color: #e7e7f5;
  opacity: .92
}

.cta {
  margin-top: var(--sp-3);
  display: flex;
  gap: var(--sp-2);
  flex-wrap: nowrap;
}

.cta .btn {
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

/* ===== Secțiuni comune ===== */
.section {
  max-width: var(--page-max);
  margin: var(--section-space) auto;
  padding: 0 var(--page-pad);
}


/* Pentru secțiuni care pot fi mai late (ex: hero) */
.section--wide {
  max-width: 1600px;
}

.section h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading-2);
  margin: var(--sp-1) 0 var(--sp-2)
}

.muted {
  color: #d9d7f1;
  opacity: .85
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-3)
}

.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.06),
      transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.benefit:hover::before {
  animation: shine 0.7s ease forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}


.benefit {
  background: #1b1540;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.benefit h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading)
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px
}

.card {
  background: linear-gradient(180deg, rgba(26, 21, 64, .9), rgba(26, 21, 64, .7));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-1)
}

.card.good {
  outline: 2px solid var(--java)
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center
}

.check,
.cross {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
  border-radius: 4px;
}

.check {
  background: var(--java);
  color: #072521
}

.cross {
  background: #ff6b6b;
  color: #350404
}

/* (Subjects / Chip styles removed — replaced by outcome-card icons) */

.chip {
  background: #140f35;
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  transition: all 0.25s ease;
  cursor: pointer;
}

.chip:hover {
  background: var(--bright-sun);
  color: #1a1602;
  border-color: var(--bright-sun);
}


/* CTA mare + Footer */
.cta-big {
  text-align: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(92, 81, 162, .25), rgba(92, 81, 162, .1));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius-xxl)
}

.cta-big__subtitle {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
}

footer {
  margin-top: 64px;
  padding: 28px 20px;
  background: rgba(22, 16, 50, .6)
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between
}

/* ===== Desktop XL (monitoare mari / 2K / 4K) ===== */
@media (min-width: 1600px) {
  :root {
    --page-max: 1400px;
    --page-pad: 24px;
  }

  /* robotul poate ieși puțin mai mult fără să taie */
  .hero-robot {
    right: -60px;
    width: 680px;
  }
}

@media (min-width: 2200px) {
  :root {
    --page-max: 1500px;
    --page-pad: 32px;
  }

  .hero-robot {
    right: -80px;
    width: 720px;
  }
}

.credits {
  opacity: .7;
  font-size: var(--fs-small)
}

/* ===== Breakpoints ===== */
@media (max-width:1024px) {
  .hero-card {
    grid-template-columns: 1fr;
    grid-template-areas: "text";
  }

  .hero-robot {
    /* Size scales with viewport so it works at every width */
    width: clamp(260px, 38vw, 400px);
    height: clamp(260px, 38vw, 400px);
    right: clamp(-60px, -4vw, -20px);
  }

  .hero-text {
    position: relative;
    z-index: 1;
    /* Never extend into robot zone */
    max-width: 60%;
  }

  .cta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cta .btn.big {
    padding: 12px 20px;
    font-size: var(--fs-btn);
  }
}

@media (max-width:768px) {
  .hero {
    padding: 0 14px;
    margin-top: 96px;
  }

  .hero-card {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "robot";
    text-align: center;
    padding: var(--sp-3) var(--sp-2) var(--sp-2);
    overflow: hidden;
  }

  .hero-text {
    padding-left: 0;
    width: 100%;
    max-width: none;
  }

  .hero-display {
    font-size: var(--fs-h1);
    margin-bottom: var(--sp-2);
    overflow-wrap: anywhere;
  }

  .hero-supporting-title {
    font-size: var(--fs-body);
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cta {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .cta .btn {
    width: 100%;
    max-width: 340px;
    white-space: normal;
    text-align: center;
  }

  .hero-robot {
    position: static;
    transform: none;
    width: 100%;
    min-height: 220px;
    max-height: 220px;
    margin-top: 12px;
  }

  .benefits,
  .compare {
    grid-template-columns: 1fr
  }

}

/* ==============================
   Homepage sections (SEO rebuild)
   Styles for new markup only
   ============================== */

/* Extra spacing above trust section */
#incredere {
  margin-top: 90px;
  /* extra spacing above trust section */
}

/* Header wrapper (keeps navbar spacing consistent) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Trust list (pretty cards) */
.trust-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-list li {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 21, 64, .92), rgba(26, 21, 64, .72));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-xl);
  padding: 16px 16px 16px 44px;
  box-shadow: var(--shadow-1);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--java);
  color: #072521;
  font-weight: 900;
}

/* Steps flow */
.steps-flow {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
}

.steps-intro {
  position: sticky;
  top: 110px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 232, 48, .14), rgba(20, 207, 188, .08));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-1);
}

.steps-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--bright-sun);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: center;
}

.steps-intro p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  text-align: center;
}

.steps-offer__eyebrow {
  display: inline-flex;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 207, 188, .12);
  color: var(--java);
  font-size: var(--fs-micro);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.steps-offer__title {
  display: block;
  color: var(--alabaster);
  font-family: var(--font-heading);
  font-size: var(--fs-body-lg);
  line-height: 1.3;
}

.steps-offer__text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .74);
  text-align: center;
}

.steps-offer__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--bright-sun);
  color: #1a1602;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease;
  box-shadow: 0 10px 24px rgba(255, 232, 48, .18);
  will-change: transform;
}

.steps-offer__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 12px 28px rgba(255, 232, 48, .24);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

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

.steps-offer__cta:hover::after {
  opacity: 1;
}

.steps-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 34px;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20, 207, 188, .9), rgba(255, 232, 48, .55));
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 124px;
  padding: 20px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(27, 21, 64, .95), rgba(27, 21, 64, .8));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-1);
}

.step-card::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--java);
  box-shadow: 0 0 0 6px rgba(20, 207, 188, .14);
}

.step-card--wide {
  max-width: 100%;
}

.step-card--offset {
  max-width: 100%;
}

.step-card--offset .step-card__content {
  max-width: 84%;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  color: var(--bright-sun);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: .04em;
}

.step-card__content h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading)
}

.step-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.step-card--offset .step-card__content h3,
.step-card--offset .step-card__content p {
  text-align: left;
}

/* Courses preview */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.course-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading)
}

.course-card h3 a {
  color: inherit;
  text-decoration: none;
}

.course-card h3 a:hover,
.course-card h3 a:focus-visible {
  text-decoration: underline;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}

.course-card p {
  margin: 0;
}

/* Courses section aligned left like rest of site */
#cursuri-preview .kicker,
#cursuri-preview h2,
#cursuri-preview .section-note {
  text-align: left;
}

#cursuri-preview .section-note {
  max-width: 70ch;
  margin-left: 0;
  margin-right: 0;
}

.courses-grid {
  align-items: stretch;
}

.courses-grid .course-card {
  text-align: left;
}

.section-note {
  margin-top: 18px;
  font-size: var(--fs-body-lg);
  font-weight: 600;
}

.section-note a {
  color: var(--bright-sun);
  font-weight: 800;
  text-decoration: none;
}

.section-note a:hover {
  text-decoration: underline;
}

/* ===== Journey Track (homepage course teaser) ===== */
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 28px;
  padding-top: 28px;
}

.journey-line {
  position: absolute;
  top: 44px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--java), var(--bright-sun));
  border-radius: 2px;
  z-index: 0;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.journey-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--java);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 0 4px rgba(20, 207, 188, .2);
  flex-shrink: 0;
}

.journey-dot span {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 700;
  color: #072521;
}

.journey-dot--gold {
  background: var(--bright-sun);
  box-shadow: 0 0 0 4px rgba(255, 232, 48, .2);
}

.journey-dot--gold span {
  color: #1a1602;
}

.journey-content {
  background: rgba(27, 21, 64, .7);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-2);
  margin: 0 6px;
  flex: 1;
  transition: border-color .25s ease;
}

.journey-content:hover {
  border-color: rgba(20, 207, 188, .2);
}

.journey-age {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--java);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}

.journey-content h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.3;
}

.journey-content p {
  margin: 0 0 10px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .65);
  line-height: var(--lh-body);
}

.journey-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
}

.journey-tag {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}

.journey-cta {
  text-align: center;
  margin-top: 28px;
}

/* Journey responsive */
@media (max-width: 980px) {
  .journey-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    padding-left: 18px;
  }

  .journey-line {
    top: 18px;
    bottom: 18px;
    left: 18px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .journey-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    margin-bottom: 16px;
  }

  .journey-dot {
    margin-bottom: 0;
    margin-right: 14px;
    flex-shrink: 0;
    transform: translateX(-50%);
  }

  .journey-content {
    margin: 0;
  }

  .journey-meta {
    justify-content: flex-start;
  }
}

/* Outcomes icon grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  align-items: stretch;
}

.outcome-card {
  background: #1b1540;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease;
}

.outcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.outcome-card:hover::before {
  animation: shine 0.7s ease forwards;
}

.outcome-card:hover {
  border-color: rgba(20, 207, 188, .25);
}

.outcome-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--java);
  flex-shrink: 0;
}

.outcome-text {
  margin: 0;
  font-size: var(--fs-small);
  font-family: var(--font-body);
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
}

/* TEAM TEASER */
.team-teaser {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, rgba(92, 81, 162, .15), rgba(92, 81, 162, .05));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.team-teaser::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 200deg, rgba(20, 207, 188, .14), transparent 25%, transparent 75%, rgba(92, 81, 162, .14));
  filter: blur(18px);
  opacity: .3;
}

.team-teaser__text {
  position: relative;
  z-index: 1;
}

.team-teaser__text p.muted {
  margin-bottom: 18px;
}

.team-teaser__avatars {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.teaser-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--haiti);
  box-shadow: 0 0 0 2px rgba(20, 207, 188, .20);
  transition: transform .2s ease;
}

.teaser-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.55);
  transform-origin: center 30%;
  display: block;
}

.teaser-avatar:not(:first-child) {
  margin-left: -14px;
}

.teaser-avatar:nth-child(1) { z-index: 3; }
.teaser-avatar:nth-child(2) { z-index: 2; }
.teaser-avatar:nth-child(3) { z-index: 1; }

.team-teaser:hover .teaser-avatar {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .team-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-teaser__avatars {
    justify-content: center;
  }
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.faq-item {
  background: linear-gradient(180deg, rgba(26, 21, 64, .92), rgba(26, 21, 64, .72));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: var(--fs-body);
  font-family: var(--font-heading)
}

.faq-item p {
  margin: 0;
}

/* CTA center row */
.cta-center {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .steps-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-intro {
    position: static;
    min-height: auto;
  }

  .step-card--wide,
  .step-card--offset {
    max-width: none;
    margin-left: 0;
  }

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

  .outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .steps-timeline {
    padding-left: 26px;
  }

  .steps-timeline::before {
    left: 6px;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .step-card::before {
    left: -20px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
  }

  .step-number {
    min-height: auto;
    width: fit-content;
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .outcome-card {
    padding: 16px 12px;
    gap: 10px;
  }

  .outcome-icon svg {
    width: 28px;
    height: 28px;
  }
}

.slogan {
  margin: 0;
}

/* Extra spacing above trust section */
#incredere {
  margin-top: 100px;
}

/* ===== Platform Logo Strip ===== */
.platform-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 6px;
  padding: 0;
}

.platform-strip__label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .62);
  font-weight: 600;
  white-space: nowrap;
}

.platform-strip__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-strip__logos img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: .65;
  transition: opacity .2s ease;
  filter: grayscale(.3);
}

.platform-strip__logos img:hover {
  opacity: 1;
  filter: none;
}


/* ===== Guarantee Badge ===== */
.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 20px;
  border: 1px solid rgba(20, 207, 188, .25);
  border-radius: 999px;
  background: rgba(20, 207, 188, .08);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--java);
}

.guarantee-badge svg {
  flex-shrink: 0;
}

/* ===== Hero Badge ===== */
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(20, 207, 188, .25);
  background: rgba(20, 207, 188, .08);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--java);
  margin-bottom: 12px;
}

/* ===== Hero Lead Text ===== */
.hero-lead {
  font-size: var(--fs-body-lg);
  color: #d9d7f1;
  opacity: .9;
  max-width: 42ch;
  margin: 8px 0 0;
}

/* ===== Hero Stats ===== */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--alabaster);
  white-space: nowrap;
}

.stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}

/* ===== Benefit Cards (trust section redesign) ===== */
.benefits-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.benefit-card {
  background: rgba(27, 21, 64, .85);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.benefit-card--with-bg {
  position: relative;
  overflow: hidden;
}

.benefit-card--with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(22, 16, 50, 0.58), rgba(22, 16, 50, 0.58)),
    var(--card-bg) center center / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.08);
  opacity: 0.5;
  z-index: 0;
}

.benefit-card--with-bg::before {
  z-index: 1;
}

.benefit-card--with-bg>* {
  position: relative;
  z-index: 2;
}

.benefit-card:hover::before {
  animation: shine 0.7s ease forwards;
}

.benefit-card:hover {
  border-color: rgba(20, 207, 188, .25);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(20, 207, 188, .12);
  color: var(--java);
  margin-bottom: 14px;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
}

.benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

/* ===== Section subtitle helper ===== */
.section-subtitle {
  color: #d9d7f1;
  opacity: .85;
  margin-top: 4px;
}

/* ===== Full-width Section (Projects) ===== */
.custom-shape-divider-bottom-1774372409 {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: none;
  margin: 0;
}

.custom-shape-divider-bottom-1774372409 svg {
  position: relative;
  display: block;
  width: calc(110% + 1.3px);
  height: 79px;
}

.custom-shape-divider-bottom-1774372409 .shape-fill {
  fill: rgba(27, 21, 64, .5);
}

.custom-shape-divider-top-1774372409 {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  margin: -1px 0 0;
}

.custom-shape-divider-top-1774372409 svg {
  position: relative;
  display: block;
  width: calc(110% + 1.3px);
  height: 79px;
}

.custom-shape-divider-top-1774372409 .shape-fill {
  fill: rgba(27, 21, 64, .5);
}

#cursuri-preview {
  margin-top: 0;
}

.section-full {
  background: rgba(27, 21, 64, .5);
  padding: 64px 0 48px;
  margin: 0 0 48px;
}

#proiecte {
  margin-bottom: 0;
  padding-top: 40px;
}

.section-full-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section-full h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading-2);
  margin: 8px 0 12px;
}

/* ===== Projects Grid ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.project-card {
  background: linear-gradient(180deg, rgba(26, 21, 64, .95), rgba(26, 21, 64, .75));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color .25s ease, transform .2s ease;
}

.project-card:hover {
  border-color: rgba(255, 232, 48, .25);
  transform: translateY(-2px);
}

.project-thumb {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(20, 207, 188, .15), rgba(255, 232, 48, .10));
}

.project-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
}


.project-body {
  padding: 20px;
}

.project-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
}

.project-body p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

/* ===== Mentors Grid ===== */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.mentor-card {
  background: rgba(27, 21, 64, .85);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  transition: border-color .25s ease;
}

.mentor-card:hover {
  border-color: rgba(20, 207, 188, .25);
}

.mentor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(20, 207, 188, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--java);
  margin-bottom: 16px;
}

.mentor-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
}

.mentor-role {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--java);
  margin-bottom: 10px;
}

.mentor-card p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

/* ===== Dark Section (Testimonials) ===== */
.section-dark {
  background: linear-gradient(180deg, rgba(20, 207, 188, .08), rgba(92, 81, 162, .15));
  padding: 48px 0;
  margin: 48px 0;
}

.section-dark-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section-dark h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading-2);
  margin: 8px 0 12px;
}

.kicker--light {
  color: var(--java);
}

.section-subtitle--light {
  color: rgba(255, 255, 255, .6);
}

/* ===== Testimonials Grid ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.testimonial-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  transition: border-color .25s ease;
}

.testimonial-card:hover {
  border-color: rgba(20, 207, 188, .2);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.testimonial-card blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, .85);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-card cite {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-small);
  font-style: normal;
  color: rgba(255, 255, 255, .62);
}

/* ===== CTA Gradient Variant ===== */
.cta-big--gradient {
  background: linear-gradient(135deg, rgba(92, 81, 162, .3), rgba(20, 207, 188, .1));
  border-color: rgba(20, 207, 188, .15);
}

/* ===== Responsive for new sections ===== */
@media (max-width: 980px) {

  .benefits-cards,
  .projects-grid,
  .mentors-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
  }

  .stat-card {
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .stat-value {
    font-size: var(--fs-body-lg);
    white-space: nowrap;
    min-width: fit-content;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-badge {
    font-size: var(--fs-micro);
  }

  .platform-strip {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .platform-strip__logos {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
