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

:root {
  --bg: #0D0E10;
  --accent: #FF6C4C;
  --white: #FFFFFF;
  --card: #EBEBEB;
  --heading: #1A1A1A;
  --text: #767C88;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

/* ==================== CONTAINER ==================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  width: 100%;
  padding: 24px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.navbar__logo {
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  line-height: 48px;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .navbar__logo {
    font-size: 30px;
  }
}

.navbar__links {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.navbar__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}

.navbar__links a:hover { color: var(--accent); }

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.navbar__mobile.open { display: flex; }

.navbar__mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

/* ==================== HERO / TITLE ==================== */
.hero {
  width: 100%;
  padding: 160px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  position: relative;
  overflow: hidden;
}

.hero__title {
  font-size: 80px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  color: var(--white);
  max-width: 1120px;
}

.hero__sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: var(--white);
  max-width: 1014px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

.hero__bg::before, .hero__bg::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.hero__bg::before {
  width: 692px; height: 463px;
  right: -58px; top: -58px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(45deg);
}

.hero__bg::after {
  width: 659px; height: 463px;
  left: -150px; top: 212px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(-90deg);
}

.hero > * { position: relative; z-index: 1; }

/* ==================== BUTTON ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--accent);
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--card);
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.88; }

.btn--lg {
  padding: 24px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  border-radius: 16px;
}

.btn--white {
  background: var(--card);
  color: var(--accent);
}

.btn--sm {
  font-size: 16px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
  border: 1px solid #000;
  color: #000;
}

/* ==================== SECTION DECORATION ==================== */
.section-deco {
  position: relative;
  overflow: hidden;
}

.section-deco__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-deco__bg::before {
  content: '';
  position: absolute;
  width: 187px; height: 187px;
  right: 354px; top: 40px;
  border-radius: 50%;
  background: rgba(255,108,76,0.1);
  filter: blur(74px);
}

.section-deco > * { position: relative; z-index: 1; }

/* ==================== SERVICES SECTION ==================== */
.services {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.services__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.section-h2 {
  font-size: 67px;
  font-weight: 600;
  line-height: 100px;
  text-transform: capitalize;
  color: var(--white);
}

.section-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  max-width: 596px;
}

.services__cards {
  display: flex;
  flex-direction: row;
  gap: 25px;
  width: 100%;
  max-width: 1120px;
}

.scard {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 32px;
  gap: 40px;
  border-radius: 24px;
}

.scard--accent { background: var(--accent); }
.scard--light { background: var(--card); }

.scard__icon {
  width: 80px; height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scard--accent .scard__icon { background: var(--card); }
.scard--light .scard__icon { background: var(--accent); }

.scard__icon svg { width: 48px; height: 48px; }

.scard__body { display: flex; flex-direction: column; gap: 8px; text-align: center; }

.scard__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}

.scard--accent .scard__title { color: var(--white); }
.scard--light .scard__title { color: var(--heading); }

.scard__text { font-size: 16px; line-height: 24px; }
.scard--accent .scard__text { color: var(--white); }
.scard--light .scard__text { color: var(--text); }

/* ==================== STATS ==================== */
.stats {
  padding: 80px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 324px;
}

.stat__num {
  font-size: 67px;
  font-weight: 600;
  line-height: 100px;
  text-transform: capitalize;
  color: var(--white);
}

.stat__info { display: flex; flex-direction: column; gap: 6px; }

.stat__label {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  text-transform: capitalize;
  color: var(--white);
}

.stat__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}

.stat__divider {
  width: 1px;
  height: 166px;
  background: #D1D5DB;
  flex-shrink: 0;
}

/* ==================== ABOUT ==================== */
.about {
  padding: 80px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
}

.about__text { display: flex; flex-direction: column; gap: 30px; max-width: 527px; }

.about__heading {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  color: var(--white);
  text-transform: capitalize;
}

.about__body {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}

.about__img {
  flex: 1;
  min-height: 486px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
}

.about__img img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== PRICING ==================== */
.pricing {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.pricing__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.pricing__cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 0 102px;
  width: 100%;
  max-width: 1120px;
}

.pcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  gap: 18px;
  border-radius: 16px;
  min-height: 462px;
}

.pcard--light { background: var(--card); }
.pcard--accent { background: var(--accent); }

.pcard__name {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 0.03em;
}

.pcard--light .pcard__name { color: var(--heading); }
.pcard--accent .pcard__name { color: var(--card); }

.pcard__features { display: flex; flex-direction: column; gap: 10px; }

.pcard__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
}

.pcard--light .pcard__feature { color: var(--heading); }
.pcard--accent .pcard__feature { color: var(--card); }

