/* ═══════════════════════════════════════════════════════════
   expensiq.css — M1 ExpensIQ Redesigned AI FinTech Platform
   Mobile App + Web App · Personal, Group, Trip & Department
   ═══════════════════════════════════════════════════════════ */

:root {
  --eq-emerald: #059669;
  --eq-emerald-light: #10b981;
  --eq-emerald-subtle: #d1fae5;
  --eq-emerald-dark: #047857;

  --eq-cyan: #06b6d4;
  --eq-cyan-light: #38bdf8;
  --eq-cyan-subtle: #e0f2fe;

  --eq-indigo: #4f46e5;
  --eq-indigo-light: #6366f1;
  --eq-indigo-subtle: #ede9fe;
  --eq-indigo-dark: #3730a3;

  --eq-amber: #f59e0b;
  --eq-amber-subtle: #fef3c7;
  --eq-rose: #f43f5e;
  --eq-rose-subtle: #ffe4e6;
  --eq-purple: #8b5cf6;

  --eq-dark-900: #090d16;
  --eq-dark-800: #0f172a;
  --eq-dark-700: #1e293b;
  --eq-dark-600: #334155;
  --eq-dark-border: rgba(255, 255, 255, 0.08);

  --eq-bg: #f8fafc;
  --eq-surface: #ffffff;
  --eq-surface-2: #f1f5f9;
  --eq-border: #e2e8f0;
  --eq-border-light: #f1f5f9;

  --eq-text: #0f172a;
  --eq-text-muted: #64748b;
  --eq-text-sub: #475569;

  --eq-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --eq-shadow-md: 0 4px 14px -2px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --eq-shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --eq-shadow-xl: 0 24px 60px -12px rgba(15, 23, 42, 0.25);
  --eq-shadow-glow: 0 0 35px -5px rgba(16, 185, 129, 0.35);

  --eq-radius-sm: 8px;
  --eq-radius-md: 14px;
  --eq-radius-lg: 20px;
  --eq-radius-xl: 28px;
  --eq-radius-full: 9999px;

  --eq-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE RESETS & TYPOGRAPHY ─── */
body {
  background-color: var(--eq-bg);
  color: var(--eq-text);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAVBAR & HEADER ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: var(--eq-transition);
}

.nav.scrolled {
  box-shadow: var(--eq-shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.header-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-logo .divider {
  width: 1px;
  height: 24px;
  background: var(--eq-border);
}

.header-logo .logo-product img {
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--eq-text-sub);
  font-size: 14.5px;
  font-weight: 600;
  transition: var(--eq-transition);
}

.nav-links a:hover {
  color: var(--eq-emerald);
}

.nav-links a.product-menu {
  color: var(--eq-indigo);
  font-weight: 700;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--eq-text);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--eq-radius-full);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: var(--eq-transition);
}

.nav-cta:hover {
  background: var(--eq-emerald);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}

/* Mobile Hamburger & Drawer */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--eq-text);
  cursor: pointer;
  padding: 8px;
}

.mob-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 14px;
  transform: translateY(-120%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 30px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--eq-border);
}

.mob-drawer.open {
  transform: translateY(0);
}

.mob-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--eq-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--eq-radius-sm);
  transition: var(--eq-transition);
}

.mob-drawer a:hover {
  background: var(--eq-surface-2);
  color: var(--eq-emerald);
}

.mob-drawer .mob-cta {
  background: var(--eq-emerald);
  color: #ffffff !important;
  justify-content: center;
  margin-top: 8px;
}

/* ─── HERO SECTION: "Your Money. Smarter with AI." ─── */
.hero {
  position: relative;
  padding: 135px 0 90px;
  background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.14) 0%, rgba(6, 182, 212, 0.06) 40%, transparent 75%),
              linear-gradient(180deg, #ffffff 0%, var(--eq-bg) 100%);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
}

.hero-glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow-1 {
  top: -80px;
  left: 5%;
  background: radial-gradient(circle, #34d399 0%, rgba(16, 185, 129, 0) 70%);
}

.hero-glow-2 {
  top: 180px;
  right: 5%;
  background: radial-gradient(circle, #818cf8 0%, rgba(99, 102, 241, 0) 70%);
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 46px;
  position: relative;
  z-index: 2;
}

.platform-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--eq-emerald-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--eq-radius-full);
  margin-bottom: 22px;
}

