:root {
  --c-bg: #0a0e1a;
  --c-bg2: #0f1419;
  --c-surface: #151b28;
  --c-surface2: #1a2032;
  --c-accent: #00d084;
  --c-accent2: #00ff9f;
  --c-accent3: #00d084;
  --c-text: #f5f7fc;
  --c-muted: #8a94b0;
  --c-border: rgba(0, 208, 132, 0.2);
  --c-border2: rgba(0, 208, 132, 0.1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --diag: 5vw;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

/* ── SMOOTH THEME TRANSITION ── */
*, *::before, *::after {
  transition:
    background-color 0.4s cubic-bezier(0.4,0,0.2,1),
    border-color     0.4s cubic-bezier(0.4,0,0.2,1),
    color            0.4s cubic-bezier(0.4,0,0.2,1),
    box-shadow       0.4s cubic-bezier(0.4,0,0.2,1),
    filter           0.4s cubic-bezier(0.4,0,0.2,1);
}
/* Preserve motion-critical transitions */
.hero-product-img { transition: transform 0.1s ease-out !important; }
.cbar-fill, .stat-bar-fill { transition: width 1.8s cubic-bezier(0.4,0,0.2,1) !important; }
.drawer-overlay { transition: opacity 0.3s !important; }
.burger span { transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important; }
.btn-primary::after { transition: transform 0.3s !important; }
.dl-card::before { transition: left 0.5s !important; }
.gallery-product img { transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1) !important; }
.accordion-content { transition: max-height 0.4s ease-out, padding 0.4s ease-out !important; }
.tech-card::after { transition: width 0.4s cubic-bezier(0.4,0,0.2,1) !important; }

#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 5vw;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transform: translateY(0);
}
nav.scrolled {
  background: rgba(10, 14, 26, 0.92);
  border-bottom: 1px solid var(--c-border2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
}
nav.hidden { transform: translateY(-100%); }

.nav-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: 2px; color: var(--c-accent); text-decoration: none; }

/* Groups nav links + theme button on desktop */
.nav-right {
  display: flex;
  align-items: center;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-muted); text-decoration: none; }
.nav-links a:hover { color: var(--c-accent); }

/* ── BURGER ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── THEME BUTTON ── */
.theme-btn {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-left: 20px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.theme-btn:hover {
  background: rgba(0,208,132,0.10);
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0,208,132,0.20);
}
.theme-btn:active { transform: scale(0.92); }

.theme-btn .t-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.theme-btn .t-icon svg {
  width: 17px; height: 17px;
  stroke: var(--c-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark mode: show sun */
.theme-btn .t-sun  { opacity: 1;  transform: rotate(0deg)   scale(1);   }
.theme-btn .t-moon { opacity: 0;  transform: rotate(-90deg) scale(0.5); }
/* Light mode: show moon */
.theme-btn.light-mode .t-sun  { opacity: 0;  transform: rotate(90deg)  scale(0.5); }
.theme-btn.light-mode .t-moon { opacity: 1;  transform: rotate(0deg)   scale(1);   }

.drawer-header,
.drawer-nav,
.drawer-footer {
  transition: none !important;
}

/* ── DRAWER OVERLAY ── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--c-surface);
  z-index: 300;
  transform: translateX(100%);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1) !important;
  
  /* GRID: header fixed, footer fixed, body fills middle */
  display: grid;
  grid-template-rows: 64px 1fr auto;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--c-border2);
  transition: none !important;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: none !important;
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--c-border2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: none !important;
}

.drawer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--c-accent);
}
.drawer-close {
  /* static inside flex row, NOT absolute */
  position: static;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--c-border2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c-muted);
  flex-shrink: 0;
}
.drawer-close:hover { border-color: var(--c-accent); color: var(--c-accent); }

