/* ============================================================
   EZ Trading Tech — Cinematic A+ Design System
   Shared chrome for: index, products, about, contact + 4 product pages
   ============================================================ */

/* ---------- Foundations ---------- */
:root {
  --bg: #050505;
  --bg-2: #0a0a0a;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.04);
  --text: #e8e6e1;
  --mute: #8a8780;
  --mute-2: #4a4843;
  --gold: #D2A440;
  --gold-soft: #f0d27a;
  --gold-deep: #9a7820;
  --green: #3ddc97;
  --red: #e87f7f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.serif { font-family: 'Instrument Serif', 'Times New Roman', serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Cinematic backgrounds ---------- */
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.bg-img.fade-bottom { mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 75%, transparent 100%); }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.15) 55%, transparent 75%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 25%, transparent 65%, rgba(0,0,0,0.7) 100%);
}
.hero-overlay.center {
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.55), rgba(0,0,0,0.85) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 70%, rgba(0,0,0,0.85) 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5; mix-blend-mode: screen; background: url("assets/grain.png") center/512px 512px repeat; }

.sect-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sect-bg img { width: 100%; height: 100%; object-fit: cover; }
.sect-bg::after { content: ""; position: absolute; inset: 0; }

.sect-bg.dim-55 img { opacity: 0.55; }
.sect-bg.dim-50 img { opacity: 0.5; }
.sect-bg.dim-40 img { opacity: 0.4; }
.sect-bg.dim-30 img { opacity: 0.3; }
.sect-bg.dim-85 img { opacity: 0.85; }

/* Lower opacity of bg-cta.png across all uses so it never overpowers foreground text */
.sect-bg img[src*="bg-cta"] { opacity: 0.35 !important; }
.bg-img[src*="bg-cta"] { opacity: 0.45; }

