/* =====================================================
   PalizTech — Dark Green Tech
   ===================================================== */

/* --- Tokens --- */
:root {
  --bg:           #03080d;
  --bg-el:        #07110d;
  --surface:      rgba(16,185,129,0.05);
  --surface-h:    rgba(16,185,129,0.09);
  --border:       rgba(16,185,129,0.12);
  --border-acc:   rgba(16,185,129,0.45);
  --text:         #ecfdf5;
  --muted:        #6ee7b7;
  --dim:          #4ade80;
  --green:        #10b981;
  --green-l:      #34d399;
  --cyan:         #06b6d4;
  --red:          #f43f5e;
  --amber:        #f59e0b;
  --glow:         rgba(16,185,129,0.18);
  --glow-lg:      rgba(16,185,129,0.32);
  --header-h:     66px;
  --radius:       14px;
  --radius-lg:    22px;
  --ease:         cubic-bezier(0.22,1,0.36,1);
  --font: "Vazirmatn","IRANSansX","IRANSans","Segoe UI",Tahoma,Arial,sans-serif;
}

/* --- Fonts: loaded via <link> in HTML for better performance --- */

/* --- Reset --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
body {
  font-family: var(--font); background: var(--bg);
  color: var(--text); direction: rtl; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Scroll progress --- */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 9999; }
#scroll-progress-bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 8px var(--green);
  transition: width 0.1s linear;
}

/* --- Background blobs --- */
.bg-blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(0); opacity: 0.6;
}
.blob-1 {
  width: 620px; height: 620px; top: -180px; right: -160px;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 70%);
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px; bottom: -100px; left: -120px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  animation: blob-drift 22s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 380px; height: 380px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(16,185,129,0.07) 0%, transparent 70%);
  animation: blob-drift-center 26s ease-in-out infinite alternate;
}
@keyframes blob-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,-40px) scale(1.08); }
}
@keyframes blob-drift-center {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(calc(-50% + 30px),calc(-50% - 40px)) scale(1.08); }
}

