:root {
  --bg: #050811;
  --card: #0d1423;
  --ink: #f5f8ff;
  --muted: #9fb0cd;
  --accent: #78ebff;
  --accent-2: #7ff6bf;
  --signal: #ffb062;
  --line: #263650;
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 2%, rgba(120, 235, 255, 0.24) 0%, transparent 34%),
    radial-gradient(circle at 8% 24%, rgba(127, 246, 191, 0.18) 0%, transparent 30%),
    radial-gradient(circle at 46% 110%, rgba(255, 176, 98, 0.13) 0%, transparent 43%),
    linear-gradient(150deg, #04070e 0%, #070d1b 46%, #060914 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: -3;
  filter: blur(64px);
}

body::before {
  top: -16vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(120, 235, 255, 0.26) 0%, rgba(120, 235, 255, 0) 70%);
}

body::after {
  bottom: -22vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(255, 176, 98, 0.22) 0%, rgba(255, 176, 98, 0) 72%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(120, 235, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 235, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 10%, rgba(0, 0, 0, 0.9), transparent 78%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.1;
  z-index: -1;
}

.site-header {
  width: min(var(--max), 95vw);
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(120, 235, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.84), rgba(8, 14, 25, 0.78));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(2, 5, 12, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-wrap {
  width: 184px;
  height: 74px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  padding: 8px 12px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.header-cta {
  color: #2f0a02;
  text-decoration: none;
  background: linear-gradient(128deg, #ffd56f 0%, #ff9b52 42%, #ff6a45 100%);
  background-size: 180% 180%;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(255, 106, 69, 0.4), inset 0 1px 0 rgba(255, 239, 212, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: ctaGradientShift 4.5s ease infinite;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 106, 69, 0.52), 0 0 0 4px rgba(255, 176, 98, 0.2);
  filter: saturate(1.12);
}

.site-main {
  width: min(var(--max), 95vw);
  margin: 22px auto 48px;
  display: grid;
  gap: 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
  padding: clamp(18px, 2.6vw, 34px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(120, 235, 255, 0.24);
  background:
    radial-gradient(circle at 90% 14%, rgba(114, 231, 255, 0.16), transparent 42%),
    radial-gradient(circle at 14% 92%, rgba(129, 247, 199, 0.14), transparent 38%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(4px);
  box-shadow: 0 24px 56px rgba(4, 9, 22, 0.5);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(127, 246, 191, 0.14);
  box-shadow: inset 0 0 80px rgba(120, 235, 255, 0.05);
  z-index: -1;
}

.hero::before {
  content: "FIELD MANUAL";
  position: absolute;
  top: 50%;
  right: -42px;
  transform: translateY(-50%) rotate(90deg);
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(186, 201, 230, 0.42);
}

.eyebrow {
  margin: 0;
  color: #9ef5ff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
  font-weight: 800;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 7vw, 4.25rem);
  line-height: 1.06;
  background: linear-gradient(130deg, #f9fcff 0%, #d8f7ff 38%, #ffd6ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 28px rgba(160, 201, 239, 0.18);
}

.subhead {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9cf4ff;
  font-weight: 700;
}

.value-points {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.value-points span {
  border: 1px solid #44688f;
  background: linear-gradient(160deg, rgba(120, 235, 255, 0.12), rgba(127, 246, 191, 0.1));
  color: #f0f8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.buy-now-btn,
.download-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.buy-now-btn {
  color: #fffdf9;
  border: 2px solid rgba(255, 203, 133, 0.95);
  border-radius: 999px;
  padding: 12px 56px 12px 20px;
  font-size: 0.89rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 48%),
    linear-gradient(128deg, #ffbf57 0%, #ff7a52 48%, #e33cb8 100%);
  background-size: 200% 200%;
  text-shadow: 0 1px 1px rgba(28, 4, 16, 0.55);
  box-shadow:
    0 0 0 1px rgba(37, 13, 52, 0.75),
    0 12px 24px rgba(249, 86, 171, 0.28),
    0 0 20px rgba(255, 143, 89, 0.38),
    inset 0 1px 0 rgba(255, 244, 217, 0.72),
    inset 0 -7px 16px rgba(66, 9, 45, 0.3);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: ctaGradientShift 5.4s ease infinite;
}

.buy-now-btn::before {
  content: "";
  inset: 2px;
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(255, 221, 185, 0.4);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.buy-now-btn::after {
  content: "\279C";
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 234, 205, 0.78);
  background: linear-gradient(180deg, rgba(255, 252, 243, 0.28), rgba(255, 255, 255, 0));
  color: #fff8ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  text-shadow: 0 1px 0 rgba(69, 12, 43, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  pointer-events: none;
  z-index: 1;
}

.buy-now-btn:hover,
.buy-now-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(37, 13, 52, 0.75),
    0 18px 30px rgba(249, 86, 171, 0.34),
    0 0 30px rgba(255, 143, 89, 0.5),
    inset 0 1px 0 rgba(255, 244, 217, 0.72),
    inset 0 -7px 16px rgba(66, 9, 45, 0.34);
  filter: saturate(1.2);
}

.buy-now-btn:active {
  transform: translateY(1px) scale(0.995);
  box-shadow:
    0 8px 18px rgba(249, 86, 171, 0.24),
    inset 0 2px 10px rgba(66, 9, 45, 0.42);
}

.buy-now-btn:hover::after,
.buy-now-btn:focus-visible::after {
  transform: translateY(-50%) translateX(1px) scale(1.06);
  box-shadow: 0 0 14px rgba(255, 214, 162, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.download-btn {
  text-decoration: none;
  color: #081721;
  background: linear-gradient(125deg, #bff8ff 0%, #9defff 52%, #9df7d1 100%);
  box-shadow: 0 12px 30px rgba(114, 231, 255, 0.28);
}

@keyframes ctaGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.payment-status {
  margin-top: 10px;
  color: #d4d9e7;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

.hero-visuals {
  display: grid;
  gap: 10px;
}

.hero-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #3a5677;
  object-fit: cover;
  box-shadow: 0 22px 56px rgba(4, 10, 24, 0.52);
}

.hero-image {
  max-height: 620px;
}

.about,
.chapters,
.proof,
.faq,
.final-cta {
  margin-top: 0;
  border: 1px solid #2b3b56;
  border-radius: var(--radius);
  padding: clamp(16px, 2.1vw, 24px);
  background:
    linear-gradient(180deg, rgba(14, 22, 37, 0.9), rgba(11, 18, 31, 0.9));
  box-shadow: 0 12px 28px rgba(4, 10, 22, 0.34);
  position: relative;
  overflow: hidden;
}

.about::before,
.chapters::before,
.proof::before,
.faq::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(120, 235, 255, 0.1), transparent 38%);
}

.about::after,
.chapters::after,
.proof::after,
.faq::after,
.final-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 3px;
  background: linear-gradient(90deg, #78ebff 0%, #ffb062 100%);
  box-shadow: 0 0 20px rgba(120, 235, 255, 0.55);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
}

.about p,
.final-cta p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0 0 10px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.chapter-grid article {
  border: 1px solid #2c3a52;
  border-radius: 12px;
  background: linear-gradient(170deg, #10192b, #101b30);
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.chapter-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(245, 75, 70, 0.12), rgba(245, 75, 70, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.chapter-grid h3 {
  font-size: 1.35rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.22s ease;
}

.chapter-grid h3::before {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #152342 0%, #101a30 100%);
  border: 1px solid #2c3958;
  font-size: 1rem;
  flex-shrink: 0;
}

.chapter-grid article:nth-child(1) h3::before {
  content: "\1F4C8";
}

.chapter-grid article:nth-child(2) h3::before {
  content: "\2696";
}

.chapter-grid article:nth-child(3) h3::before {
  content: "\1F3AF";
}

.chapter-grid article:nth-child(4) h3::before {
  content: "\23F1";
}

.chapter-grid article:nth-child(5) h3::before {
  content: "\1F6E1";
}

.chapter-grid article:nth-child(6) h3::before {
  content: "\1F9E0";
}

.chapter-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.93rem;
}

.chapter-grid article:hover,
.chapter-grid article:focus-within {
  transform: translateY(-6px) scale(1.01);
  border-color: #65a2c8;
  box-shadow: 0 18px 36px rgba(12, 28, 56, 0.56);
  background: #142740;
}

.chapter-grid article:hover::after,
.chapter-grid article:focus-within::after {
  opacity: 1;
}

.chapter-grid article:hover h3,
.chapter-grid article:focus-within h3 {
  color: #ffffff;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chart-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #2c3348;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.chart-grid img:hover,
.chart-grid img:focus-visible {
  transform: translateY(-4px);
  border-color: #608db0;
  box-shadow: 0 16px 32px rgba(10, 23, 43, 0.52);
}

.pricing-banner {
  margin-top: 0;
  border: 1px solid #2f3c54;
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(16px, 2.1vw, 24px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 12%, rgba(114, 231, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #121a2b 0%, #111a2b 52%, #101828 100%);
  box-shadow: 0 16px 40px rgba(5, 10, 24, 0.4);
  position: relative;
  overflow: hidden;
}

.pricing-banner::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -74px;
  bottom: -88px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 176, 98, 0.28) 0%, rgba(255, 176, 98, 0) 72%);
}

.pricing-tag {
  margin: 0;
  color: #97f0ff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-banner h2 {
  margin: 10px 0;
  font-size: clamp(1.55rem, 4.2vw, 2.5rem);
}

.pricing-banner p {
  margin: 0;
  color: #d0d5e1;
  line-height: 1.6;
}

.pricing-features {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pricing-features li {
  color: #e4e9f6;
  font-size: 0.93rem;
  line-height: 1.42;
  padding-left: 28px;
  position: relative;
}

.pricing-features li::before {
  content: "\2713";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #0d141f;
  background: linear-gradient(180deg, #ffd8a8 0%, #f5bb74 100%);
}

.pricing-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pricing-note {
  font-size: 0.8rem;
  color: #9ea9bf;
}

.pricing-visual img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #37415f;
  box-shadow: 0 12px 30px rgba(4, 8, 16, 0.42);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid #30415d;
  border-radius: 12px;
  background: linear-gradient(170deg, #101a2d, #101c31);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: #5886ab;
  box-shadow: 0 12px 26px rgba(10, 24, 44, 0.46);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #e8edfa;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aab8da;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(120, 235, 255, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(14, 22, 37, 0.9), rgba(11, 18, 31, 0.9));
}

.site-footer {
  width: min(var(--max), 95vw);
  margin: 0 auto 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 15, 25, 0.86);
  color: #bcc2d0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-note {
  opacity: 0.86;
}

.hero,
.about,
.chapters,
.proof,
.pricing-banner,
.faq,
.final-cta {
  animation: riseFade 0.56s ease both;
}

.about {
  animation-delay: 0.06s;
}

.chapters {
  animation-delay: 0.1s;
}

.proof {
  animation-delay: 0.14s;
}

.pricing-banner {
  animation-delay: 0.18s;
}

.faq {
  animation-delay: 0.22s;
}

.final-cta {
  animation-delay: 0.26s;
}

@keyframes riseFade {
  0% {
    transform: translateY(14px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .pricing-banner {
    grid-template-columns: 1fr;
  }

  .chapter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-main,
  .site-header,
  .site-footer {
    width: min(var(--max), 95vw);
  }

  .logo-wrap {
    width: 148px;
    height: 60px;
    padding: 6px 10px;
  }

  .site-header {
    margin-top: 10px;
    padding: 8px 10px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .hero,
  .about,
  .chapters,
  .proof,
  .faq,
  .pricing-banner,
  .final-cta {
    padding: 14px;
    border-radius: 16px;
  }

  .chapter-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .buy-now-btn,
  .download-btn {
    text-align: center;
    width: 100%;
  }

  .pricing-actions {
    align-items: stretch;
  }

  h1 {
    font-size: clamp(1.95rem, 9.5vw, 2.7rem);
  }

  .value-points span {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Checkout Modal
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: linear-gradient(155deg, #131926 0%, #0e1320 100%);
  border: 1px solid #2c3348;
  border-radius: calc(var(--radius) + 4px);
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  position: relative;
}

.modal-box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #78ebff 0%, #ffb062 100%);
}

.modal-title {
  font-size: 1.55rem;
  margin: 0 0 20px;
  color: var(--ink);
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c8cedf;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.field-group input {
  width: 100%;
  background: #0c1119;
  border: 1px solid #2c3655;
  border-radius: 10px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.field-group input::placeholder {
  color: #4b5775;
}

.field-group input:focus {
  border-color: #5570b0;
  box-shadow: 0 0 0 3px rgba(85, 112, 176, 0.18);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #f78080;
  margin-top: 4px;
  min-height: 14px;
}

.req {
  color: #f54b46;
  margin-left: 2px;
}

.optional {
  color: #6b7490;
  font-weight: 400;
}

.coupon-row {
  display: flex;
  gap: 8px;
}

.coupon-row input {
  flex: 1;
}

.apply-coupon-btn {
  appearance: none;
  border: 1px solid #3f5090;
  background: #152040;
  color: #adc3f5;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.apply-coupon-btn:hover,
.apply-coupon-btn:focus-visible {
  background: #1e2f5c;
  border-color: #5570b0;
  outline: none;
}

.coupon-message {
  display: block;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 14px;
  color: #9ea9be;
}

.coupon-success {
  color: #6ddfa0;
}

.coupon-error {
  color: #f78080;
}

.order-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #222c42;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #c8cedf;
  padding: 4px 0;
}

.summary-row.discount-row {
  color: #6ddfa0;
}

.summary-row.total-row {
  border-top: 1px solid #222c42;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 1rem;
  color: var(--ink);
}

.discount-val {
  font-weight: 700;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-pay-btn {
  width: 100%;
  text-align: center;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  text-transform: none;
  padding-right: 20px;
}

.modal-cancel-btn {
  appearance: none;
  border: 1px solid #2c3655;
  background: transparent;
  color: #8e97b0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.modal-cancel-btn:hover,
.modal-cancel-btn:focus-visible {
  color: var(--ink);
  border-color: #4a5775;
  outline: none;
}

.success-modal-box {
  max-width: 500px;
}

.success-message {
  margin: 0 0 8px;
  color: #dce7fb;
  line-height: 1.6;
}

.success-note {
  margin: 0 0 18px;
  color: #9fb0cd;
  font-size: 0.92rem;
}

.success-download-btn {
  width: 100%;
  text-align: center;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 20px 16px 18px;
  }

  .modal-title {
    font-size: 1.3rem;
  }
}
