:root {
  color-scheme: light;
  --ink: #101725;
  --muted: #5c6472;
  --line: #d9dce2;
  --paper: #f7f8f7;
  --white: #ffffff;
  --navy: #102a50;
  --blue: #2456a4;
  --gold: #c39a45;
  --red: #df2d2d;
  --green: #567267;
  --shadow: 0 24px 60px rgba(12, 24, 44, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 248, 247, 0.9);
  border-bottom: 1px solid rgba(16, 23, 37, 0.08);
  backdrop-filter: blur(14px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  font-weight: 800;
  font-size: 24px;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.language-toggle {
  display: inline-grid;
  width: 44px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  min-height: calc(100vh - 68px);
  padding: clamp(32px, 7vw, 86px) clamp(18px, 5vw, 72px) 42px;
  gap: clamp(26px, 6vw, 82px);
  align-items: center;
  background:
    radial-gradient(circle at 85% 18%, rgba(36, 86, 164, 0.42), transparent 28%),
    radial-gradient(circle at 8% 74%, rgba(46, 123, 232, 0.34), transparent 30%),
    linear-gradient(120deg, #07111f 0%, #102a50 48%, #eef1f0 48%, #f7f8f7 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(104, 167, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 167, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, transparent 82%);
  opacity: 0.7;
}

.hero::after {
  position: absolute;
  inset: auto -8% -34% 32%;
  height: 60%;
  content: "";
  border: 1px solid rgba(195, 154, 69, 0.38);
  border-radius: 50%;
  transform: rotate(-12deg);
  box-shadow: 0 0 70px rgba(46, 123, 232, 0.2);
}

.tech-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tech-field span {
  position: absolute;
  display: block;
  border: 1px solid rgba(228, 195, 111, 0.42);
  border-radius: 999px;
}

.tech-field span:nth-child(1) {
  left: 7%;
  top: 18%;
  width: 130px;
  height: 130px;
  box-shadow: inset 0 0 30px rgba(46, 123, 232, 0.32), 0 0 34px rgba(46, 123, 232, 0.2);
}

.tech-field span:nth-child(2) {
  left: 34%;
  bottom: 15%;
  width: 82px;
  height: 82px;
}

.tech-field span:nth-child(3) {
  right: 11%;
  top: 22%;
  width: 170px;
  height: 170px;
  border-color: rgba(36, 86, 164, 0.3);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.5vw, 24px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.primary-action {
  color: var(--ink);
  background: var(--gold);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.quick-facts div {
  padding: 18px 16px 0 0;
}

.quick-facts dt {
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.quick-facts dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.product-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  aspect-ratio: 2 / 3;
  justify-self: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #07111f;
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 260ms ease, transform 260ms ease;
}

.product-photo.active {
  opacity: 1;
  transform: scale(0.985);
}

.photo-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(228, 195, 111, 0.62);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.intro-band,
.formula-section,
.contact-section {
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.intro-text p,
.section-heading p,
.contact-section p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.intro-points {
  display: grid;
  gap: 14px;
}

.intro-points span {
  display: block;
  padding: 17px 0;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
}

.formula-section {
  background: #eef1f0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.ingredient-list {
  display: grid;
  gap: 18px;
}

.ingredient-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  min-height: 260px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ingredient-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--navy);
}

.ingredient-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.amount {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
  font-size: 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--white);
}

.contact-section .secondary-action {
  color: var(--navy);
  border-color: var(--line);
}

footer {
  display: grid;
  gap: 10px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #0c1728;
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      radial-gradient(circle at 80% 12%, rgba(36, 86, 164, 0.38), transparent 30%),
      radial-gradient(circle at 10% 64%, rgba(46, 123, 232, 0.32), transparent 34%),
      linear-gradient(180deg, #07111f 0%, #102a50 58%, #f7f8f7 58%, #f7f8f7 100%);
  }

  .product-stage {
    width: min(100%, 420px);
  }

  .ingredient-card {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 12px;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    padding-right: 0;
  }

  .ingredient-card {
    min-height: 0;
    padding: 16px;
  }

  .ingredient-card img {
    height: 190px;
  }
}
