/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a1424;
  color: #f0f4f9;
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.1; }
h1, .display { letter-spacing: -0.035em; }

/* ========== TOKENS ========== */
:root {
  --bg: #0a1424;
  --bg-2: #0f1c34;
  --bg-3: #131f37;
  --card: linear-gradient(180deg, #131f37, #0f1a30);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --gold: #fbbf24;
  --gold-hi: #fcd34d;
  --gold-lo: #f59e0b;
  --cyan: #22d3ee;
  --cyan-hi: #67e8f9;
  --text: #ffffff;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-4: #64748b;
}

/* ========== LAYOUT ========== */
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px){ .wrap { padding-inline: 32px; } }

.section { padding-block: 80px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }

/* ========== TYPOGRAPHY ========== */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: white;
  margin-top: 12px;
}
.h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: white; }
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2); max-width: 640px;
  margin-top: 20px; line-height: 1.65;
}
.text-glow {
  background: linear-gradient(90deg, #fbbf24, #fde68a 60%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-cyber {
  background: linear-gradient(90deg, #67e8f9, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .15s, background .2s, box-shadow .2s, border-color .2s;
  cursor: pointer; border: 0; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--bg); box-shadow: 0 8px 24px -8px rgba(251,191,36,0.4); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-glass {
  background: rgba(255,255,255,0.08); color: white;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-glass:hover { background: rgba(255,255,255,0.15); }
.arrow { width: 16px; height: 16px; transform: rotate(180deg); }

/* ========== TOP RIBBON (above hero, separate strip) ========== */
.ribbon {
  position: relative; z-index: 60;
  background: #050a14;
  color: white;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ribbon-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.ribbon-mark { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); }
.ribbon-mark .d { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.ribbon a { color: rgba(255,255,255,0.85); font-weight: 600; white-space: nowrap; }
.ribbon a:hover { color: var(--gold); }
@media (max-width: 640px) {
  .ribbon-mark { display: none; }
  .ribbon-inner { justify-content: center; }
  .ribbon a { font-size: 12px; }
}

/* ========== HEADER ========== */
.header {
  position: absolute; inset-inline: 0; top: 0; z-index: 50;
  transition: background .2s, backdrop-filter .2s, border-color .2s;
}
.header.scrolled {
  position: fixed; top: 0; background: rgba(10,20,36,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-size: 19px; font-weight: 800; color: white; line-height: 1; }
.logo-text span { color: var(--gold); }
.logo-sub { font-size: 11px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.15em; }

.nav { display: none; gap: 28px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); transition: color .15s; }
.nav a:hover { color: var(--gold); }

.actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.link-login { display: none; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); padding: 8px 12px; }
.link-login:hover { color: white; }
@media (min-width: 640px) { .link-login { display: inline-flex; } }
.btn-mini { padding: 10px 18px; font-size: 14px; }
.hide-mob { display: none; }
@media (min-width: 640px) { .hide-mob { display: inline-flex; } }

.hamburger {
  width: 40px; height: 40px; border-radius: 8px;
  background: transparent; color: white; border: 0;
  display: flex; align-items: center; justify-content: center;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
@media (min-width: 1024px) { .hamburger { display: none; } }

.mobile-menu {
  position: absolute; inset-inline: 0; top: 72px;
  background: rgba(10,20,36,0.98); backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
  transition: opacity .18s, visibility .18s;
}
.mobile-menu.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-menu nav { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  padding: 14px 12px; border-radius: 8px;
  font-size: 16px; color: white; font-weight: 500;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); }
.mobile-menu .div { height: 1px; background: var(--line); margin-block: 8px; }
.mobile-menu .cta { background: var(--gold); color: var(--bg); text-align: center; font-weight: 700; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 130px 0 100px;
  display: flex; align-items: center;
}
.hero-home {
  background-color: #0a1424;
  background-image:
    linear-gradient(270deg, rgba(10,20,36,0.20) 0%, rgba(10,20,36,0.55) 30%, rgba(10,20,36,0.85) 55%, rgba(10,20,36,0.98) 80%),
    radial-gradient(circle at 8% 60%, rgba(251,191,36,0.10), transparent 40%),
    url('/hero-clean.png?v=6');
  background-size: auto, auto, auto 95%;
  background-position: center, center, left bottom;
  background-repeat: no-repeat;
}
.hero-module {
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(251,191,36,0.10), transparent 60%),
    radial-gradient(800px 500px at 10% 60%, rgba(34,211,238,0.10), transparent 60%),
    #0a1424;
  min-height: 480px;
  padding: 130px 0 80px;
}
@media (min-width: 768px) {
  .hero { min-height: 800px; padding: 160px 0 120px; }
  .hero-module { min-height: 540px; padding: 160px 0 100px; }
}
@media (max-width: 640px) {
  .hero-home {
    background-image:
      linear-gradient(180deg, rgba(10,20,36,0.30) 0%, rgba(10,20,36,0.50) 30%, rgba(10,20,36,0.90) 65%, rgba(10,20,36,0.98) 100%),
      url('/hero-clean.png?v=6');
    background-size: auto 60%;
    background-position: right top;
    background-repeat: no-repeat;
    background-color: #0a1424;
    min-height: 620px;
  }
}

.hero-content { max-width: 720px; position: relative; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: white; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}
.tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.55);
  animation: pulse-ring 1.8s infinite;
}
.tag-gold .tag-dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(251,191,36,0.55); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

