/* ═══════════════════════════════════════════════
   EFIVOO — Custom Styles
   Theme: White + Blue (#1E90FF) + Orange (#FF8C00)
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  color: #1E293B;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #1E90FF; border-radius: 4px; }

/* ── CSS Variables ── */
:root {
  --primary:      #1E90FF;
  --primary-dark: #1565C0;
  --primary-light:#E8F4FF;
  --accent:       #FF8C00;
  --accent-dark:  #CC7000;
  --accent-light: #FFF3E0;
  --dark:         #0F172A;
  --text:         #1E293B;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;
  --bg:           #FFFFFF;
  --bg-soft:      #F8FAFC;
  --bg-muted:     #F1F5F9;
  --border:       #E2E8F0;
  --border-dark:  #CBD5E1;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --shadow-blue:  0 8px 32px rgba(30,144,255,0.20);
  --shadow-orange:0 8px 32px rgba(255,140,0,0.20);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--dark); }
p { color: var(--text-muted); }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #1E90FF 0%, #00B4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(30,144,255,.2);
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-badge.orange {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(255,140,0,.2);
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-dark), transparent);
  max-width: 800px;
  margin: 0 auto;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 96px;
  gap: 1rem;
}
.navbar-logo img {
  height: 180px;
  width: auto;
  display: block;
  transition: transform .25s;
}
.navbar-logo:hover img { transform: scale(1.04); }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
  margin-right: 1.75rem;
}
.navbar-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.navbar-links a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: .75rem; }

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #E8FFF1;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-toggle:hover { background: var(--bg-muted); }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: .6rem .5rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-dark);
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .45rem 1.1rem; font-size: .8rem; border-radius: var(--radius-sm); }