/* --- Grid overlay --- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(16,185,129,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* --- Layout --- */
.container { width: min(100%, 1160px); margin-inline: auto; padding-inline: 1.5rem; }
.section { position: relative; z-index: 1; padding-block: clamp(4rem,8vw,6rem); }
.section-head { text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.section-head .eyebrow { margin-bottom: 0.6rem; }

/* --- Typography --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--green); }
}
.section-title {
  font-size: clamp(1.65rem,3.5vw,2.4rem); font-weight: 900; line-height: 1.3;
  color: var(--text); margin-bottom: 0.5rem;
}
.title-line {
  display: block; width: 48px; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px var(--green);
  margin-top: 0.85rem;
}
.title-line--c { margin-inline: auto; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 52ch; margin-inline: auto; margin-top: 0.75rem; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* --- Cards --- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--border-acc);
  box-shadow: 0 0 32px var(--glow), 0 8px 30px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.7rem; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; font-family: var(--font);
  cursor: pointer; transition: all 0.2s;
}
.btn-green {
  background: var(--green); color: #022c22;
  box-shadow: 0 0 20px var(--glow);
}
.btn-green:hover {
  background: var(--green-l);
  box-shadow: 0 0 35px var(--glow-lg), 0 8px 20px rgba(16,185,129,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--green);
  border: 1.5px solid var(--border-acc);
}
.btn-outline:hover {
  background: var(--surface-h); border-color: var(--green);
  box-shadow: 0 0 18px var(--glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; border-radius: 12px; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(3,8,13,0.7); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.2rem; font-weight: 900; color: var(--text);
}
.logo img { height: 34px; width: auto; }
.logo-name em { color: var(--green); font-style: normal; }
.site-nav {
  display: flex; align-items: center; gap: 0.25rem;
}
.site-nav a {
  padding: 0.4rem 0.85rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--muted); transition: color 0.2s, background 0.2s;
}
.site-nav a:hover, .site-nav a.is-active {
  color: var(--green); background: rgba(16,185,129,0.08);
}
.header-cta { margin-inline-start: 0.5rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--text); transition: all 0.25s;
}
.nav-toggle span:first-child { width: 22px; }
.nav-toggle span:nth-child(2) { width: 16px; }
.nav-toggle span:last-child { width: 20px; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100svh; padding-top: calc(var(--header-h) + 3rem);
  display: flex; align-items: center;
}
.hero-shell {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem); align-items: center;
}
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--green); display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.4rem,5vw,3.8rem); font-weight: 900; line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--green-l), var(--cyan), var(--green));
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-move 4s ease-in-out infinite;
}
@keyframes grad-move {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: 1.08rem; color: var(--muted); max-width: 44ch;
  margin-bottom: 2rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.9rem; border-radius: 99px;
  background: rgba(16,185,129,0.08); border: 1px solid var(--border-acc);
  font-size: 0.78rem; font-weight: 700; color: var(--green-l);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: dot-pulse 2s infinite; }

/* Hero animation stagger */
.hero-content > * { opacity: 0; transform: translateY(20px); animation: hero-in 0.7s var(--ease) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }
.hero-content > *:nth-child(5) { animation-delay: 0.58s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ==================== TRADING TERMINAL WIDGET ==================== */
.terminal-wrap {
  opacity: 0; transform: translateX(-30px);
  animation: terminal-in 0.9s var(--ease) 0.5s forwards;
}
@keyframes terminal-in { to { opacity: 1; transform: none; } }

.terminal {
  background: rgba(7,17,13,0.9); border: 1px solid var(--border-acc);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 60px rgba(16,185,129,0.15), 0 30px 60px rgba(0,0,0,0.6);
}
.terminal-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem; background: rgba(16,185,129,0.06);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot:nth-child(1) { background: #f43f5e; }
.t-dot:nth-child(2) { background: #f59e0b; }
.t-dot:nth-child(3) { background: #10b981; }
.t-title {
  flex: 1; text-align: center; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--muted);
}
.t-live {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; font-weight: 700; color: var(--green);
}
.t-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: dot-pulse 1.4s infinite; }

/* Chart area */
.chart-area { padding: 1rem 1rem 0; }
.chart-header {
  display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.75rem;
}
.chart-pair { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.chart-price { font-size: 1.3rem; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--text); }
.chart-chg {
  font-size: 0.78rem; font-weight: 700; padding: 0.15rem 0.5rem;
  border-radius: 6px; background: rgba(16,185,129,0.15); color: var(--green-l);
}

/* Candlestick chart */
.candles {
  display: flex; align-items: flex-end; gap: 5px;
  height: 100px; padding: 0 0.25rem; position: relative;
}
.candle {
  flex: 1; position: relative; border-radius: 2px;
  min-width: 8px;
  animation: candle-flicker 3s ease-in-out infinite alternate;
}
.candle::before {
  content: ''; position: absolute; width: 2px; border-radius: 1px;
  left: 50%; transform: translateX(-50%);
  background: inherit; opacity: 0.5;
}
/* Wick top */
.candle::after {
  content: ''; position: absolute; width: 2px; border-radius: 1px;
  left: 50%; transform: translateX(-50%);
  background: inherit; opacity: 0.5;
}

.c-up { background: var(--green); }
.c-dn { background: var(--red); }

/* Individual candle heights & wicks via inline styles */
.candle { height: var(--h, 40px); }
.candle::before { height: var(--wt, 8px); bottom: 100%; }
.candle::after { height: var(--wb, 6px); top: 100%; }

@keyframes candle-flicker {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0.92); }
}
/* Individual candle sizes via CSS custom properties (keeps HTML clean & CSP-safe) */
.candles .candle:nth-child(1) { --h: 45px; --wt: 10px; --wb: 6px; }
.candles .candle:nth-child(2) { --h: 62px; --wt: 8px;  --wb: 9px; }
.candles .candle:nth-child(3) { --h: 35px; --wt: 12px; --wb: 5px; }
.candles .candle:nth-child(4) { --h: 70px; --wt: 7px;  --wb: 11px; }
.candles .candle:nth-child(5) { --h: 28px; --wt: 9px;  --wb: 8px; }
.candles .candle:nth-child(6) { --h: 55px; --wt: 11px; --wb: 6px; }
.candles .candle:nth-child(7) { --h: 80px; --wt: 6px;  --wb: 10px; }
.candles .candle:nth-child(8) { --h: 40px; --wt: 13px; --wb: 7px; }
.candles .candle:nth-child(9) { --h: 68px; --wt: 8px;  --wb: 9px; }

/* Stagger animations per candle */
.candle:nth-child(1) { animation-delay: 0s; }
.candle:nth-child(2) { animation-delay: 0.4s; animation-duration: 2.5s; }
.candle:nth-child(3) { animation-delay: 0.8s; animation-duration: 3.5s; }
.candle:nth-child(4) { animation-delay: 0.2s; animation-duration: 2.8s; }
.candle:nth-child(5) { animation-delay: 0.6s; animation-duration: 3.2s; }
.candle:nth-child(6) { animation-delay: 1s; animation-duration: 2.3s; }
.candle:nth-child(7) { animation-delay: 0.3s; animation-duration: 3.8s; }
.candle:nth-child(8) { animation-delay: 0.7s; animation-duration: 2.6s; }
.candle:nth-child(9) { animation-delay: 0.1s; animation-duration: 3.1s; }

/* Moving price line */
.price-line {
  position: absolute; bottom: 42%; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green) 30%, var(--cyan) 70%, transparent);
  box-shadow: 0 0 6px var(--green);
  animation: line-sweep 4s ease-in-out infinite alternate;
}
@keyframes line-sweep {
  from { bottom: 35%; }
  to   { bottom: 55%; }
}