.sect-bg.vignette-soft::after { background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent, rgba(0,0,0,0.55) 75%, #050505 100%); }
.sect-bg.vignette-strong::after { background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent, rgba(0,0,0,0.7) 75%, #050505 100%); }
.sect-bg.fade-edges::after { background: linear-gradient(180deg, #050505 0%, transparent 15%, transparent 85%, #050505 100%); }

.light-beam {
  position: absolute; top: -20%; right: -10%; width: 70%; height: 140%;
  background: radial-gradient(ellipse 60% 70% at 30% 50%, rgba(240,210,122,0.12) 0%, transparent 60%);
  filter: blur(80px); z-index: 1; pointer-events: none; mix-blend-mode: screen;
}

.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  background: url("assets/grain.png") center/512px 512px repeat;
}
.vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%); }

/* ---------- Loader / overture ---------- */
.loader { position: fixed; inset: 0; background: #000; z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s 0.4s ease, visibility 0.8s 0.4s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(210,164,64,0.08), transparent 70%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.loader-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 32px; z-index: 2; }
.loader .num { font-family: 'JetBrains Mono', monospace; font-size: clamp(120px, 18vw, 240px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--gold); text-shadow: 0 0 24px rgba(210,164,64,0.35); transition: text-shadow 0.06s, transform 0.06s; position: relative; }
.loader .num::before, .loader .num::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid rgba(210,164,64,0.5); }
.loader .num::before { top: -16px; left: -20px; border-right: none; border-bottom: none; }
.loader .num::after  { bottom: -16px; right: -20px; border-left: none; border-top: none; }
.loader.flicker .num { text-shadow: 0 0 36px var(--gold-soft), 0 0 8px #fff; transform: translateX(0.6px); }

.loader-bar { position: relative; width: min(520px, 70vw); height: 48px; display: flex; align-items: center; }
.loader-bar .ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.loader-bar .ticks i { width: 1px; height: 7px; background: rgba(210,164,64,0.25); display: block; }
.loader-bar .ticks i.major { height: 12px; background: rgba(210,164,64,0.5); }
.loader-bar .track { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 1px; background: linear-gradient(90deg, transparent, rgba(210,164,64,0.18) 10%, rgba(210,164,64,0.18) 90%, transparent); }
.loader-bar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader-bar #boltGlow { stroke: var(--gold); stroke-width: 4; fill: none; filter: blur(4px); opacity: 0.85; stroke-linejoin: miter; stroke-linecap: round; }
.loader-bar #bolt { stroke: var(--gold-soft); stroke-width: 1.6; fill: none; stroke-linejoin: miter; stroke-linecap: round; filter: drop-shadow(0 0 2px #fff); }
.loader-bar #spark { fill: #fff; filter: drop-shadow(0 0 6px var(--gold-soft)) drop-shadow(0 0 14px var(--gold)); animation: sparkPulse 0.25s infinite alternate; }
@keyframes sparkPulse { from { opacity: 0.6; transform: scale(0.85); } to { opacity: 1; transform: scale(1.15); } }
.loader-bar #sparkHalo { fill: rgba(240,210,122,0.3); animation: sparkPulse 0.25s infinite alternate; }

.loader-status { display: flex; align-items: center; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.24em; color: var(--mute); min-height: 14px; text-transform: uppercase; }
.loader-status .blink { color: var(--gold); animation: blink 0.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.loader-status .arrow { color: var(--gold); }

.loader .corner { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #555; z-index: 2; }
.loader .corner.tl { top: 28px; left: 28px; }
.loader .corner.tr { top: 28px; right: 28px; text-align: right; }
.loader .corner.bl { bottom: 28px; left: 28px; }
.loader .corner.br { bottom: 28px; right: 28px; color: var(--gold); }
.loader .corner .dim { color: #333; }

/* ---------- Status bar ---------- */
.statusbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 24px; background: rgba(0,0,0,0.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
}
.statusbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.statusbar .pill { padding: 2px 8px; border: 1px solid var(--line); color: var(--mute); }
.statusbar .spacer { flex: 1; }
.statusbar .clock { color: var(--gold); display: inline-flex; align-items: baseline; gap: 6px; }
.statusbar .clock .utc { color: var(--mute-2); font-size: 10px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 31px; z-index: 99;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; background: rgba(5,5,5,0.6); backdrop-filter: blur(30px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; letter-spacing: -0.005em; color: var(--text); }
.nav-logo img { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(210,164,64,0.4)); }
.nav-logo .tag { color: var(--gold); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; border: 1px solid rgba(210,164,64,0.3); padding: 2px 6px; margin-left: 6px; }
.nav-links { display: flex; gap: 32px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--mute); letter-spacing: 0.06em; }
.nav-links a { transition: color 0.3s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -24px; height: 1px; background: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #000; padding: 9px 18px; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; transition: all 0.3s; white-space: nowrap; flex-shrink: 0; }
.nav-cta:hover { background: var(--gold-soft); transform: translateX(2px); }

/* ---------- Hero (full + sub variants) ---------- */
.hero { position: relative; min-height: 100vh; padding: 100px 32px 64px; overflow: hidden; }
.hero.sub { min-height: 70vh; padding: 120px 32px 96px; }
.hero-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; min-height: calc(100vh - 200px); }
.hero.sub .hero-inner { display: block; min-height: auto; max-width: 1100px; }
.hero-marker { position: absolute; top: 80px; left: 32px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute-2); letter-spacing: 0.16em; }
.hero-marker::before { content: "+"; color: var(--gold); margin-right: 8px; }
.hero-issue { position: absolute; top: 80px; right: 32px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute-2); letter-spacing: 0.16em; text-align: right; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 32px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

.h1 { font-size: clamp(60px, 9vw, 132px); line-height: 0.92; letter-spacing: -0.04em; font-weight: 500; margin-bottom: 36px; }
.hero.sub .h1 { font-size: clamp(48px, 7vw, 96px); }
.h1 .em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.18em; }
.h1 .stroke { -webkit-text-stroke: 1px var(--text); color: transparent; }

.h1 span.r { display: inline-block; vertical-align: bottom; clip-path: inset(-0.1em -0.35em -0.55em -0.05em); -webkit-clip-path: inset(-0.1em -0.35em -0.55em -0.05em); }
.h1 { padding-bottom: 0.3em; }
.h1 .em { padding-bottom: 0.18em; }
.h1 span.r > span { display: inline-block; animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.h1 span.r:nth-of-type(1) > span { animation-delay: 1.6s; }
.h1 span.r:nth-of-type(2) > span { animation-delay: 1.75s; }
.h1 span.r:nth-of-type(3) > span { animation-delay: 1.9s; }
.h1 span.r:nth-of-type(4) > span { animation-delay: 2.05s; }
@keyframes rise { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hero-sub-txt { color: var(--mute); font-size: 17px; line-height: 1.55; max-width: 580px; margin-bottom: 40px; }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gold); color: #000; padding: 16px 24px;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 12px; letter-spacing: 0.12em;
  transition: all 0.3s; position: relative; overflow: hidden; border: 0; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: var(--text); padding: 16px 24px;
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: 0.12em;
  border: 1px solid var(--line); transition: all 0.3s; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Right: live data panel */
.panel {
  background: linear-gradient(180deg, rgba(8,6,3,0.78), rgba(5,4,2,0.72));
  border: 1px solid rgba(210,164,64,0.18); backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--mute); }
.panel-head .live { color: var(--green); display: flex; gap: 6px; align-items: center; }
.panel-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; box-shadow: 0 0 6px var(--green); }
.panel-row { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; padding: 14px 16px; border-bottom: 1px solid var(--line-2); align-items: center; gap: 12px; transition: background 0.3s; }
.panel-row:last-child { border-bottom: none; }
.panel-row:hover { background: rgba(210,164,64,0.04); }
.panel-row .sym { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: var(--text); }
.panel-row .desc { font-size: 11px; color: var(--mute); margin-top: 2px; }
.panel-row .v { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.panel-row .up { color: var(--green); }
.panel-row .badge { display: inline-block; padding: 3px 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; border: 1px solid rgba(61,220,151,0.3); color: var(--green); }

.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute); letter-spacing: 0.2em; }
.scroll-cue::after { content: ""; width: 1px; height: 32px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero tech-badges row */
.hero-badges { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-badges .tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; padding: 5px 10px; border: 1px solid rgba(210,164,64,0.3); color: var(--gold); }

/* ---------- Marquee strip ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
}
.marquee-track { display: flex; gap: 64px; white-space: nowrap; animation: scroll 40s linear infinite; }
.marquee-item { font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 0.16em; color: var(--mute); display: inline-flex; align-items: center; gap: 64px; }
.marquee-item::after { content: "★"; color: var(--gold); margin-left: 64px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section wrapper ---------- */
.section { position: relative; padding: 120px 32px; overflow: hidden; background: #050505; }
.section.tight { padding: 80px 32px; }
.section-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; }
.section-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: end; margin-bottom: 80px; }
.section-head.centered { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; margin-bottom: 80px; }
.section-head.centered .eyebrow { justify-content: center; }
.section-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--mute); letter-spacing: 0.16em; line-height: 1.8; }
.section-meta .sn { color: var(--gold); }
.h2 { font-size: clamp(40px, 5.5vw, 80px); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; }
.h2 .em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold); }
.h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.h3 .em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--gold); }

