:root {
  --ink: #101828;
  --muted: #667085;
  --soft: #f5f7fb;
  --paper: #fffaf2;
  --surface: #ffffff;
  --line: #e7edf5;
  --brand: #ff7a1a;
  --brand-dark: #df5f08;
  --navy: #101b46;
  --blue: #246bfe;
  --green: #12b76a;
  --rose: #f04438;
  --shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 22px 60px rgba(16, 24, 40, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 26, 0.16), transparent 32rem),
    radial-gradient(circle at top right, rgba(36, 107, 254, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff8ec 0%, #f8fbff 42%, #ffffff 100%);
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.announcement {
  background: linear-gradient(90deg, var(--navy), #27376f);
  color: #eef4ff;
  font-size: 14px;
}

.announcement .shell {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 237, 245, 0.92);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--brand), #ffb020);
  box-shadow: 0 14px 30px rgba(255, 122, 26, 0.26);
}

.brand-mark-image {
  padding: 0;
  overflow: hidden;
  background: #0ea5e9;
}

.brand-mark-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: #fff1df;
  color: var(--brand-dark);
}

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

.cart-pill,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #ffb020);
  color: white;
  box-shadow: 0 16px 32px rgba(255, 122, 26, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark), #f79009);
}

.btn-soft {
  border-color: #f5d3ad;
  color: var(--brand-dark);
  background: #fff8ef;
}

.cart-pill {
  background: white;
  border-color: var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.hero {
  padding: 62px 0 44px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  gap: 44px;
  align-items: center;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff1df;
  color: var(--brand-dark);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 .highlight {
  color: var(--brand);
}

.lead {
  max-width: 710px;
  margin-bottom: 26px;
  color: #475467;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.proof-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-board {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #fff7ec);
  box-shadow: var(--shadow-md);
  padding: 20px;
}

.product-hero {
  padding-bottom: 26px;
}

.catalog-map {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(231, 237, 245, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.catalog-map strong {
  margin-bottom: 4px;
  font-size: 20px;
}

.catalog-map a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf4;
  padding: 13px 15px;
  color: #344054;
  font-weight: 900;
}

.catalog-map a::after {
  content: ">";
  color: var(--brand-dark);
}

.catalog-map a:hover {
  border-color: #f5d3ad;
  color: var(--brand-dark);
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: -18px -24px auto auto;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(36, 107, 254, 0.13);
  z-index: -1;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-card {
  min-height: 140px;
  border-radius: 18px;
  padding: 15px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.mini-card strong {
  display: block;
  margin: 10px 0 6px;
  line-height: 1.3;
}

.mini-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.discount {
  margin-top: 14px;
  padding: 15px;
  border: 1px dashed rgba(255, 122, 26, 0.6);
  border-radius: 18px;
  background: #fff6ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.stat-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--navy);
}

.stat-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 54px 0;
}

.compact-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

.section-head p {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: center;
}

.split-section h2,
.idea-panel h2,
.story-panel h2,
.proof-panel h2,
.final-cta h2 {
  margin: 14px 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1;
}

.split-section p,
.idea-panel p,
.story-panel p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.insight-grid,
.value-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.insight-card,
.value-card,
.faq-grid details,
.subject-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.insight-card {
  padding: 18px;
  color: #344054;
  font-weight: 900;
}

.insight-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 7px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #ffcc66);
}

.idea-panel,
.story-panel,
.proof-panel,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 42px);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.benefit-row span,
.subject-cloud span {
  border: 1px solid #ffe0b8;
  border-radius: 999px;
  background: #fff6ea;
  color: var(--brand-dark);
  padding: 12px 14px;
  font-weight: 900;
  text-align: center;
}

.subject-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.subject-card {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.subject-card:hover {
  border-color: #ffc686;
  color: var(--brand-dark);
  transform: translateY(-2px);
}

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

.category-card {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 20px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 8px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #ffcc66);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #ffc686;
  box-shadow: 0 22px 42px rgba(16, 24, 40, 0.12);
}

.category-card small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.55;
}

.value-card {
  padding: 24px;
}

.value-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.story-steps {
  display: grid;
  gap: 14px;
}

.story-steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 18px;
}

.story-steps span {
  width: 42px;
  height: 42px;
  grid-row: span 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #ffb020);
  color: white;
  font-weight: 900;
}

.story-steps strong {
  color: var(--navy);
  font-size: 18px;
}

.story-steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.proof-metrics div {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 20px;
}

.proof-metrics strong {
  display: block;
  color: var(--brand-dark);
  font-size: 36px;
}

.proof-metrics span {
  color: var(--muted);
  font-weight: 800;
}

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 122, 26, 0.18), transparent 20rem),
    radial-gradient(circle at 90% 20%, rgba(36, 107, 254, 0.14), transparent 20rem),
    white;
}

