/* ============================================
   NUTRIÉME v2 — main.css
   Dark theme · Glass morphism · WebGL background
   Updated 2026
============================================ */

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { font: inherit; }

/* ---- CSS Variables ---- */
:root {
  --teal-900: #031818;
  --teal-800: #062828;
  --teal-700: #0a3535;
  --gold-600: #a07c2c;
  --gold-500: #c9a961;
  --gold-400: #e0c684;
  --gold-300: #f0dfa8;
  --ff-display: 'Cinzel', serif;
  --ff-serif: 'Cormorant Garamond', serif;
  --ff-narrow: 'Archivo Narrow', sans-serif;
  --ff-sans: 'Archivo', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  --px: clamp(24px, 5vw, 80px);
  --glass-bg: rgba(6, 38, 38, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* ---- Base ---- */
body {
  background: #031818;
  color: white;
  overflow-x: hidden;
  font-family: var(--ff-narrow), sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- GLSL Canvas ---- */
#glsl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #031818;
  display: block;
}
.page {
  position: relative;
  z-index: 1;
}

/* ---- Glass Card ---- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--px);
  transition: background .4s, backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(3, 24, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__wordmark {
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: .15em;
  font-weight: 400;
}
.wm-main { color: var(--gold-400); }
.wm-accent {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255,255,255,0.8), 0 0 4px rgba(255,255,255,0.5);
  font-size: 1.08em;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}
.nav__link {
  font-family: var(--ff-narrow);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
  padding: 4px 0;
}
.nav__link:hover { color: var(--gold-400); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-family: var(--ff-narrow);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 4px 6px;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}
.lang-btn.active {
  color: var(--gold-400);
  border-bottom: 1px solid var(--gold-500);
}
.lang-btn:hover:not(.active) { color: rgba(255,255,255,.8); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
  text-decoration: none;
}
.cart-btn:hover { color: white; }

.cart-count {
  display: none;
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold-500);
  color: var(--teal-900);
  border-radius: 50%;
  font-family: var(--ff-narrow);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media(max-width:768px) {
  .nav__hamburger { display: flex; }
  .nav__links { display: none; }
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.7);
  transition: .3s;
  border-radius: 2px;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3,24,24,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  font-family: var(--ff-display);
  font-size: 24px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  letter-spacing: .1em;
  transition: color .3s;
}
.nav__mobile-link:hover { color: var(--gold-400); }

/* ---- Buttons ---- */
.btn {
  font-family: var(--ff-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--teal-900);
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(201,169,97,.35);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  background: rgba(201,169,97,.08);
  color: var(--gold-300);
}

/* ---- Section Structure ---- */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--px);
}
.section { padding: 96px 0; }
.section-header { margin-bottom: 56px; }