.drawer-nav {
  position: absolute;
  top: 64px;
  left: 0; right: 0;
  bottom: 0;
  padding-bottom: 130px;
  overflow: hidden;    /* NO scroll — force all links visible */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;  /* spread links evenly in available space */
  transition: none !important;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;  /* reduce from 12px */
  width: 100%;
  font-family: var(--font-display);
  font-size: 24px;     /* reduce from 18px */
  letter-spacing: 2px;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border2);
  box-sizing: border-box;
  flex-shrink: 0;
  transition: color 0.25s ease, padding-left 0.25s cubic-bezier(0.4,0,0.2,1), background 0.25s ease !important;
}

.drawer-link:last-of-type { border-bottom: none; }
.drawer-link:hover {
  color: var(--c-accent);
  padding-left: 32px;
  background: rgba(0,208,132,0.04);
}
.drawer-link-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--c-accent);
  opacity: 0.55;
  flex-shrink: 0;
  width: 18px;
}

/* Theme btn in drawer: full-width row variant */
.drawer-footer .theme-btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  margin-left: 0;
  overflow: visible;
  justify-content: flex-start;
  padding: 0 16px;
  gap: 12px;
}
.drawer-footer .theme-btn .t-icon {
  position: static;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
/* In drawer: only one icon visible at a time (no crossfade — just show/hide) */
.drawer-footer .theme-btn .t-sun  { opacity: 1; transform: none; display: flex; }
.drawer-footer .theme-btn .t-moon { opacity: 0; transform: none; display: none; }
.drawer-footer .theme-btn.light-mode .t-sun  { opacity: 0; display: none; }
.drawer-footer .theme-btn.light-mode .t-moon { opacity: 1; display: flex; }

.theme-btn-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Buy button in drawer footer */
.drawer-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #00d084, #00ff9f);
  color: #0a0e1a;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
}
.drawer-buy:hover { opacity: 0.9; transform: translateY(-1px); }

section { position: relative; z-index: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 5vw calc(80px + var(--diag));
  overflow: hidden;
  position: relative;
  background: var(--c-bg2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--diag)), 0 100%);
}
.hero::after {
  content: '';
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(0,208,132,0.07) 0%,rgba(0,208,132,0.02) 50%,transparent 70%);
  top: -25%; right: -15%;
  pointer-events: none;
  animation: atmPulse 7s ease-in-out infinite;
}
.hero-left {
  position: relative; z-index: 1;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 40px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}
.hero-tag {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 18px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-accent3);
  margin-bottom: 40px; justify-self: center;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--c-accent3); }
.hero-logo-wrap {
  grid-column: 1; grid-row: 2;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.35s forwards;
}
.hero-logo { width: 100%; max-width: 260px; height: auto; object-fit: contain; }
.hero-product-wrapper {
  grid-column: 2; grid-row: 2;
  width: 100%; max-width: 280px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
.hero-product-img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 24px 64px rgba(0,208,132,0.28)) drop-shadow(0 0 100px rgba(0,208,132,0.10));
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
@keyframes slideUp { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
.hero-model {
  grid-column: 3; grid-row: 2;
  font-family: var(--font-display);
  font-size: clamp(24px,3vw,42px); letter-spacing: 4px; color: var(--c-accent);
  text-align: left; padding-left: 40px;
  opacity: 0; animation: fadeUp 0.8s 0.45s forwards;
}
.hero-desc {
  grid-column: 1 / -1;
  font-size: 16px; color: var(--c-muted); max-width: 600px;
  line-height: 1.8; margin: 40px auto 36px; text-align: center;
  opacity: 0; animation: fadeUp 0.8s 0.55s forwards;
}
.hero-ctas {
  grid-column: 1 / -1;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.8s 0.65s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg,#00d084,#00ff9f);
  color: #0a0e1a;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; font-weight: 500; border: none; cursor: pointer;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,208,132,0.3);
}
.btn-primary::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,0.2); transform:translateX(-100%); }
.btn-primary:hover::after { transform:translateX(0); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 32px rgba(0,208,132,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 32px; background: transparent; color: var(--c-accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--c-accent); cursor: pointer;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
}
.btn-secondary:hover { background:var(--c-accent); color:#0a0e1a; transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,208,132,0.25); }
.btn-buy {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 32px; background: transparent; color: var(--c-text);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--c-text); cursor: pointer;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
}
.btn-buy:hover { background: var(--c-text); color: var(--c-bg); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.15); }