/* ── Cards ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .3s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.card.accent-hover:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-orange);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon.blue   { background: var(--primary-light); color: var(--primary); }
.card-icon.orange { background: var(--accent-light); color: var(--accent); }
.card-icon.green  { background: #E8FFF1; color: #059669; }
.card-icon.purple { background: #F3E8FF; color: #7C3AED; }
.card-icon.cyan   { background: #E0F7FA; color: #0097A7; }
.card-icon.rose   { background: #FFF0F0; color: #E53E3E; }
.card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--dark); }
.card p  { font-size: .875rem; line-height: 1.65; }

/* ── Hero ── */
#hero {
  min-height: 100svh;
  padding-top: 72px;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(30,144,255,.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(255,140,0,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 85%, rgba(30,144,255,.04) 0%, transparent 50%),
    var(--bg-soft);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(30,144,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Rings — very subtle on white background */
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}
.hero-ring-1 { width: 700px; height: 700px; border-color: rgba(30,144,255,.06); }
.hero-ring-2 { width: 520px; height: 520px; border-color: rgba(30,144,255,.09); }
.hero-ring-3 { width: 340px; height: 340px; border-color: rgba(255,140,0,.07); }

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-grid-layout > div { min-width: 0; }
.dashboard-mockup { width: 100%; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(30,144,255,.2);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.hero-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.hero-stat-val { font-size: 1.6rem; font-weight: 900; }
.hero-stat-val.blue   { color: var(--primary); }
.hero-stat-val.orange { color: var(--accent); }
.hero-stat-val.green  { color: #059669; }
.hero-stat-label { font-size: .75rem; color: var(--text-light); margin-top: .2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Dashboard Mockup */
.dashboard-mockup {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  position: relative;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot.red    { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green  { background: #28C840; }
.mockup-url {
  flex: 1;
  background: var(--bg-muted);
  border-radius: 6px;
  padding: .3rem .75rem;
  font-size: .72rem;
  color: var(--text-light);
  font-family: 'JetBrains Mono', monospace;
  margin: 0 .5rem;
}
.mockup-body { padding: 1.25rem; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1rem; }
.mockup-kpi {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem;
}
.mockup-kpi-label { font-size: .65rem; color: var(--text-light); margin-bottom: .2rem; }
.mockup-kpi-val   { font-size: 1.2rem; font-weight: 800; }
.mockup-kpi-sub   { font-size: .65rem; margin-top: .15rem; }
.mockup-chart-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem;
  margin-bottom: .75rem;
}
.mockup-chart-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.mockup-chart-title { font-size: .72rem; font-weight: 600; color: var(--text); }
.mockup-chart-badge {
  font-size: .62rem; font-weight: 600;
  background: var(--primary-light); color: var(--primary);
  padding: .15rem .5rem; border-radius: 4px;
}
.mockup-nodes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mockup-node {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.mockup-node-icon { font-size: 1.1rem; }
.mockup-node-name { font-size: .7rem; font-weight: 600; color: var(--dark); }
.mockup-node-val  { font-size: .65rem; }

/* ── Scroll indicator ── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-light);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
  margin-top: 3rem;
}
.scroll-indicator:hover { color: var(--primary); }
.scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--border-dark), transparent);
}
.scroll-chevron { animation: bounce 1.5s infinite; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* ── Acronym Section ── */
#acronym { background: var(--bg); }
.acronym-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.letter-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .35s cubic-bezier(.175,.885,.32,1.275);
  cursor: default;
}
.letter-card:hover { transform: translateY(-8px) scale(1.03); }
.letter-card.blue-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(30,144,255,.15);
}
.letter-card.orange-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(255,140,0,.15);
}
.letter-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  font-weight: 900;
}
.letter-icon.blue   { background: var(--primary-light); color: var(--primary); }
.letter-icon.orange { background: var(--accent-light); color: var(--accent); }
.letter-abbr {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .35rem;
}
.letter-abbr.blue   { color: var(--primary); }
.letter-abbr.orange { color: var(--accent); }
.letter-word  { font-size: .875rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.letter-desc  { font-size: .75rem; color: var(--text-light); line-height: 1.5; }
.letter-icon-wrap {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: .85rem auto 0;
}
.letter-icon-wrap.blue   { background: var(--primary-light); color: var(--primary); }
.letter-icon-wrap.orange { background: var(--accent-light); color: var(--accent); }
.letter-icon-wrap svg { width: 14px; height: 14px; }

.acronym-tagline { text-align: center; margin-top: 3rem; }
.acronym-tagline-text { font-size: .875rem; color: var(--text-light); }
.acronym-tagline-sub  { font-size: .78rem; color: var(--border-dark); margin-top: .3rem; }

/* ── Features ── */
#features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Feature card highlight */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 600;
  margin-top: 1.25rem;
  padding: .25rem .65rem;
  border-radius: 100px;
}
.card-tag.blue   { background: var(--primary-light); color: var(--primary); }
.card-tag.orange { background: var(--accent-light); color: var(--accent); }
.card-tag.green  { background: #E8FFF1; color: #059669; }
.card-tag.purple { background: #F3E8FF; color: #7C3AED; }
.card-tag.cyan   { background: #E0F7FA; color: #0097A7; }
.card-tag.rose   { background: #FFF0F0; color: #E53E3E; }

/* ── How It Works ── */
#how-it-works { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.25rem; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: .15;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-number {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}
.step-number::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.step-card:nth-child(1) .step-number           { background: var(--primary); }
.step-card:nth-child(1) .step-number::after     { background: var(--primary); }
.step-card:nth-child(2) .step-number           { background: linear-gradient(135deg, var(--primary) 50%, var(--accent)); }
.step-card:nth-child(2) .step-number::after     { background: var(--accent); }
.step-card:nth-child(3) .step-number           { background: linear-gradient(135deg, var(--accent) 50%, var(--accent-dark)); }
.step-card:nth-child(3) .step-number::after     { background: var(--accent); }
.step-card:nth-child(4) .step-number           { background: var(--accent); }
.step-card:nth-child(4) .step-number::after     { background: #059669; }
.step-card h3 { font-size: 1rem; margin-bottom: .5rem; color: var(--dark); }
.step-card p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.code-pill {
  display: inline-block;
  margin-top: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .7rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
}

/* Architecture diagram */
.arch-diagram {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 3.5rem;
}
.arch-title { font-size: 1rem; font-weight: 700; text-align: center; color: var(--dark); margin-bottom: 2rem; }
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.arch-node {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.arch-node.highlight-blue   { border-color: var(--primary); background: var(--primary-light); }
.arch-node.highlight-orange { border-color: var(--accent);  background: var(--accent-light); }
.arch-node-icon { font-size: 1.4rem; }
.arch-node-name { font-size: .8rem; font-weight: 700; color: var(--dark); }
.arch-node-sub  { font-size: .68rem; color: var(--text-light); }
.arch-arrow { font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.arch-arrow.orange { color: var(--accent); }

/* ── Analytics ── */
#analytics { background: var(--bg-soft); }
.analytics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.chart-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.chart-card-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.chart-card-title { font-size: .95rem; font-weight: 700; color: var(--dark); }
.chart-card-sub   { font-size: .78rem; color: var(--text-light); margin-top: .2rem; }
.chart-badge {
  font-size: .7rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 6px;
  white-space: nowrap;
}
.chart-badge.blue   { background: var(--primary-light); color: var(--primary); }
.chart-badge.orange { background: var(--accent-light); color: var(--accent); }
.chart-badge.green  { background: #E8FFF1; color: #059669; }
.chart-badge.purple { background: #F3E8FF; color: #7C3AED; }
.chart-badge.rose   { background: #FFF0F0; color: #E53E3E; }

/* Heatmap */
.heatmap-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

/* ── Technical ── */
#technical { background: var(--bg); }
.technical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.tech-section-title {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.05rem; font-weight: 800; color: var(--dark);
  margin-bottom: 1.5rem;
}
.tech-section-bar { width: 4px; height: 22px; border-radius: 2px; }
.tech-section-bar.blue   { background: var(--primary); }
.tech-section-bar.orange { background: var(--accent); }

.tech-stack-list { display: flex; flex-direction: column; gap: .75rem; }
.tech-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color .2s, box-shadow .2s;
}
.tech-item:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(30,144,255,.08); }
.tech-item-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.tech-item-name { font-size: .9rem; font-weight: 700; color: var(--dark); }
.tech-item-sub  { font-size: .75rem; color: var(--text-light); }
.tech-item-badge { margin-left: auto; font-size: .68rem; font-weight: 600; white-space: nowrap; color: var(--text-light); }

.api-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
}
.api-row {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.api-row:last-child { border-bottom: none; }
.api-method {
  font-size: .65rem; font-weight: 800;
  width: 36px; text-align: center;
  padding: .2rem .3rem; border-radius: 4px;
  flex-shrink: 0;
}
.api-method.get  { background: #E8FFF1; color: #059669; }
.api-method.post { background: #EFF6FF; color: #2563EB; }
.api-endpoint { font-size: .72rem; color: var(--dark); flex: 1; }
.api-desc     { font-size: .68rem; color: var(--text-light); font-family: 'Inter', sans-serif; white-space: nowrap; }

.node-tree {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
}
.node-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; padding: .35rem 0; }
.node-row-inner1 { padding-left: 1.25rem; }
.node-row-inner2 { padding-left: 2.5rem; }
.node-row-inner3 { padding-left: 3.75rem; }
.node-name { color: var(--dark); font-weight: 600; }
.node-hint { color: var(--text-light); }

/* ── Use Cases ── */
#use-cases { background: var(--bg-soft); }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.use-case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.use-case-emoji { font-size: 2.5rem; margin-bottom: 1rem; display: block; transition: transform .3s; }
.use-case-card:hover .use-case-emoji { transform: scale(1.15); }
.use-case-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.use-case-card p  { font-size: .85rem; margin-bottom: 1rem; }
.use-case-tags { display: flex; flex-direction: column; gap: .35rem; }
.use-case-tag {
  font-size: .75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .4rem;
}
.use-case-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

/* ── Stats Section ── */
.stats-section { background: linear-gradient(135deg, var(--primary) 0%, #1565C0 100%); padding: 5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-block { text-align: center; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: .4rem;
}
.stat-label { font-size: .875rem; color: rgba(255,255,255,.75); }

/* ── Contact ── */
#contact { background: var(--bg); }
.contact-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 3rem 0; }
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all .3s;
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-blue); transform: translateY(-3px); }
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.contact-card h4 { font-size: .9rem; margin-bottom: .35rem; }
.contact-card p  { font-size: .78rem; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { height: 36px; width: auto; }
.footer-tagline { font-size: .75rem; color: var(--text-light); margin-top: .15rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .8rem; color: var(--text-light); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: .75rem; color: var(--text-light); }
.footer-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-tech {
  display: flex; align-items: center; gap: .35rem;
  font-size: .72rem; color: var(--text-light);
}
.footer-tech-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ── Particles ── */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-up linear infinite;
  opacity: 0;
  pointer-events: none;
}
@keyframes float-up {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: .35; }
  90%  { opacity: .35; }
  100% { transform: translateY(-80px) translateX(var(--drift, 0px)); opacity: 0; }
}

/* ── Arch Pipeline (redesigned) ── */
.arch-pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
}
.arch-pipe-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-top-width: 3px;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.25rem 1.25rem;
  min-width: 148px;
  max-width: 168px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
  flex-shrink: 0;
  overflow: visible;
}
.arch-pipe-node:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.ap-blue   { border-top-color: #1E90FF; }
.ap-indigo { border-top-color: #7C3AED; }
.ap-red    { border-top-color: #DC382D; }
.ap-teal   { border-top-color: #0097A7; }
.ap-orange { border-top-color: #FF8C00; }

.ap-blue   .ap-icon-wrap { background:#E8F4FF; color:#1E90FF; }
.ap-indigo .ap-icon-wrap { background:#F3E8FF; color:#7C3AED; }
.ap-red    .ap-icon-wrap { background:#FFF0F0; color:#DC382D; }
.ap-teal   .ap-icon-wrap { background:#E0F7FA; color:#0097A7; }
.ap-orange .ap-icon-wrap { background:#FFF3E0; color:#FF8C00; }

.ap-blue   .ap-step { background:#E8F4FF; color:#1E90FF; border-color:#1E90FF33; }
.ap-indigo .ap-step { background:#F3E8FF; color:#7C3AED; border-color:#7C3AED33; }
.ap-red    .ap-step { background:#FFF0F0; color:#DC382D; border-color:#DC382D33; }
.ap-teal   .ap-step { background:#E0F7FA; color:#0097A7; border-color:#0097A733; }
.ap-orange .ap-step { background:#FFF3E0; color:#FF8C00; border-color:#FF8C0033; }

.ap-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--text-light);
  padding: .2rem .7rem;
  margin-bottom: .85rem;
  align-self: center;
}
.ap-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.ap-name { font-size: .88rem; font-weight: 800; color: var(--dark); margin-bottom: .3rem; }
.ap-sub  { font-size: .72rem; color: var(--text-light); line-height: 1.4; margin-bottom: .75rem; flex: 1; }
.ap-badge {
  font-size: .65rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: 100px;
  margin-top: auto;
}
.arch-pipe-conn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: 0 .35rem;
  flex-shrink: 0;
  min-width: 56px;
}
.apc-line {
  width: 100%; height: 2px;
  border-radius: 1px;
}
.apc-line.blue   { background: linear-gradient(90deg,#1E90FF55,#7C3AED55); }
.apc-line.indigo { background: linear-gradient(90deg,#7C3AED55,#DC382D55); }
.apc-line.orange { background: linear-gradient(90deg,#DC382D55,#FF8C0055); }
.apc-label {
  font-size: .58rem; font-weight: 600;
  color: var(--text-light);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.apc-arrow {
  font-size: 1.4rem; line-height: 1; font-weight: 900;
}
.apc-arrow.blue   { color: #1E90FF; }
.apc-arrow.indigo { color: #7C3AED; }
.apc-arrow.orange { color: #FF8C00; }

/* ── Node Hierarchy (full-width horizontal) ── */
.node-hierarchy {
  margin-top: 3.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
}
.nh-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.nh-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1rem; font-weight: 800; color: var(--dark);
}
.nh-subtitle { font-size: .8rem; color: var(--text-light); max-width: 400px; }
.nh-flow {
  display: flex; align-items: stretch;
  gap: 0; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nh-node {
  flex: 1; min-width: 170px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--nc, var(--primary));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.nh-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.nh-level {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--nc, var(--primary));
  margin-bottom: .75rem;
}
.nh-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--nb, var(--primary-light));
  color: var(--nc, var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.nh-name { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: .5rem; }
.nh-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 1rem; }
.nh-tag {
  display: inline-block;
  font-size: .65rem; font-weight: 700;
  background: var(--nb, var(--primary-light));
  color: var(--nc, var(--primary));
  padding: .25rem .65rem; border-radius: 100px;
  align-self: flex-start;
}
.nh-conn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .2rem;
  padding: 0 .75rem;
  flex-shrink: 0;
}
.nh-conn-line {
  width: 2px; height: 32px;
  background: var(--border-dark);
  border-radius: 1px;
  display: none;
}

/* ── Lucide icon sizing ── */
.icon-xl  { width: 40px; height: 40px; stroke-width: 1.5; }
.icon-lg  { width: 28px; height: 28px; stroke-width: 1.75; }
.icon-md  { width: 22px; height: 22px; stroke-width: 2; }
.icon-sm  { width: 18px; height: 18px; stroke-width: 2; }
.icon-xs  { width: 14px; height: 14px; stroke-width: 2; }

/* Use case icon wrapper */
.use-case-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .3s;
  background: var(--bg-muted);
  color: var(--text-muted);
}
.use-case-card:hover .use-case-icon-wrap { transform: scale(1.1); }
.use-case-icon-wrap.blue   { background: var(--primary-light); color: var(--primary); }
.use-case-icon-wrap.orange { background: var(--accent-light);  color: var(--accent); }
.use-case-icon-wrap.green  { background: #E8FFF1; color: #059669; }
.use-case-icon-wrap.purple { background: #F3E8FF; color: #7C3AED; }
.use-case-icon-wrap.rose   { background: #FFF0F0; color: #E53E3E; }
.use-case-icon-wrap.cyan   { background: #E0F7FA; color: #0097A7; }

/* Arch node icons */
.arch-node-icon-wrap {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bg-muted);
  color: var(--text-muted);
}
.arch-node-icon-wrap.blue   { background: var(--primary-light); color: var(--primary); }
.arch-node-icon-wrap.orange { background: var(--accent-light);  color: var(--accent); }

/* Mockup node icons */
.mockup-node-icon-wrap {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--bg-muted);
  color: var(--text-muted);
}

/* Heatmap peak stats */
.heatmap-stats {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.heatmap-stat-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
}
.heatmap-stat-label { font-size: .7rem; color: var(--text-light); margin-bottom: .25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.heatmap-stat-val   { font-size: 1.25rem; font-weight: 800; }
.heatmap-peak-list  { margin-top: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.heatmap-peak-row {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem;
}
.heatmap-peak-hour {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: .15rem .45rem;
  border-radius: 4px;
  min-width: 44px; text-align: center;
}
.heatmap-peak-bar-wrap { flex: 1; height: 6px; background: var(--bg-muted); border-radius: 3px; overflow: hidden; }
.heatmap-peak-bar { height: 100%; border-radius: 3px; background: linear-gradient(to right, var(--primary), var(--accent)); }
.heatmap-peak-count { font-size: .72rem; color: var(--text-muted); min-width: 48px; text-align: right; }

/* ── Contact Form ── */
.contact-form-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2.5rem;
  text-align: left;
}
.contact-form-title { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; gap: .3rem;
}
.form-label .req { color: var(--primary); }
.form-input,
.form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--dark);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,144,255,.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.form-alert {
  display: none;
  padding: .9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 500;
  margin-top: 1rem;
  align-items: center;
  gap: .5rem;
}
.form-alert.show { display: flex; }
.form-alert.success { background: #E8FFF1; border: 1px solid #A7F3D0; color: #065F46; }
.form-alert.error   { background: #FFF0F0; border: 1px solid #FECACA; color: #991B1B; }
.btn-loading { pointer-events: none; opacity: .7; }
.btn-loading .btn-text,
.btn-loading .btn-label { display: none !important; }
.btn-loading .btn-spinner { display: inline-block !important; }
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Biz Kimiz / About ── */
#about { background: var(--bg-soft); }
.about-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
.about-lead { font-size: .95rem; line-height: 1.75; color: var(--text-muted); }
.about-lead strong { color: var(--dark); }
.about-areas { display: flex; flex-wrap: wrap; gap: .55rem; margin: .25rem 0 .5rem; }
.about-area-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .45rem .9rem;
  transition: border-color .2s, color .2s, transform .2s;
}
.about-area-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.about-area-chip svg { color: var(--primary); }

.about-card {
  background: linear-gradient(155deg, var(--primary) 0%, #1565C0 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.about-motto {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}
.about-motto svg { color: rgba(255,255,255,.55); margin-bottom: .6rem; }
.about-meta { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }
.about-meta-item { display: flex; align-items: center; gap: .85rem; }
.about-meta-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.16);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-meta-val { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.about-meta-label { font-size: .72rem; color: rgba(255,255,255,.72); }

/* ── AOS overrides ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .analytics-grid { grid-template-columns: 1fr; }
  .technical-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .acronym-grid   { grid-template-columns: repeat(3, 1fr); }
  .hero-grid-layout { grid-template-columns: 1fr; }
  .hero-title { text-align: center; }
  .hero-desc  { margin: 0 auto 2rem; text-align: center; }
  .hero-stats { max-width: 400px; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-tag   { display: flex; width: fit-content; margin: 0 auto 1.5rem; }
  .dashboard-mockup { max-width: 540px; margin: 0 auto; }
  .hero-ring-1 { width: 500px; height: 500px; }
  .hero-ring-2 { width: 380px; height: 380px; }
  .hero-ring-3 { width: 250px; height: 250px; }
}

/* ── Tablet (≤ 1024px) arch ── */
@media (max-width: 1024px) {
  .arch-pipeline { justify-content: flex-start; }
  .nh-flow { flex-wrap: wrap; }
  .nh-node { min-width: calc(50% - 1rem); }
  .nh-conn { display: none; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  .section-title { font-size: 2rem; }

  /* Navbar */
  .navbar-links, .navbar-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .navbar-inner { height: 80px; }
  .navbar-logo img { height: 66px; }

  /* Hero */
  .hero-grid-layout { padding: 3rem 0; }
  .hero-title { font-size: 2.1rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .hero-stat-val { font-size: 1.2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .hero-ring-1 { width: 340px; height: 340px; }
  .hero-ring-2 { width: 240px; height: 240px; }
  .hero-ring-3 { display: none; }

  /* Acronym */
  .acronym-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .letter-card  { padding: 1.25rem .75rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Analytics */
  .analytics-grid { grid-template-columns: 1fr; }

  /* Use cases */
  .use-cases-grid { grid-template-columns: 1fr; }

  /* About */
  .about-wrap { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .contact-form-wrap { padding: 1.5rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }

  /* Arch flow */
  .arch-flow { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); }
  .nh-flow { flex-direction: column; }
  .nh-node { min-width: unset; }
  .node-hierarchy { padding: 1.5rem 1rem; }
  .nh-header { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { flex-wrap: wrap; }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 1.85rem; }
  .acronym-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: .875rem 1.5rem; font-size: .95rem; }
  .mockup-kpis { grid-template-columns: repeat(3, 1fr); }
  .api-desc { display: none; }
}