/* ---------- Feature / 3-col / 4-col grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 48px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background 0.4s; }
.feat:hover { background: rgba(210,164,64,0.03); }
.feat::before { content: ""; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(210,164,64,0.08), transparent 40%); opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.feat:hover::before { opacity: 1; }
.feat-no { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold); letter-spacing: 0.16em; position: relative; z-index: 1; }
.feat-title { font-size: 22px; letter-spacing: -0.015em; font-weight: 500; margin: 24px 0 16px; position: relative; z-index: 1; }
.feat-body { font-size: 14px; color: var(--mute); line-height: 1.6; position: relative; z-index: 1; }
.feat-glyph { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 64px; color: var(--gold); opacity: 0.4; line-height: 1; align-self: flex-end; position: relative; z-index: 1; }
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li { padding: 8px 0; font-size: 13px; color: var(--mute); position: relative; padding-left: 18px; border-bottom: 1px dashed var(--line-2); }
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--gold); }

/* ---------- Products list (rows or cards) ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prod { background: var(--bg-2); padding: 40px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background 0.4s; }
.prod:hover { background: #0d0d0d; }
.prod-top { display: flex; justify-content: space-between; align-items: start; }
.prod-sku { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--gold); letter-spacing: 0.14em; }
.prod-status { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--green); letter-spacing: 0.1em; display: flex; gap: 6px; align-items: center; }
.prod-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.prod-name { font-size: 36px; letter-spacing: -0.025em; font-weight: 500; margin: 24px 0 12px; }
.prod-name .em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold); }
.prod-desc { font-size: 14px; color: var(--mute); line-height: 1.6; max-width: 480px; }
.prod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.prod-meta { display: flex; gap: 20px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute); letter-spacing: 0.1em; }
.prod-cta { color: var(--gold); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.prod:hover .prod-cta { gap: 14px; }
.prod-overlay { position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(210,164,64,0.06), transparent 60%); pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.prod:hover .prod-overlay { opacity: 1; }

/* Editorial row layout for products page */
.prod-row { display: grid; grid-template-columns: 60px 1.2fr 2.2fr 1fr 100px; gap: 32px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); transition: background 0.3s; cursor: pointer; }
.prod-row:last-child { border-bottom: 1px solid var(--line); }
.prod-row:hover { background: rgba(210,164,64,0.04); padding-left: 16px; padding-right: 16px; }
.prod-row-no { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 36px; color: var(--gold); line-height: 1; }
.prod-row-name { font-size: 28px; letter-spacing: -0.02em; font-weight: 500; }
.prod-row-name .em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--gold); }
.prod-row-desc { font-size: 14px; color: var(--mute); line-height: 1.55; }
.prod-row-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--mute); }
.prod-row-cta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--gold); text-align: right; transition: transform 0.3s; }
.prod-row:hover .prod-row-cta { transform: translateX(4px); }

