/*
 * Apple UI refinement layer
 * Chi thay doi visual; khong thay doi DOM, checkout hay backend.
 */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --paper: #fff;
  --soft: #f5f5f7;
  --navy: #1d1d1f;
  --blue: #0071e3;
  --blue-dark: #0077ed;
  --gold: #ffd60a;
  --green: #248a3d;
  --radius: 30px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .07);
}

html {
  background: var(--soft);
  scroll-padding-top: 90px;
}

body {
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", Inter, "Segoe UI", sans-serif;
  letter-spacing: -.008em;
}

img {
  height: auto;
}

::selection {
  color: #fff;
  background: var(--blue);
}

:where(a, button, input, summary):focus-visible {
  outline: 3px solid rgba(0, 113, 227, .36);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 48px));
}

.preview-notice {
  min-height: 34px;
  padding: 7px 20px;
  color: #174ea6;
  background: #edf5ff;
  border-bottom: 1px solid rgba(0, 113, 227, .1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.preview-notice span {
  width: 6px;
  height: 6px;
  background: #2997ff;
  box-shadow: 0 0 0 4px rgba(41, 151, 255, .1);
}

.site-header {
  background: rgba(255, 255, 255, .72);
  border-bottom-color: rgba(0, 0, 0, .07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.nav-wrap {
  min-height: 72px;
}

.brand {
  gap: 12px;
}

.brand img {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.brand strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.015em;
}

.brand small {
  color: #86868b;
}

nav {
  gap: 34px;
}

nav a {
  color: #515154;
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease;
}

nav a:hover {
  color: #000;
}

.button {
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.012em;
  transition:
    transform .22s cubic-bezier(.2, .8, .2, 1),
    box-shadow .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}

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

.button:active {
  transform: scale(.985);
}

.button-small {
  min-height: 38px;
  padding: 0 17px;
  font-size: 12px;
}

.button-dark {
  color: #fff;
  background: #1d1d1f;
}

.button-primary {
  background: var(--blue);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 22px rgba(0, 113, 227, .2);
}

.button-outline {
  color: #1d1d1f;
  background: rgba(255, 255, 255, .84);
  border-color: rgba(0, 0, 0, .16);
}

.button-outline:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, .28);
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 86px 0 104px;
  background:
    radial-gradient(circle at 82% 36%, rgba(0, 113, 227, .08), transparent 26%),
    radial-gradient(circle at 14% 18%, rgba(175, 82, 222, .045), transparent 25%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}

.hero-glow-one {
  right: -140px;
  top: 80px;
  background: rgba(255, 214, 10, .09);
  filter: blur(35px);
}

.hero-glow-two {
  background: rgba(0, 113, 227, .07);
  filter: blur(35px);
}

.hero-grid {
  grid-template-columns: 1.02fr .98fr;
  gap: 84px;
}

.eyebrow {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 500;
}

.eyebrow span {
  padding: 7px 12px;
  color: #0066cc;
  background: rgba(0, 113, 227, .08);
  border: 1px solid rgba(0, 113, 227, .08);
}

h1 {
  max-width: 690px;
  margin: 24px 0 24px;
  font-size: clamp(52px, 5.25vw, 76px);
  line-height: .99;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  color: #6e6e73;
  font-size: 19px;
  line-height: 1.58;
  letter-spacing: -.015em;
}

.hero-actions {
  margin-top: 36px;
}

.trust-row {
  gap: 28px;
  margin-top: 44px;
  padding-top: 25px;
  border-top-color: rgba(0, 0, 0, .08);
}

.trust-row strong {
  font-size: 20px;
  font-weight: 650;
}

.trust-row span {
  color: #86868b;
  font-size: 11px;
}

.book-stage {
  min-height: 600px;
}

.book {
  border-radius: 5px 22px 22px 5px;
  transform: rotateY(-9deg) rotateX(1deg) rotateZ(.5deg);
  box-shadow:
    -14px 18px 28px rgba(0, 0, 0, .13),
    28px 40px 70px rgba(0, 0, 0, .16);
}

.floating-card {
  padding: 12px 15px;
  background: rgba(255, 255, 255, .76);
  border-color: rgba(255, 255, 255, .75);
  border-radius: 18px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .09),
    inset 0 0 0 1px rgba(0, 0, 0, .03);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.mini-icon,
.check-icon {
  border-radius: 12px;
}

section {
  padding: 120px 0;
}

.section-kicker {
  margin-bottom: 15px;
  color: #0071e3;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading.centered {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading h2,
.inside-copy h2,
.routine-copy h2,
.fit-card h2,
.offer-copy h2 {
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.07;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading p,
.routine-copy > p,
.offer-copy > p {
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.6;
}

.problem-section {
  padding: 32px 0 120px;
  color: #f5f5f7;
  background: #f5f5f7;
}

.problem-section > .container {
  padding: 86px 72px 74px;
  background:
    radial-gradient(circle at 80% 15%, rgba(41, 151, 255, .14), transparent 29%),
    #1d1d1f;
  border-radius: 42px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .09);
}

.problem-section .section-kicker {
  color: #2997ff;
}

.problem-section .section-heading p {
  color: #a1a1a6;
}

.feature-grid {
  gap: 16px;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  background: rgba(255, 255, 255, .065);
  border-color: rgba(255, 255, 255, .09);
  border-radius: 26px;
  transition: background-color .25s ease, transform .25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .085);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.feature-card p {
  color: #a1a1a6;
  line-height: 1.6;
}

.feature-icon {
  border-radius: 14px;
}

.inside-section {
  background: #fff;
}

.inside-grid {
  gap: 96px;
}

.check-list {
  gap: 22px;
}

.check-list li > span {
  color: #0071e3;
  background: rgba(0, 113, 227, .08);
  border-radius: 50%;
}

.check-list strong {
  font-weight: 600;
}

.sample-sheet {
  padding: 22px;
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, .06);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
  transform: rotate(.4deg);
}

.word-row {
  border-radius: 13px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .035);
}

.preview-section {
  background: #f5f5f7;
}

.preview-gallery {
  gap: 24px;
}

.preview-card {
  border-color: rgba(0, 0, 0, .06);
  border-radius: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .055);
}

.preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .08);
}