/* ---- Product Hero ---- */
.product-hero {
  display: flex;
  align-items: center;
  gap: clamp(32px,5vw,80px);
  padding: 120px var(--px) 72px;
  min-height: 100dvh;
}
@media(max-width:768px) {
  .product-hero {
    flex-direction: column;
    padding: 100px var(--px) 64px;
    min-height: auto;
  }
}
.product-hero__left {
  flex: 1;
  max-width: 600px;
}
.product-hero__right {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media(max-width:768px) {
  .product-hero__right {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}
.product-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-narrow);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(201,169,97,.6);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .3s;
}
.product-hero__back:hover { color: var(--gold-400); }
.product-hero__name {
  font-family: var(--ff-display);
  font-size: clamp(36px,5vw,64px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: white;
  margin-bottom: 8px;
}
.product-hero__latin {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.product-hero__tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(16px,2vw,20px);
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: 28px;
}
.product-hero__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(201,169,97,.7);
  margin-bottom: 32px;
}
.product-hero__price {
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.product-hero__price span {
  font-size: 16px;
  color: rgba(255,255,255,.5);
}
.product-hero__buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- Qty Controls ---- */
.qty-control {
  display: inline-flex;
  border: 1px solid rgba(201,169,97,.25);
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 40px;
  background: none;
  border: none;
  color: var(--gold-500);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.qty-btn:hover { background: rgba(201,169,97,.1); }
.qty-input {
  width: 44px;
  height: 40px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(201,169,97,.2);
  border-right: 1px solid rgba(201,169,97,.2);
  color: var(--gold-400);
  font-family: var(--ff-mono);
  font-size: 15px;
  outline: none;
}

/* ---- Trust Badges ---- */
.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,169,97,.1);
}
.trust-badge {
  font-family: var(--ff-narrow);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Product Tabs ---- */
.product-tabs {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(3,24,24,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tab-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 18px 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.tab-btn.active {
  color: var(--gold-400);
  border-bottom-color: var(--gold-500);
}
.tab-btn:hover:not(.active) { color: rgba(255,255,255,.8); }
.tab-content { padding: 64px 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Ingredients Table ---- */
.ingredients-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-narrow);
  font-size: 13px;
}
.ingredients-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ingredients-table td {
  padding: 10px 12px;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ingredient-highlight {
  color: var(--gold-400);
  font-weight: 600;
}

/* ---- Trust Items ---- */
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.trust-icon {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-text {
  font-family: var(--ff-narrow);
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

/* ---- Science Reference Cards ---- */
.ref-card {
  background: rgba(201,169,97,.04);
  border-left: 2px solid rgba(201,169,97,.3);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  border-radius: 0 4px 4px 0;
}
.ref-card a {
  color: var(--gold-400);
  text-decoration: underline dotted;
}
.ref-card strong { color: var(--gold-400); }

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  gap: 20px;
}
.products-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media(max-width:900px) { .products-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .products-grid.cols-3 { grid-template-columns: 1fr; } }

.product-card {
  border-radius: 16px;
  padding: 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .4s, transform .3s, box-shadow .4s;
}
.product-card:hover {
  border-color: rgba(201,169,97,.3);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -15px rgba(3,24,24,.8);
}
.card__name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  color: white;
}
.product-card:hover .card__name { color: var(--gold-400); }
.card__latin {
  font-family: var(--ff-narrow);
  font-size: 10px;
  color: rgba(255,255,255,.3);
  font-style: italic;
}
.card__price {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--gold-400);
}
.card__add {
  font-family: var(--ff-narrow);
  font-size: 12px;
  padding: 8px 18px;
  background: rgba(201,169,97,.15);
  color: var(--gold-400);
  border: 1px solid rgba(201,169,97,.3);
  border-radius: 6px;
  cursor: pointer;
  transition: background .3s;
}
.card__add:hover { background: rgba(201,169,97,.25); }
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---- Cart ---- */
.cart-section {
  padding: 120px 0 80px;
  min-height: 100dvh;
}
.cart-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 40px;
}
@media(max-width:900px) { .cart-inner { grid-template-columns: 1fr; } }

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 16px;
}

.order-summary {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  position: sticky;
  top: 100px;
}

.promo-input {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.promo-input input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--ff-narrow);
  font-size: 13px;
  outline: none;
  transition: border-color .3s;
}
.promo-input input:focus { border-color: rgba(201,169,97,.4); }

