/* ==========================================================================
   fnbPulse CSS - Premium B2B SaaS Theme (Geometric Balance)
   ========================================================================== */

/* --- Custom Variables --- */
:root {
  --navy: #0a2140;
  --slate: #0f2e59;
  --accent: #00df82;
  --accent-rgb: 0, 223, 130;
  --highlight: #f59e0b;
  --highlight-rgb: 245, 158, 11;
  --danger: #ef4444;
  --danger-rgb: 239, 68, 68;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --black: #020617;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Container Utility --- */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--white);
}

p {
  color: var(--text-muted);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background-color: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.w-full {
  width: 100%;
}

/* ==========================================
   1. HEADER NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.header.scrolled {
  height: 84px;
  background-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 4px;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 1px;
  opacity: 0.8;
}

.fnb-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  user-select: none;
}

.fnb-text {
  font-size: 24px;
  letter-spacing: -0.4px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.fnb-text .brand-fnb {
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  margin-right: 3px;
}

.fnb-text .brand-pulse {
  font-weight: 800;
  color: #00E676;
}

.fnb-text .brand-360-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-left: 2px;
}

.fnb-text .brand-360-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}

.fnb-text .brand-360 {
  font-weight: 400;
  color: #ffffff;
  position: relative;
  z-index: 1;
  padding: 0 6px;
}

/* Nav Menu */
.nav-menu {
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  height: 100%;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
}

.nav-mobile-only {
  display: none;
}

.login-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.login-link:hover {
  color: var(--white);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--text);
  transition: all var(--transition-fast);
}

/* ==========================================
   2. HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 50% -20%, rgba(34, 197, 94, 0.12) 0%, rgba(15, 23, 42, 0) 60%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeIn 1s ease;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

/* Trust Badges */
.hero-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  width: 100%;
}

.trust-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.sync-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: syncPulse 2s infinite ease-in-out;
}

@keyframes syncPulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 4px var(--accent);
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px var(--accent);
  }
}

.trust-badge svg {
  color: var(--accent);
}

/* ==========================================
   HERO VISUAL: DASHBOARD MOCKUP
   ========================================== */
.hero-visual {
  perspective: 1000px;
}

.dashboard-mockup {
  background: var(--slate);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(34, 197, 94, 0.05);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: all var(--transition-slow);
}

.dashboard-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 120px rgba(34, 197, 94, 0.1);
}

/* Mockup Header */
.mockup-header {
  height: 48px;
  background-color: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 18px;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background-color: var(--danger); }
.mockup-dots span:nth-child(2) { background-color: var(--highlight); }
.mockup-dots span:nth-child(3) { background-color: var(--accent); }

