/* ─── Design Tokens ─── */
:root {
  color-scheme: dark;
  --bg: #07130f;
  --bg-alt: #0a1a14;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-hover: rgba(255, 255, 255, 0.16);
  --text: #f6fbf7;
  --text-secondary: #c4d8ce;
  --muted: #9eb2a9;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --brand: #5ff2a0;
  --brand-strong: #14c8a8;
  --brand-glow: rgba(95, 242, 160, 0.15);
  --brand-glow-strong: rgba(95, 242, 160, 0.25);
  --gold: #f7c76b;
  --rose: #ff7a8a;
  --blue: #67b7ff;
  --purple: #a78bfa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-brand: 0 16px 44px rgba(20, 200, 168, 0.24);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  font-family: "Inter", "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f8f4;
  --bg-alt: #eef0ea;
  --surface: rgba(6, 25, 19, 0.05);
  --surface-strong: rgba(6, 25, 19, 0.09);
  --surface-hover: rgba(6, 25, 19, 0.13);
  --text: #07130f;
  --text-secondary: #2a3d34;
  --muted: #53645c;
  --line: rgba(6, 25, 19, 0.10);
  --line-strong: rgba(6, 25, 19, 0.18);
  --brand-glow: rgba(20, 200, 168, 0.10);
  --brand-glow-strong: rgba(20, 200, 168, 0.18);
  --shadow: 0 24px 70px rgba(40, 52, 48, 0.12);
  --shadow-brand: 0 16px 44px rgba(20, 200, 168, 0.16);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 18% 8%, rgba(95, 242, 160, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 82% 14%, rgba(103, 183, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 50% 96%, rgba(167, 139, 250, 0.06), transparent),
    linear-gradient(175deg, var(--bg) 0%, #0e1a17 50%, #12100c 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(ellipse 80% 50% at 18% 8%, rgba(95, 242, 160, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 82% 14%, rgba(103, 183, 255, 0.06), transparent),
    linear-gradient(175deg, var(--bg) 0%, #eef1eb 50%, #f5f0e8 100%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ─── Shell ─── */
.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

/* ─── Topbar ─── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  height: 68px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}

.topbar-container {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand,
.topbar-actions,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.02em;
}

.brand-mark,
.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: all 0.2s ease;
}

.icon-button:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
  transition: width 0.25s ease;
}

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

.topbar-actions {
  gap: 10px;
}

.icon-button,
.primary-action,
.secondary-action {
  cursor: pointer;
}

.icon-button {
  color: var(--text);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  transition: all 0.25s ease;
}

.primary-action {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #04120d;
  box-shadow: var(--shadow-brand);
  border: none;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(20, 200, 168, 0.32);
}

.secondary-action {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.secondary-action:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
}

.large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
  border-radius: var(--radius);
}

.menu-button {
  display: none;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 12px;
  z-index: 40;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  padding: 28px;
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.95);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
}

.mobile-menu a {
  font-size: 26px;
  font-weight: 760;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--brand);
}

.close-button {
  position: absolute;
  right: 18px;
  top: 18px;
}

/* ─── Hero ─── */
.hero-section {
  display: grid;
  min-height: 94vh;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 54px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 56px;
  perspective: 1000px;
}

.hero-copy-wrapper {
  overflow: visible;
}

.hero-copy h1 {
  margin: 16px 0;
  max-width: 620px;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-copy p,
.section-copy,
.demo-band p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 560px;
  font-size: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
}

/* ─── Dashboard Preview ─── */
.hero-dashboard,
.invoice-preview,
.phone-screen {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-strong), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-dashboard {
  padding: 18px;
  transform-style: preserve-3d;
}

.dashboard-top,
.invoice-row,
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-top {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

.dashboard-top strong {
  color: var(--brand);
}

.metric-grid,
.module-grid {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.module-card,
.payment-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: all 0.25s ease;
}

.metric-card {
  padding: 16px;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 28px;
  font-family: "Outfit", sans-serif;
}

.cashflow-panel {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
}

.cashflow-panel span {
  color: var(--muted);
  font-size: 13px;
}

.cashflow-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-family: "Outfit", sans-serif;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 120px;
}

.bar-chart span {
  flex: 1;
  min-width: 14px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--brand-strong));
  transition: height 0.6s ease;
}

/* ─── Stats Band ─── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.stats-band span {
  display: grid;
  gap: 4px;
  min-height: 96px;
  align-content: center;
  padding: 20px 24px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  color: var(--muted);
  font-size: 14px;
}

.stats-band strong {
  color: var(--text);
  font-size: 26px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

/* ─── Sections ─── */
.section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

.section-heading {
  display: grid;
  max-width: 820px;
  gap: 16px;
  margin-bottom: 42px;
}

.center-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2,
.demo-band h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ─── Feature Module Grid ─── */
.module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.module-card:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(95, 242, 160, 0.08);
}

.module-icon-wrap {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-glow);
  color: var(--brand);
  margin-bottom: 14px;
}

