/* ============================================================
   BuildNex Marketing Site — style.css
   Design System: Dark Premium SaaS
   ============================================================ */

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

:root {
  --bg-0: #04070F;
  --bg-1: #080D1A;
  --bg-2: #0D1424;
  --bg-3: #121929;
  --bg-card: rgba(255,255,255,0.028);
  --bg-card-hover: rgba(255,255,255,0.05);
  --border: rgba(99,102,241,0.14);
  --border-hover: rgba(99,102,241,0.35);
  --primary: #6366F1;
  --primary-light: #818CF8;
  --primary-glow: rgba(99,102,241,0.25);
  --cyan: #06B6D4;
  --cyan-glow: rgba(6,182,212,0.2);
  --gold: #F59E0B;
  --gold-glow: rgba(245,158,11,0.2);
  --green: #10B981;
  --rose: #F43F5E;
  --violet: #8B5CF6;
  --text-1: #F8FAFC;
  --text-2: #CBD5E1;
  --text-3: #64748B;
  --text-4: #334155;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-2);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--text-1);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #06B6D4 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 60%, #FDE68A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

section { position: relative; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600;
  border-radius: 10px; cursor: pointer;
  transition: all 0.2s ease;
  border: none; text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #fff; padding: 14px 28px; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.4), 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(99,102,241,0.6), 0 8px 30px rgba(99,102,241,0.5);
}

.btn-ghost {
  background: transparent; color: var(--text-2);
  padding: 14px 28px; font-size: 15px;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  color: var(--text-1);
}

.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.btn-cyan {
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  color: #fff; padding: 14px 28px; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(6,182,212,0.3), 0 4px 20px rgba(6,182,212,0.3);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(6,182,212,0.5), 0 8px 30px rgba(6,182,212,0.45);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: all 0.3s ease;
  padding: 0 40px;
}

.navbar.scrolled {
  background: rgba(4,7,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #fff;
  font-family: var(--font-display);
  box-shadow: 0 4px 16px rgba(99,102,241,0.45);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--text-1); letter-spacing: -0.03em;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-3); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-1); background: var(--bg-card-hover); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-login {
  background: transparent;
  border: 1.5px solid rgba(99,102,241,0.5);
  color: var(--primary-light);
  padding: 9px 22px; font-size: 14px; font-weight: 600;
  border-radius: 9px; cursor: pointer; text-decoration: none;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn-login:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

.btn-nav-cta {
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  color: #fff; padding: 9px 22px; font-size: 14px; font-weight: 600;
  border-radius: 9px; cursor: pointer; text-decoration: none;
  border: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99,102,241,0.5);
}

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all 0.3s; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  position: relative; overflow: hidden;
}

.hero-mesh {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12;
  animation: blob-float 8s ease-in-out infinite;
}
.hero-blob-1 { width: 700px; height: 700px; background: #6366F1; top: -200px; left: -200px; animation-delay: 0s; }
.hero-blob-2 { width: 500px; height: 500px; background: #06B6D4; top: 100px; right: -100px; animation-delay: -3s; }
.hero-blob-3 { width: 400px; height: 400px; background: #8B5CF6; bottom: 0; left: 30%; animation-delay: -6s; }

@keyframes blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--primary-light);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 20px; height: 20px; background: linear-gradient(135deg, #6366F1, #06B6D4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px; line-height: 1.7;
  color: var(--text-3); margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg-2);
  padding: 20px 24px;
  text-align: center;
}
.hero-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-1); }
.hero-stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; letter-spacing: 0.03em; text-transform: uppercase; }

/* Hero mockup */
.hero-visual { position: relative; }

.browser-mockup {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.1), var(--shadow-glow);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.browser-mockup:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(1deg); }

.browser-bar {
  background: var(--bg-3); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px; font-size: 12px; color: var(--text-3);
}

.browser-content { padding: 16px; background: var(--bg-1); }