/* ── STATS ── */
.stats-strip { padding: calc(var(--diag) + 60px) 5vw 80px; background: var(--c-bg); position: relative; z-index: 1; }
.stats-strip::before { content: ''; position: absolute; width: 55vw; height: 55vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.05) 0%,transparent 65%); bottom: -30%; left: -10%; pointer-events: none; animation: atmPulse 9s ease-in-out infinite 2s; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; z-index: 1; }
.stat-cell { padding: 40px 32px; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); background: linear-gradient(135deg,rgba(0,208,132,0.05),rgba(0,208,132,0.02)); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,208,132,0.06); }
.stat-cell:hover { background:linear-gradient(135deg,rgba(0,208,132,0.1),rgba(0,208,132,0.05)); transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,208,132,0.15); }
.stat-num { font-family:var(--font-display); font-size:48px; letter-spacing:2px; color:var(--c-text); line-height:1; margin-bottom:6px; }
.stat-unit { font-family:var(--font-display); font-size:22px; color:var(--c-accent); letter-spacing:2px; }
.stat-label { font-family:var(--font-mono); font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--c-muted); margin-top:16px; }
.stat-bar { position:absolute; bottom:0; left:0; right:0; height:3px; background:rgba(0,208,132,0.1); overflow:hidden; border-radius:0 0 12px 12px; }
.stat-bar-fill { height:100%; background:linear-gradient(90deg,#00d084,#00ff9f); width:0%; box-shadow:0 0 8px rgba(0,255,159,0.5); }

/* SECTION LABELS */
.section-label { font-family:var(--font-mono); font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--c-accent); margin-bottom:16px; display:flex; align-items:center; gap:12px; }
.section-label::after { content:''; flex:1; height:1px; background:var(--c-border); }
.section-title { font-family:var(--font-display); font-size:clamp(40px,5vw,72px); line-height:0.95; letter-spacing:2px; margin-bottom:20px; }
.accent-line { display:inline-block; position:relative; }
.accent-line::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--c-accent2),var(--c-accent)); }

/* ── ABOUT ── */
.about { padding: calc(var(--diag) * 2 + 80px) 5vw calc(var(--diag) * 2 + 80px); display: grid; grid-template-columns: 0.7fr 2fr 0.7fr; gap: 60px; align-items: center; background: var(--c-surface); position: relative; z-index: 1; clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); margin-top: calc(-1 * var(--diag)); }
.about::before { content: ''; position: absolute; width: 65vw; height: 65vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.06) 0%,transparent 65%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; animation: atmPulse 10s ease-in-out infinite 1s; }
.about-left { display:flex; flex-direction:column; gap:48px; position:relative; z-index:1; }
.about-center { display:flex; align-items:center; justify-content:center; position:relative; z-index:1; }
.about-right { display:flex; flex-direction:column; gap:48px; position:relative; z-index:1; }
.about-feature { display:flex; flex-direction:column; gap:12px; }
.about-feature-title { font-family:var(--font-display); font-size:24px; letter-spacing:1px; color:var(--c-accent); line-height:1; }
.about-feature-desc { font-size:14px; color:var(--c-muted); line-height:1.8; }
.product-showcase { display:flex; align-items:center; justify-content:center; width:100%; }
.product-showcase img { width:auto; height:100%; max-height:100vh; max-width:100%; object-fit:contain; filter:drop-shadow(0 20px 60px rgba(0,208,132,0.15)) drop-shadow(0 0 120px rgba(0,208,132,0.08)); }

