:root {
  --primary: #0078d4;
  --primary-dark: #005a9e;
  --primary-light: #50a0e0;
  --accent: #ffb900;
  --dark: #1b1b1b;
  --gray-900: #201f1e;
  --gray-700: #484644;
  --gray-500: #8a8886;
  --gray-300: #d2d0ce;
  --gray-100: #f3f2f1;
  --gray-50: #faf9f8;
  --white: #ffffff;
  --success: #107c10;
  --danger: #d13438;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

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

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-900);
}

.logo:hover {
  color: var(--primary);
}

.logo-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 28px;
  height: 28px;
}

.logo-mark span {
  display: block;
}

.logo-mark span:nth-child(1) { background: #f25022; }
.logo-mark span:nth-child(2) { background: #7fba00; }
.logo-mark span:nth-child(3) { background: #00a4ef; }
.logo-mark span:nth-child(4) { background: #ffb900; }

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

.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a.active,
.nav a:hover {
  color: var(--primary);
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 500;
  color: var(--gray-900) !important;
}

.cart-link:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--gray-900);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #eaf3fc 0%, #f7fbff 50%, #fff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 185, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #00a4ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero__stat span {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

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

.hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb900, #f25022);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
}

.hero__badge-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.hero__badge-text strong {
  font-size: 0.9rem;
  color: var(--gray-900);
}

/* ===== Sections ===== */
.section {
  padding: 90px 0;
}

.section-light {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header span.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 120, 212, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-700);
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 164, 239, 0.15));
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--primary);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature p {
  font-size: 0.92rem;
  color: var(--gray-700);
}

/* ===== Packs / Pricing ===== */
.packs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pack {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.pack:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pack--featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.pack__ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  background: var(--accent);
  color: var(--gray-900);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 44px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pack__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pack__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pack:hover .pack__image img {
  transform: scale(1.05);
}

.pack__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pack__name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pack__tagline {
  color: var(--gray-700);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.pack__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-100);
}

.pack__price strong {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.pack__price small {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.pack__features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pack__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--gray-700);
}

.pack__features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Services / Courses ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 120, 212, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  flex: 1;
}

.service-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.service-card__duration {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #00a4ef 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner::before {
  top: -100px;
  left: -100px;
}

.cta-banner::after {
  bottom: -120px;
  right: -120px;
}

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

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.95;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.cta-banner .btn-primary:hover {
  background: var(--gray-100);
}

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
}

.testimonial__rating {
  color: var(--accent);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.testimonial__quote {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #00a4ef);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial__role {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer__brand p {
  color: var(--gray-300);
  margin-bottom: 18px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-300);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  color: var(--gray-300);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* ===== Pages (Terms, Privacy, etc.) ===== */
.page-hero {
  background: linear-gradient(135deg, #eaf3fc 0%, #f7fbff 100%);
  padding: 70px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
}

.legal {
  padding: 60px 0 90px;
}

.legal__content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.legal__content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  color: var(--gray-900);
}

.legal__content h2:first-child {
  margin-top: 0;
}

.legal__content p,
.legal__content li {
  color: var(--gray-700);
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.legal__content ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal__updated {
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary), #00a4ef);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.contact-info p {
  opacity: 0.92;
  margin-bottom: 28px;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info li strong {
  display: block;
  margin-bottom: 4px;
}

.contact-info li span {
  opacity: 0.92;
  font-size: 0.95rem;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ===== Cart page ===== */
.cart-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.cart-items {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item__image {
  width: 100px;
  height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
}

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

.cart-item__title {
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item__desc {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-qty button {
  background: var(--white);
  border: 0;
  width: 32px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-900);
  transition: background var(--transition);
}

.cart-qty button:hover {
  background: var(--gray-100);
}

.cart-qty input {
  width: 44px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--gray-300);
  border-right: 1px solid var(--gray-300);
  text-align: center;
  font-size: 0.95rem;
  font-family: inherit;
}

.cart-item__price {
  font-weight: 700;
  color: var(--gray-900);
}

.cart-item__remove {
  background: transparent;
  border: 0;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition);
}

.cart-item__remove:hover {
  background: rgba(209, 52, 56, 0.08);
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 30px;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.cart-summary__line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  margin-top: 14px;
  border-top: 1px solid var(--gray-100);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cart-empty {
  text-align: center;
  padding: 80px 30px;
  color: var(--gray-500);
}

.cart-empty svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: var(--gray-300);
}

.cart-empty h3 {
  color: var(--gray-900);
  margin-bottom: 8px;
}

/* ===== Checkout page ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.checkout-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--gray-900);
}

.checkout-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 30px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.checkout-summary h3 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.checkout-summary #checkout-items {
  margin-bottom: 14px;
}

/* ===== Receipt page ===== */
.receipt-card {
  max-width: 620px;
  margin: 40px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.receipt-card h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.receipt-card > p {
  color: var(--gray-700);
  margin-bottom: 30px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.receipt-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
}

.receipt-icon svg {
  width: 56px;
  height: 56px;
}

.receipt-card--ok .receipt-icon {
  background: rgba(16, 124, 16, 0.1);
  color: var(--success);
}

.receipt-card--pending .receipt-icon {
  background: rgba(255, 185, 0, 0.15);
  color: var(--accent);
}

.receipt-card--ko .receipt-icon {
  background: rgba(209, 52, 56, 0.1);
  color: var(--danger);
}

.receipt-details {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.receipt-details > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.receipt-details > div:last-child {
  border-bottom: 0;
}

.receipt-details strong {
  color: var(--gray-900);
}

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

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-form-card,
  .receipt-card {
    padding: 28px;
  }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 2000;
  font-size: 0.95rem;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero {
    padding: 50px 0 70px;
  }

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

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .features,
  .packs,
  .services,
  .testimonials {
    grid-template-columns: 1fr;
  }

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

  .contact-grid,
  .cart-wrapper {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    top: 65px;
    right: 0;
    left: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: var(--shadow);
  }

  .nav.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .legal__content,
  .contact-form,
  .contact-info {
    padding: 28px;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "img info"
      "qty price"
      "rm rm";
    gap: 12px;
  }

  .cart-item__image { grid-area: img; width: 80px; height: 60px; }
  .cart-item__info { grid-area: info; }
  .cart-qty { grid-area: qty; }
  .cart-item__price { grid-area: price; text-align: right; }
  .cart-item__remove { grid-area: rm; justify-self: end; }

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

@media (max-width: 560px) {
  .hero h1 {
    font-size: 1.9rem;
  }

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