/* Mini dashboard mockup inside browser */
.dash-grid { display: grid; grid-template-columns: 140px 1fr; gap: 12px; height: 340px; }

.dash-sidebar {
  background: var(--bg-2); border-radius: 10px; padding: 12px 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-nav-item {
  padding: 7px 10px; border-radius: 7px; font-size: 11px; color: var(--text-3);
  display: flex; align-items: center; gap: 7px;
  transition: all 0.2s;
}
.dash-nav-item.active { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.dash-nav-icon { width: 16px; height: 16px; border-radius: 4px; background: currentColor; opacity: 0.6; flex-shrink: 0; }

.dash-main { display: flex; flex-direction: column; gap: 12px; overflow: hidden; }

.dash-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dash-kpi {
  background: var(--bg-2); border-radius: 8px; padding: 10px 12px;
  border: 1px solid var(--border);
}
.dash-kpi-label { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.dash-kpi-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.dash-kpi-sub { font-size: 9px; color: var(--green); margin-top: 2px; }

.dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; overflow: hidden; }

.dash-chart-card {
  background: var(--bg-2); border-radius: 8px; padding: 10px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.dash-chart-title { font-size: 10px; font-weight: 600; color: var(--text-2); }

/* Mini bar chart */
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mini-bar { flex: 1; border-radius: 3px 3px 0 0; min-height: 4px; }

/* Mini line chart using SVG */
.mini-chart-svg { width: 100%; height: 60px; }

/* Mini progress items */
.mini-progress-list { display: flex; flex-direction: column; gap: 6px; }
.mini-prog-item { display: flex; flex-direction: column; gap: 3px; }
.mini-prog-label { font-size: 9px; color: var(--text-3); display: flex; justify-content: space-between; }
.mini-prog-bar { height: 4px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
.mini-prog-fill { height: 100%; border-radius: 2px; }

/* Floating notification cards */
.hero-notif {
  position: absolute;
  background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px;
  box-shadow: var(--shadow-card);
  animation: float-up 3s ease-in-out infinite;
}
.hero-notif-1 { bottom: -20px; right: -30px; animation-delay: 0s; }
.hero-notif-2 { top: 60px; left: -30px; animation-delay: -1.5s; }

@keyframes float-up {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.notif-row { display: flex; align-items: center; gap: 10px; }
.notif-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.notif-text { font-size: 12px; }
.notif-title { font-weight: 600; color: var(--text-1); }
.notif-sub { color: var(--text-3); font-size: 11px; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 16px;
}
.section-label-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 18px; }
.section-sub { font-size: 18px; color: var(--text-3); max-width: 580px; line-height: 1.7; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   LOGOS / TRUSTED BY
   ============================================================ */
.trusted-bar {
  padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-1);
}
.trusted-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.trusted-label { font-size: 12px; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.08em; }
.trusted-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trusted-logo {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--text-4); letter-spacing: -0.01em;
  padding: 8px 16px; border: 1px solid var(--text-4);
  border-radius: 8px; opacity: 0.45;
  transition: opacity 0.2s;
}
.trusted-logo:hover { opacity: 0.7; }

/* ============================================================
   FEATURES BENTO GRID
   ============================================================ */
.features-section { padding: 120px 0; background: var(--bg-0); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 64px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.bento-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.bento-card:hover::before { opacity: 1; }

/* Grid placement */
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-3 { grid-column: span 3; }

.bento-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; flex-shrink: 0;
}
.icon-indigo { background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.25); }
.icon-cyan { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); }
.icon-violet { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25); }
.icon-gold { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }
.icon-green { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); }
.icon-rose { background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.25); }

.bento-tag {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px;
}
.tag-new { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.tag-popular { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.25); }

.bento-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.bento-desc { font-size: 14px; color: var(--text-3); line-height: 1.6; }