/* ── TECHNOLOGY ── */
.technology { padding: calc(var(--diag) * 2 + 80px) 5vw calc(var(--diag) * 2 + 80px); background: var(--c-bg2); position: relative; overflow: hidden; z-index: 1; clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); margin-top: calc(-1 * var(--diag)); }
.technology::before { content: ''; position: absolute; width: 55vw; height: 55vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.07) 0%,transparent 65%); top: -15%; right: -8%; pointer-events: none; animation: atmPulse 8s ease-in-out infinite 2.5s; }
.technology::after { content: ''; position: absolute; width: 40vw; height: 40vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,150,255,0.04) 0%,transparent 70%); bottom: -10%; left: 5%; pointer-events: none; }
.tech-header { max-width: 600px; margin-bottom: 64px; position: relative; z-index: 1; }
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; z-index: 1; }
.tech-card { background: rgba(21,27,40,0.85); backdrop-filter: blur(10px); padding: 40px 32px; position: relative; overflow: hidden; opacity: 0; transform: translateY(30px); border-radius: 8px; border: 1px solid var(--c-border2); }
.tech-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: linear-gradient(90deg,#00d084,#00ff9f); box-shadow: 0 0 8px rgba(0,208,132,0.6); }
.tech-card:hover::after { width: 100%; }
.tech-card:hover { background: rgba(26,32,50,0.95); box-shadow:0 8px 40px rgba(0,208,132,0.12); transform:translateY(-6px); border-color:var(--c-border); }
.tech-icon { width:48px; height:48px; margin-bottom:24px; display:flex; align-items:center; justify-content:center; border:1px solid var(--c-border); color:var(--c-accent); }
.tech-icon svg { width:22px; height:22px; }
.tech-num { font-family:var(--font-mono); font-size:10px; color:var(--c-muted); letter-spacing:2px; margin-bottom:12px; }
.tech-title { font-family:var(--font-display); font-size:26px; letter-spacing:2px; margin-bottom:16px; color:var(--c-text); }
.tech-desc { font-size:14px; color:var(--c-muted); line-height:1.8; }

/* ── SPECS ── */
.specs-section { padding: calc(var(--diag) * 2 + 80px) 5vw calc(var(--diag) * 2 + 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; background: var(--c-surface); position: relative; z-index: 1; clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); margin-top: calc(-1 * var(--diag)); }
.specs-section::before { content: ''; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.05) 0%,transparent 70%); bottom: -20%; left: -8%; pointer-events: none; animation: atmPulse 11s ease-in-out infinite 0.5s; }
.accordion-group { display:flex; flex-direction:column; gap:12px; position:relative; z-index:1; }
.accordion-item { border:1px solid var(--c-border2); border-radius:8px; background:transparent; overflow:hidden; opacity:0; transform:translateX(-20px); }
.accordion-item.active { background:linear-gradient(135deg,rgba(0,208,132,0.05),rgba(0,208,132,0.02)); border-color:var(--c-accent); }
.accordion-header { padding:16px 20px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-family:var(--font-display); font-size:18px; letter-spacing:1px; color:var(--c-text); user-select:none; }
.accordion-header:hover { color:var(--c-accent); }
.accordion-header::before { content:''; width:3px; height:24px; background:linear-gradient(180deg,#00d084,#00ff9f); margin-right:12px; border-radius:2px; flex-shrink:0; }
.accordion-icon { width:20px; height:20px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.accordion-item.active .accordion-icon { transform:rotate(180deg); }
.accordion-content { max-height:0; overflow:hidden; }
.accordion-item.active .accordion-content { max-height:600px; padding:0 20px 20px; }
.accordion-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:12px 0; border-bottom:1px solid rgba(0,208,132,0.1); }
.accordion-row:last-child { border-bottom:none; }
.accordion-row-key { font-family:var(--font-mono); font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--c-muted); }
.accordion-row-val { font-family:var(--font-body); font-size:14px; color:var(--c-accent); font-weight:500; }
.chart-wrap { display:flex; flex-direction:column; gap:24px; position:relative; z-index:1; }
.chart-title { font-family:var(--font-display); font-size:32px; letter-spacing:2px; margin-bottom:4px; }
.chart-sub { font-family:var(--font-mono); font-size:11px; color:var(--c-muted); letter-spacing:1px; }
.compare-bar { display:flex; flex-direction:column; gap:16px; }
.cbar-item { display:flex; flex-direction:column; gap:8px; }
.cbar-label { display:flex; justify-content:space-between; font-size:13px; color:var(--c-muted); }
.cbar-label span:last-child { color:var(--c-accent); }
.cbar-track { height:8px; background:rgba(0,208,132,0.12); position:relative; overflow:hidden; border-radius:4px; }
.cbar-fill { height:100%; background:linear-gradient(90deg,#00d084,#00ff9f); width:0%; border-radius:4px; box-shadow:0 0 12px rgba(0,255,159,0.4); }
.cbar-fill.alt { background:linear-gradient(90deg,#00b8ff,#00e8ff); box-shadow:0 0 12px rgba(0,200,255,0.4); }

/* ── GALLERY ── */
.gallery-section { padding: calc(var(--diag) * 2 + 80px) 5vw calc(var(--diag) * 2 + 80px); background: var(--c-bg2); position: relative; z-index: 1; overflow: hidden; clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); margin-top: calc(-1 * var(--diag)); }
.gallery-section::before { content: ''; position: absolute; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.05) 0%,transparent 60%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; animation: atmPulse 12s ease-in-out infinite 3s; }
.gallery-showcase { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; margin-top: 60px; position: relative; z-index: 1; }
.gallery-product { display:flex; align-items:center; justify-content:center; min-height:500px; }
.gallery-product img { width:100%; height:auto; max-width:100%; object-fit:contain; filter:drop-shadow(0 20px 60px rgba(0,208,132,0.2)) drop-shadow(0 0 100px rgba(0,208,132,0.1)); }
.gallery-product:hover img { transform:scale(1.05); }
.gallery-features { display:flex; flex-direction:column; gap:16px; }
.feature-card { display:flex; align-items:flex-start; gap:16px; padding:20px; border-radius:12px; border: 1px solid var(--c-border2); background: rgba(21,27,40,0.6); position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: linear-gradient(90deg,#00d084,#00ff9f); box-shadow: 0 0 8px rgba(0,208,132,0.6); }
.feature-card:hover::after { width: 100%; }
.feature-card:hover { border-color:var(--c-accent); transform:translateX(8px); background: rgba(26,32,50,0.8); }
.feature-card.full-width { grid-column:1 / -1; padding:24px; }
.feature-content { flex:1; }
.feature-value { font-family:var(--font-display); font-size:24px; letter-spacing:2px; color:var(--c-accent); line-height:1; margin-bottom:4px; }
.feature-label { font-family:var(--font-mono); font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--c-muted); margin-bottom:8px; }
.feature-desc { font-size:14px; color:var(--c-muted); line-height:1.6; }
.certifications { width:100%; }

/* ── DOWNLOADS ── */
.downloads { padding: calc(var(--diag) * 2 + 80px) 5vw calc(var(--diag) * 2 + 80px); background: var(--c-surface); position: relative; overflow: hidden; z-index: 1; clip-path: polygon(0 var(--diag), 100% 0, 100% calc(100% - var(--diag)), 0 100%); margin-top: calc(-1 * var(--diag)); }
.downloads::before { content: ''; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.06) 0%,transparent 65%); top: -10%; right: -10%; pointer-events: none; animation: atmPulse 8s ease-in-out infinite 1.5s; }
.downloads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; max-width: 800px; position: relative; z-index: 1; }
.dl-card { display:flex; align-items:center; gap:20px; padding:28px 32px; background:var(--c-bg2); border:1px solid var(--c-border2); text-decoration:none; color:var(--c-text); position:relative; overflow:hidden; clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px)); }
.dl-card::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg,transparent,rgba(0,208,132,0.08),transparent); }
.dl-card:hover::before { left:100%; }
.dl-card:hover { border-color:var(--c-accent); background:var(--c-surface2); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,208,132,0.12); }
.dl-card-buy { border-color: var(--c-border); }
.dl-card-buy .dl-name { color: var(--c-accent); }
.dl-card-buy:hover { border-color: var(--c-accent); box-shadow: 0 8px 24px rgba(0,208,132,0.2); }
.dl-card-buy .dl-arrow { opacity: 1; color: var(--c-accent); }
.dl-icon { width:48px; height:48px; border:1px solid var(--c-border); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--c-accent); }
.dl-info { flex:1; }
.dl-name { font-family:var(--font-display); font-size:20px; letter-spacing:1px; margin-bottom:4px; }
.dl-type { font-family:var(--font-mono); font-size:11px; letter-spacing:1px; color:var(--c-muted); text-transform:uppercase; }
.dl-arrow { color:var(--c-accent); opacity:0; }
.dl-card:hover .dl-arrow { opacity:1; transform:translateX(4px); }