/* ---------- Two-column content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split-img { background: var(--bg-2); border: 1px solid var(--line); padding: 1px; overflow: hidden; position: relative; }
.split-img img { width: 100%; height: auto; display: block; }
.split-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%); pointer-events: none; }

/* Bullet check list */
.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.check-list li { list-style: none; padding-left: 28px; position: relative; }
.check-list li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--gold); font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.check-list .ll { font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.check-list .desc { font-size: 13px; color: var(--mute); line-height: 1.55; }

/* ---------- Steps / 3-step workflow ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 48px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; min-height: 280px; }
.step-no { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 80px; color: var(--gold); line-height: 1; opacity: 0.5; }
.step-title { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin: 16px 0 12px; }
.step-body { font-size: 14px; color: var(--mute); line-height: 1.6; }

/* ---------- Code block ---------- */
.code-block { background: #07070a; border: 1px solid var(--line); padding: 28px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; color: var(--text); overflow-x: auto; position: relative; }
.code-block::before { content: "EZ.ARCH"; position: absolute; top: 12px; right: 16px; font-size: 10px; letter-spacing: 0.16em; color: var(--mute-2); }
.code-block .c-gold { color: var(--gold); }
.code-block .c-mute { color: var(--mute); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px; background: var(--bg-2); text-align: center; }
.stat-num { font-family: 'JetBrains Mono', monospace; font-size: clamp(40px, 5vw, 64px); font-weight: 500; color: var(--gold); letter-spacing: -0.02em; line-height: 1; }
.stat-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 14px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price { background: var(--bg-2); padding: 40px; display: flex; flex-direction: column; position: relative; }
.price.featured { background: linear-gradient(180deg, rgba(210,164,64,0.05), transparent); border: 1px solid rgba(210,164,64,0.3); }
.price .badge { position: absolute; top: -1px; right: -1px; background: var(--gold); color: #000; padding: 4px 12px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; font-weight: 600; }
.price-name { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.price-amt { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; margin: 20px 0 8px; }
.price-amt .per { font-size: 14px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.price-tag { font-size: 13px; color: var(--mute); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.price-feat { list-style: none; padding: 0; margin: 0 0 32px; }
.price-feat li { padding: 10px 0; font-size: 13px; color: var(--text); padding-left: 22px; position: relative; }
.price-feat li::before { content: "+"; color: var(--gold); position: absolute; left: 0; font-family: 'JetBrains Mono', monospace; }
.price-feat li.off { color: var(--mute-2); }
.price-feat li.off::before { content: "−"; color: var(--mute-2); }
.price .btn-primary, .price .btn-ghost { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- Form (contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.form { background: var(--bg-2); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.form input, .form select, .form textarea {
  background: rgba(0,0,0,0.4); border: 1px solid var(--line); color: var(--text);
  padding: 14px 16px; font-family: 'Space Grotesk', sans-serif; font-size: 14px;
  transition: border 0.3s; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form input::placeholder, .form textarea::placeholder { color: var(--mute-2); }
.form textarea { min-height: 140px; }
.form-success { padding: 14px 18px; background: rgba(61,220,151,0.08); border: 1px solid rgba(61,220,151,0.3); color: var(--green); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; display: none; }
.form-success.show { display: block; }

/* Contact methods */
.contact-meta { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.contact-meta li { display: flex; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.contact-meta .icon { width: 36px; height: 36px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px; }
.contact-meta .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--mute); text-transform: uppercase; }
.contact-meta .val { font-size: 15px; color: var(--text); margin-top: 4px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq-item { background: var(--bg); padding: 36px; }
.faq-q { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.faq-q .qm { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--gold); font-size: 28px; line-height: 1; }
.faq-a { font-size: 14px; color: var(--mute); line-height: 1.6; }

/* ---------- Closer (CTA) ---------- */
.closer { position: relative; padding: 160px 32px; text-align: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #050505; }
.closer-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.closer h2 { font-size: clamp(48px, 7vw, 100px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 500; margin-bottom: 32px; padding-bottom: 0.18em; }
.closer h2 .em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; background: linear-gradient(180deg, var(--gold-soft), var(--gold), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.18em; display: inline-block; line-height: 1.1; }
.closer p { color: var(--mute); font-size: 17px; line-height: 1.6; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.closer-cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 80px 32px 40px; background: #020202; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 32px; height: 32px; margin-bottom: 16px; }
.footer-brand h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.footer-brand p { color: var(--mute); font-size: 13px; line-height: 1.6; max-width: 320px; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--mute); font-size: 13px; margin-bottom: 12px; transition: color 0.3s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1440px; margin: 32px auto 0; display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--mute-2); letter-spacing: 0.14em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .feat-grid, .feat-grid.cols-4, .prod-grid, .footer-inner, .split, .steps, .form-grid, .faq-grid, .price-grid, .stats, .stats.cols-4 { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .nav-links { display: none; }
  .prod-row { grid-template-columns: 50px 1fr; gap: 16px; }
  .prod-row .prod-row-desc, .prod-row .prod-row-tag, .prod-row .prod-row-cta { display: none; }
}

/* ---------- Mobile-specific (nav + statusbar) ---------- */
@media (max-width: 720px) {
  .statusbar { gap: 10px; padding: 8px 14px; font-size: 10px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .statusbar::-webkit-scrollbar { display: none; }
  .statusbar .pill { display: none; }
  .statusbar .spacer { display: none; }
  .statusbar > span:last-child { display: none; }
  .statusbar .clock { gap: 4px; flex-shrink: 0; }
  .statusbar .clock .utc { font-size: 9px; }

  .nav { padding: 14px 16px; gap: 12px; }
  .nav-logo { gap: 8px; font-size: 13px; min-width: 0; flex-shrink: 1; }
  .nav-logo .tag { display: none; }
  .nav-cta { padding: 8px 12px; font-size: 10px; letter-spacing: 0.08em; gap: 6px; }
}

@media (max-width: 420px) {
  .statusbar #clockNY { display: none; }
  .nav-logo span:first-of-type { font-size: 12px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