/* Terminal stats bar */
.t-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}
.t-stat {
  padding: 0.7rem 0.85rem; background: var(--bg-el);
  text-align: center;
}
.t-stat strong {
  display: block; font-size: 1.05rem; font-weight: 900;
  color: var(--green-l); font-variant-numeric: tabular-nums;
}
.t-stat small { font-size: 0.68rem; color: var(--muted); }

/* Trade log */
.trade-log {
  padding: 0.5rem 1rem; height: 68px; overflow: hidden; position: relative;
  border-top: 1px solid var(--border);
}
.trade-log::after {
  content: ''; position: absolute; bottom: 0; inset-inline: 0; height: 28px;
  background: linear-gradient(transparent, var(--bg-el));
  pointer-events: none;
}
.log-scroll {
  display: flex; flex-direction: column; gap: 0.3rem;
  animation: log-up 8s linear infinite;
}
@keyframes log-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.log-row {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-variant-numeric: tabular-nums;
}
.log-badge {
  padding: 0.1rem 0.35rem; border-radius: 4px; font-weight: 700; font-size: 0.65rem;
}
.log-buy { background: rgba(16,185,129,0.2); color: var(--green-l); }
.log-sell { background: rgba(244,63,94,0.2); color: #fb7185; }
.log-pair { color: var(--text); font-weight: 600; }
.log-pnl { margin-inline-start: auto; font-weight: 700; }
.log-pnl.pos { color: var(--green-l); }
.log-pnl.neg { color: #fb7185; }
.log-time { color: var(--muted); font-size: 0.65rem; }

/* ==================== TICKER STRIP ==================== */
.ticker-strip {
  position: relative; z-index: 1;
  background: rgba(16,185,129,0.06); border-block: 1px solid var(--border);
  overflow: hidden; padding-block: 0.7rem;
}
.ticker-inner {
  display: flex; width: max-content; gap: 3rem;
  animation: ticker 25s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.ticker-item .t-ico { color: var(--green); font-size: 0.85rem; }
.ticker-sep { color: var(--border-acc); }

/* ==================== PRODUCTS ==================== */
.products-layout {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem; align-items: start;
}
/* Featured product */
.product-featured {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-acc);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: 0 0 40px rgba(16,185,129,0.12);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-featured:hover {
  box-shadow: 0 0 60px rgba(16,185,129,0.22);
  transform: translateY(-4px);
}
.product-featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(16,185,129,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.prod-ribbon {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.85rem; border-radius: 99px; font-size: 0.72rem; font-weight: 700;
  background: var(--green); color: #022c22; margin-bottom: 1.25rem;
  box-shadow: 0 0 14px var(--glow);
}
.prod-name {
  font-size: 1.45rem; font-weight: 900; color: var(--text); line-height: 1.3;
  margin-bottom: 0.6rem;
}
.prod-desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.7; }
.prod-features {
  display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.75rem;
}
.prod-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text);
}
.feat-ico { color: var(--green); font-size: 1rem; }
.prod-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.p-stat {
  background: rgba(16,185,129,0.06); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.85rem 0.7rem; text-align: center;
  transition: border-color 0.2s;
}
.p-stat:hover { border-color: var(--border-acc); }
.p-stat strong { display: block; font-size: 1.2rem; font-weight: 900; color: var(--green-l); }
.p-stat span { font-size: 0.72rem; color: var(--muted); }
.prod-cta {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}
.prod-price { font-size: 0.82rem; color: var(--muted); }
.prod-price strong { display: block; font-size: 1.1rem; color: var(--text); }

/* Second product */
.product-secondary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.product-secondary:hover {
  border-color: var(--border-acc);
  box-shadow: 0 0 28px var(--glow);
  transform: translateY(-4px);
}
.prod-soon {
  display: inline-flex; padding: 0.25rem 0.7rem; border-radius: 99px;
  font-size: 0.68rem; font-weight: 700; color: var(--amber);
  background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3);
  align-self: flex-start;
}
.product-secondary .prod-name { font-size: 1.15rem; }
.product-secondary .prod-features li { font-size: 0.85rem; }

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
}
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.svc-card:hover {
  border-color: var(--border-acc);
  box-shadow: 0 0 28px var(--glow);
  transform: translateY(-5px);
}
.svc-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(16,185,129,0.1); border: 1px solid var(--border-acc);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.svc-name { font-size: 1.02rem; font-weight: 700; color: var(--text); }
.svc-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.svc-tag {
  font-size: 0.65rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: 5px;
  background: rgba(16,185,129,0.08); color: var(--green-l);
  border: 1px solid rgba(16,185,129,0.18);
}

