:root {
  --bg: #050608;
  --bg-soft: #0b0f14;
  --panel: rgba(255,255,255,0.08);
  --panel-strong: rgba(255,255,255,0.12);
  --line: rgba(255,255,255,0.12);
  --text: #f4f7fb;
  --muted: #b7c0cf;
  --accent: #57d7ff;
  --accent-2: #8e62ff;
  --accent-3: #ffbe6a;
  --shadow: 0 20px 80px rgba(0,0,0,0.45);
  --radius: 24px;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87,215,255,0.08), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(142,98,255,0.14), transparent 28%),
    linear-gradient(180deg, #020304 0%, #070a0e 40%, #050608 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.glass-soft {
  background: linear-gradient(180deg, rgba(6,10,16,.18), rgba(6,10,16,.72));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
}
.bg-orb {
  position: fixed; border-radius: 999px; filter: blur(70px); opacity: .25; z-index: -2; pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 360px; height: 360px; background: #3ee0ff; top: 8%; right: -90px; }
.orb-2 { width: 300px; height: 300px; background: #854dff; left: -80px; top: 50%; animation-delay: -4s; }
.site-header {
  position: sticky; top: 0; z-index: 30; margin: 18px auto 0; width: min(calc(100% - 24px), 1280px);
  border-radius: 22px;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .05em; }
.site-logo { width: 6cm; height: auto; display: block; }
.footer-logo { width: 5.4cm; height: auto; filter: brightness(1.05); }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: var(--muted); font-size: 0.96rem; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; padding: 4px; border-radius: 999px; gap: 4px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 10px 14px; border-radius: 999px; font-weight: 700;
}
.lang-btn.active { color: #041019; background: linear-gradient(90deg, var(--accent), #7ce7ff 50%, var(--accent-2)); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.btn-sm { padding: 10px 16px; }
.btn-primary {
  background: linear-gradient(90deg, var(--accent), #7ce7ff 50%, var(--accent-2));
  color: #031017; font-weight: 800; border: 0;
}
.btn-ghost { background: rgba(255,255,255,.03); }
.top-showcase {
  padding-top: 44px;
}
.hero-galleries {
  display: flex; flex-direction: column; margin-top: 18px;
}
.gallery-strip {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  height: 64vh; min-height: 480px; max-height: 760px; overflow: hidden;
}
.gallery-track { position: absolute; inset: 0; }
.gallery-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; z-index: 1; transition: opacity 1.6s ease;
  animation: kenburns 9s ease-in-out infinite alternate;
}
.gallery-slide.active { opacity: 1; z-index: 2; }
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.gallery-strip::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,4,10,0.12) 0%, rgba(3,4,10,0.18) 40%, rgba(3,4,10,0.86) 92%);
}
.gallery-overlay {
  position: absolute; left: 5%; right: auto; bottom: 8%; max-width: 560px;
  padding: 26px 28px; border-radius: 26px; z-index: 4;
}
.gallery-overlay h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.08; }
.gallery-overlay p:last-child { margin: 0; color: #E6EDF7; line-height: 1.75; }
.gallery-dots { position: absolute; right: 5%; bottom: 9%; display: flex; gap: 10px; z-index: 4; }
.g-dot {
  width: 13px; height: 13px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.g-dot.active { background: var(--accent); box-shadow: 0 0 22px rgba(87,215,255,.9); }
.gallery-counter {
  position: absolute; right: 5%; top: 7%; z-index: 4; font-size: .82rem; letter-spacing: .12em;
  color: rgba(255,255,255,.75); font-weight: 600;
}
.gallery-counter .g-count-current { color: var(--accent); font-size: .95rem; }
.gallery-progress {
  position: absolute; left: 5%; right: 5%; bottom: 4%; height: 3px; z-index: 4;
  background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden;
}
.gallery-progress-bar {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.gallery-progress-bar.running { animation: gprogress linear forwards; }
@keyframes gprogress { from { width: 0%; } to { width: 100%; } }
.showcase-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 24px;
}
.showcase-card {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  padding: 18px;
}
.showcase-media {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 26px;
  filter: saturate(1.08) contrast(1.05) brightness(.94);
}
.showcase-overlay {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 32px;
  max-width: 74%;
  padding: 26px 28px;
  border-radius: 26px;
}
.showcase-overlay h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  line-height: 1.04;
}
.showcase-overlay p:last-child {
  margin: 0;
  color: #E6EDF7;
  line-height: 1.75;
}
.hero {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px;
  min-height: calc(100vh - 110px); align-items: center; padding: 72px 0 70px;
}
.eyebrow {
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: .77rem; color: var(--accent);
}
.hero h1, .section-head h2, .split-copy h2 { line-height: 1.02; margin: 0; }
.hero h1 { font-size: clamp(3rem, 5.8vw, 5.7rem); max-width: 11.5ch; }
.hero h1 span { color: transparent; background: linear-gradient(90deg, #fff, #ffd394, #86e9ff); -webkit-background-clip: text; background-clip: text; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.88; max-width: 66ch; margin: 24px 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 18px 20px; border-radius: 20px; min-width: 150px; }
.metric strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.metric span { color: var(--muted); font-size: .92rem; }
.slider-frame {
  position: relative; border-radius: 34px; overflow: hidden; padding: 20px;
  box-shadow: 0 24px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
}
.slides { position: relative; aspect-ratio: 16 / 9; min-height: 520px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .8s ease, transform .8s ease;
  display: flex; flex-direction: column; justify-content: end;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide img {
  width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px;
  filter: saturate(1.08) contrast(1.05) brightness(1);
}
.slide-caption {
  position: absolute; left: 34px; right: auto; bottom: 34px; padding: 26px 28px; border-radius: 26px;
  max-width: min(88%, 720px);
  background: linear-gradient(180deg, rgba(5,8,13,.84), rgba(5,8,13,.94));
  box-shadow: 0 16px 40px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
}
.slide-caption h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2vw, 2.15rem); line-height: 1.08; }
.slide-caption p { margin: 0; color: #edf3fb; font-size: 1.08rem; line-height: 1.75; max-width: 52ch; }
.slider-dots { position: absolute; right: 30px; top: 28px; display: flex; gap: 10px; z-index: 3; }
.dot {
  width: 13px; height: 13px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.dot.active { background: var(--accent); box-shadow: 0 0 22px rgba(87,215,255,.9); }
.section { padding: 92px 0; }
.narrow-head { max-width: 900px; }
.section-head { max-width: 920px; margin-bottom: 34px; }
.section-head h2, .split-copy h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.section-head p:last-child, .split-copy p, .site-footer p { color: var(--muted); line-height: 1.9; }
.overview-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px;
}
.overview-card, .window-card, .feature, .standard-item, .chemical-band {
  border-radius: 30px; padding: 30px; position: relative; overflow: hidden;
}
.overview-card::after, .window-card::after, .feature::after, .standard-item::after, .chemical-band::after {
  content: ''; position: absolute; inset: auto -18% -55% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(87,215,255,.2), transparent 68%); pointer-events: none;
}
.featured-card { background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)); }
.card-index {
  display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.07); color: var(--accent); font-weight: 700; margin-bottom: 20px;
}
.overview-card h3, .window-card h3 { margin: 0 0 14px; font-size: 1.5rem; }
.overview-card p, .window-card p, .standard-item span, .feature span, .chemical-band p { color: var(--muted); line-height: 1.9; }
.priority-section, .standards-section { align-items: center; }
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.feature-list, .standards-list { display: grid; gap: 16px; margin-top: 30px; }
.large-features .feature, .standards-list .standard-item { padding: 22px 24px; }
.feature strong, .standard-item strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.visual-panel {
  aspect-ratio: 16 / 9; min-height: 0; border-radius: 34px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; padding: 0;
}
.large-panel { min-height: 0; }
.visual-panel img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; filter: saturate(1.05) contrast(1.02); }
.panel-glow {
  position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(44px); opacity: .45; top: 26px; right: 16px;
  background: radial-gradient(circle, rgba(255,187,76,.72), transparent 65%);
}
.panel-glow.cool { background: radial-gradient(circle, rgba(87,215,255,.72), transparent 65%); }
.windows-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.window-card {
  min-height: 270px;
  padding: 38px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
}
.window-label {
  display: inline-flex; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.window-card h3 { font-size: 1.7rem; margin-bottom: 12px; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.process-step {
  border-radius: 28px; padding: 30px 26px; position: relative; overflow: hidden;
}
.process-num {
  display: block; font-size: 2.2rem; font-weight: 800; color: var(--accent); opacity: .85; margin-bottom: 14px;
}
.process-step h3 { margin: 0 0 12px; font-size: 1.2rem; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.8; }
.secondary-section .chemical-band {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
}
.chemical-copy h3 { margin: 0 0 14px; font-size: 1.6rem; }
.chemical-visual img { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.site-footer { padding-top: 60px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 28px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 26px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-inline { opacity: 1; transform: none; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.08); }
}
@media (max-width: 1180px) {
  .showcase-grid, .hero, .split-section, .overview-grid, .windows-grid, .process-grid, .secondary-section .chemical-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .showcase-overlay { max-width: calc(100% - 68px); }
}
@media (max-width: 800px) {
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; padding: 16px; border-radius: 22px;
    background: rgba(8,10,14,.94); border: 1px solid var(--line); display: none; flex-direction: column; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { max-width: 100%; font-size: clamp(2.4rem, 12vw, 4rem); }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .showcase-card, .showcase-media { min-height: 320px; }
  .gallery-strip { height: 46vh; min-height: 340px; }
  .gallery-overlay { left: 20px; right: 20px; bottom: 20px; max-width: none; padding: 18px 18px; }
  .gallery-overlay h2 { font-size: 1.4rem; }
  .gallery-dots { right: 20px; bottom: auto; top: 20px; }
  .gallery-counter { top: auto; bottom: 20px; left: 20px; right: auto; }
  .gallery-progress { left: 20px; right: 20px; bottom: 12px; }
  .showcase-overlay { left: 20px; right: 20px; bottom: 20px; max-width: none; padding: 18px 18px; }
  .showcase-overlay h2 { font-size: 1.55rem; }
  .slide-caption { left: 18px; right: 18px; bottom: 18px; padding: 18px; max-width: none; }
  .window-card { min-height: auto; padding: 28px 24px; }
  .header-actions { gap: 8px; }
  .lang-btn { padding: 9px 12px; }
  .footer-wrap, .footer-links { text-align: left; align-items: flex-start; }
}
