/* Seliya landing — original product-site aesthetic
   Full-bleed panels, minimal nav, large type. Not derived from any third-party site source. */

:root {
  --bg-dark: #0b0d10;
  --bg-dark-2: #12151a;
  --bg-light: #f4f5f7;
  --bg-white: #ffffff;
  --text-on-dark: #f5f6f8;
  --text-muted-dark: rgba(245, 246, 248, 0.72);
  --text-on-light: #111418;
  --text-muted-light: rgba(17, 20, 24, 0.65);
  --accent: #3d8bfd;
  --accent-hover: #5aa0ff;
  --nav-h: 64px;
  --max: 1120px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-on-dark);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

p { margin: 0 0 1em; }

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(11, 13, 16, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.site-nav.is-scrolled {
  background: rgba(11, 13, 16, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-mark { color: #7eb8ff; flex-shrink: 0; }

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
}

.nav-item { position: relative; }

.nav-trigger {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: inherit;
  transition: background 0.2s var(--ease), color 0.2s;
}

.nav-trigger:hover,
.nav-item.is-active .nav-trigger {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s var(--ease);
}

.site-nav.is-open .nav-burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.site-nav.is-open .nav-burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

/* Mobile drawer */
@media (max-width: 899px) {
  .site-nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(11, 13, 16, 0.97);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 102;
  }
  .site-nav.is-open .nav-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
  }
}


/* —— Mega menu (full-width dropdown) —— */
.mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.mega-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 101;
  background: #fff;
  color: #171a20;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.site-nav.is-mega-open .mega-panel {
  max-height: min(72vh, 520px);
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.mega-panels {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 40px) 40px;
}

.mega-grid {
  display: grid;
  gap: 20px 28px;
  justify-content: center;
}

.mega-grid-mats {
  grid-template-columns: repeat(auto-fit, minmax(120px, 140px));
}

.mega-grid-3 {
  grid-template-columns: repeat(3, minmax(160px, 220px));
  justify-content: center;
}

.mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 6px 12px;
  border-radius: 12px;
  transition: background 0.2s;
  color: #171a20;
}

.mega-card:hover { background: rgba(0, 0, 0, 0.04); }

.mega-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  overflow: hidden;
  padding: 10px;
}

.mega-bottle {
  width: 72px;
  height: auto;
  object-fit: contain;
  display: block;
}