.shipping-progress {
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  height: 4px;
  margin: 16px 0;
  overflow: hidden;
}
.shipping-progress-bar {
  height: 100%;
  background: var(--gold-500);
  border-radius: 99px;
  transition: width .5s var(--ease);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-family: var(--ff-narrow);
  font-size: 14px;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.summary-row.total {
  font-size: 18px;
  color: white;
  font-weight: 600;
  border-bottom: none;
  padding-top: 16px;
}
.summary-total-price {
  color: var(--gold-400);
  font-family: var(--ff-display);
}

/* ---- Checkout ---- */
.checkout-section {
  padding: 120px 0 80px;
  min-height: 100dvh;
}
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-narrow);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.4);
  transition: all .3s;
}
.step-num.active {
  background: var(--gold-500);
  color: var(--teal-900);
  border-color: var(--gold-500);
}
.step-num.done {
  background: rgba(52,211,153,.2);
  color: #34d399;
  border-color: rgba(52,211,153,.3);
}
.step-label {
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.step-connector {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
@media(max-width:900px) { .checkout-grid { grid-template-columns: 1fr; } }

.checkout-form {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media(max-width:500px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-label {
  font-family: var(--ff-narrow);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.form-input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--ff-narrow);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus { border-color: rgba(201,169,97,.4); }
.form-input::placeholder { color: rgba(255,255,255,.3); }

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .3s, background .3s;
  margin-bottom: 12px;
}
.payment-option.selected {
  border-color: rgba(201,169,97,.4);
  background: rgba(201,169,97,.06);
}
.payment-option input[type=radio] {
  margin-top: 2px;
  accent-color: var(--gold-500);
}

/* ---- Legal Pages ---- */
.policy-hero {
  padding: 120px var(--px) 64px;
}
.policy-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--ff-narrow);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.policy-breadcrumb a {
  color: rgba(201,169,97,.6);
  transition: color .2s;
}
.policy-breadcrumb a:hover { color: var(--gold-400); }
.policy-breadcrumb span { color: var(--gold-400); }

.policy-body { padding: 0 0 80px; }
.policy-content {
  max-width: 820px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: clamp(32px,5vw,64px);
  margin-inline: auto;
}
.policy-meta {
  font-family: var(--ff-narrow);
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 40px;
}
.policy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.policy-section:last-child { border-bottom: none; }
.policy-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(16px,2vw,22px);
  font-weight: 400;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.policy-section h3 {
  font-family: var(--ff-narrow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 12px;
}
.policy-section p {
  font-family: var(--ff-narrow);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.policy-section ul,
.policy-section ol {
  font-family: var(--ff-narrow);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  padding-left: 20px;
  margin-bottom: 12px;
}
.policy-section li { margin-bottom: 6px; }
.policy-section a { color: var(--gold-400); }
.policy-section strong { color: rgba(255,255,255,.9); }

/* ---- Footer ---- */
.footer {
  padding: 64px var(--px) 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-name { font-family: var(--ff-display); font-size: 14px; color: var(--gold-400); letter-spacing: .12em; }
.footer-brand-desc {
  font-family: var(--ff-narrow);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.8;
  max-width: 32ch;
}
.footer-col-title {
  font-family: var(--ff-display);
  font-size: 11px;
  color: var(--gold-400);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--ff-narrow);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .3s;
}
.footer-links a:hover { color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
}
.footer-disclaimer {
  font-family: var(--ff-narrow);
  font-size: 11px;
  color: rgba(255,255,255,.2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-copy {
  font-family: var(--ff-narrow);
  font-size: 11px;
  color: rgba(255,255,255,.14);
  margin-top: 8px;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10,53,53,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,169,97,.2);
  color: var(--gold-400);
  font-family: var(--ff-narrow);
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Ornamental Divider ---- */
.orn-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}
.orn-divider .line {
  flex: 1;
  height: 1px;
  background: rgba(201,169,97,.2);
}
.orn-divider .diamond {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-500);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- Reveal delays ---- */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---- Section header helpers ---- */
.section-header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 56px; }
.section-label {
  font-family: var(--ff-narrow);
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(201,169,97,.7);
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -.02em;
  color: white;
  line-height: 1;
}

/* ---- Hero ---- */
.hero { min-height: 100dvh; display: flex; flex-direction: column; }
.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px var(--px) 64px;
}
@media(max-width:768px) { .hero-body { padding: 100px 24px 48px; } }
.hero-inner { max-width: 680px; }
.hero-eyebrow {
  font-family: var(--ff-narrow);
  font-size: 10px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(201,169,97,.7);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .1s forwards;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  color: white;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .85s cubic-bezier(.16,1,.3,1) .18s forwards;
}
.hero-title em { font-style: normal; color: var(--gold-500); }
.hero-sub {
  font-family: var(--ff-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .65s cubic-bezier(.16,1,.3,1) .3s forwards;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .44s forwards;
}
.btn-gold {
  font-family: var(--ff-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  background: var(--gold-500);
  color: var(--teal-900);
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .3s, transform .15s;
}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); }

/* ---- Hero Science Button (no white outline) ---- */
.btn-science {
  font-family: var(--ff-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(201,169,97,.35);
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color .3s, background .3s, color .3s;
}
.btn-science:hover {
  border-color: var(--gold-400);
  background: rgba(201,169,97,.08);
  color: var(--gold-300);
}

.hero-scroll { display: flex; justify-content: center; padding-bottom: 40px; }
.scroll-pip {
  width: 20px; height: 32px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  opacity: 0;
  animation: fadeIn .6s .8s forwards, scrollBounce 2.2s ease-in-out 1s infinite;
}
.scroll-pip-dot {
  width: 3px; height: 8px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: dotSlide 2.2s ease-in-out 1s infinite;
}

/* ---- Hero Stats ---- */
.hero-stats {
  display: flex;
  gap: clamp(24px,4vw,48px);
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(201,169,97,.12);
  opacity: 0;
  animation: fadeUp .6s cubic-bezier(.16,1,.3,1) .55s forwards;
}
.stat-item {}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(22px,3vw,32px);
  color: var(--gold-400);
  letter-spacing: -.02em;
}
.stat-label {
  font-family: var(--ff-narrow);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}

/* ---- Products section ---- */
.products { padding: 96px var(--px); }
@media(max-width:768px) { .products { padding: 72px 24px; } }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .grid { grid-template-columns: 1fr; } }

.card {
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(3,24,24,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .5s, box-shadow .5s, transform .4s;
  cursor: pointer;
}
.card:hover {
  border-color: rgba(201,169,97,.3);
  box-shadow: 0 20px 60px -15px rgba(3,24,24,.8), 0 0 0 1px rgba(201,169,97,.1);
  transform: translateY(-3px);
}
.card-featured { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
@media(max-width:900px) { .card-featured { grid-column: span 2; } }
@media(max-width:600px) { .card-featured { flex-direction: column; grid-column: span 1; } }
.card-tag {
  font-family: var(--ff-narrow);
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-block;
}
.card-name {
  font-family: var(--ff-display);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  color: white;
  letter-spacing: -.01em;
  transition: color .3s;
}
.card:hover .card-name { color: var(--gold-400); }
.card-latin {
  font-family: var(--ff-narrow);
  font-size: 10px;
  color: rgba(255,255,255,.3);
  font-style: italic;
  letter-spacing: .05em;
}
.card-desc {
  font-family: var(--ff-narrow);
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card-price-num { font-family: var(--ff-display); font-size: 24px; color: white; }
.card-price-cur { font-family: var(--ff-narrow); font-size: 12px; color: rgba(255,255,255,.35); }
.card-motif {
  width: 72px; height: 72px;
  opacity: .45;
  transition: opacity .5s;
  flex-shrink: 0;
}
.card:hover .card-motif { opacity: .9; }

/* ---- Pillars ---- */
.pillars {
  padding: 80px var(--px);
  border-top: 1px solid rgba(255,255,255,.06);
}
@media(max-width:768px) { .pillars { padding: 64px 24px; } }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 48px;
}
@media(max-width:900px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.pillar:last-child { border-right: none; }
@media(max-width:900px) {
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3) { border-top: 1px solid rgba(255,255,255,.06); }
  .pillar:nth-child(4) { border-top: 1px solid rgba(255,255,255,.06); border-right: none; }
}
.pillar-bar { width: 24px; height: 1px; background: var(--gold-500); margin-bottom: 20px; }
.pillar-title {
  font-family: var(--ff-display);
  font-size: 13px;
  color: white;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.pillar-body {
  font-family: var(--ff-narrow);
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}

/* ---- Newsletter ---- */
.newsletter {
  padding: 80px var(--px);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
@media(max-width:768px) { .newsletter { padding: 64px 24px; } }
.newsletter h2 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.newsletter p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,.4);
  margin-bottom: 32px;
}
.nl-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}
@media(max-width:480px) { .nl-form { flex-direction: column; } }
.nl-input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: white;
  font-family: var(--ff-narrow);
  font-size: 13px;
  outline: none;
  transition: border-color .3s;
}
.nl-input::placeholder { color: rgba(255,255,255,.28); }
.nl-input:focus { border-color: rgba(201,169,97,.45); }
.nl-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--gold-500);
  color: var(--teal-900);
  border: none;
  font-family: var(--ff-narrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s;
}
.nl-btn:hover { background: var(--gold-400); }

/* ---- Alert / Info Box ---- */
.alert-box {
  background: rgba(201,169,97,.06);
  border: 1px solid rgba(201,169,97,.15);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-500);
  line-height: 1.65;
}

