/* ═══════════════════════════════════════════════
   BENGALI HANDWRITTEN OCR — PROJECT WEBSITE
   style.css
═══════════════════════════════════════════════ */

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

:root {
  --bg:        #05080f;
  --bg2:       #080d1a;
  --bg3:       #0a1020;
  --card:      #0d1424;
  --card2:     #101828;
  --border:    rgba(56,189,248,0.12);
  --border2:   rgba(255,255,255,0.06);

  --teal:      #38bdf8;
  --teal-dim:  #0ea5e9;
  --teal-glow: rgba(56,189,248,0.20);
  --purple:    #a855f7;
  --purple-glow: rgba(168,85,247,0.20);
  --green:     #22c55e;
  --gold:      #fbbf24;
  --red:       #f87171;

  --text:      #e2e8f0;
  --text2:     #94a3b8;
  --text3:     #475569;

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 60px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: var(--bg2); }
::-webkit-scrollbar-thumb        { background: var(--teal-dim); border-radius: 6px; }

/* ─── SELECTION ─── */
::selection { background: var(--teal-glow); color: #fff; }

/* ═══ NAVBAR ═══════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(5,8,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  max-width: 1300px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--teal); }
.logo-bracket   { color: var(--teal); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text2);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:hover        { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 9px 22px;
  border-radius: 8px;
  background: var(--teal);
  color: #000;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: #7dd3fc;
  box-shadow: 0 8px 25px var(--teal-glow);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none; border: none;
  color: #fff; font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(8,13,26,0.97);
  border-bottom: 1px solid var(--border);
  padding: 16px 6%;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  color: var(--text2);
  border-bottom: 1px solid var(--border2);
  font-size: 14px;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--teal); }

/* ═══ HERO ══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 140px 6% 100px;
  position: relative;
  overflow: hidden;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-bg {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobPulse 8s ease-in-out infinite;
}
.blob-1 { width: 500px; height: 500px; background: rgba(56,189,248,0.10); top: -150px; left: -150px; }
.blob-2 { width: 400px; height: 400px; background: rgba(168,85,247,0.08); bottom: -100px; right: 10%; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; background: rgba(34,197,94,0.06); top: 40%; left: 50%; animation-delay: -5s; }

@keyframes blobPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

.hero-content {
  flex: 1; max-width: 640px;
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 7px 16px; border-radius: 30px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--teal-glow); }
  50%      { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-family: var(--font-head);
  font-size: 58px; font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px; line-height: 1.7;
  color: var(--text2);
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text); }

/* Hero Stats */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 36px;
  width: fit-content;
}
.hstat {
  display: flex; flex-direction: column;
  align-items: center; padding: 0 24px;
}
.hstat-num {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.hstat-suffix {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--teal);
}
.hstat-label {
  font-size: 11px; color: var(--text3);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-top: 4px;
}
.hstat-divider {
  width: 1px; height: 40px;
  background: var(--border2);
}

/* Hero Buttons */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: pointer; border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal); color: #000;
}
.btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(56,189,248,0.4);
}
.btn-outline:hover {
  background: rgba(56,189,248,0.08);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--teal-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text3);
  transform: translateY(-3px);
}

/* Hero Visual — Character Grid */
.hero-visual {
  flex: 0 0 auto;
  position: relative; z-index: 2;
}
.char-grid {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  gap: 10px;
}
.char-cell {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0;
  animation: cellFadeIn 0.5s ease forwards;
  transition: all 0.3s;
}
.char-cell:hover {
  background: rgba(56,189,248,0.1);
  border-color: var(--teal);
  transform: scale(1.1);
  box-shadow: 0 8px 20px var(--teal-glow);
}
@keyframes cellFadeIn {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(10px); }
}

/* ═══ SECTIONS ══════════════════════════════════ */
.section { padding: 100px 6%; }