/* ── CTA ── */
.cta-section { padding: calc(var(--diag) + 100px) 5vw 140px; text-align: center; background: var(--c-bg2); position: relative; overflow: hidden; z-index: 1; margin-top: calc(-1 * var(--diag)); }
.cta-section::before { content: ''; position: absolute; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(circle,rgba(0,208,132,0.08) 0%,rgba(0,208,132,0.03) 40%,transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; animation: atmPulse 6s ease-in-out infinite; }
.cta-section::after { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 5px solid rgba(0,208,132,0.15); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: ringPulse 4s ease-in-out infinite; }
@keyframes ringPulse { 0%,100% { transform:translate(-50%,-50%) scale(1); opacity:0.5; } 50% { transform:translate(-50%,-50%) scale(1.06); opacity:1; } }
.cta-title { font-family:var(--font-display); font-size:clamp(48px,6vw,90px); letter-spacing:3px; line-height:0.95; margin-bottom:24px; position:relative; z-index:1; }
.cta-sub { font-size:16px; color:var(--c-muted); margin-bottom:48px; position:relative; z-index:1; }
.cta-btns { position:relative; z-index:1; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

footer {
  padding: 40px 5vw;
  border-top: 1px solid var(--c-border2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
  letter-spacing: 1px;
  background: var(--c-surface);
  position: relative;
  z-index: 1;
}

a.footer-logo {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.2s ease !important;
}
a.footer-logo:hover {
  opacity: 1;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-right {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.footer-company {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--c-text);
  margin-bottom: 4px;
}

.footer-address {
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact a {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1px;
}

.footer-contact a:hover { color: var(--c-accent); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

/* Mobile */
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-right {
    flex-direction: column;
    gap: 16px;
  }
  .footer-meta { text-align: left; }
}

/* SCROLL REVEAL */
.reveal { opacity:0; transform:translateY(40px); }
.reveal.visible { opacity:1; transform:translateY(0); }
.product-showcase.reveal { opacity:0; transform:translateY(60px); }
.product-showcase.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-40px); }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(40px); }
.reveal-right.visible { opacity:1; transform:translateX(0); }

@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes atmPulse { 0%,100% { opacity:0.6; transform:scale(1); } 50% { opacity:1; transform:scale(1.08); } }
@keyframes loaderFill { from { width:0%; } to { width:100%; } }

.cursor-glow { position:fixed; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,rgba(0,255,159,0.10) 0%,rgba(0,208,132,0.05) 30%,transparent 70%); pointer-events:none; transform:translate(-50%,-50%); z-index:0; filter:blur(40px); mix-blend-mode:screen; }

::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:var(--c-bg); }
::-webkit-scrollbar-thumb { background:var(--c-accent); border-radius:4px; }