.module-card h3,
.timeline h3,
.phone-screen h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.module-card p,
.timeline p,
.phone-screen p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.featured-card {
  border-color: var(--brand-glow-strong);
  background: linear-gradient(145deg, var(--brand-glow), var(--surface));
}

.new-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  color: #04120d;
  background: var(--brand);
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── AI Spotlight ─── */
.ai-spotlight {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--brand-glow) 0%, transparent 60%);
}

.ai-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.ai-copy .section-copy {
  margin-bottom: 24px;
}

.ai-features-list {
  display: grid;
  gap: 14px;
}

.ai-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.ai-features-list li svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* AI Chat Preview */
.ai-chat-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  font-size: 14px;
}

.chat-header svg {
  color: var(--brand);
}

.chat-header small {
  margin-left: auto;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.chat-messages {
  padding: 16px 20px;
  display: grid;
  gap: 14px;
  max-height: 360px;
  overflow-y: auto;
}

.chat-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  font-size: 14px;
  line-height: 1.6;
}

.chat-msg.user {
  justify-self: end;
  background: var(--brand);
  color: #04120d;
  border-radius: var(--radius) var(--radius) 4px var(--radius);
  font-weight: 500;
}

.chat-msg.ai {
  background: var(--surface);
  border: 1px solid var(--line);
}

.chat-msg.ai p {
  color: var(--text-secondary);
}

.chat-link {
  color: var(--brand) !important;
  font-weight: 600;
}

.chat-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.chat-input-bar svg {
  color: var(--brand);
}

/* ─── Gate Pass ─── */
.gatepass-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.gatepass-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: all 0.25s ease;
}

.gatepass-card:hover {
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--brand));
  color: #04120d;
  font-size: 18px;
  font-weight: 900;
  font-family: "Outfit", sans-serif;
  margin-bottom: 16px;
}

.gatepass-card h3 {
  margin: 0 0 10px;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.gatepass-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  z-index: 2;
}

/* ─── Split Sections ─── */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 54px;
}

.reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.invoice-preview {
  padding: 12px;
}

.invoice-row {
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
}

.invoice-row:last-child {
  border-bottom: 0;
}

.invoice-row span {
  color: var(--muted);
}

.invoice-row.total {
  color: var(--brand);
  font-size: 22px;
}

.payment-stack {
  display: grid;
  gap: 12px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 18px;
  font-weight: 650;
  font-size: 15px;
}

.payment-card:nth-child(2) {
  transform: translateX(34px);
}

.payment-card svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── Timeline ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 220px;
  padding: 22px;
}

.timeline svg {
  color: var(--brand);
}

/* ─── Mobile Showcase ─── */
.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 70px;
}

.phone-frame {
  display: grid;
  justify-items: center;
  perspective: 900px;
}

.phone-screen {
  width: 300px;
  min-height: 580px;
  padding: 22px;
  transform: rotateY(-10deg) rotateX(4deg);
  border-radius: var(--radius-lg);
}

.phone-status {
  color: var(--muted);
  font-size: 14px;
}

.due-card {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brand), var(--blue));
  color: #06110d;
  padding: 18px;
}

.due-card strong {
  font-size: 32px;
  font-family: "Outfit", sans-serif;
}

.due-card button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #06110d;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.due-card button:hover {
  opacity: 0.9;
}

.phone-list {
  display: grid;
  gap: 10px;
}

.phone-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ─── Pricing ─── */
.pricing-section {
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.pricing-highlighted {
  border-color: var(--brand);
  background: linear-gradient(170deg, var(--brand-glow-strong), var(--surface));
  box-shadow: 0 0 60px var(--brand-glow);
  transform: scale(1.03);
}

.pricing-highlighted:hover {
  transform: scale(1.03) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 800;
  color: #04120d;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.pricing-amount strong {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pricing-amount span {
  color: var(--muted);
  font-size: 15px;
}

.pricing-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

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

.pricing-features li svg {
  color: var(--brand);
  flex-shrink: 0;
}

.pricing-card .primary-action,
.pricing-card .secondary-action {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ─── Testimonials ─── */
.testimonials-section {
  border-top: 1px solid var(--line);
}

.testimonial-carousel {
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-slides {
  position: relative;
  min-height: 310px;
}

.testimonial-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  text-align: center;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--gold);
}

.testimonial-stars svg {
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--blue));
  color: #04120d;
  font-weight: 900;
  font-size: 20px;
  font-family: "Outfit", sans-serif;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.dot.active {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.3);
}