.mockup-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  background-color: rgba(34, 197, 94, 0.1);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.status-dot {
  width: 5px;
  height: 5px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Mockup Body */
.mockup-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.health-card {
  grid-column: span 2;
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.health-rating {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.health-meta {
  font-size: 12px;
  color: var(--accent);
  margin-top: 2px;
}

/* Circular chart CSS */
.score-radial {
  width: 64px;
  height: 64px;
}

.circular-chart {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 3.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

.circular-chart.green .circle {
  stroke: var(--accent);
}

.percentage {
  fill: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  text-anchor: middle;
}

/* Mini KPI Cards */
.mini-card {
  background-color: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mini-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-top: 4px;
}

.mini-change {
  font-size: 11px;
  margin-top: 6px;
  font-weight: 600;
}

.mini-change.up { color: var(--accent); }
.mini-change.warning { color: var(--highlight); }
.mini-change.danger { color: var(--danger); }
.mini-change.safe { color: var(--text-muted); }

/* Glow variants */
.highlight-glow {
  border-left: 3px solid var(--accent);
}

.warning-glow {
  border-left: 3px solid var(--highlight);
}

.danger-glow {
  border-left: 3px solid var(--danger);
}

/* AI Recommendation Box */
.ai-recommendation-box {
  grid-column: span 2;
  background-color: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.ai-recommendation-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
}

.ai-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.ai-box-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 12px;
}

.ai-box-text strong {
  color: var(--white);
}

.ai-impact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  padding-top: 10px;
  font-size: 12px;
}

.ai-impact span {
  color: var(--text-muted);
}

.ai-impact strong {
  font-size: 15px;
  color: var(--accent);
}

/* ==========================================
   3. PROBLEM SECTION
   ========================================== */
.problem-section {
  background-color: #090d16;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.problem-card {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition-fast);
}

.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-4px);
  background-color: rgba(15, 23, 42, 0.6);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(245, 158, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================
   4. THE SOLUTION PIPELINE SECTION
   ========================================== */
.solution-pipeline {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr 0.15fr 1.1fr 0.15fr 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.pipeline-node {
  background-color: var(--slate);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pipeline-node h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sub-nodes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-node {
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--highlight);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--highlight);
}

/* Custom visual engine node */
.node-engine {
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, rgba(30, 41, 59, 0.9) 100%);
  padding: 36px 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}

.engine-halo {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px dashed rgba(34, 197, 94, 0.3);
  animation: rotate 15s linear infinite;
  z-index: 1;
}

.engine-metrics-stream {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

/* Connector & Animation Pulse */
.pipeline-connector {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  position: relative;
  display: flex;
  align-items: center;
}

.animated-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: slidePulse 3s linear infinite;
}

.accent-border {
  border-left: 3px solid var(--accent);
}

.success-gold {
  border-left: 3px solid var(--highlight);
  background-color: rgba(245, 158, 11, 0.05) !important;
}

/* ==========================================
   5. FEATURES GRID SECTION
   ========================================== */
.features-section {
  background-color: #090d16;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-4px);
  background-color: rgba(15, 23, 42, 0.6);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================
   6. PRODUCT DASHBOARD SHOWCASE (INTERACTIVE)
   ========================================== */
.showcase-section {
  background-color: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.badge-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: rgba(34, 197, 94, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.showcase-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  background-color: var(--slate);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  min-height: 520px;
}

/* Sidebar Menu */
.showcase-sidebar {
  background-color: rgba(15, 23, 42, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.username {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.user-role {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.sidebar-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  position: relative;
}

.sidebar-btn:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-btn.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.sidebar-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  width: 3px;
  height: 70%;
  background-color: var(--accent);
  border-radius: 0 4px 4px 0;
}

.menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.sidebar-btn.active .menu-dot { background-color: var(--accent); }
.warning-dot { background-color: var(--highlight) !important; }
.chat-dot { background-color: #3b82f6 !important; }

.sidebar-badge-alert {
  background-color: var(--danger);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  margin-left: auto;
}

.sidebar-sync {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sync-status {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.indicator-glow {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

.sync-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* Workspace Canvas */
.showcase-workspace {
  background-color: rgba(15, 23, 42, 0.15);
  padding: 40px;
}

.workspace-tab {
  display: none;
  animation: tabFadeIn 0.3s ease-out forwards;
}

.workspace-tab.active {
  display: block;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tab-header h2 {
  font-size: 24px;
  font-weight: 800;
}

.date-stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.alert-indicator-pill {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

/* Tab 1: Pulse Score Content */
.pulse-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.pulse-score-display {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
}

.pulse-number {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin: 6px 0;
}

.pulse-number .out-of {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 500;
}

.pulse-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.pulse-kpis {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi-mini-row {
  background-color: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.kpi-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}

.kpi-tag.success { background-color: rgba(34, 197, 94, 0.1); color: var(--accent); }
.kpi-tag.warning { background-color: rgba(245, 158, 11, 0.1); color: var(--highlight); }

/* Custom Weekly leakage chart */
.chart-container {
  background-color: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
}

.chart-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 24px;
}

.bar-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.chart-bar {
  flex-grow: 1;
  max-width: 28px;
  height: var(--height);
  position: relative;
  cursor: pointer;
}

.bar-fill {
  width: 100%;
  height: 100%;
  border-radius: 4px 4px 0 0;
  transition: opacity var(--transition-fast);
}

.bar-fill.accent-bg { background-color: var(--accent); }
.bar-fill.warning-bg { background-color: var(--highlight); }
.bar-fill.danger-bg { background-color: var(--danger); }

.chart-bar::after {
  content: attr(data-day);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.chart-bar:hover .bar-fill {
  opacity: 0.8;
}

.chart-bar:hover::before {
  content: attr(data-value);
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Tab 2: Food Cost Alerts stack */
.alerts-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alert-item {
  background-color: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  position: relative;
  transition: all var(--transition-fast);
}

.alert-item.resolved {
  opacity: 0.5;
  border-color: rgba(34, 197, 94, 0.15) !important;
  background-color: rgba(34, 197, 94, 0.02) !important;
}

.alert-badge-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  height: fit-content;
}

.alert-badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--highlight);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  height: fit-content;
}

.alert-details {
  flex-grow: 1;
}

.alert-details h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.alert-details p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.alert-actions-row {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leak-impact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.alert-item.resolved .leak-impact {
  text-decoration: line-through;
  color: var(--text-muted);
}

.btn-action-resolve {
  background-color: var(--accent);
  color: var(--navy);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-action-resolve:hover {
  background-color: #4ade80;
  transform: translateY(-1px);
}

/* Tab 3: Menu Profitability Matrix */
.tab-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.menu-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.matrix-quadrant {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.quad-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.quad-header h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.quad-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.quad-star h3 { color: var(--accent); }
.quad-plow h3 { color: #3b82f6; }
.quad-puzzle h3 { color: var(--highlight); }
.quad-dog h3 { color: var(--danger); }

.quad-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quad-list li {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quad-list li strong {
  color: var(--white);
}

.action-alert-item {
  background-color: rgba(245, 158, 11, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
}

.btn-matrix-action {
  background: none;
  border: 1px solid var(--highlight);
  color: var(--highlight);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-matrix-action:hover {
  background-color: var(--highlight);
  color: var(--navy);
}

/* Tab 4: AI Advisor Chat window */
.chat-window {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.system-msg {
  background-color: var(--slate);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.user-msg {
  background-color: var(--accent);
  color: var(--navy);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.msg-sender {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.chat-prompt-chips {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background-color: rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  white-space: nowrap;
}

.prompt-chip {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prompt-chip:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.chat-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(0, 0, 0, 0.2);
}

.chat-input-area input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 13px;
  padding: 10px 16px;
}

.chat-input-area input::placeholder {
  color: var(--text-muted);
}

/* ==========================================
   7. ROI CALCULATOR SECTION
   ========================================== */
.roi-section {
  background-color: #090d16;
}

.roi-calculator-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 40px;
}

.calc-inputs-card {
  background-color: var(--slate);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px;
}

.calc-inputs-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 30px;
}

.input-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.input-labels label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.slider-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.premium-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.premium-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 4px solid var(--slate);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  transition: transform var(--transition-fast);
}

.premium-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.calc-benchmark-note {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Calculator Output display card */
.calc-outputs-card {
  background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.calc-outputs-card h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.output-headline {
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.total-saved-number {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.per-month {
  font-size: 16px;
  color: var(--text-muted);
}

.output-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 14px;
}

.row-label {
  font-size: 13px;
  color: var(--text-muted);
}

.row-label strong {
  color: var(--white);
}

.row-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.calc-cta-block p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.calc-cta-block p strong {
  color: var(--white);
}

/* ==========================================
   8. INTEGRATIONS SECTION
   ========================================== */
.integrations-section {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.integrations-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.integration-group h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.integration-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.integration-card {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.clover-bg { background-color: rgba(34, 197, 94, 0.1); color: var(--accent); }
.xero-bg { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.status-badge {
  display: block;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}

.integration-card.coming-soon {
  opacity: 0.5;
  background-color: rgba(15, 23, 42, 0.2);
}

/* ==========================================
   9. PRICING SECTION
   ========================================== */
.pricing-section {
  background-color: #090d16;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.pricing-card.popular {
  background-color: var(--slate);
  border: 2px solid var(--accent);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.08);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 100px;
}

.card-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.card-head h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 13px;
  margin-bottom: 24px;
}

.price-block {
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-muted);
}

.amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.features-list li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.features-list li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.features-list li.disabled::before {
  content: '○';
  color: var(--text-muted);
}

/* ==========================================
   10. FINAL CALL TO ACTION
   ========================================== */
.final-cta-section {
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-inner-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.cta-inner-container h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-inner-container p {
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-guarantee {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================
   11. FOOTER
   ========================================== */
.footer {
  background-color: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px 24px;
  display: grid;
  grid-template-columns: 1.20fr 1.80fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 24px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

/* ==========================================
   12. INTERACTIVE MODAL: PROFIT HEALTH CHECK
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--slate);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--white);
}

/* Modal Progress Tracker */
.modal-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: var(--navy);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.progress-step.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.progress-step.completed {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
}

.progress-line {
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  flex-grow: 1;
  max-width: 60px;
}

/* Modal Step Panes */
.modal-step-pane {
  display: none;
}

.modal-step-pane.active {
  display: block;
}

.modal-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.modal-intro-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

/* Step 1 Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.modal-footer {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Step 2 tech grids */
.tech-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-option {
  cursor: pointer;
}

.tech-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tech-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 16px;
  transition: all var(--transition-fast);
}

.tech-option input:checked + .tech-box {
  border-color: var(--accent);
  background-color: rgba(34, 197, 94, 0.04);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.1);
}

.tech-icon {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.clover-color { color: var(--accent); }
.xero-color { color: #3b82f6; }

.tech-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.tech-option input:checked + .tech-box .tech-name {
  color: var(--white);
}

/* Step 3 success results */
.success-header {
  text-align: center;
  margin-bottom: 24px;
}

.success-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-success-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.report-dashboard-box {
  background-color: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.report-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.report-sub-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.report-score-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
}

.health-alert-badge {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--highlight);
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

.report-breakdowns {
  font-size: 13px;
}

.report-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.report-item-row span {
  color: var(--text-muted);
}

.report-item-row strong {
  font-size: 16px;
  color: var(--accent);
}

.report-narrative {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-top: 8px;
}

.report-actions {
  display: flex;
  justify-content: space-between;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes progress {
  from { stroke-dasharray: 0 100; }
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes slidePulse {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .dashboard-mockup {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }

  .dashboard-mockup:hover {
    transform: none;
  }

  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pipeline-connector {
    height: 40px;
    width: 4px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .animated-pulse {
    animation: verticalPulse 3s linear infinite;
    width: 12px;
    height: 12px;
  }

  .showcase-container {
    grid-template-columns: 1fr;
  }

  .showcase-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
  }

  .sidebar-user {
    margin-bottom: 0;
  }

  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    width: 100%;
    padding: 4px 0;
  }

  .sidebar-btn {
    white-space: nowrap;
  }

  .sidebar-btn.active::before {
    display: none;
  }

  .sidebar-sync {
    display: none;
  }

  .roi-calculator-layout {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@keyframes verticalPulse {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .section-container {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .mockup-body {
    padding: 16px;
  }

  .health-rating {
    font-size: 22px;
  }

  .pulse-summary-grid {
    grid-template-columns: 1fr;
  }

  .menu-matrix-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner-container h2 {
    font-size: 28px;
  }

  /* Header mobile toggle menu */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 100px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: var(--navy);
    padding: 40px 24px;
    transition: left var(--transition-fast);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    height: auto;
  }

  .nav-link {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .nav-mobile-only {
    display: block;
  }

  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .modal-card {
    padding: 24px;
    margin: 16px;
  }

  .tech-select-grid {
    grid-template-columns: 1fr;
  }
}