.preview-card > span {
  padding: 22px 25px;
}

.preview-card strong {
  font-weight: 600;
}

.routine-section {
  background: #fff;
}

.routine-grid {
  gap: 100px;
}

.routine-visual {
  padding: 56px;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 113, 227, .1), transparent 32%),
    linear-gradient(145deg, #f5f5f7, #fff);
  border: 1px solid rgba(0, 0, 0, .045);
  border-radius: 36px;
}

.calendar-card {
  border-color: rgba(0, 0, 0, .06);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .085);
  transform: rotate(-.8deg);
}

.calendar-days div {
  background: #f5f5f7;
  border-radius: 13px;
}

.plain-badges span {
  color: #515154;
  background: #f5f5f7;
  border-radius: 999px;
  font-weight: 500;
}

.fit-section {
  padding: 0 0 120px;
  background: #fff;
}

.fit-grid {
  gap: 20px;
}

.fit-card {
  padding: 50px;
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, .05);
  border-radius: 32px;
}

.fit-yes {
  background:
    radial-gradient(circle at 90% 0, rgba(52, 199, 89, .09), transparent 32%),
    #f5f5f7;
}

.fit-no {
  background:
    radial-gradient(circle at 90% 0, rgba(142, 142, 147, .1), transparent 32%),
    #f5f5f7;
}

.fit-label {
  font-weight: 600;
}

.fit-yes .fit-label {
  color: #187a32;
  background: rgba(52, 199, 89, .11);
}

.fit-no .fit-label {
  color: #6e6e73;
  background: rgba(142, 142, 147, .1);
}

.fit-card h2 {
  font-size: 33px;
}

.creator-section {
  padding: 0 0 120px;
  background: #fff;
}

.creator-card {
  padding: 48px;
  background:
    radial-gradient(circle at 75% 0, rgba(41, 151, 255, .18), transparent 35%),
    #1d1d1f;
  border-radius: 36px;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .1);
}

.creator-card h2 {
  font-size: 32px;
  font-weight: 600;
}

.creator-card p {
  color: #a1a1a6;
}

.creator-stat {
  border-color: rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
}

.offer-section {
  padding: 32px 0 120px;
  color: #f5f5f7;
  background: #f5f5f7;
}

.offer-grid {
  grid-template-columns: 1fr 430px;
  gap: 90px;
  padding: 78px 74px;
  background:
    radial-gradient(circle at 15% 110%, rgba(41, 151, 255, .22), transparent 33%),
    #1d1d1f;
  border-radius: 42px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .09);
}

.offer-copy .section-kicker {
  color: #2997ff;
}

.offer-copy > p {
  color: #a1a1a6;
}

.offer-list {
  color: #f5f5f7;
}

.offer-list span {
  color: #fff;
  background: #30d158;
}

.price-card {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 30px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, .2);
}

.price-label {
  color: #6e6e73;
  font-weight: 600;
}

.price strong {
  font-size: 56px;
  font-weight: 650;
}

.secure-line {
  color: #6e6e73;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  gap: 110px;
}

.accordion {
  border-top-color: rgba(0, 0, 0, .09);
}

.accordion details {
  border-bottom-color: rgba(0, 0, 0, .09);
}

.accordion summary {
  padding: 25px 0;
  font-weight: 600;
  letter-spacing: -.015em;
}

.accordion summary span {
  color: #86868b;
}

footer {
  padding: 48px 0 110px;
  background: #f5f5f7;
  border-top-color: rgba(0, 0, 0, .06);
}

.footer-links a {
  color: #515154;
  font-weight: 500;
}

.mobile-bar {
  background: rgba(29, 29, 31, .88);
  border-color: rgba(255, 255, 255, .12);
  border-radius: 22px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.lightbox img {
  border-radius: 24px;
}

.checkout-dialog {
  border-radius: 30px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .32);
}

