:root {
  --ink: #172027;
  --muted: #64717c;
  --line: #d9e2e8;
  --paper: #ffffff;
  --soft: #f4f8fa;
  --teal: #0c8f8b;
  --blue: #2366d1;
  --amber: #e29c32;
  --charcoal: #11181f;
  --shadow: 0 22px 50px rgba(17, 24, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(17, 24, 31, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand,
.header-cart,
.main-nav,
.header-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  letter-spacing: 0;
}

.main-nav {
  gap: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: #fff;
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.lang-switch {
  gap: 2px;
  min-height: 40px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active {
  color: #17120a;
  background: var(--amber);
}

.header-cart {
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.cart-icon {
  font-weight: 800;
}

.cart-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: #17120a;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.88) 0%, rgba(8, 13, 18, 0.68) 38%, rgba(8, 13, 18, 0.22) 78%),
    linear-gradient(0deg, rgba(8, 13, 18, 0.2), rgba(8, 13, 18, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 78px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8df1e6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.primary {
  background: var(--amber);
  color: #16120b;
  box-shadow: 0 14px 28px rgba(226, 156, 50, 0.28);
}

.secondary {
  width: 100%;
  background: var(--charcoal);
  color: #fff;
}

.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.full {
  width: 100%;
}

.hero-stats {
  margin-top: 34px;
}

.hero-stats span {
  display: grid;
  gap: 3px;
  min-width: 134px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-stats strong {
  color: #fff;
  font-size: 24px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-band div {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: #fff;
}

.trust-band strong {
  font-size: 18px;
}

.trust-band span,
.section-head p,
.product-card p,
.price-card p,
.price-card span,
.process-copy p,
.course-row p {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 650px;
  margin: 14px 0 0;
  font-size: 17px;
}

.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  box-shadow: 0 8px 24px rgba(17, 24, 31, 0.06);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 auto;
  padding-left: 18px;
  color: #36424d;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  color: #064b48;
  background: #d8f4f0;
  font-size: 12px;
  font-weight: 800;
}

.product-price {
  color: var(--blue);
  font-weight: 800;
}

.course-list {
  display: grid;
  gap: 12px;
}

.course-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 110px 120px 48px;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.course-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.course-row p {
  margin: 8px 0 0;
}

.course-meta {
  color: var(--muted);
  font-weight: 700;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.icon-button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.price-card {
  min-height: 300px;
  justify-content: space-between;
}

.price-card strong {
  font-size: 32px;
}

.price-card.featured {
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.price-card.featured p,
.price-card.featured span {
  color: rgba(255, 255, 255, 0.75);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  padding: 86px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--charcoal);
}

.process-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.75);
}

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

.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--teal);
}

.contact-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  padding: 86px clamp(18px, 5vw, 72px);
  background: #eef5f4;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #394753;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #cbd9dd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.contact-form label:nth-child(3),
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.cart-dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.cart-dialog::backdrop {
  background: rgba(9, 13, 18, 0.62);
}

.cart-panel {
  padding: 24px;
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.cart-head h2 {
  font-size: 30px;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 110px;
  margin: 22px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.empty-cart {
  color: rgba(255, 255, 255, 0.72);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .trust-band,
  .product-grid,
  .pricing-grid,
  .process,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .course-row {
    grid-template-columns: 56px minmax(0, 1fr) 48px;
  }

  .course-meta,
  .course-row strong {
    grid-column: 2 / 3;
  }

  .course-row .icon-button {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span:last-child,
  .header-cart span:nth-child(2) {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-button {
    min-width: 34px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section,
  .process,
  .contact-band {
    padding: 58px 14px;
  }

  .product-card,
  .price-card {
    min-height: auto;
  }

  .course-row {
    grid-template-columns: 1fr 44px;
    align-items: start;
  }

  .course-number {
    display: none;
  }

  .course-row .icon-button {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .course-row > div:nth-child(2),
  .course-meta,
  .course-row strong {
    grid-column: 1 / 2;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