/* ---- Lang Block ---- */
.lang-block { display: none; }
.lang-block.visible { display: block; }
.lang-inline { display: none; }
.lang-inline.visible { display: inline; }

/* ---- Responsive grid (product tabs) ---- */
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
}
@media(max-width:700px) { .responsive-grid { grid-template-columns: 1fr; } }

/* ---- Product Image Placeholder ---- */
.product-img-section { padding: 48px 0 0; max-width: 900px; margin: 0 auto; }
.product-img-wrap { border-radius: 16px; overflow: hidden; position: relative; }
.product-img { width: 100%; height: auto; display: block; border-radius: 16px; }
.product-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; height: 360px;
  background: rgba(3,24,24,.72); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 2px dashed rgba(201,169,97,.2); border-radius: 16px;
}
.product-img-ph-label {
  font-family: var(--ff-display); font-size: 13px;
  color: rgba(201,169,97,.6); letter-spacing: .12em; text-transform: uppercase;
}
.product-img-ph-path {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,.35); background: rgba(255,255,255,.05);
  padding: 4px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,.07);
}
.product-img-ph-hint {
  font-family: var(--ff-narrow); font-size: 12px; color: rgba(255,255,255,.3);
  text-align: center; max-width: 280px; line-height: 1.6;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(4px); }
}
@keyframes dotSlide {
  0%,100% { transform: translateY(0); opacity: .7; }
  50%     { transform: translateY(6px); opacity: 1; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #031818; }
::-webkit-scrollbar-thumb { background: rgba(201,169,97,.3); border-radius: 3px; }

/* ---- Focus Styles (Accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

/* ---- Print ---- */
@media print {
  #glsl, .nav, .hero-scroll, .toast { display: none !important; }
  body { background: white; color: black; }
}