/* ─── FAQ ─── */
.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-open {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand);
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-chevron.rotated {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ─── Enquiry Form ─── */
.enquiry-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, var(--brand-glow) 100%);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.enquiry-info h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin: 12px 0 16px;
  line-height: 1.1;
}

.enquiry-benefits {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.enquiry-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.enquiry-benefits li svg {
  color: var(--brand);
  flex-shrink: 0;
}

.enquiry-contact-cards {
  display: grid;
  gap: 10px;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.contact-mini-card svg {
  color: var(--brand);
  flex-shrink: 0;
}

.contact-mini-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.contact-mini-card strong {
  font-size: 14px;
}

/* Form */
.enquiry-form-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.enquiry-form {
  padding: 32px;
  display: grid;
  gap: 18px;
}

.enquiry-form h3 {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.input-wrap svg {
  color: var(--muted);
  flex-shrink: 0;
}

.input-wrap input,
.input-wrap select {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  min-height: 44px;
}

.input-wrap select {
  cursor: pointer;
}

.input-wrap select option {
  background: var(--bg);
  color: var(--text);
}

.form-field textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  margin-top: 4px;
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.form-error {
  padding: 12px 16px;
  border: 1px solid var(--rose);
  border-radius: var(--radius-sm);
  background: rgba(255, 122, 138, 0.1);
}

.form-error p {
  color: var(--rose);
  font-size: 14px;
  margin: 0;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Success State */
.form-success {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 64px 32px;
  text-align: center;
}

.form-success svg {
  color: var(--brand);
}

.form-success h3 {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.form-success p {
  color: var(--muted);
  max-width: 340px;
  line-height: 1.6;
}

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 340px;
}

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

.footer-links-group h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-links-group a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 13px;
}

.footer-seo-text {
  font-size: 11px !important;
  opacity: 0.5;
}

/* ─── Lucide Icons Sizing ─── */
.lucide,
svg {
  stroke-width: 2px;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}
.primary-action svg,
.secondary-action svg {
  width: 16px;
  height: 16px;
}
.large svg {
  width: 18px;
  height: 18px;
}
.module-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.chat-header svg {
  width: 18px;
  height: 18px;
}
.chat-input-bar svg {
  width: 16px;
  height: 16px;
}
.step-arrow {
  width: 24px;
  height: 24px;
}
.timeline svg {
  width: 20px;
  height: 20px;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.contact-mini-card svg {
  width: 18px;
  height: 18px;
}
.input-wrap svg {
  width: 16px;
  height: 16px;
}

/* ─── Scroll reveal animations (whileInView replacement) ─── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Entrance Animations */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashboardFadeIn {
  from {
    opacity: 0;
    transform: translateY(42px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.hero-copy {
  animation: heroFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-dashboard {
  animation: dashboardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
  opacity: 0;
}

/* ─── Testimonials Carousel Transitions ─── */
.testimonial-carousel {
  position: relative;
  min-height: 280px;
}

.testimonial-slides {
  position: relative;
  width: 100%;
}

.testimonial-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-slide.exit {
  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;
}

/* ─── Utility classes ─── */
.hidden {
  display: none !important;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .module-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gatepass-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-arrow {
    display: none;
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 6vw, 84px);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .topbar .primary-action {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero-section,
  .mobile-showcase {
    grid-template-columns: 1fr;
  }

  .split-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .split-section.reverse {
    flex-direction: column-reverse;
  }

  .hero-section {
    padding-top: 118px;
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 7vw, 68px);
  }

  .timeline,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-card:nth-child(2) {
    transform: none;
  }

  .pricing-highlighted {
    transform: none;
  }

  .pricing-highlighted:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .hero-section {
    padding: 96px 0 40px;
  }

  .enquiry-form {
    padding: 24px 20px;
    gap: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-mini-card {
    padding: 12px 14px;
    gap: 10px;
  }

  .contact-mini-card strong {
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .hero-section,
  .section {
    width: min(100% - 24px, 1200px);
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .metric-grid,
  .module-grid,
  .timeline,
  .stats-band,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cashflow-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .phone-screen {
    width: min(300px, 100%);
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .brand span:not(.brand-mark) {
    display: none;
  }
}
