:root {
  --bg-deep: #0b0718;
  --bg-soft: #f3f7ff;
  --paper: rgba(255, 255, 255, 0.96);
  --paper-soft: rgba(255, 255, 255, 0.78);
  --text: #202538;
  --muted: #66708b;
  --line: rgba(46, 73, 142, 0.12);
  --blue: #2256d8;
  --blue-dark: #173789;
  --cyan: #62d3ff;
  --violet: #6c3ee8;
  --pink: #c227b5;
  --shadow: 0 24px 70px rgba(16, 23, 55, 0.18);
  --radius-xl: 30px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 145, 255, 0.24), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(182, 61, 255, 0.20), transparent 28%),
    linear-gradient(180deg, #100823 0%, #0d0b1c 42%, #11182c 100%);
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.page-shell {
  width: min(100%, 448px);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(243, 248, 255, 0.98) 0%, #edf4ff 28%, #fff8f1 62%, #eef4ff 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.42);
}

.page { overflow: hidden; }
.hero { padding: 0 0 30px; }
.hero-card { position: relative; }
.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: #111827;
  box-shadow: var(--shadow);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(4, 8, 23, 0), rgba(4, 8, 23, 0.76));
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.hero-title-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 16px 16px 17px;
  border-radius: 24px;
  background: rgba(7, 11, 27, 0.67);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
  text-align: center;
}
.hero-title-panel span {
  display: inline-flex;
  margin-bottom: 7px;
  color: #b9edff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero-title-panel h1 {
  margin: 0;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.hero-body {
  padding: 22px 18px 0;
  text-align: center;
}
.lead {
  margin: 0 auto 18px;
  max-width: 38ch;
  color: #3d465d;
  font-size: 16px;
  line-height: 1.58;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.price-old,
.price-current {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.price-old {
  color: rgba(61, 70, 93, 0.46);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-current { color: var(--blue-dark); }
.discount-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(81, 68, 215, .22);
}
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #1144c2 0%, #2a7dff 46%, #6b37de 100%);
  box-shadow: 0 16px 34px rgba(31, 74, 198, .30);
}
.button:active { transform: translateY(1px) scale(.99); }
.button:disabled { opacity: .72; cursor: default; }
.meta-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.section { padding: 30px 16px 0; }
.section-intro {
  text-align: center;
  margin: 0 auto 15px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  margin: 0 0 10px;
  border-radius: 999px;
  background: rgba(34, 86, 216, 0.10);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section h2,
.order-card h2,
.flow-copy h2 {
  margin: 0;
  font-size: 29px;
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: #18213a;
}
.story-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}
.story-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.story-copy { padding: 21px 18px 19px; }
.story-copy p,
.flow-copy p,
.order-card > p {
  margin: 0 0 14px;
  color: #46516a;
  font-size: 15.5px;
  line-height: 1.62;
}
.story-copy p:last-child { margin-bottom: 0; }
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 18px 0;
}
.fact-item {
  border-radius: 20px;
  padding: 15px 15px 14px;
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.95), rgba(255, 255, 255, 0.84));
  border: 1px solid var(--line);
}
.fact-item strong {
  display: block;
  margin-bottom: 5px;
  color: #173789;
  font-size: 15px;
}
.fact-item p {
  margin: 0;
  color: #5f6b82;
  font-size: 14px;
  line-height: 1.48;
}
.mini-note {
  margin: 18px 0 0;
  padding: 17px 16px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(98, 211, 255, .33), transparent 35%),
    linear-gradient(135deg, #152b71 0%, #17214d 48%, #301369 100%);
}
.mini-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.mini-note p { margin: 0; color: rgba(255,255,255,.82); font-size: 14.2px; }

.feature-flow {
  padding-top: 34px;
}
.image-stack {
  display: grid;
  gap: 12px;
}
.image-stack img {
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(18, 32, 74, .15);
  border: 1px solid rgba(255,255,255,.70);
  background: #fff;
}
.flow-copy {
  margin: -8px 12px 0;
  position: relative;
  padding: 21px 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 54px rgba(18, 31, 72, .12);
  border: 1px solid rgba(34,86,216,.10);
}
.flow-copy h2 { margin-bottom: 10px; font-size: 27px; }
.flow-copy p { margin-bottom: 0; }

.compact-gallery { padding-top: 26px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: cover;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 47, 89, .12);
  border: 1px solid rgba(255,255,255,.76);
}
.gallery-grid img:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 4;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(22, 35, 74, .12);
}
.carousel-track {
  display: flex;
  transition: transform .36s ease;
  will-change: transform;
}
.review-card {
  min-width: 100%;
  padding: 20px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(34,86,216,.10);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2757d9, #833ce6);
  box-shadow: 0 10px 24px rgba(74, 66, 213, .22);
}
.review-meta h3 {
  margin: 0 0 2px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.review-meta span {
  color: var(--muted);
  font-size: 13px;
}
.review-card p {
  margin: 0;
  color: #48536b;
  font-size: 15px;
  line-height: 1.55;
}
.carousel-arrow {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(23, 40, 80, .12);
  cursor: pointer;
  position: relative;
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid #173789;
  border-right: 2px solid #173789;
  top: 14px;
  left: 13px;
}
.carousel-arrow-prev::before { transform: rotate(-135deg); left: 15px; }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
}
.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(34,86,216,.25);
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active {
  width: 24px;
  background: var(--blue);
}

.order-section { padding: 32px 16px 32px; }
.order-card {
  text-align: center;
  padding: 24px 18px 20px;
  border-radius: 30px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 211, 255, .19), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,255,.93));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}
.order-card h2 { margin-bottom: 8px; }
.order-card > p { margin: 0 auto 18px; max-width: 34ch; }
.order-form { text-align: left; }
.field-group { margin-bottom: 13px; }
.field-group label {
  display: block;
  margin: 0 0 7px;
  padding-left: 2px;
  color: #26324d;
  font-weight: 700;
  font-size: 14px;
}
.field-group input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(43, 73, 151, .16);
  border-radius: 18px;
  padding: 0 15px;
  outline: none;
  color: var(--text);
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-group input:focus {
  border-color: rgba(34,86,216,.52);
  box-shadow: 0 0 0 4px rgba(34,86,216,.10);
}
.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: #c8334b;
  font-size: 12.5px;
  line-height: 1.35;
}
.field-group.has-error input {
  border-color: rgba(200, 51, 75, .55);
  box-shadow: 0 0 0 4px rgba(200, 51, 75, .08);
}
.order-form .button { width: 100%; margin-top: 2px; }
.privacy-note {
  margin: 12px 4px 0;
  color: #778197;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
.form-success {
  margin: 12px 0 0;
  text-align: center;
  color: #1b7d4a;
  font-size: 13px;
}
.form-success.is-error { color: #c8334b; }

.site-footer {
  padding: 26px 18px 34px;
  text-align: center;
  color: rgba(255,255,255,.78);
  background:
    radial-gradient(circle at 18% 10%, rgba(98, 211, 255, .12), transparent 36%),
    linear-gradient(180deg, #101832, #080812);
}
.footer-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
}
.site-footer p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 11px 0 12px;
}
.footer-links a {
  color: #dce9ff;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(220,233,255,.34);
}
.registry-note { color: rgba(255,255,255,.64); }

@media (min-width: 449px) {
  .page-shell { border-left: 1px solid rgba(255,255,255,.08); border-right: 1px solid rgba(255,255,255,.08); }
}

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