.hero h1 {
  font-size: clamp(36px, 6.5vw, 72px);
  font-weight: 800; color: white;
  margin-top: 24px;
  line-height: 1.04;
}
.hero-home h1 { font-size: clamp(40px, 7vw, 80px); }
.hero h1 .nl { display: block; }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-2);
  max-width: 640px; margin-top: 24px;
  line-height: 1.65;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* breadcrumb for module pages */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--text-3); margin-bottom: 18px;
}
.crumbs a { color: var(--text-3); transition: color .15s; }
.crumbs a:hover { color: var(--gold); }
.crumbs svg { width: 14px; height: 14px; opacity: 0.6; }

/* ========== PILLARS (overlap on home) ========== */
.pillars {
  position: relative;
  margin-top: -96px;
  z-index: 10;
  padding-bottom: 60px;
}
@media (min-width: 768px) { .pillars { margin-top: -110px; } }
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px; padding: 22px;
  transition: border-color .2s, transform .2s;
  display: block; color: inherit;
}
.pillar:hover { border-color: rgba(251,191,36,0.4); transform: translateY(-3px); }
.pillar-head { display: flex; justify-content: space-between; margin-bottom: 14px; align-items: center; }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(251,191,36,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.pillar-num { font-size: 11px; font-weight: 700; color: rgba(251,191,36,0.7); letter-spacing: 0.15em; }
.pillar h3 { font-size: 17px; font-weight: 700; color: white; }
.pillar p { font-size: 13.5px; color: var(--text-2); margin-top: 8px; line-height: 1.55; }
.pillar-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--gold);
  margin-top: 14px; transition: gap .15s;
}
.pillar:hover .pillar-more { gap: 10px; }
.pillar-more svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* ========== STATS ========== */
.stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
}
.stat-n {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  background: linear-gradient(90deg, #fbbf24, #fde68a 60%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em;
}
.stat-l { font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.35; }

/* ========== AI section ========== */
.ai-section { position: relative; overflow: hidden; }
.ai-glow {
  position: absolute; inset: 0; pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.ai-glow::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(34,211,238,0.10); filter: blur(80px);
}

.ai-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  color: var(--cyan-hi); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid rgba(34,211,238,0.25);
}
.ai-tag .d { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }

.ai-grid {
  margin-top: 48px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .ai-grid { grid-template-columns: repeat(3, 1fr); } }

.dcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.dcard:hover {
  border-color: rgba(251,191,36,0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.6);
}
.dcard .ic-cyber {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(34,211,238,0.15); color: var(--cyan-hi);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dcard .ic-gold {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(251,191,36,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dcard h3 { font-size: 19px; color: white; font-weight: 700; }
.dcard p { font-size: 15px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }

/* ========== DEEP DIVE GRID ========== */
.dd-grid {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .dd-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.dd-badge {
  display: inline-flex; align-items: center; gap: 12px;
}
.dd-badge-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.dd-badge-text {
  font-size: 13px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.dd-title {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800; color: white;
  margin-top: 16px; line-height: 1.1;
}
.dd-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  margin-top: 18px; line-height: 1.65;
}
.dd-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.dd-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); }
.dd-list .ic { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ========== MOCKUP / TABLE STYLES ========== */
.mockup { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.mockup-head { padding: 20px 22px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mockup-head-l { font-size: 12px; color: var(--text-3); font-weight: 500; }
.badge {
  font-size: 10.5px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; letter-spacing: 0.08em;
}
.badge-cyan { background: rgba(34,211,238,0.18); color: var(--cyan-hi); }
.badge-gold { background: rgba(251,191,36,0.18); color: var(--gold); }
.badge-amber { background: rgba(245,158,11,0.18); color: #fbbf24; }
.mockup-body { padding: 8px 22px 22px; }
.row {
  display: grid; grid-template-columns: 5fr 3fr 3fr 1fr;
  gap: 8px; padding: 9px 0;
  font-size: 12.5px;
  align-items: center;
}
.row-h {
  border-bottom: 1px solid var(--line);
  color: var(--text-3); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 0 8px;
}
.row .label { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .est { color: var(--text-3); text-align: left; font-variant-numeric: tabular-nums; }
.row .act { font-weight: 600; text-align: left; font-variant-numeric: tabular-nums; color: white; }
.row .act-red { color: #f87171; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-gold { background: var(--gold); }
.dot-ink { background: var(--text-4); }
.dot-red { background: #ef4444; }
.row-total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-weight: 800; }
.row-total .label { color: white; }
.row-total .act { color: var(--gold); }

/* ========== HOW IT WORKS ========== */
.steps {
  margin-top: 56px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .steps { grid-template-columns: repeat(5, 1fr); } }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step-n { font-size: 28px; font-weight: 800; color: var(--gold); letter-spacing: -0.04em; }
.step-card h3 { font-size: 17px; color: white; font-weight: 700; margin-top: 10px; }
.step-card p { font-size: 13.5px; color: var(--text-3); margin-top: 6px; line-height: 1.55; }

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

/* ========== PERSONAS ========== */
.personas {
  margin-top: 48px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .personas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .personas { grid-template-columns: repeat(3, 1fr); } }

/* ========== TESTIMONIALS ========== */
.quotes {
  margin-top: 48px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-mark {
  width: 32px; height: 32px; fill: rgba(251,191,36,0.55);
  margin-bottom: 18px;
}
.quote-text { font-size: 15.5px; color: var(--text); font-weight: 500; line-height: 1.65; }
.quote-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-name { font-size: 14px; font-weight: 700; color: white; }
.quote-role { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ========== FAQ ========== */
.faqs { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: white; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chev {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.05); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s, color .2s;
}
.faq[open] .faq-chev { transform: rotate(180deg); background: rgba(251,191,36,0.2); color: var(--gold); }
.faq-body { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ========== CTA ========== */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0f1a30 0%, #1a2a4a 50%, #0a1424 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 32px;
}
@media (min-width: 768px) { .cta { padding: 64px 56px; } }
.cta::before, .cta::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.cta::before { top: -80px; left: -80px; background: rgba(251,191,36,0.15); }
.cta::after { bottom: -80px; right: -80px; background: rgba(34,211,238,0.10); }
.cta-inner {
  position: relative;
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .cta-inner { grid-template-columns: 3fr 2fr; } }
.cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; color: white; line-height: 1.05;
}
.cta p { color: var(--text-2); font-size: 17px; margin-top: 18px; line-height: 1.65; max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { padding: 16px 24px; font-size: 15px; }

/* ========== FOOTER ========== */
.footer { background: #050a14; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer h4 { font-size: 13px; color: white; font-weight: 700; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: var(--text-3); }
.footer a:hover { color: var(--gold); }
.footer-about { font-size: 13.5px; color: var(--text-3); margin-top: 20px; line-height: 1.6; max-width: 320px; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-4);
}

/* ========== MOBILE STICKY CTA ========== */
.mobile-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  background: #050a14; border-top: 1px solid var(--line);
  padding: 12px; display: flex; gap: 8px;
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.5);
}
@media (min-width: 640px) { .mobile-cta { display: none; } }
.mobile-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px; border-radius: 10px; font-weight: 700; font-size: 14px;
}
.mobile-cta .login {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); color: white;
}
.mobile-cta .demo { flex: 1.5; background: var(--gold); color: var(--bg); }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 640px) { body.has-sticky { padding-bottom: 0; } }

/* ========== UTILITIES ========== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

section[id] { scroll-margin-top: 88px; }

.alt-bg { background: #050a14; border-block: 1px solid var(--line); }

/* ========== STEP LINE ========== */
.step-line { display: flex; flex-direction: column; gap: 12px; }
.step-line-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; display: flex; gap: 14px; align-items: center;
}
.step-line-item.dim { opacity: 0.55; }
.step-line-n {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.step-line-info { flex: 1; }
.step-line-info .r { font-size: 14px; color: white; font-weight: 600; }
.step-line-info .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.step-line-icon { width: 20px; height: 20px; flex-shrink: 0; }
.done .step-line-n { background: rgba(251,191,36,0.2); color: var(--gold); }
.done .step-line-icon { color: var(--gold); }
.pending .step-line-n { background: rgba(34,211,238,0.2); color: var(--cyan-hi); }
.pending .step-line-icon { color: var(--cyan); }
.todo .step-line-n { background: rgba(255,255,255,0.05); color: var(--text-4); }
.todo .step-line-icon { color: var(--text-4); }

.alert {
  margin-top: 14px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.30);
  border-radius: 12px; padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: #fde68a; line-height: 1.55;
}
.alert b { color: #fcd34d; font-weight: 700; }

/* ========== DEFECT LIST ========== */
.defect {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.defect + .defect { margin-top: 8px; }
.defect-sev {
  flex-shrink: 0;
  font-size: 10px; font-weight: 800; padding: 3px 8px;
  border-radius: 4px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 2px;
}
.sev-critical { background: #dc2626; color: white; }
.sev-high { background: #ea580c; color: white; }
.sev-medium { background: #f59e0b; color: #0a1424; }
.sev-low { background: #475569; color: white; }
.defect-text .t { font-size: 14px; color: white; font-weight: 600; line-height: 1.35; }
.defect-text .d { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* ========== WORKERS / DELIVERY MOCK ========== */
.mw-section { margin-bottom: 16px; }
.mw-section:last-child { margin-bottom: 0; }
.mw-label {
  font-size: 11px; color: var(--text-3); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.worker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.worker-cell {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px; text-align: center;
}
.worker-cell .n { font-size: 11px; color: var(--text-3); }
.worker-cell .v { font-size: 17px; font-weight: 800; color: white; margin-top: 2px; }

.note {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px;
  display: flex; gap: 12px; align-items: center;
}
.note + .note { margin-top: 8px; }
.note-ic {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--bg); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-hi);
}
.note-text { flex: 1; min-width: 0; overflow: hidden; }
.note-text .s { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-text .d { font-size: 12.5px; color: white; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-ai {
  flex-shrink: 0; font-size: 10px; font-weight: 800;
  background: var(--cyan); color: var(--bg);
  padding: 5px 8px; border-radius: 4px;
}

/* ========== SCREENSHOT GALLERY ========== */
.gallery {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: 1fr 1fr; gap: 32px; } }
.gallery-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
}
.gallery-img {
  background: linear-gradient(135deg, #131f37, #0a1424);
  aspect-ratio: 16 / 10;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* placeholder (default state) */
.gallery-img .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-3); text-align: center; padding: 20px; gap: 12px;
}
.gallery-img .ph svg { width: 48px; height: 48px; color: var(--gold); opacity: 0.55; }
.gallery-img .ph-text { font-size: 13px; color: var(--text-3); }
.gallery-img .ph-hint { font-size: 11px; color: var(--text-4); }
/* image (hidden unless 'has-img' class present) */
.gallery-img > img { display: none; width: 100%; height: 100%; object-fit: cover; }
.gallery-img.has-img > img { display: block; }
.gallery-img.has-img .ph { display: none; }
.gallery-caption { padding: 20px 24px; }
.gallery-caption h3 { font-size: 17px; color: white; font-weight: 700; }
.gallery-caption p { font-size: 14px; color: var(--text-3); margin-top: 6px; line-height: 1.55; }

/* features list grid for module pages */
.feat-grid {
  margin-top: 48px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: rgba(251,191,36,0.35); transform: translateY(-2px); }
.feat-card .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(251,191,36,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-card h3 { font-size: 17px; color: white; font-weight: 700; }
.feat-card p { font-size: 14px; color: var(--text-2); margin-top: 8px; line-height: 1.55; }

/* small tweaks */
@media (max-width: 380px) {
  .hero-home h1 { font-size: 34px; }
}