.checkout-dialog::backdrop {
  background: rgba(0, 0, 0, .54);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.dialog-close {
  color: #6e6e73;
  background: #f5f5f7;
}

.checkout-step {
  padding: 46px;
}

.checkout-step h2 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

#checkout-form input[type="text"],
#checkout-form input[type="email"] {
  height: 52px;
  background: #f5f5f7;
  border-color: transparent;
  border-radius: 14px;
}

#checkout-form input:focus {
  background: #fff;
  border-color: #0071e3;
}

.qr-frame {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, .05);
  border-radius: 22px;
}

.payment-details > div {
  border-bottom-color: rgba(0, 0, 0, .08);
}

.payment-details button {
  color: #0071e3;
  background: rgba(0, 113, 227, .08);
  border-radius: 999px;
}

.payment-details .important {
  background: #fff9e6;
  border-color: rgba(255, 159, 10, .28);
  border-radius: 14px;
}

.payment-warning {
  color: #704a00;
  background: #fff9e6;
  border-radius: 14px;
}

.order-reference {
  background: #f5f5f7;
  border-radius: 999px;
}

.legal-page {
  background: #f5f5f7;
}

.legal-main {
  padding: 84px 0 120px;
}

.legal-card {
  padding: 60px;
  border-color: rgba(0, 0, 0, .05);
  border-radius: 32px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .045);
}

.legal-card h1 {
  font-size: 48px;
  letter-spacing: -.045em;
}

.legal-card h2 {
  letter-spacing: -.02em;
}

.reveal {
  transform: translateY(12px);
  transition:
    opacity .65s cubic-bezier(.2, .8, .2, 1),
    transform .65s cubic-bezier(.2, .8, .2, 1);
}

@media (max-width: 1080px) {
  .problem-section > .container,
  .offer-grid {
    padding-left: 48px;
    padding-right: 48px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .inside-grid,
  .routine-grid,
  .offer-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .book-stage {
    min-height: 560px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .price-card {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .preview-notice {
    min-height: 36px;
    padding-inline: 18px;
    font-size: 10px;
    line-height: 1.25;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand strong {
    font-size: 13px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .eyebrow {
    flex-wrap: wrap;
    gap: 8px;
  }

  h1 {
    max-width: 360px;
    margin: 22px auto;
    font-size: clamp(41px, 12vw, 50px);
    line-height: .98;
    letter-spacing: -.055em;
  }

  .hero-lead {
    max-width: 355px;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-actions .button {
    max-width: 360px;
  }

  .trust-row {
    max-width: 360px;
    margin: 38px auto 0;
  }

  .book-stage {
    min-height: 455px;
  }

  section {
    padding: 88px 0;
  }

  .section-heading h2,
  .inside-copy h2,
  .routine-copy h2,
  .offer-copy h2 {
    font-size: 38px;
    line-height: 1.06;
  }

  .section-heading p,
  .routine-copy > p,
  .offer-copy > p {
    font-size: 16px;
  }

  .problem-section {
    padding: 14px 0 88px;
  }

  .problem-section > .container {
    width: calc(100% - 20px);
    padding: 62px 18px 20px;
    border-radius: 32px;
  }

  .problem-section .section-heading {
    padding-inline: 8px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .inside-grid,
  .routine-grid {
    gap: 58px;
  }

  .sample-sheet {
    border-radius: 24px;
  }

  .preview-gallery {
    gap: 16px;
  }

  .preview-card {
    border-radius: 24px;
  }

  .routine-visual {
    padding: 26px 14px;
    border-radius: 28px;
  }

  .fit-section {
    padding-bottom: 88px;
  }

  .fit-grid {
    gap: 12px;
  }

  .fit-card {
    padding: 34px 26px;
    border-radius: 26px;
  }

  .fit-card h2 {
    font-size: 30px;
  }

  .creator-section {
    padding-bottom: 88px;
  }

  .creator-card {
    width: calc(100% - 20px);
    padding: 32px 24px;
    border-radius: 30px;
  }

  .creator-card h2 {
    font-size: 28px;
  }

  .offer-section {
    padding: 14px 0 88px;
  }

  .offer-grid {
    width: calc(100% - 20px);
    padding: 58px 18px 18px;
    border-radius: 32px;
  }

  .offer-copy {
    padding-inline: 8px;
  }

  .price-card {
    padding: 30px 22px;
    border-radius: 26px;
  }

  .price strong {
    font-size: 50px;
  }

  .faq-grid {
    gap: 25px;
  }

  .accordion summary {
    padding: 23px 0;
  }

  footer {
    padding-bottom: 112px;
  }

  .mobile-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .checkout-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 28px;
  }

  .checkout-step {
    padding: 36px 22px 26px;
  }

  .checkout-step h2 {
    font-size: 30px;
  }

  .legal-main {
    padding: 42px 0 100px;
  }

  .legal-card {
    padding: 36px 24px;
    border-radius: 26px;
  }

  .legal-card h1 {
    font-size: 38px;
  }
}