.pcard__check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}

.pcard__check::before {
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  left: 0; top: 0;
}

.pcard--light .pcard__check::before { color: var(--heading); }
.pcard--accent .pcard__check::before { color: var(--card); }

.pcard__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pcard__amount {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: capitalize;
}

.pcard--light .pcard__amount { color: var(--heading); }
.pcard--accent .pcard__amount { color: var(--card); }

.pcard__period {
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
}

.pcard--light .pcard__period { color: var(--heading); }
.pcard--accent .pcard__period { color: var(--card); }

/* ==================== TESTIMONIALS ==================== */
.testimonials {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.testimonials__head { text-align: center; max-width: 706px; }

.testimonials__grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  max-width: 1120px;
}

.testimonials__row {
  display: flex;
  flex-direction: row;
  gap: 50px;
}

.tcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px;
  gap: 16px;
  border-radius: 16px;
}

.tcard--accent { background: var(--accent); }
.tcard--light { background: var(--card); }

.tcard__name-block { display: flex; flex-direction: column; gap: 8px; }

.tcard__role { font-size: 16px; line-height: 24px; }
.tcard--accent .tcard__role { color: var(--white); }
.tcard--light .tcard__role { color: var(--text); }

.tcard__name { font-size: 28px; font-weight: 600; line-height: 42px; letter-spacing: 0.03em; }
.tcard--accent .tcard__name { color: var(--white); }
.tcard--light .tcard__name { color: var(--heading); }

.tcard__stars { display: flex; gap: 8px; }

.tcard__star {
  width: 16px; height: 16px;
  display: inline-block;
  position: relative;
}

.tcard__star::before { content: '★'; font-size: 16px; }
.tcard--accent .tcard__star::before { color: var(--white); }
.tcard--light .tcard__star::before { color: #FFC72A; }

.tcard__quote { font-size: 16px; line-height: 24px; }
.tcard--accent .tcard__quote { color: var(--white); }
.tcard--light .tcard__quote { color: var(--text); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  padding: 80px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  background: rgba(255,255,255,0.08);
}

.cta-banner__text { max-width: 838px; display: flex; flex-direction: column; gap: 24px; }

.cta-banner__h {
  font-size: 62px;
  font-weight: 600;
  line-height: 93px;
  text-transform: capitalize;
  color: var(--white);
}

.cta-banner__p { font-size: 16px; line-height: 24px; color: var(--white); }

/* ==================== NEWS ==================== */
.news {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.news__cards {
  display: flex;
  flex-direction: row;
  gap: 25px;
  width: 100%;
  max-width: 1120px;
}

.ncard {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  gap: 40px;
  border-radius: 24px;
}

.ncard--accent { background: var(--accent); }
.ncard--light { background: var(--card); }

.ncard__img {
  width: 100%;
  height: 174px;
  border-radius: 10px;
  overflow: hidden;
  background: #333;
  flex-shrink: 0;
}

.ncard__img img { width: 100%; height: 100%; object-fit: cover; }

.ncard__body { display: flex; flex-direction: column; gap: 8px; text-align: center; width: 100%; }

.ncard__title { font-size: 24px; font-weight: 500; line-height: 36px; }
.ncard--accent .ncard__title { color: var(--white); }
.ncard--light .ncard__title { color: var(--heading); }

.ncard__text { font-size: 16px; line-height: 24px; }
.ncard--accent .ncard__text { color: var(--white); }
.ncard--light .ncard__text { color: var(--text); }

/* ==================== CONTACT FORM ==================== */
.contact {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 690px;
  max-width: 100%;
}

.form__group { display: flex; flex-direction: column; gap: 8px; }

.form__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #222222;
}

.form__label--light { color: var(--white); }

.form__input, .form__textarea {
  width: 100%;
  padding: 8px 12px;
  border: 0.5px solid #4F4F4F;
  background: transparent;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  outline: none;
  border-radius: 4px;
}

.form__input::placeholder, .form__textarea::placeholder { color: #888888; }

.form__textarea { height: 131px; resize: vertical; }

.form__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px 40px;
  background: var(--accent);
  border: none;
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s;
}

.form__btn:hover { opacity: 0.88; }

.form__btn svg { width: 24px; height: 24px; }

/* ==================== FOOTER ==================== */
.footer {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__brand { display: flex; flex-direction: column; gap: 24px; max-width: 260px; }

.footer__logo {
  font-size: 38px;
  font-weight: 600;
  color: var(--accent);
  line-height: 48px;
}

.footer__legal { display: flex; flex-direction: column; gap: 8px; }

.footer__legal a { font-size: 16px; font-weight: 500; color: var(--white); }
.footer__legal a:hover { color: var(--accent); }

.footer__socials { display: flex; gap: 32px; align-items: center; }

.footer__social {
  width: 40px; height: 40px;
  border: 1px solid var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.footer__social:first-child { background: var(--white); }

.footer__social:hover { border-color: var(--accent); }

.footer__social svg { width: 24px; height: 24px; }

.footer__col { display: flex; flex-direction: column; gap: 40px; }

.footer__col-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  color: var(--white);
}

.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 16px; font-weight: 500; color: var(--white); }
.footer__links a:hover { color: var(--accent); }

.footer__contact { display: flex; flex-direction: column; gap: 16px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: var(--white);
  line-height: 24px;
}

.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }

.footer__map {
  width: 288px;
  height: 259px;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
  flex-shrink: 0;
}

.footer__map img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== COURSE PAGE ==================== */
.course-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1120px;
}

.course-card {
  background: rgba(235,235,235,0.08);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-card__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: 0.03em;
  color: var(--white);
}

.course-card__desc {
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
}

.course-card__features { display: flex; flex-direction: column; gap: 10px; }

.course-card__feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  color: var(--white);
}

.course-card__feat::before {
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  width: 20px;
}

/* ==================== PRIVACY / TERMS ==================== */
.policy-content {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.policy-content h1 {
  font-size: 50px;
  font-weight: 600;
  line-height: 120%;
  color: var(--white);
  margin-bottom: 32px;
}

.policy-content .policy-body {
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  white-space: pre-wrap;
}

.policy-content .policy-body h2 { font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
.policy-content .policy-body ul { padding-left: 24px; margin: 8px 0; }
.policy-content .policy-body li { margin-bottom: 4px; }

/* ==================== COOKIE POPUP ==================== */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  background: #1A1B1E;
  border: 1px solid rgba(255,108,76,0.3);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.cookie-popup.hidden { display: none; }

.cookie-popup__text { font-size: 14px; line-height: 22px; color: var(--white); }

.cookie-popup__text a { color: var(--accent); text-decoration: underline; }

.cookie-popup__btns { display: flex; gap: 12px; }

.cookie-popup__accept {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.cookie-popup__decline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

/* ==================== THANK YOU POPUP ==================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay.hidden { display: none; }

.popup-box {
  background: #1A1B1E;
  border: 1px solid rgba(255,108,76,0.3);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.popup-box__icon {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.popup-box__title { font-size: 24px; font-weight: 600; color: var(--white); }
.popup-box__text { font-size: 16px; color: var(--text); line-height: 24px; }

.popup-box__close {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero__title { font-size: 56px; }
  .section-h2 { font-size: 48px; line-height: 72px; }
  .stats { flex-wrap: wrap; }
  .stat__divider { display: none; }
  .pricing__cards { padding: 0; flex-wrap: wrap; }
  .pcard { min-width: 280px; }
  .about { flex-direction: column; }
  .about__text { max-width: 100%; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px; }
  .navbar__links { display: none; }
  .navbar__burger { display: flex; }

  .hero { padding: 40px 16px; }
  .hero__title { font-size: 50px; }
  .hero__sub { max-width: 100%; }

  .services { padding: 40px 16px; }
  .services__cards { flex-direction: column; }

  .stats { padding: 40px 16px; flex-direction: column; gap: 40px; }

  .about { padding: 40px 16px; flex-direction: column; gap: 40px; }

  .pricing { padding: 40px 16px; }
  .pricing__cards { flex-direction: column; padding: 0; }

  .testimonials { padding: 40px 16px; }
  .testimonials__row { flex-direction: column; gap: 16px; }

  .cta-banner { padding: 40px 16px; flex-direction: column; }
  .cta-banner__h { font-size: 50px; line-height: 120%; }

  .news { padding: 40px 16px; }
  .news__cards { flex-direction: column; }

  .contact { padding: 40px 16px; }
  .form { width: 100%; }

  .footer { padding: 40px 16px; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__map { width: 100%; }

  .section-h2 { font-size: 40px; line-height: 60px; }

  .course-cards { max-width: 100%; }

  .policy-content { padding: 24px 16px; }
  .policy-content h1 { font-size: 36px; }
}

/* ==================== POLICY PAGE BODY ==================== */
.policy-body p { margin-bottom: 16px; color: var(--white); font-size: 16px; line-height: 24px; }
.policy-body h2 { font-size: 22px; font-weight: 600; color: var(--white); margin: 28px 0 10px; }
.policy-body ul { padding-left: 24px; margin-bottom: 16px; }
.policy-body ul li { color: var(--white); font-size: 16px; line-height: 28px; }