#loader { position:fixed; inset:0; background:var(--c-bg); z-index:1000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; }
#loader.hidden { opacity:0; visibility:hidden; }
.loader-text { font-family:var(--font-display); font-size:32px; letter-spacing:6px; color:var(--c-accent); }
.loader-bar { width:200px; height:1px; background:var(--c-border2); position:relative; overflow:hidden; }
.loader-bar-fill { position:absolute; top:0; left:0; height:100%; background:linear-gradient(90deg,#00d084,#00ff9f); animation:loaderFill 1.4s cubic-bezier(0.4,0,0.2,1) forwards; box-shadow:0 0 12px rgba(0,255,159,0.8); }
.loader-perc { font-family:var(--font-mono); font-size:11px; color:var(--c-muted); letter-spacing:3px; }

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 900px) {
  :root { --diag: 6vw; }
  .nav-links { display: none; }
  .nav-right .theme-btn { display: none; }
  .burger { display: flex; }
  .hero { padding: 120px 20px calc(60px + var(--diag)); min-height: auto; }
  .hero-left { grid-template-columns: 1fr; gap: 24px; }
  .hero-tag { margin-bottom: 16px; font-size: 10px; }
  .hero-logo-wrap { grid-column: 1; grid-row: auto; justify-content: center; padding: 0 20px; }
  .hero-logo { max-width: 200px; }
  .hero-product-wrapper { grid-column: 1; grid-row: auto; max-width: 200px; margin: 0 auto; }
  .hero-product-img { max-width: 200px; }
  .hero-model { grid-column: 1; grid-row: auto; text-align: center; padding-left: 0; font-size: 28px; }
  .hero-desc { font-size: 14px; margin: 20px auto 24px; padding: 0 8px; }
  .hero-ctas { gap: 10px; }
  .btn-primary, .btn-secondary, .btn-buy { padding: 12px 20px; font-size: 11px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 36px; }
  .about { grid-template-columns: 1fr; padding: calc(var(--diag) + 60px) 20px calc(var(--diag) + 60px); }
  .about-center { order: -1; }
  .technology { padding: calc(var(--diag) + 60px) 20px calc(var(--diag) + 60px); }
  .tech-grid { grid-template-columns: 1fr; }
  .specs-section { grid-template-columns: 1fr; gap: 48px; padding: calc(var(--diag) + 60px) 20px calc(var(--diag) + 60px); }
  .gallery-section { padding: calc(var(--diag) + 60px) 20px calc(var(--diag) + 60px); }
  .gallery-showcase { grid-template-columns: 1fr; gap: 40px; }
  .gallery-product { min-height: 260px; }
  .downloads { padding: calc(var(--diag) + 60px) 20px calc(var(--diag) + 60px); }
  .downloads-grid { grid-template-columns: 1fr; max-width: 100%; }
  .cta-section { padding: calc(var(--diag) + 60px) 20px 80px; }
  .cta-title { font-size: clamp(36px,10vw,60px); }
  .cta-btns { flex-direction: column; align-items: center; }
  footer {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  }
  .footer-meta {
    text-align: left;
  }

  footer {
  flex-direction: column;
  align-items: flex-start;  /* ← change from center to flex-start */
  gap: 24px;
}
.footer-right {
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.footer-meta { text-align: left; }
.footer-info { text-align: left; }
.footer-contact { align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --diag: 8vw; }
  .stats-inner { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
 footer { align-items: flex-start; }
.footer-logo { justify-content: flex-start; }
.footer-meta { text-align: left; }
.footer-info { text-align: left; }
.footer-contact { align-items: flex-start; }
  .specs-section {
  padding: calc(var(--diag) + 40px) 16px calc(var(--diag) + 40px);
  overflow: hidden;
}

  .accordion-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .accordion-row-key {
    font-size: 10px;
  }

  .accordion-row-val {
    font-size: 13px;
  }

  .accordion-header {
    font-size: 15px;
    padding: 12px 14px;
  }

  .accordion-item.active .accordion-content {
    padding: 0 14px 16px;
  }

  .chart-wrap {
    overflow: hidden;
  }

  .chart-title {
    font-size: 24px;
  }

  /* Fix circle stats overflow */
  .chart-wrap > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }

  .chart-wrap > div:last-child > div:last-child {
    grid-column: 1 / -1;
  }
}