.bento-features {
  list-style: none; margin-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.bento-features li { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.bento-features li::before { content: ''; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }

/* Bento visual elements */
.bento-visual { margin-top: 20px; }

/* Kanban mini */
.kanban-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kanban-col { background: var(--bg-3); border-radius: 8px; padding: 8px; }
.kanban-col-title { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 6px; }
.kanban-card { background: var(--bg-2); border-radius: 5px; padding: 6px 8px; margin-bottom: 5px; font-size: 9px; color: var(--text-2); border-left: 2px solid; }

/* Workflow stepper mini */
.workflow-mini { display: flex; align-items: center; gap: 0; margin-top: 16px; }
.wf-step {
  flex: 1; text-align: center;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  padding: 8px 4px; border-radius: 6px;
  letter-spacing: 0.04em;
}
.wf-arrow { width: 20px; text-align: center; color: var(--text-4); font-size: 12px; flex-shrink: 0; }

/* Inventory mini bars */
.inv-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.inv-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.inv-name { font-size: 11px; color: var(--text-2); }
.inv-bar-wrap { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; width: 80px; }
.inv-bar-fill { height: 100%; border-radius: 3px; }
.inv-qty { font-size: 10px; color: var(--text-3); width: 40px; text-align: right; }

/* Gauge */
.gauge-wrap { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.gauge {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-1);
  position: relative;
}

/* Portal preview */
.portal-preview { margin-top: 14px; background: var(--bg-3); border-radius: 8px; padding: 12px; }
.portal-header { font-size: 10px; font-weight: 600; color: var(--cyan); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.portal-prog { display: flex; flex-direction: column; gap: 6px; }
.portal-prog-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.portal-prog-label { color: var(--text-3); width: 80px; }
.portal-prog-bar { flex: 1; height: 5px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.portal-prog-fill { height: 100%; border-radius: 3px; }
.portal-prog-pct { color: var(--text-2); font-weight: 600; width: 32px; text-align: right; }

/* ============================================================
   FEATURE DEEP DIVE SECTIONS
   ============================================================ */
.feature-section { padding: 100px 0; }
.feature-section:nth-child(odd) { background: var(--bg-1); }

.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }

.feature-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.feature-heading { font-size: clamp(28px, 3vw, 42px); font-weight: 800; margin-bottom: 20px; }
.feature-body { font-size: 16px; color: var(--text-3); line-height: 1.75; margin-bottom: 28px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-2);
}
.feature-list-check {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 11px;
}

/* Large screen mockups */
.screen-mockup {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), var(--shadow-glow);
  position: relative;
}

.screen-bar {
  background: var(--bg-3); padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.screen-dots { display: flex; gap: 5px; }
.screen-dots span { width: 9px; height: 9px; border-radius: 50%; }
.screen-dots span:nth-child(1) { background: rgba(255,95,87,0.6); }
.screen-dots span:nth-child(2) { background: rgba(255,189,46,0.6); }
.screen-dots span:nth-child(3) { background: rgba(40,200,64,0.6); }
.screen-title { font-size: 11px; color: var(--text-3); margin-left: 8px; }
.screen-body { padding: 20px; background: var(--bg-1); }

/* Gantt mockup */
.gantt-mockup { overflow: hidden; }
.gantt-header { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin-bottom: 8px; }
.gantt-col-label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 0; }
.gantt-months { display: flex; gap: 0; overflow: hidden; }
.gantt-month { flex: 1; font-size: 9px; color: var(--text-4); text-align: center; padding: 4px; }
.gantt-row-g { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 0; height: 28px; }
.gantt-row-g:nth-child(even) { background: rgba(255,255,255,0.015); }
.gantt-task-label { font-size: 10px; color: var(--text-2); padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gantt-timeline { position: relative; height: 100%; display: flex; align-items: center; padding: 0 4px; }
.gantt-bar-g {
  height: 14px; border-radius: 4px; position: absolute;
  display: flex; align-items: center; padding: 0 6px;
  font-size: 8px; color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden;
}
.gantt-milestone { width: 12px; height: 12px; transform: rotate(45deg); position: absolute; }

/* Inventory screen */
.inv-screen { }
.inv-table-header {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  gap: 8px; padding: 8px 12px;
  background: var(--bg-3); border-radius: 6px;
  font-size: 10px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em;
}
.inv-table-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  gap: 8px; padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  align-items: center;
  font-size: 11px;
}
.inv-table-row:last-child { border-bottom: none; }
.inv-item-name { color: var(--text-1); font-weight: 500; }
.inv-item-sku { color: var(--text-3); font-size: 10px; }
.inv-stock-badge {
  display: inline-flex; padding: 2px 8px; border-radius: 4px;
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-ok { background: rgba(16,185,129,0.12); color: var(--green); }
.badge-low { background: rgba(245,158,11,0.12); color: var(--gold); }
.badge-out { background: rgba(244,63,94,0.12); color: var(--rose); }

/* Quote screen */
.quote-screen { font-size: 11px; }
.quote-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.quote-company { font-size: 16px; font-weight: 700; color: var(--text-1); }
.quote-meta { color: var(--text-3); font-size: 10px; margin-top: 2px; }
.quote-badge { padding: 4px 10px; border-radius: 5px; font-size: 9px; font-weight: 600; }
.quote-items-header { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 4px; padding: 6px 8px; background: var(--bg-3); border-radius: 5px; font-size: 9px; font-weight: 600; color: var(--text-3); text-transform: uppercase; }
.quote-item-row { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 4px; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 10px; color: var(--text-2); align-items: center; }
.quote-totals { margin-top: 12px; background: var(--bg-3); border-radius: 8px; padding: 12px; }
.quote-total-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); padding: 3px 0; }
.quote-grand-total { font-size: 14px; font-weight: 700; color: var(--text-1); border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; display: flex; justify-content: space-between; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { padding: 120px 0; background: var(--bg-0); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; position: relative; }

.steps-grid::before {
  content: '';
  position: absolute; top: 48px; left: 16.6%; right: 16.6%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.step-card {
  text-align: center; padding: 40px 28px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.step-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }

.step-num {
  width: 56px; height: 56px; border-radius: 16px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  position: relative; z-index: 1;
}
.step-num-1 { background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); color: var(--primary-light); }
.step-num-2 { background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.3); color: var(--cyan); }
.step-num-3 { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: var(--green); }