.section-dark { background: var(--bg2); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 40px; font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

/* ═══ OVERVIEW ══════════════════════════════════ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.overview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.4s ease;
}
.overview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.3);
  box-shadow: var(--shadow), 0 0 0 1px rgba(56,189,248,0.08);
}
.ov-icon { font-size: 36px; margin-bottom: 16px; }
.overview-card h3 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
}
.overview-card p { color: var(--text2); font-size: 14px; line-height: 1.8; }

/* ═══ DATASET ═══════════════════════════════════ */
.dataset-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.img-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.img-card img { width: 100%; }
.img-caption {
  padding: 12px 16px;
  font-size: 12px; color: var(--text3);
  text-align: center;
  border-top: 1px solid var(--border);
  font-style: italic;
}

.stat-cards-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 24px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-num {
  font-family: var(--font-head);
  font-size: 28px; font-weight: 800;
  line-height: 1;
}
.stat-lbl { font-size: 11px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.teal   { color: var(--teal);   }
.purple { color: var(--purple); }
.green  { color: var(--green);  }
.gold   { color: var(--gold);   }

/* Class Table */
.class-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 24px;
}
.class-row {
  display: grid; grid-template-columns: 100px 60px 1fr;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border2);
  font-size: 13px;
}
.class-row:last-child { border-bottom: none; }
.class-row.header {
  font-size: 11px; font-weight: 600;
  color: var(--text3); text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.02);
}
.pill {
  display: inline-block;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.pill-teal   { background: rgba(56,189,248,0.12);  color: var(--teal);   border: 1px solid rgba(56,189,248,0.2);  }
.pill-purple { background: rgba(168,85,247,0.12); color: var(--purple); border: 1px solid rgba(168,85,247,0.2); }
.pill-green  { background: rgba(34,197,94,0.12);  color: var(--green);  border: 1px solid rgba(34,197,94,0.2);  }

/* Split Bar */
.split-title { font-size: 12px; color: var(--text3); margin-bottom: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.split-bar { display: flex; border-radius: 8px; overflow: hidden; height: 40px; }
.split-seg {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.seg-train { background: var(--teal);   color: #000; }
.seg-val   { background: var(--purple); color: #fff; }
.seg-test  { background: var(--green);  color: #000; }

/* ═══ ARCHITECTURE ══════════════════════════════ */
.arch-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Pipeline */
.pipeline {
  display: flex; flex-direction: column;
  align-items: center;
}

.pipe-block {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: center;
  transition: all 0.3s;
}
.pipe-block:hover {
  border-color: rgba(56,189,248,0.35);
  transform: scale(1.03);
}
.pipe-icon  { font-size: 22px; margin-bottom: 6px; }
.pipe-label { font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.pipe-sub   { font-size: 11px; color: var(--text3); margin-top: 4px; line-height: 1.5; }

.pipe-input  { border-color: rgba(56,189,248,0.3); }
.pipe-stem   { border-color: rgba(56,189,248,0.2); }
.pipe-stage  { border-color: rgba(168,85,247,0.25); }
.pipe-head   { border-color: rgba(34,197,94,0.25); }
.pipe-output { border-color: var(--teal); background: rgba(56,189,248,0.06); }

.pipe-arrow {
  font-size: 18px; color: var(--text3);
  padding: 6px 0;
}

/* Detail Cards */
.arch-detail { display: flex; flex-direction: column; gap: 24px; }

.detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}
.detail-card:hover { border-color: rgba(56,189,248,0.25); }
.detail-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  margin-bottom: 14px;
}
.detail-card p { color: var(--text2); font-size: 14px; margin-bottom: 16px; line-height: 1.8; }

.param-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.param {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-size: 13px;
}
.param span { color: var(--text2); }
.param strong { color: var(--teal); font-weight: 600; }

.aug-list { display: flex; flex-direction: column; gap: 10px; }
.aug-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text2); }
.aug-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 5px;
}
.aug-dot.aug-gold   { background: var(--gold);  }
.aug-dot.aug-green  { background: var(--green); }

/* Code Block */
.code-block {
  background: #020609;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: auto;
  margin-top: 12px;
}
.code-block pre {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1.9;
  color: #7dd3fc;
  padding: 18px 20px;
  white-space: pre;
}

/* ═══ RESULTS ═══════════════════════════════════ */
.metric-row {
  display: flex; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 60px;
}

.metric-card { text-align: center; }

.metric-ring {
  position: relative;
  width: 150px; height: 150px;
}
.metric-ring svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 8;
}
.ring-fill {
  fill: none;
  stroke: var(--color, var(--teal));
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 263.9;
  stroke-dashoffset: 263.9;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.34,1.2,0.64,1);
}

