/* ─────────────────────────────────────────────────
   Ulpia PRO — Landing Page Styles
   Font: Lexend (Google Fonts)
   Primary: #FF4142  Dark: #333333  Muted: #8C8C8C
───────────────────────────────────────────────── */

/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #FF4142;
  --red-dark:   #e03232;
  --red-light:  #fff0f0;
  --dark:       #333333;
  --body:       #555555;
  --muted:      #8C8C8C;
  --border:     #E5E7EB;
  --bg:         #F7F7F7;
  --white:      #ffffff;
  --font:       'Lexend', sans-serif;
  --radius:     10px;
  --shadow:     0 2px 16px rgba(0,0,0,0.07);
  --max-width:  1080px;
  --section-pad: 88px 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  font-weight: 700;
}

/* ─── LAYOUT UTILITIES ───────────────────────────── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.two-col--center {
  align-items: center;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 13px 30px;
  font-size: 0.95rem;
}

.btn--white-solid {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}

.btn--white-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn--white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--red);
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 110px 32px 88px;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.hero__title .accent {
  color: var(--red);
  display: block;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 22px auto 36px;
  font-weight: 300;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__micro {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
}

.hero__micro span {
  margin: 0 6px;
}

/* ─── SAVINGS SECTION ────────────────────────────── */
.savings {
  background: var(--bg);
}

.savings__heading {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  margin-bottom: 14px;
}

.savings__desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.7;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: var(--white);
}

.stat-card--highlight {
  background: var(--red);
  border-color: var(--red);
}

.stat-card__label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-card--highlight .stat-card__label {
  color: rgba(255,255,255,0.75);
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.stat-card--highlight .stat-card__value {
  color: #fff;
}

.stat-card__sub {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 3px;
}

.stat-card--highlight .stat-card__sub {
  color: rgba(255,255,255,0.7);
}

.events-list {
  display: flex;
  flex-direction: column;
}

.event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.event-row__name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.event-row__date {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

.event-row__saving {
  font-weight: 700;
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-left: 12px;
}

.events-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
}

.events-total__label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.events-total__amount {
  font-weight: 700;
  color: var(--red);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

/* ─── WEBINARII SECTION ──────────────────────────── */
.webinarii__heading {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}

.webinarii__desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.7;
}

.specialty-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--body);
  font-weight: 400;
}

.tag-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.lecturers-list {
  display: flex;
  flex-direction: column;
}

.lecturer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.lecturer-row__name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.lecturer-row__spec {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

.play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.play-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.webinarii-stat {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.webinarii-stat__big {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.webinarii-stat__caption {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

/* ─── REVISTE SECTION ────────────────────────────── */
.reviste {
  background: var(--bg);
}

.reviste__heading {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
}

.reviste__desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.7;
}

.reviste-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.reviste-row--last {
  border-bottom: none;
}

.reviste-row__name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.reviste-row__note {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 3px;
}

.emc-badge {
  background: var(--red-light);
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}

.reviste-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.reviste-total__label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.reviste-total__amount {
  font-weight: 700;
  color: var(--red);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

/* ─── NOA SECTION ────────────────────────────────── */
.noa__heading {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}

.noa__desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.7;
}

.noa-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.noa-step__title {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}

.noa-step__desc {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

.noa-ui {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.noa-ui__search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.87rem;
  font-family: var(--font);
  background: var(--bg);
}

.noa-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.noa-row:last-of-type {
  border-bottom: none;
}

.noa-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.noa-row__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noa-row--best .noa-row__check {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.noa-row__distributor {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--dark);
}

.noa-row__best-badge {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 500;
  display: block;
  margin-top: 1px;
}

.noa-row__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.noa-row--best .noa-row__price {
  color: var(--red);
}

.noa-ui__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.noa-ui__count {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 300;
}

.noa-ui__order {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
}

.noa-ui__order:hover {
  text-decoration: underline;
}

/* ─── QUOTE SECTION ──────────────────────────────── */
.quote {
  background: var(--dark);
  padding: var(--section-pad);
}

.quote__inner {
  max-width: 780px;
  margin: 0 auto;
}

.quote__text {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 36px;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.quote__name {
  font-weight: 500;
  color: #fff;
  font-size: 0.9rem;
}

.quote__title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-top: 2px;
}

/* ─── BENEFITS SECTION ───────────────────────────── */
.benefits__header {
  margin-bottom: 52px;
}

.benefits__heading {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.benefit-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--red);
}

.benefit-card__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 7px;
}

.benefit-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── TESTIMONIALS SECTION ───────────────────────── */
.testimonials {
  background: var(--bg);
}

.testimonials__header {
  margin-bottom: 48px;
}

.testimonials__heading {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.testimonial-card__badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.testimonial-card__quote {
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--dark);
}

.testimonial-card__role {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

/* ─── CTA SECTION ────────────────────────────────── */
.cta {
  background: var(--red);
  padding: var(--section-pad);
}

.cta__inner {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.cta__heading {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  margin-bottom: 14px;
}

.cta__sub {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.75;
  font-weight: 300;
}

.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cta__micro {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ─── ANIMATIONS ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section-pad: 64px 20px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    padding: 72px 20px 64px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .footer {
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .stat-cards {
    grid-template-columns: 1fr;
  }
}