.platform-badge-tag {
  background: #059669;
  color: #ffffff;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--eq-radius-full);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 58px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.4px;
  color: var(--eq-text);
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #059669 0%, #0284c7 45%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--eq-text-sub);
  max-width: 780px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--eq-radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  transition: var(--eq-transition);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--eq-text) !important;
  border: 1px solid var(--eq-border);
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--eq-radius-full);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--eq-transition);
}

.btn-outline-glass:hover {
  background: #ffffff;
  border-color: var(--eq-emerald);
  color: var(--eq-emerald) !important;
  transform: translateY(-2px);
  box-shadow: var(--eq-shadow-md);
}

.hero-capsule-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--eq-text-muted);
}

.capsule-item {
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  padding: 5px 14px;
  border-radius: var(--eq-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.capsule-item i {
  color: var(--eq-emerald);
  width: 14px;
  height: 14px;
}

/* ─── DUAL DEVICE HERO SHOWCASE: MOBILE APP + WEB DASHBOARD ─── */
.dual-device-showcase {
  position: relative;
  z-index: 3;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 960px) {
  .dual-device-showcase {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

/* 1. Mobile App Device Frame */
.mobile-frame {
  background: #090d16;
  border: 7px solid #1e293b;
  border-radius: 38px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.35),
              0 0 30px rgba(16, 185, 129, 0.2);
  overflow: hidden;
  color: #ffffff;
  position: relative;
}

.mobile-notch {
  width: 120px;
  height: 18px;
  background: #1e293b;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}

.mobile-screen-body {
  padding: 0 16px 20px;
}

.mob-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mob-user-greeting h6 {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

.mob-user-greeting h5 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.mob-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.mob-balance-card {
  background: linear-gradient(135deg, #059669 0%, #0f766e 100%);
  border-radius: var(--eq-radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.mob-bal-lbl {
  font-size: 11px;
  color: #a7f3d0;
  font-weight: 600;
}

.mob-bal-amount {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 10px;
}

.mob-bal-split {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 8px;
  font-size: 11.5px;
}

.mob-bal-split span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mob-quick-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  text-align: center;
}

.mob-quick-btn {
  background: #1e293b;
  border-radius: 12px;
  padding: 8px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mob-quick-btn i {
  color: #34d399;
  width: 16px;
  height: 16px;
}

.mob-tx-feed h6 {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mob-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #131d2f;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 12px;
}

.mob-tx-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mob-tx-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mob-tx-badge.inc { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.mob-tx-badge.exp { background: rgba(244, 63, 94, 0.2); color: #f43f5e; }

.mob-tx-title {
  font-weight: 700;
  color: #f1f5f9;
}

.mob-tx-sub {
  font-size: 10px;
  color: #64748b;
}

.mob-tx-val.inc { color: #34d399; font-weight: 700; }
.mob-tx-val.exp { color: #f8fafc; font-weight: 700; }

/* 2. Web Application Dashboard Frame */
.web-dashboard-frame {
  background: var(--eq-dark-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--eq-radius-lg);
  box-shadow: var(--eq-shadow-xl);
  overflow: hidden;
  color: #f8fafc;
}

.web-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--eq-dark-border);
}

.web-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.web-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.web-browser-dots .d-r { background: #ef4444; }
.web-browser-dots .d-y { background: #f59e0b; }
.web-browser-dots .d-g { background: #10b981; }

.web-dash-title {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.web-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px;
  background: #090d16;
}

@media (max-width: 680px) {
  .web-dash-grid {
    grid-template-columns: 1fr;
  }
}

.web-card {
  background: #131d2f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--eq-radius-md);
  padding: 16px;
}

.web-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.web-stat-big {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.web-stat-sub {
  font-size: 11.5px;
  color: #34d399;
  font-weight: 600;
}

/* Income vs Expense Vector Comparison Bar */
.inc-exp-bar-wrapper {
  margin: 12px 0 6px;
}

.inc-exp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.inc-exp-track {
  height: 10px;
  background: #1e293b;
  border-radius: 5px;
  display: flex;
  overflow: hidden;
}

.inc-segment {
  background: #10b981;
  height: 100%;
}

.exp-segment {
  background: #f43f5e;
  height: 100%;
}

/* 4 Budget mini cards inside Web Dashboard preview */
.web-budget-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.budget-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
}

.budget-chip-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.budget-chip-head.personal i { color: #10b981; }
.budget-chip-head.group i { color: #06b6d4; }
.budget-chip-head.trip i { color: #f59e0b; }
.budget-chip-head.dept i { color: #8b5cf6; }

.budget-chip-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.budget-chip-fill {
  height: 100%;
  border-radius: 3px;
}

/* ─── SECTION COMMON STYLING ─── */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: #ffffff;
  padding: 96px 0;
  border-top: 1px solid var(--eq-border);
  border-bottom: 1px solid var(--eq-border);
}

.section-dark {
  background: var(--eq-dark-800);
  color: #f8fafc;
  padding: 96px 0;
}

.section-heading-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--eq-emerald);
  background: rgba(5, 150, 105, 0.1);
  padding: 4px 14px;
  border-radius: var(--eq-radius-full);
  margin-bottom: 14px;
}

.section-dark .section-tag {
  color: #34d399;
  background: rgba(52, 211, 153, 0.15);
}

.section-title {
  font-size: 38px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--eq-text);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--eq-text-sub);
}

.section-dark .section-desc {
  color: #94a3b8;
}

/* ─── 4 DISTINCT BUDGET TYPES ─── */
.budgets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .budgets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .budgets-grid {
    grid-template-columns: 1fr;
  }
}

.budget-type-card {
  background: var(--eq-surface);
  border: 1.5px solid var(--eq-border);
  border-radius: var(--eq-radius-lg);
  padding: 30px 22px;
  transition: var(--eq-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.budget-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--eq-shadow-lg);
}

.budget-type-card.personal:hover { border-color: #10b981; }
.budget-type-card.group:hover { border-color: #06b6d4; }
.budget-type-card.trip:hover { border-color: #f59e0b; }
.budget-type-card.dept:hover { border-color: #8b5cf6; }

.budget-type-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--eq-radius-full);
}

.personal .budget-type-badge { background: var(--eq-emerald-subtle); color: #047857; }
.group .budget-type-badge { background: var(--eq-cyan-subtle); color: #0284c7; }
.trip .budget-type-badge { background: var(--eq-amber-subtle); color: #b45309; }
.dept .budget-type-badge { background: var(--eq-indigo-subtle); color: #4338ca; }

.budget-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--eq-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.budget-icon.ic-personal { background: rgba(16, 185, 129, 0.12); color: #059669; }
.budget-icon.ic-group { background: rgba(6, 182, 212, 0.12); color: #0284c7; }
.budget-icon.ic-trip { background: rgba(245, 158, 11, 0.12); color: #d97706; }
.budget-icon.ic-dept { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

.budget-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--eq-text);
  margin-bottom: 8px;
}

.budget-card-desc {
  font-size: 14px;
  color: var(--eq-text-sub);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.budget-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--eq-border-light);
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eq-text);
}

.budget-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-perks-list li i {
  color: var(--eq-emerald);
  width: 14px;
  height: 14px;
}

/* ─── AI AUTO-DETECT FLOW DIAGRAM ─── */
.ai-flow-container {
  background: var(--eq-dark-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--eq-radius-xl);
  padding: 40px 30px;
  margin-top: 40px;
  color: #f8fafc;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ai-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .ai-flow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ai-step-box {
  background: #131d2f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--eq-radius-md);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: var(--eq-transition);
}

.ai-step-box:hover {
  border-color: #34d399;
  transform: translateY(-3px);
  background: #1a263c;
}

.ai-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.ai-step-box h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.ai-step-box p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* Arrow divider between steps */
.ai-step-box::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #34d399;
  font-size: 18px;
  font-weight: 800;
}

.ai-step-box:last-child::after {
  display: none;
}

@media (max-width: 900px) {
  .ai-step-box::after {
    content: "↓";
    right: 50%;
    bottom: -16px;
    top: auto;
    transform: translateX(50%);
  }
}

/* ─── EXPENSE & INCOME SPLIT SHOWCASE ─── */
.management-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .management-split-grid {
    grid-template-columns: 1fr;
  }
}

.management-card {
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  border-radius: var(--eq-radius-xl);
  padding: 36px 30px;
  box-shadow: var(--eq-shadow-md);
  display: flex;
  flex-direction: column;
}

.management-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.management-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--eq-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.management-icon.expense { background: var(--eq-rose-subtle); color: #e11d48; }
.management-icon.income { background: var(--eq-emerald-subtle); color: #059669; }

.management-card-head h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--eq-text);
}

.management-card p {
  font-size: 15px;
  color: var(--eq-text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-pill-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--eq-text);
}

.feature-pill-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-pill-list li i {
  color: var(--eq-emerald);
  width: 16px;
  height: 16px;
}

/* Sample mini UI feed inside management cards */
.sample-ui-box {
  background: var(--eq-surface-2);
  border-radius: var(--eq-radius-md);
  padding: 16px;
  margin-top: auto;
  border: 1px solid var(--eq-border);
}

.sample-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.sample-ui-row:last-child {
  margin-bottom: 0;
}

/* ─── GROUP & COLLABORATION SECTION ─── */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}

.collab-card {
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  border-radius: var(--eq-radius-lg);
  padding: 30px 24px;
  transition: var(--eq-transition);
}

.collab-card:hover {
  transform: translateY(-4px);
  border-color: var(--eq-cyan);
  box-shadow: var(--eq-shadow-lg);
}

.collab-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--eq-radius-md);
  background: var(--eq-cyan-subtle);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.collab-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--eq-text);
  margin-bottom: 8px;
}

.collab-card p {
  font-size: 14.5px;
  color: var(--eq-text-sub);
  line-height: 1.55;
  margin: 0;
}

/* ─── 12-GRID COMPREHENSIVE FEATURES ─── */
.features-12-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .features-12-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features-12-grid {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  border-radius: var(--eq-radius-lg);
  padding: 26px 22px;
  transition: var(--eq-transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--eq-emerald);
  box-shadow: var(--eq-shadow-md);
}

.feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--eq-radius-md);
  background: var(--eq-surface-2);
  color: var(--eq-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--eq-transition);
}

.feature-box:hover .feature-box-icon {
  background: var(--eq-emerald);
  color: #ffffff;
}

.feature-box h4 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--eq-text);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: var(--eq-text-sub);
  line-height: 1.55;
  margin: 0;
}

/* ─── SECURITY & COMPLIANCE SECTION ─── */
.security-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .security-banner-grid {
    grid-template-columns: 1fr;
  }
}

.sec-feature-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--eq-radius-lg);
  padding: 26px 20px;
  transition: var(--eq-transition);
}

.sec-feature-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #34d399;
}

.sec-feature-box i {
  color: #34d399;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}

.sec-feature-box h4 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.sec-feature-box p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ─── INTERACTIVE FAQ ACCORDION ─── */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--eq-surface);
  border: 1px solid var(--eq-border);
  border-radius: var(--eq-radius-md);
  overflow: hidden;
  transition: var(--eq-transition);
}

.faq-item.active {
  border-color: var(--eq-emerald);
  box-shadow: var(--eq-shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--eq-text);
}

.faq-question i {
  color: var(--eq-text-muted);
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--eq-emerald);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--eq-text-sub);
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── HIGH IMPACT CTA BANNER ─── */
.cta-section {
  padding: 90px 0;
  background: radial-gradient(circle at center, #0f172a 0%, #090d16 100%);
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--eq-radius-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
              0 0 60px rgba(16, 185, 129, 0.15);
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.cta-box p {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 36px;
}

.cta-box .hero-actions {
  margin-bottom: 24px;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}

.cta-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-guarantee i {
  color: #34d399;
}



/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .cta-box h2 {
    font-size: 32px;
  }
  .cta-box {
    padding: 40px 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
}
