*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #350c7f;
  --purple-deep: #3a1282;
  --purple-soft: #8a50ff;
  --text: #4f4e50;
  --muted: #747474;
  --heading-gray: #818181;
  --bg: #f8f8f8;
  --white: #ffffff;
  --green: #00c853;
  --green-link: #4ade80;
  --max: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 66px;
  background: var(--purple);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a,
.nav-login {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 0;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-login:hover {
  opacity: 0.8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-white {
  background: #fff;
  color: var(--purple);
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  color: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: var(--purple);
  padding: 20px 16px 28px;
  z-index: 49;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  font-size: 16px;
}

.mobile-menu .btn-white {
  color: var(--purple);
  text-align: center;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  padding-top: 66px;
  height: 1100px;
  background-color: #fff;
  background-image: url("../assets/hero-daniela_da4a2a6a.png");
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 16px 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 457px;
}

.hero-kicker {
  color: var(--purple);
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 72px;
  font-weight: 800;
  line-height: 72px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: #fff;
  border-radius: 25px;
  height: 45px;
  width: 320px;
  font-size: 16px;
  font-weight: 600;
}

.btn-lavender {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-soft);
  color: #fff;
  border-radius: 25px;
  height: 45px;
  width: 162px;
  font-size: 16px;
}

/* COURSES */
.section-white {
  background: #fff;
  padding: 50px 0;
}

.featured {
  position: relative;
  overflow: hidden;
}

.featured-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  opacity: 0.8;
  pointer-events: none;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.featured-head h2 {
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
}

.featured-head .gray {
  color: var(--heading-gray);
}

.featured-head .purple {
  color: var(--purple);
}

.track-wrap {
  overflow: hidden;
}

.track {
  display: flex;
  gap: 16px;
  padding-left: 16px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.course-card {
  flex-shrink: 0;
  width: 270px;
  overflow: hidden;
  display: block;
}

.course-card .thumb {
  height: 153px;
  overflow: hidden;
}

.course-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card .meta {
  padding: 16px;
  background: var(--purple);
  min-height: 80px;
}

.course-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.course-card span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* BENEFITS */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit img {
  width: 97px;
  height: 121px;
  object-fit: contain;
  margin-bottom: 16px;
}

.benefit p {
  color: var(--text);
  font-size: 14px;
}

/* VIDEO */
.video-section {
  position: relative;
  background: #fff;
  padding: 20px 0 50px;
}

.video-deco {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  pointer-events: none;
}

.video-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.video-box video {
  width: 100%;
  display: block;
  background: #000;
}

/* CATEGORIES */
.categories {
  background: var(--purple);
  padding: 50px 0;
}

.categories .center {
  text-align: center;
  margin-bottom: 48px;
}

.categories h2 {
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
}

.categories h2.accent {
  color: var(--purple-soft);
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  width: calc(50% - 12px);
  max-width: 475px;
  height: 250px;
  border-radius: 25px;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.cat-card:hover img {
  transform: scale(1.05);
}

.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(53, 12, 127, 0.35);
}

.cat-card h3 {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

/* PRICING */
.pricing {
  text-align: center;
}

.pricing h3 {
  color: var(--purple);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing .lead {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing .desc {
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.plan {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan h4 {
  color: var(--purple);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.free-note {
  color: var(--purple);
  font-weight: 800;
  font-size: 14px;
  margin: -8px 0 12px;
}

.plan .price {
  color: var(--purple);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
}

.plan ul {
  text-align: left;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 32px;
  width: 100%;
}

.plan li {
  margin-bottom: 8px;
}

.plan .btn-purple {
  width: 245px;
  font-weight: 400;
}

.payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.payments img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

/* SPEAKERS */
.speakers {
  background: var(--bg);
  padding: 50px 0;
}

.speakers h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 60px;
  font-weight: 800;
  color: var(--purple-deep);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.speaker {
  position: relative;
  overflow: hidden;
  display: block;
  height: 300px;
  border-radius: 25px;
}

.speaker .photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.speaker .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.speaker h3 {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.speaker span {
  color: var(--green-link);
  font-size: 14px;
  font-weight: 600;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple);
}

.dots button.dim {
  opacity: 0.4;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  padding: 50px 0;
}

.testi-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.testi-left {
  width: 33.333%;
}

.testi-left h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

.testi-left .t1 {
  color: #340c7f;
}

.testi-left .t2 {
  color: #8a4fff;
}

.testi-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.testi-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #8a4fff;
  color: #8a4fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.testi-nav button:hover {
  background: #faf5ff;
}

.testi-cards {
  width: 66.666%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testi-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.testi-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testi-card strong {
  color: var(--purple);
  font-weight: 700;
}

/* FOOTER BAR */
.prefooter {
  background: var(--purple);
  padding: 50px 0;
}

.prefooter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prefooter h4 {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 12px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s;
}

.social:hover {
  opacity: 0.8;
}

.social.ig {
  background: linear-gradient(to bottom right, #a855f7, #ec4899);
}

.social.yt {
  background: #dc2626;
}

.social.tt {
  background: #000;
}

.legal {
  display: flex;
  gap: 16px;
}

.legal a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.2s;
}

.legal a:hover {
  color: #fff;
}

.footer {
  background: #fff;
  padding: 15px 0;
}

.footer p {
  font-size: 14px;
  color: var(--purple);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero {
    height: 820px;
  }

  .hero-title {
    font-size: 56px;
    line-height: 56px;
  }

  .speakers h2 {
    font-size: 42px;
  }

  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 640px;
    background-position: right top;
    background-size: 70%;
  }

  .hero-inner {
    padding-top: 48px;
    padding-bottom: 48px;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 44px;
    line-height: 46px;
  }

  .benefits,
  .plans,
  .testi-cards {
    grid-template-columns: 1fr;
  }

  .testi-row {
    flex-direction: column;
    gap: 32px;
  }

  .testi-left,
  .testi-cards {
    width: 100%;
  }

  .cat-card {
    width: 100%;
    max-width: none;
  }

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

  .prefooter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .legal {
    flex-direction: column;
  }

  .featured-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-purple {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .hero {
    background-size: 90%;
    min-height: 720px;
  }

  .hero-kicker {
    font-size: 22px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 38px;
  }

  .speakers h2 {
    font-size: 32px;
  }

  .featured-deco,
  .video-deco {
    display: none;
  }
}

.woms-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #350c7f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 0.25s ease;
}

.woms-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.woms-toast.err {
  background: #b42318;
}