/* ==================== WHY ==================== */
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.why-card:hover {
  border-color: var(--border-acc); box-shadow: 0 0 24px var(--glow);
  transform: translateY(-4px);
}
.why-ico { font-size: 1.75rem; }
.why-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.why-text { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ==================== PROCESS ==================== */
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; inset-inline: 10%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border-acc) 20%, var(--border-acc) 80%, transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.9rem;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(16,185,129,0.08); border: 2px solid var(--border-acc);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--green);
  box-shadow: 0 0 18px var(--glow);
  transition: background 0.25s, box-shadow 0.25s;
}
.step:hover .step-num {
  background: rgba(16,185,129,0.15);
  box-shadow: 0 0 28px var(--glow-lg);
}
.step-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.step-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-intro { font-size: 1rem; color: var(--muted); line-height: 1.75; }
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-link {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.95rem 1.1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-link:hover {
  border-color: var(--border-acc); box-shadow: 0 0 18px var(--glow);
  transform: translateX(-4px); color: var(--green-l);
}
.cl-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(16,185,129,0.1); border: 1px solid var(--border-acc);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.cl-label { font-size: 0.7rem; color: var(--muted); display: block; font-weight: 400; }

/* Contact form */
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  background: rgba(16,185,129,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.75rem 0.9rem; font: inherit; font-size: 0.9rem;
  color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select option { background: #07110d; color: var(--text); }
.form-note { font-size: 0.82rem; min-height: 1rem; margin-top: 0.5rem; }

/* ==================== FOOTER ==================== */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 1.5rem;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.footer-logo img { height: 26px; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--green-l); }
.footer-copy { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 1.5rem; }
.footer-copy a { color: var(--green-l); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .product-featured { order: -1; }
}
@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; text-align: center; }
  .terminal-wrap { display: none; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .prod-stats { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .site-nav { display: none; position: fixed; inset-block: var(--header-h) 0; inset-inline: 0; flex-direction: column; background: rgba(3,8,13,0.97); backdrop-filter: blur(18px); padding: 2rem; gap: 0.5rem; justify-content: flex-start; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 1rem; font-size: 1rem; border-radius: var(--radius); width: 100%; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .prod-stats { grid-template-columns: repeat(3,1fr); }
}

/* ==================== UTILITY ==================== */
.section--alt { background: rgba(16,185,129,0.02); border-block: 1px solid var(--border); }
.btn-full { width: 100%; justify-content: center; }
.product-secondary .prod-desc { font-size: 0.85rem; margin-bottom: 0; }
.prod-waitlist { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* Low-motion */
.low-motion .blob, .low-motion .ticker-inner { animation: none; }
.low-motion .hero-content > * { animation: none; opacity: 1; transform: none; }
.low-motion .terminal-wrap { animation: none; opacity: 1; transform: none; }
.low-motion .candle { animation: none; }
.low-motion .price-line { animation: none; }
.low-motion .log-scroll { animation: none; }
.low-motion .eyebrow-dot { animation: none; }
