/* ===== Base ===== */
:root {
  --bg: #000000;
  --bg-soft: #090c12;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.74);
  --text-soft: rgba(255, 255, 255, 0.56);
  --blue: #4e72b8;
  --aqua: #26aaa5;
  --orange: #faa627;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1200px;
  --transition: 220ms ease;
  --headline: "Arial Narrow", Inter, "Segoe UI", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(78, 114, 184, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(38, 170, 165, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(250, 166, 39, 0.12), transparent 22%),
    linear-gradient(180deg, #020304 0%, #000000 100%);
  line-height: 1.6;
  min-width: 320px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.color-prep { color: var(--aqua); }
.color-protect { color: #8ca8e7; }
.color-preserve { color: var(--orange); }

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.hero h1,
.final-cta h2,
.coupon-shell h2 {
  margin: 0 0 1rem;
  font-family: var(--headline);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0.04em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p,
.hero-lead,
.final-cta p,
.coupon-shell p,
.workflow-card p,
.value-card p,
.choice-card p,
.product-copy p,
.footer-copy,
.footer-note {
  color: var(--text-dim);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(78,114,184,0.95), rgba(38,170,165,0.95));
  box-shadow: 0 14px 34px rgba(38, 170, 165, 0.22);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(38, 170, 165, 0.3);
}

.button:focus-visible,
.button-ghost:focus-visible,
.nav-toggle:focus-visible,
.topbar-link:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}

.button-secondary,
.button-small {
  min-height: 46px;
  padding: 0.85rem 1.1rem;
}

.button-secondary {
  width: 100%;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: #ffffff;
  background: rgba(255,255,255,0.04);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}

/* ===== Topbar + Header ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding: 0.45rem 0;
}

.topbar p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.topbar strong {
  color: #ffffff;
}

.topbar-link {
  font-size: 0.88rem;
  color: #ffffff;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 45;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.site-header.is-scrolled {
  border-color: rgba(255,255,255,0.08);
  background: rgba(4, 7, 12, 0.84);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo,
.footer-logo {
  width: auto;
  height: auto;
}

.brand-logo {
  max-width: 250px;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav > a:not(.button) {
  position: relative;
  color: var(--text-dim);
  font-size: 0.97rem;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 4px;
  background: #ffffff;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:last-child { margin-bottom: 0; }

/* ===== Hero ===== */
.hero {
  padding: 92px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 7vw, 5.35rem);
  max-width: 11ch;
}

.hero-copy strong,
.coupon-shell strong {
  color: #ffffff;
}

.hero-lead {
  max-width: 66ch;
  font-size: 1.06rem;
  margin-bottom: 1.5rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
}

.hero-points li {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.coupon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 166, 39, 0.28);
  background: linear-gradient(135deg, rgba(250,166,39,0.14), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.coupon-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.coupon-code {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-visual {
  position: relative;
}

.hero-image-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 15%, rgba(78,114,184,0.35), transparent 35%),
    radial-gradient(circle at 80% 85%, rgba(250,166,39,0.22), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  box-shadow: var(--shadow);
}

.hero-image-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.22)),
    radial-gradient(circle at 50% 40%, transparent 0%, rgba(0,0,0,0.08) 65%, rgba(0,0,0,0.32) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 14;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.65;
  z-index: 1;
}

.hero-glow-a {
  top: 5%;
  right: 10%;
  width: 170px;
  height: 170px;
  background: rgba(78,114,184,0.48);
}

.hero-glow-b {
  bottom: 8%;
  left: 6%;
  width: 180px;
  height: 180px;
  background: rgba(38,170,165,0.32);
}

.hero-note {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.hero-note p {
  margin: 0;
  color: var(--text-dim);
}

.hero-note-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ===== Generic cards ===== */
.workflow-grid,
.value-grid,
.choice-grid {
  display: grid;
  gap: 1.2rem;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid,
.choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-card,
.value-card,
.choice-card,
.product-card,
.coupon-shell,
.final-cta {
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
  box-shadow: var(--shadow);
}

.workflow-card,
.value-card,
.choice-card {
  padding: 1.4rem;
  border-radius: 22px;
  min-height: 100%;
}

.workflow-card h3,
.value-card h3,
.choice-card h3,
.product-copy h3,
.footer-links h3 {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: 0.03em;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1rem;
  border-radius: 28px;
}

.product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(78,114,184,0.22), transparent 30%),
    radial-gradient(circle at 85% 85%, rgba(250,166,39,0.16), transparent 32%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.product-image {
  width: 100%;
  max-width: 440px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: normal;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.6rem 0.25rem 0.25rem 0;
}

.product-copy h3 {
  font-family: var(--headline);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-copy p {
  margin: 0 0 1rem;
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.product-points li {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ===== Coupon + final CTA ===== */
.coupon-section {
  padding-top: 78px;
}

.coupon-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(78,114,184,0.22), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(250,166,39,0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.coupon-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.coupon-panel {
  min-width: 230px;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.coupon-panel .coupon-label {
  display: block;
  margin-bottom: 0.4rem;
}

.coupon-panel .coupon-code {
  display: block;
  font-size: 1.45rem;
}

.coupon-button {
  white-space: nowrap;
}

.final-cta {
  max-width: 840px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 28px;
  text-align: center;
}

.final-cta p {
  max-width: 58ch;
  margin: 0 auto 1.4rem;
}

/* ===== Footer ===== */
.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.footer-copy {
  max-width: 54ch;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links h3 {
  font-family: var(--mono);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.footer-links a,
.footer-note {
  color: var(--text-dim);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

/* ===== Legal page ===== */
.legal-page {
  background:
    radial-gradient(circle at top left, rgba(78,114,184,0.15), transparent 24%),
    linear-gradient(180deg, #030507 0%, #000000 100%);
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 1rem 96px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-back {
  color: var(--text-dim);
}

.legal-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0 0 1rem;
  font-family: var(--headline);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
}

.legal-card p {
  margin: 0 0 1rem;
  color: var(--text-dim);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-grid,
  .product-card,
  .coupon-shell,
  .footer-grid,
  .value-grid,
  .choice-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .coupon-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 42px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(8, 11, 16, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 72px;
  }

  .topbar p {
    font-size: 0.8rem;
  }

  .topbar-inner {
    align-items: flex-start;
    padding: 0.55rem 0;
  }

  .brand-logo {
    max-width: 185px;
  }

  .header-inner {
    min-height: 74px;
  }

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

  .button,
  .button-ghost {
    width: 100%;
  }

  .product-card,
  .coupon-shell,
  .workflow-card,
  .value-card,
  .choice-card,
  .final-cta,
  .legal-card {
    border-radius: 22px;
  }

  .product-card,
  .coupon-shell,
  .final-cta,
  .legal-card {
    padding: 1.2rem;
  }
}