.step-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-desc { font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { padding: 120px 0; background: var(--bg-1); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; max-width: 1000px; margin-left: auto; margin-right: auto; }

.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }

.pricing-card.popular {
  background: linear-gradient(145deg, rgba(99,102,241,0.1), rgba(139,92,246,0.08));
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 0 40px rgba(99,102,241,0.2);
}

.pricing-popular-badge {
  position: absolute; top: 0; right: 28px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 5px 14px 8px; border-radius: 0 0 10px 10px;
  text-transform: uppercase;
}

.pricing-tier { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 8px; }
.pricing-price { font-family: var(--font-display); font-size: 42px; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.pricing-users { font-size: 13px; color: var(--text-3); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.pricing-check { width: 18px; height: 18px; border-radius: 5px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }

.pricing-note { text-align: center; margin-top: 32px; font-size: 13px; color: var(--text-3); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 100px 0; background: var(--bg-0); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.3s;
}
.testi-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); font-size: 14px; }
.testi-quote { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(6,182,212,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-title { font-size: clamp(36px, 4vw, 56px); font-weight: 800; margin-bottom: 20px; position: relative; z-index: 1; }
.cta-sub { font-size: 18px; color: var(--text-3); margin-bottom: 40px; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--text-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 72px 0 36px; background: var(--bg-1); border-top: 1px solid var(--border); }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-desc { font-size: 14px; color: var(--text-3); line-height: 1.7; margin-top: 16px; max-width: 280px; }

.footer-col-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-made { font-size: 13px; color: var(--text-3); }

/* ============================================================
   INDIA GST CALLOUT
   ============================================================ */
.india-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(16,185,129,0.04) 100%);
  border-top: 1px solid rgba(245,158,11,0.1);
  border-bottom: 1px solid rgba(245,158,11,0.1);
}
.india-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.india-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.india-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.06);
  font-size: 13px; color: var(--gold);
  font-weight: 500;
}