.thumb-tritan { background: linear-gradient(160deg, #dce9f5, #a8c4de); }
.thumb-ecozen { background: linear-gradient(160deg, #d8efe4, #8fbfa3); }
.thumb-petg { background: linear-gradient(160deg, #e8dff5, #b9a3d9); }
.thumb-pet { background: linear-gradient(160deg, #f5e6d4, #d4a574); }
.thumb-pp { background: linear-gradient(160deg, #d6e4f5, #7fa3c9); }
.thumb-ps { background: linear-gradient(160deg, #f5e0c8, #e0a86a); }
.thumb-pc { background: linear-gradient(160deg, #d9e6ee, #8aabb8); }

.thumb-oem1, .thumb-oem2, .thumb-oem3 {
  background: linear-gradient(145deg, #eef2f7, #d7e0ea);
}

.mega-step-num {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #3d8bfd;
}

.thumb-stock-a { background: linear-gradient(145deg, #a8dadc 0%, #457b9d 55%, #1d3557 100%); }
.thumb-stock-b { background: linear-gradient(145deg, #e9c46a 0%, #f4a261 50%, #e76f51 100%); }
.thumb-stock-c { background: linear-gradient(145deg, #cdb4db 0%, #ffc8dd 50%, #bde0fe 100%); }

.mega-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mega-links {
  font-size: 0.8rem;
  font-weight: 500;
  color: #3d8bfd;
}

.mega-card:hover .mega-links { text-decoration: underline; }

/* Light chrome while mega is open */
.site-nav.is-mega-open {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.06);
  color: #171a20;
}

.site-nav.is-mega-open .nav-links { color: #393c41; }

.site-nav.is-mega-open .nav-trigger:hover,
.site-nav.is-mega-open .nav-item.is-active .nav-trigger {
  background: rgba(0, 0, 0, 0.06);
  color: #171a20;
}

.site-nav.is-mega-open .logo-mark { color: #3d8bfd; }

.site-nav.is-mega-open .lang-toggle {
  border-color: rgba(0, 0, 0, 0.18);
  color: #171a20;
}

.site-nav.is-mega-open .btn-light {
  background: #171a20;
  color: #fff;
}

.site-nav.is-mega-open .nav-burger span { background: #171a20; }

@media (max-width: 899px) {
  .mega-panel,
  .mega-backdrop { display: none !important; }
  .site-nav.is-mega-open {
    background: rgba(11, 13, 16, 0.97);
    color: var(--text-on-dark);
  }
  .site-nav.is-mega-open .nav-links { color: var(--text-muted-dark); }
  .site-nav.is-mega-open .logo-mark { color: #7eb8ff; }
  .site-nav.is-mega-open .lang-toggle {
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--text-on-dark);
  }
  .site-nav.is-mega-open .btn-light {
    background: #fff;
    color: #111;
  }
  .site-nav.is-mega-open .nav-burger span { background: #fff; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-light {
  background: #fff;
  color: #111;
}
.btn-light:hover { background: #e8eaed; }

.btn-dark {
  background: #111418;
  color: #fff;
}
.btn-dark:hover { background: #2a2f36; }

.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0 36px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.cta-row.center { justify-content: center; }

/* —— Panels —— */
.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) clamp(20px, 5vw, 48px) 64px;
  overflow: hidden;
}

.panel-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.panel-light { background: var(--bg-light); color: var(--text-on-light); }

.panel-content {
  width: 100%;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.panel-content.narrow { max-width: 780px; margin-inline: auto; }
.panel-content.center-text { text-align: center; }
.panel-content.split {
  display: grid;
  gap: 48px;
}
@media (min-width: 860px) {
  .panel-content.split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}
.eyebrow.dark { color: var(--text-muted-light); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted-dark);
  max-width: 36em;
}
.lede.dark { color: var(--text-muted-light); }
.center-text .lede { margin-inline: auto; }

/* —— Hero —— */
.hero {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(61, 139, 253, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(33, 158, 188, 0.12), transparent 50%),
    var(--bg-dark);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-content .lede {
  margin-inline: auto;
}

.hero .cta-row { justify-content: center; }

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.55;
}

.hero-glow {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 184, 255, 0.2), transparent 70%);
  filter: blur(20px);
}

.bottle-hero {
  width: min(240px, 46vw);
  height: auto;
  position: relative;
  z-index: 1;
  animation: floatBottle 8s ease-in-out infinite;
  filter: invert(1);
  opacity: 0.92;
  object-fit: contain;
}

@keyframes floatBottle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Materials intro — shorter panel */
.materials-intro {
  min-height: auto;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 56px;
  text-align: center;
}

/* —— Material full-bleed panels —— */
.mat-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 48px) 64px;
  color: #fff;
  overflow: hidden;
}

.mat-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mat-tritan .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.55), rgba(11,13,16,0.75)),
    linear-gradient(160deg, #1a3a5c 0%, #0d2137 45%, #061018 100%);
}
.mat-ecozen .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #1b4332 0%, #0d2818 50%, #071410 100%);
}
.mat-petg .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #3d2a5c 0%, #1e1530 50%, #0e0a18 100%);
}
.mat-pet .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #4a3728 0%, #241a12 50%, #120e0a 100%);
}
.mat-pp .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #1e3a5f 0%, #0f1e32 50%, #080f18 100%);
}
.mat-ps .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #5c3a1e 0%, #2e1c0e 50%, #160e08 100%);
}
.mat-pc .mat-bg {
  background:
    linear-gradient(135deg, rgba(11,13,16,0.5), rgba(11,13,16,0.78)),
    linear-gradient(160deg, #2a3d4a 0%, #121e28 50%, #090e14 100%);
}

/* Decorative geometry per panel */
.mat-bg::after {
  content: "";
  position: absolute;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border-radius: 40% 60% 55% 45%;
  right: -10%;
  top: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0.7;
}

.mat-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 760px) {
  .mat-inner {
    grid-template-columns: 140px 1fr;
    gap: 64px;
  }
  .mat-panel:nth-child(even) .mat-inner {
    grid-template-columns: 1fr 140px;
  }
  .mat-panel:nth-child(even) .mat-icon {
    order: 2;
  }
}

.mat-icon {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mat-bottle {
  width: min(140px, 28vw);
  height: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.9;
}

.mat-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.mat-copy h3 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.4em;
}

.mat-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  font-size: 1.1rem;
}

.mat-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.mat-copy li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* —— OEM —— */
.oem {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(61, 139, 253, 0.12), transparent 50%),
    var(--bg-dark-2);
}

.feature-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text-muted-dark);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(61, 139, 253, 0.2);
}

.oem-visual {
  display: grid;
  gap: 14px;
}

.oem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.2s, background 0.2s;
}

.oem-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.oem-step {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

.oem-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.oem-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

/* —— Stock —— */
.stock-grid {
  display: grid;
  gap: 20px;
  margin: 40px 0 32px;
}

@media (min-width: 700px) {
  .stock-grid { grid-template-columns: repeat(3, 1fr); }
}

.stock-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(17, 20, 24, 0.06);
  text-align: left;
}

.stock-swatch {
  height: 140px;
}

.swatch-a {
  background:
    linear-gradient(145deg, #a8dadc 0%, #457b9d 55%, #1d3557 100%);
}
.swatch-b {
  background:
    linear-gradient(145deg, #e9c46a 0%, #f4a261 50%, #e76f51 100%);
}
.swatch-c {
  background:
    linear-gradient(145deg, #cdb4db 0%, #ffc8dd 50%, #bde0fe 100%);
}

.stock-card h3 {
  margin: 18px 20px 6px;
  font-size: 1.15rem;
}

.stock-card p {
  margin: 0 20px 22px;
  font-size: 0.92rem;
  color: var(--text-muted-light);
}

/* —— About —— */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(61, 139, 253, 0.1), transparent 55%),
    var(--bg-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stats span {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* —— Contact —— */
.contact {
  min-height: 70vh;
}

.contact-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.contact-note a {
  color: var(--accent);
  font-weight: 500;
}
.contact-note a:hover { text-decoration: underline; }

/* —— Footer —— */
.site-footer {
  background: #07080a;
  color: rgba(255, 255, 255, 0.55);
  padding: 40px clamp(20px, 5vw, 48px) 48px;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.footer-inner strong {
  color: #fff;
  margin-right: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.75;
  max-width: 40em;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bottle-hero, .scroll-hint span { animation: none; }
}