.final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.toolbar {
  position: sticky;
  top: 75px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.search,
.select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
}

.search:focus,
.select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
}

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

.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.app-art {
  position: relative;
  min-height: 190px;
  padding: 18px;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, #0f9f6e, #0ea5a4);
}

.app-art::before,
.app-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.app-art::before {
  width: 160px;
  height: 160px;
  right: -58px;
  top: -48px;
}

.app-art::after {
  width: 92px;
  height: 92px;
  left: 18px;
  bottom: -42px;
}

.app-art.mint { background: linear-gradient(135deg, #039855, #12b76a); }
.app-art.sky { background: linear-gradient(135deg, #155eef, #06aed4); }
.app-art.rose { background: linear-gradient(135deg, #d92d20, #f97066); }
.app-art.amber { background: linear-gradient(135deg, #dc6803, #fdb022); }
.app-art.lime { background: linear-gradient(135deg, #3f6212, #84cc16); }
.app-art.teal { background: linear-gradient(135deg, #0e9384, #2ed3b7); }
.app-art.orange { background: linear-gradient(135deg, #e04f16, #ff9c66); }
.app-art.violet { background: linear-gradient(135deg, #6941c6, #7a5af8); }

.app-art.thumbnail-art {
  min-height: 0;
  aspect-ratio: 16 / 10;
  padding: 0;
  background: #101828;
}

.app-art.thumbnail-art::before,
.app-art.thumbnail-art::after {
  content: none;
}

.app-art .badge {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.course-cover {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 112px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 42px;
  font-weight: 900;
}

.course-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

.visual-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 132px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  overflow: hidden;
}

.visual-title,
.equation,
.clue,
.pet-sum,
.flag,
.box-lid {
  color: white;
  font-weight: 900;
}

.times-table {
  padding: 13px;
}

.visual-title {
  margin-bottom: 10px;
  font-size: 18px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.visual-grid span {
  border-radius: 9px;
  padding: 6px 4px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.english-box::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.box-lid {
  position: absolute;
  left: 24px;
  top: 17px;
  font-size: 26px;
}

.word-chip {
  position: absolute;
  right: 15px;
  top: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.word-chip.second {
  top: auto;
  right: 32px;
  bottom: 18px;
}

.flashcards .flashcard {
  position: absolute;
  width: 54px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #d92d20;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.16);
}

.flashcards .one {
  left: 16px;
  top: 22px;
  transform: rotate(-9deg);
}

.flashcards .two {
  left: 45px;
  top: 16px;
  z-index: 1;
}

.flashcards .three {
  right: 14px;
  top: 26px;
  font-size: 17px;
  transform: rotate(9deg);
}

.lens {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 48px;
  height: 48px;
  border: 8px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
}

.lens::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -17px;
  width: 34px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  transform: rotate(45deg);
}

.clue {
  position: absolute;
  left: 15px;
  bottom: 18px;
  font-size: 16px;
}

.trail {
  position: absolute;
  left: 17px;
  top: 20px;
  width: 44px;
  height: 26px;
  border-top: 4px dotted rgba(255, 255, 255, 0.78);
  transform: rotate(-16deg);
}

.grade-three-math {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 14px;
}

.math-row {
  border-radius: 12px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.24);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.plus-minus {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 14px;
}

.sum-line {
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.24);
  color: white;
  font-size: 17px;
  font-weight: 900;
}

.sum-line.second {
  width: 78%;
}

.math-badge {
  position: absolute;
  right: 12px;
  bottom: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.88);
  color: #b54708;
  font-size: 12px;
  font-weight: 900;
}

.adventure .map-path {
  position: absolute;
  left: 20px;
  top: 26px;
  width: 82px;
  height: 54px;
  border: 5px dashed rgba(255, 255, 255, 0.78);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(12deg);
}

.map-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: white;
}

.map-point.start {
  left: 18px;
  bottom: 22px;
}

.map-point.finish {
  right: 22px;
  top: 22px;
}

.flag {
  position: absolute;
  right: 21px;
  bottom: 18px;
  font-size: 26px;
}

.word-problem {
  padding: 18px;
}

.paper-line {
  height: 8px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.paper-line.wide {
  width: 92px;
}

.equation {
  margin-top: 14px;
  font-size: 20px;
}

.pet-face {
  position: absolute;
  left: 24px;
  top: 18px;
  width: 64px;
  height: 54px;
  border-radius: 26px 26px 22px 22px;
  background: rgba(255, 255, 255, 0.84);
}

.pet-face::before,
.pet-face::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.pet-face::before {
  left: 5px;
  transform: rotate(28deg);
}

.pet-face::after {
  right: 5px;
  transform: rotate(-28deg);
}

.pet-face span {
  position: absolute;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e04f16;
}

.pet-face span:first-child {
  left: 19px;
}

.pet-face span:last-child {
  right: 19px;
}

.pet-sum {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 24px;
}

.app-art h3 {
  position: relative;
  z-index: 1;
  max-width: 230px;
  margin: 18px 0 8px;
  color: white;
  font-size: 23px;
  line-height: 1.22;
}

.app-art p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.55;
}

.app-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f4f7;
}

.app-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.28;
}

.app-card p {
  color: var(--muted);
  line-height: 1.62;
}

.outcomes {
  margin: 2px 0 16px;
  padding: 0;
  list-style: none;
  color: #475467;
  font-size: 14px;
}

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

.price-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions > :only-child {
  grid-column: 1 / -1;
}

.price strong {
  display: inline-block;
  margin-right: 8px;
  color: var(--brand-dark);
  font-size: 25px;
}

.price del {
  color: #98a2b3;
  font-size: 14px;
  font-weight: 700;
}

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

.plan-card,
.blog-card,
.affiliate-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.blog-card {
  overflow: hidden;
}

.blog-thumb {
  display: block;
  margin: -24px -24px 18px;
  aspect-ratio: 16 / 9;
  background: #fff6ea;
  overflow: hidden;
}

.blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-card.featured {
  border-color: #ffb366;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.plan-card h3,
.blog-card h3 {
  margin: 12px 0 10px;
  font-size: 23px;
}

.plan-card p,
.blog-card p {
  color: var(--muted);
  line-height: 1.65;
}

.plan-card ul {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  color: #475467;
}

.plan-card li {
  margin-bottom: 10px;
}

.affiliate-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #fff6ea, #eef4ff);
  border-color: #ffe0b8;
}

.affiliate-link {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.affiliate-link input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: white;
}

.product-detail-hero .hero-grid {
  align-items: center;
}

.detail-price {
  margin: 0 0 20px;
}

.detail-media {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), #ffb020);
  box-shadow: var(--shadow-md);
}

.detail-media.has-thumbnail .course-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.detail-media:not(.has-thumbnail) .visual-card,
.detail-media:not(.has-thumbnail) .course-cover {
  right: 50%;
  bottom: 50%;
  transform: translate(50%, 50%) scale(1.35);
}

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

.detail-list {
  margin: 18px 0 0;
}

.footer {
  margin-top: 42px;
  padding: 48px 0;
  color: #d0d5dd;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 122, 26, 0.2), transparent 25rem),
    #101b46;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: white;
}

.footer a,
.footer p {
  color: #d0d5dd;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 13px 18px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .split-section,
  .story-panel,
  .affiliate-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    max-width: 620px;
  }

  .category-grid,
  .subject-grid,
  .apps-grid,
  .combo-grid,
  .blog-grid,
  .stat-strip,
  .benefit-row,
  .proof-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, 1200px);
  }

  .announcement {
    display: none;
  }

  .nav {
    min-height: 66px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .mini-grid,
  .insight-grid,
  .value-grid,
  .faq-grid,
  .benefit-row,
  .proof-metrics,
  .subject-grid,
  .category-grid,
  .apps-grid,
  .combo-grid,
  .blog-grid,
  .toolbar,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .toolbar {
    position: static;
  }

  .section {
    padding: 38px 0;
  }

  .section-head {
    display: block;
  }

  .hero-actions,
  .affiliate-link {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .btn,
  .cart-pill {
    width: 100%;
  }

  .plan-card.featured {
    transform: none;
  }
}
.payment-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
}

.payment-offers {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(54px, 8vw, 96px) auto;
}

.payment-offer-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.payment-offer-head h2 {
  margin: 12px 0 10px;
  color: #0f172a;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.payment-offer-head p {
  margin: 0;
  color: #64748b;
  font-size: 20px;
  line-height: 1.55;
}

.payment-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.combo-builder,
.vip-builder {
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  padding: clamp(22px, 4vw, 34px);
}

.combo-builder h3,
.vip-builder h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(25px, 3vw, 36px);
}

.combo-builder p,
.vip-builder p {
  margin: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.55;
}

.combo-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.combo-list label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  padding: 13px 15px;
  cursor: pointer;
}

.combo-list input {
  width: 18px;
  height: 18px;
  accent-color: #f97316;
}

.combo-list span {
  color: #334155;
  font-weight: 800;
}

.combo-list strong {
  color: #e8590c;
}

.combo-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  margin-bottom: 18px;
}

.combo-summary span {
  color: #64748b;
  font-weight: 700;
}

.combo-summary strong,
.vip-price {
  color: #e8590c;
  font-size: 34px;
  font-weight: 900;
}

.vip-builder {
  background: linear-gradient(180deg, #fff7ed 0%, #fff 55%);
}

.vip-price {
  margin: 22px 0;
}

.vip-price span {
  color: #64748b;
  font-size: 18px;
  font-weight: 800;
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@media (max-width: 1024px) and (min-width: 761px) {
  .testimonial-stats,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-panel.is-open {
  display: flex;
}

.payment-card {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fffaf3;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  padding: clamp(22px, 4vw, 42px);
}

.payment-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.payment-copy {
  max-width: 720px;
  margin-bottom: 24px;
}

.payment-copy h2 {
  margin: 12px 0 10px;
  color: #0f172a;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.payment-copy p {
  margin: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.65;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 26px;
  align-items: start;
}

.payment-qr-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  padding: 16px;
}

.payment-qr {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.payment-info {
  display: grid;
  gap: 12px;
}

.payment-line,
.payment-content,
.payment-items {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 16px 18px;
}

.payment-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.payment-line span,
.payment-content span {
  color: #64748b;
  font-weight: 700;
}

.payment-line strong,
.payment-content strong {
  color: #0f172a;
  font-size: 18px;
}

.payment-total strong {
  color: #e8590c;
  font-size: 30px;
}

.payment-content > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.copy-payment {
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.payment-items {
  display: grid;
  gap: 10px;
}

.payment-items div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #475569;
}

.payment-items strong {
  color: #0f172a;
}

.payment-items .discount strong {
  color: #16a34a;
}

@media (max-width: 760px) {
  .affiliate-hero-grid,
  .affiliate-steps,
  .affiliate-form-card,
  .affiliate-form-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-highlight {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-stats,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card p {
    min-height: auto;
  }

  .auth-card {
    border-radius: 24px;
    padding: 24px;
  }

  .auth-two-cols,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .auth-form input {
    min-height: 56px;
    font-size: 18px;
  }

  .admin-hero-grid {
    align-items: start;
    flex-direction: column;
  }

  .pdf-card {
    grid-template-columns: 1fr;
  }

  .pdf-icon {
    width: 76px;
    height: 96px;
    font-size: 20px;
  }

  .hero-avatar-panel {
    min-height: auto;
    margin-top: 28px;
  }

  .hero-avatar-frame {
    width: min(300px, 78vw);
    border-width: 6px;
  }

  .brand-profile {
    align-items: flex-start;
    border-radius: 20px;
  }

  .brand-profile img {
    width: 70px;
    height: 70px;
  }

  .payment-panel {
    padding: 12px;
    align-items: flex-end;
  }

  .payment-card {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-line,
  .payment-content > div,
  .payment-items div {
    align-items: flex-start;
    flex-direction: column;
  }
}
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 13px;
  text-decoration: none;
}

.contact-link:hover {
  border-color: #fdba74;
  color: #c2410c;
}

.contact-text {
  cursor: default;
}

.payment-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.payment-support-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 900;
  padding: 10px 16px;
  text-decoration: none;
}

.payment-support-links span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 900;
  padding: 10px 16px;
}
.brand-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(620px, 100%);
  margin: 22px 0 0;
  border: 1px solid #fde68a;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  padding: 14px 16px;
}

.brand-profile img {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border: 3px solid #f7c948;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
}

.brand-profile strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.2;
}

.brand-profile span {
  display: block;
  margin-top: 5px;
  color: #475569;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-avatar-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-avatar-frame {
  width: min(430px, 82vw);
  aspect-ratio: 1;
  border: 8px solid #f7c948;
  border-radius: 50%;
  background: #06142f;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.hero-avatar-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-hero {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.pdf-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  padding: clamp(20px, 3vw, 30px);
}

.pdf-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.22);
}

.pdf-content h3 {
  margin: 14px 0 10px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.pdf-content p {
  margin: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.55;
}

.pdf-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.pdf-meta span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  padding: 8px 12px;
}

.pdf-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #475569;
  font-weight: 700;
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.2), transparent 36%),
    linear-gradient(180deg, #061025 0%, #081126 100%);
  color: #f8fafc;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 16px;
}

.auth-card {
  width: min(960px, 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  padding: clamp(28px, 5vw, 70px);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.auth-heading {
  text-align: center;
  margin: 28px auto;
}

.auth-heading h1 {
  margin: 10px 0;
  color: #f8fafc;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1;
}

.auth-heading p {
  margin: 0 auto;
  max-width: 680px;
  color: #91a7d8;
  font-size: 22px;
  line-height: 1.5;
}

.auth-benefits,
.auth-tabs,
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.auth-benefits span,
.auth-tabs button {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  color: #91a7d8;
  font-weight: 800;
  padding: 12px 18px;
}

.auth-tabs {
  margin: 32px 0;
}

.auth-tabs button {
  min-width: 140px;
  cursor: pointer;
}

.auth-tabs button.is-active {
  background: #fff;
  color: #0f172a;
}

.auth-form {
  display: grid;
  gap: 20px;
}

.auth-form label {
  display: grid;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 64px;
  border: 2px solid #223454;
  border-radius: 18px;
  background: #071025;
  color: #f8fafc;
  font: inherit;
  font-size: 22px;
  padding: 14px 18px;
  outline: none;
}

.auth-form input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.auth-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.auth-checkbox {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  color: #91a7d8 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.auth-checkbox input {
  width: 24px;
  min-height: 24px;
  margin-top: 4px;
}

.auth-submit {
  min-height: 70px;
  font-size: 22px;
}

.auth-forgot {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #67e8f9;
  font-weight: 900;
  cursor: pointer;
  padding: 0;
}

.auth-forgot:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-note {
  min-height: 28px;
  margin: 18px 0 0;
  text-align: center;
  color: #91a7d8;
  font-weight: 800;
}

.auth-note[data-type="success"] {
  color: #86efac;
}

.auth-note[data-type="error"] {
  color: #fca5a5;
}

.auth-links {
  margin-top: 20px;
}

.auth-links a {
  color: #67e8f9;
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.admin-page {
  background: #f8fafc;
  min-height: 100vh;
}

.admin-hero {
  padding: clamp(46px, 8vw, 90px) 0 28px;
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.admin-hero-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.admin-hero h1 {
  margin: 12px 0;
  color: #0f172a;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
}

.admin-hero p {
  max-width: 760px;
  color: #64748b;
  font-size: 20px;
  line-height: 1.55;
}

.admin-actions,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.admin-stats article {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
}

.admin-stats span {
  color: #64748b;
  font-weight: 800;
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  color: #e8590c;
  font-size: 36px;
}

.admin-panel {
  margin-top: 24px;
  margin-bottom: 70px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  padding: 20px;
}

.admin-toolbar {
  margin-bottom: 18px;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-table select,
.admin-table textarea {
  min-height: 48px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  padding: 10px 12px;
}

.admin-toolbar input {
  flex: 1 1 340px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-top: 1px solid #e2e8f0;
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #475569;
  font-size: 14px;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span,
.admin-table small {
  color: #64748b;
}

.admin-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-products span {
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c !important;
  font-weight: 800;
  padding: 7px 10px;
}

.admin-empty {
  color: #64748b;
  text-align: center !important;
}

.testimonials-section {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  color: #0f172a;
  padding: clamp(64px, 9vw, 112px) 0;
}

.testimonial-head {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.testimonial-head h2 {
  margin: 14px 0;
  color: #0f172a;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

.testimonial-head p {
  max-width: 820px;
  margin: 0 auto;
  color: #64748b;
  font-size: 20px;
  line-height: 1.6;
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, 100%);
  margin: 38px auto 58px;
}

.testimonial-stats article {
  border: 1px solid #fed7aa;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
  padding: 24px 18px;
  text-align: center;
}

.testimonial-stats strong {
  display: block;
  color: #e8590c;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.testimonial-stats span {
  display: block;
  margin-top: 9px;
  color: #64748b;
  font-weight: 700;
}

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

.testimonial-card {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  padding: clamp(22px, 3vw, 34px);
}

.stars {
  color: #f59e0b;
  font-size: 21px;
  letter-spacing: 2px;
}

.testimonial-card p {
  min-height: 120px;
  margin: 20px 0 26px;
  color: #0f172a;
  font-size: 19px;
  font-style: italic;
  line-height: 1.65;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.reviewer > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #fff;
  font-weight: 900;
}

.reviewer-avatar {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #fff7ed;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.reviewer strong,
.reviewer small {
  display: block;
}

.reviewer strong {
  color: #0f172a;
}

.reviewer small {
  margin-top: 3px;
  color: #64748b;
}

.affiliate-page {
  background: #fffaf3;
}

.affiliate-hero {
  padding: clamp(58px, 9vw, 110px) 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(253, 186, 116, 0.26), transparent 28%),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.affiliate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
}

.affiliate-hero h1 {
  margin: 16px 0;
  color: #0f172a;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.affiliate-hero p {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 21px;
  line-height: 1.65;
}

.affiliate-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin-top: 30px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  padding: 18px 22px;
}

.affiliate-highlight strong {
  color: #e8590c;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.9;
}

.affiliate-highlight span {
  max-width: 360px;
  color: #334155;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.affiliate-summary-card,
.affiliate-form-card {
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  padding: clamp(24px, 4vw, 44px);
}

.affiliate-link-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: #fff7ed;
  color: #e8590c;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 22px;
}

.affiliate-summary-card h2,
.affiliate-form-card h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.affiliate-summary-card ul,
.affiliate-steps p,
.affiliate-form-card p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.6;
}

.affiliate-summary-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.affiliate-summary-card li::before {
  content: "✓";
  color: #e8590c;
  font-weight: 900;
  margin-right: 8px;
}

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

.affiliate-steps article {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
  padding: 26px;
}

.affiliate-steps article > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #fff;
  font-weight: 900;
}

.affiliate-steps h3 {
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 24px;
}

.affiliate-form-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.affiliate-form {
  display: grid;
  gap: 18px;
}

.affiliate-form label {
  display: grid;
  gap: 8px;
  color: #0f172a;
  font-weight: 900;
}

.affiliate-form input {
  min-height: 58px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  padding: 13px 16px;
  outline: none;
}

.affiliate-form input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

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

.affiliate-submit {
  min-height: 62px;
}

.affiliate-form-note {
  min-height: 26px;
  margin: 0;
  color: #16a34a;
  font-weight: 900;
}