.india-features-list { display: flex; flex-direction: column; gap: 16px; }
.india-feat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: all 0.2s;
}
.india-feat:hover { border-color: rgba(245,158,11,0.3); }
.india-feat-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.india-feat-title { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 4px; }
.india-feat-desc { font-size: 13px; color: var(--text-3); }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  padding: 120px 0;
  background: var(--bg-0);
  position: relative; overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 65%);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}

.ai-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.ai-chat-mockup {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.1), var(--shadow-glow);
}

.ai-chat-header {
  background: var(--bg-3);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.ai-chat-avatar {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #6366F1, #06B6D4);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.ai-chat-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.ai-chat-status { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; }
.ai-chat-status::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; display: inline-block; }
.ai-chat-badge {
  margin-left: auto;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
  font-size: 10px; font-weight: 600; color: var(--primary-light);
  letter-spacing: 0.04em;
}

.ai-chat-body {
  padding: 20px; background: var(--bg-1);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 360px;
}

.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }

.chat-bubble-avatar {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.chat-bubble-avatar.ai-av { background: linear-gradient(135deg, #6366F1, #06B6D4); }
.chat-bubble-avatar.user-av { background: rgba(255,255,255,0.08); border: 1px solid var(--border); }

.chat-bubble {
  max-width: 78%; padding: 10px 14px;
  border-radius: 12px; font-size: 12px; line-height: 1.6;
}
.chat-bubble.ai {
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-2); border-top-left-radius: 4px;
}
.chat-bubble.user {
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.12));
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--text-1); border-top-right-radius: 4px;
}

.chat-data-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; margin-top: 8px;
  font-size: 11px;
}
.chat-data-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-3);
}
.chat-data-row:last-child { border-bottom: none; }
.chat-data-row span:last-child { color: var(--text-1); font-weight: 600; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-chip {
  padding: 4px 10px; border-radius: 20px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
  font-size: 10px; color: var(--primary-light); cursor: pointer;
  transition: all 0.2s;
}
.chat-chip:hover { background: rgba(99,102,241,0.16); border-color: rgba(99,102,241,0.4); }

.ai-chat-input {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  display: flex; align-items: center; gap: 10px;
}
.ai-chat-input-field {
  flex: 1; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 12px;
  font-size: 12px; color: var(--text-3);
}
.ai-chat-send {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.ai-features-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.ai-feat-row { display: flex; align-items: flex-start; gap: 16px; }
.ai-feat-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

/* Typing indicator */
.chat-typing {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 12px; border-top-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px; background: var(--text-3); border-radius: 50%;
  animation: typing-dot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(4,7,15,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 24px; font-weight: 600; color: var(--text-2); text-decoration: none; padding: 12px; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text-1); }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-2); font-size: 28px; cursor: pointer; padding: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento-card.span-8 { grid-column: span 12; }
  .bento-card.span-4 { grid-column: span 6; }
  .bento-card.span-7 { grid-column: span 12; }
  .bento-card.span-5 { grid-column: span 12; }
  .bento-card.span-3 { grid-column: span 4; }
}

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .india-grid { grid-template-columns: 1fr; }
  .bento-card.span-3 { grid-column: span 6; }
  .bento-card.span-4 { grid-column: span 12; }
  .bento-card.span-6 { grid-column: span 12; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 20px; }
  .nav-links, .nav-actions .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bento-card.span-3, .bento-card.span-4, .bento-card.span-6, .bento-card.span-8, .bento-card.span-5, .bento-card.span-7 { grid-column: span 12; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .kanban-mini { grid-template-columns: repeat(2,1fr); }
}