.metric-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.metric-val {
  font-family: var(--font-head);
  font-size: 26px; font-weight: 800;
  color: var(--color, var(--teal));
  line-height: 1;
}
.metric-lbl { font-size: 11px; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Graphs */
.graphs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.graph-full { grid-column: 1 / -1; }

.graph-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s;
}
.graph-card:hover {
  border-color: rgba(56,189,248,0.3);
  box-shadow: var(--shadow);
}
.graph-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border2);
}
.graph-header h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.graph-legend    { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.teal-bg { background: var(--teal); }
.gold-bg { background: var(--gold); }
.graph-note { font-size: 12px; color: var(--text3); }
.graph-card img { width: 100%; padding: 16px; }

/* ═══ DEMO ══════════════════════════════════════ */
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.demo-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.demo-img img { width: 100%; }
.demo-overlay {
  position: absolute; bottom: 12px; left: 12px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.conf-badge {
  background: rgba(56,189,248,0.9);
  color: #000; padding: 4px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
  font-family: var(--font-mono);
}

.demo-info { display: flex; flex-direction: column; gap: 24px; }

.demo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.demo-card h3 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px;
}

.demo-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.demo-steps li {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--text2);
  padding: 10px 16px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
}
.demo-steps li span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--teal);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* VS Code Screenshot */
.vscode-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.4s;
}
.vscode-wrap:hover {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.vscode-wrap img { width: 100%; }

/* ═══ TECH STACK ════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.tech-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.35s;
}
.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.3);
  box-shadow: 0 20px 40px rgba(56,189,248,0.08);
}
.tech-icon { font-size: 36px; margin-bottom: 12px; }
.tech-card h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tech-card p  { font-size: 12px; color: var(--text3); }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(56,189,248,0.06), rgba(168,85,247,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
}
.cta-box h3 {
  font-family: var(--font-head);
  font-size: 30px; font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.cta-box p { color: var(--text2); margin-bottom: 28px; }
.cta-btns  { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══ FOOTER ════════════════════════════════════ */
footer {
  background: #020609;
  border-top: 1px solid var(--border);
  padding: 40px 6%;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 600;
}
.footer-brand p { font-size: 13px; color: var(--text3); margin-top: 4px; font-family: var(--font-body); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color 0.3s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--text3); }

/* ═══ TOP BUTTON ════════════════════════════════ */
#topBtn {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal); color: #000;
  border: none; font-size: 20px; font-weight: 800;
  cursor: pointer; display: none; z-index: 999;
  transition: all 0.3s;
  box-shadow: 0 8px 25px var(--teal-glow);
}
#topBtn:hover { transform: translateY(-4px); box-shadow: 0 14px 35px var(--teal-glow); }

/* ═══ REVEAL ANIMATION ══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 1100px) {
  .arch-layout { grid-template-columns: 1fr; }
  .pipeline { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pipe-block { width: 160px; }
  .pipe-arrow { transform: rotate(-90deg); padding: 0 4px; }
}

@media (max-width: 992px) {
  #hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-title { font-size: 42px; }
  .hero-stats { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .overview-grid { grid-template-columns: 1fr; }
  .dataset-layout { grid-template-columns: 1fr; }
  .arch-layout { grid-template-columns: 1fr; }
  .graphs-grid { grid-template-columns: 1fr; }
  .demo-layout { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .section-title { font-size: 30px; }
  .metric-row { gap: 20px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 5%; }
  .hero-title { font-size: 34px; letter-spacing: -1.5px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; padding: 16px; }
  .hstat { padding: 0 14px; }
  .hstat-num { font-size: 24px; }
  .hstat-divider { display: none; }
  .stat-cards-grid { grid-template-columns: 1fr 1fr; }
  .param-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .cta-box { padding: 32px 20px; }
  .cta-box h3 { font-size: 24px; }
  .hero-badge { font-size: 9px; }
}
