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

:root,
[data-theme="day"] {
  --bg: #FAF8F3;
  --bg-2: #F4EFE6;
  --bg-3: #ECE5D8;
  --surface: #FFFFFF;
  --surface-2: #FAF8F3;
  --surface-3: #F3EFE8;
  --border: #EAE5DC;
  --border-bright: #D8D0C3;
  --line: #F3EFE8;
  --line-2: #EAE5DC;
  --text: #141312;
  --text-muted: #6B6259;
  --text-dim: #8C8378;
  --text-subtle: #A79E92;

  --accent: #E2622B;
  --accent-on: #FFFFFF;
  --accent-text: #B8431A;
  --accent-tint: #FCEBE0;
  --accent-edge: rgba(226, 98, 43, 0.28);
  --accent-label: #A83C18;
  --accent-gradient: linear-gradient(135deg, #F14943 0%, #F36C2B 100%);

  --glow-1: rgba(252, 235, 224, 0.95);
  --glow-2: rgba(246, 160, 92, 0.35);
  --shadow: 0 4px 20px rgba(20, 19, 18, 0.05);
  --shadow-lg: 0 24px 48px -18px rgba(20, 19, 18, 0.14), 0 2px 8px rgba(20, 19, 18, 0.04);
  --nav-bg: rgba(250, 248, 243, 0.88);
  --card-glow: rgba(226, 98, 43, 0.08);
  --cursor-color: #E2622B;
  --cursor-border: rgba(226, 98, 43, 0.45);
  --banner-bg: linear-gradient(135deg, #FAF8F3 0%, #FCEBE0 50%, #FAF8F3 100%);
  --cta-heading: #141312;
  --cta-sub: #6B6259;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="night"] {
  --bg: #141312;
  --bg-2: #1A1614;
  --bg-3: #1F1B18;
  --surface: #1F1B18;
  --surface-2: #28231E;
  --surface-3: #322B25;
  --border: #322B25;
  --border-bright: #453B34;
  --line: #322B25;
  --line-2: #322B25;
  --text: #FAF8F3;
  --text-muted: #A79E92;
  --text-dim: rgba(167, 158, 146, 0.65);
  --text-subtle: #6B6259;

  --accent: #E2622B;
  --accent-on: #FFFFFF;
  --accent-text: #FCEBE0;
  --accent-tint: rgba(226, 98, 43, 0.22);
  --accent-edge: rgba(226, 98, 43, 0.55);
  --accent-label: #FCEBE0;
  --accent-gradient: linear-gradient(135deg, #F14943 0%, #F36C2B 100%);

  --glow-1: rgba(226, 98, 43, 0.26);
  --glow-2: rgba(226, 98, 43, 0.14);
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.7);
  --nav-bg: rgba(20, 19, 18, 0.88);
  --card-glow: rgba(226, 98, 43, 0.2);
  --cursor-color: #F6A05C;
  --cursor-border: rgba(246, 160, 92, 0.5);
  --banner-bg: linear-gradient(135deg, #141312 0%, #1F1B18 50%, #141312 100%);
  --cta-heading: #FAF8F3;
  --cta-sub: #A79E92;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

body.has-custom-cursor {
  cursor: none;
}

body.loading { overflow: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

/* ── Custom Cursor ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--cursor-color);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s, width 0.2s, height 0.2s;
  mix-blend-mode: normal;
  box-shadow: 0 0 10px var(--cursor-color);
}

.cursor-follower {
  width: 32px; height: 32px;
  border: 1.5px solid var(--cursor-border);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor { transform: translate(-50%, -50%) scale(1.4); }
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower { width: 48px; height: 48px; border-color: var(--accent); background: var(--accent-tint); opacity: 0.4; }

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.loader__c-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(254, 53, 45, 0.6));
  animation: pulseLogo 1.6s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 32px rgba(254, 53, 45, 0.9)); }
}

.loader__wordmark { opacity: 0; }

.loader__bar {
  width: 200px;
  height: 3px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
}

.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 100px;
}

/* ── Typography ── */
.gradient-text {
  background: linear-gradient(135deg, #F14943 0%, #E2622B 50%, #F6A05C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: none;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 6px 24px rgba(226, 98, 43, 0.32);
}
.btn--primary:hover {
  box-shadow: 0 10px 32px rgba(226, 98, 43, 0.44);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.btn--ghost:hover {
  color: var(--accent-text);
  border-color: var(--accent);
  background: var(--surface-2);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-bright);
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--accent); }

.btn--white { background: #fff; color: #141312; font-weight: 700; box-shadow: var(--shadow); }
.btn--white:hover { background: var(--surface-2); }

.btn--ghost-white {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost-white:hover { background: var(--surface-2); border-color: var(--accent); }

.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav__logo-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.footer__logo-img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.nav__logo:hover .nav__logo-img,
.footer__logo:hover .footer__logo-img {
  transform: scale(1.03);
}

/* Light / Day mode: show light logo, hide dark logo */
.nav__logo-img--light,
.footer__logo-img--light {
  display: block !important;
}

.nav__logo-img--dark,
.footer__logo-img--dark {
  display: none !important;
}

/* Night / Dark mode: hide light logo, show dark logo */
[data-theme="night"] .nav__logo-img--light,
[data-theme="night"] .footer__logo-img--light {
  display: none !important;
}

[data-theme="night"] .nav__logo-img--dark,
[data-theme="night"] .footer__logo-img--dark {
  display: block !important;
}

/* ── Theme Button ── */
.cey-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 5px 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all var(--transition);
}

.cey-theme-btn:hover {
  border-color: var(--accent);
  background: var(--surface-2);
}

.cey-theme-glyph {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.nav__links { display: flex; list-style: none; gap: 2px; margin-left: auto; }

.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: none;
}
.nav__links a:hover { color: var(--accent-text); background: var(--surface-2); }

.nav__cta { display: flex; align-items: center; gap: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.nav__hamburger:hover {
  background: var(--surface-2);
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 80%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  top: -250px; right: -150px;
  opacity: 0.8;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  bottom: 50px; left: -150px;
  opacity: 0.7;
}
.hero__orb--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(246,160,92,0.2) 0%, transparent 70%);
  top: 40%; left: 40%;
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px 60px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399, 0 0 20px rgba(52,211,153,0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin-bottom: 22px;
}

.hero__title-line { display: block; overflow: hidden; }

.hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.hero__stats { display: flex; align-items: center; gap: 28px; }
.stat__num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.stat__label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.stat__divider { width: 1px; height: 36px; background: var(--border-bright); }

/* ── Device Mockup ── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.device-mockup {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.device-mockup__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--card-glow) 0%, transparent 70%);
  pointer-events: none;
}

.device-mockup__tablet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-edge);
  position: relative;
}

.pos-screen {
  background: var(--bg-2);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
}

.pos-screen__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 11px;
}

.pos-brand-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--text);
}

.pos-mini-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(254, 53, 45, 0.5));
}

.pos-screen__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-tint);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--accent-edge);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 6px #34d399;
  animation: liveBlink 1.8s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.phone-header__logo {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(254, 53, 45, 0.5));
}

.pos-header { margin-bottom: 20px; }
.pos-header__title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.pos-header__amount {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pos-header__sub { font-size: 12px; color: #10b981; font-weight: 600; margin-top: 2px; }

.pos-items { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }

.pos-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--surface);
  border-radius: 9px;
  font-size: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pos-item:hover { border-color: var(--accent); }
.pos-item--highlight {
  background: var(--accent-tint);
  border-color: var(--accent-edge);
  color: var(--accent-text);
}

.pos-item__name { flex: 1; font-weight: 500; }
.pos-item__qty { color: var(--text-muted); font-size: 11px; }
.pos-item__price { font-weight: 700; font-size: 12px; }

.pos-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 12px;
  color: var(--text);
}

.pos-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }

.pos-btn {
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: none;
  border: none;
  transition: all var(--transition);
}
.pos-btn--outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
}
.pos-btn--solid {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(226, 98, 43, 0.35);
}

.pos-bar { height: 3px; background: var(--surface-3); border-radius: 100px; overflow: hidden; }
.pos-bar__fill {
  height: 100%;
  width: 65%;
  background: var(--accent-gradient);
  border-radius: 100px;
  animation: barPulse 3s ease-in-out infinite alternate;
}
@keyframes barPulse { from { width: 40%; } to { width: 88%; } }

.device-mockup__phone {
  position: absolute;
  right: -68px; bottom: -20px;
  width: 144px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  margin-bottom: 10px;
}

.chart-bar {
  flex: 1;
  background: var(--surface-3);
  border-radius: 4px 4px 0 0;
  height: var(--h);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chart-bar--active {
  background: var(--accent-gradient);
  box-shadow: 0 0 12px rgba(226, 98, 43, 0.45);
}

.phone-metrics { display: flex; gap: 6px; }
.phone-metric {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px;
  text-align: center;
}
.phone-metric__val { display: block; font-size: 12px; font-weight: 800; color: var(--text); }
.phone-metric__label { display: block; font-size: 9px; color: var(--text-muted); margin-top: 1px; }

.device-mockup__notification {
  position: absolute;
  top: -18px; left: -48px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.device-mockup__badge {
  position: absolute;
  bottom: 60px; left: -52px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.notif-title { font-weight: 700; font-size: 12px; margin-bottom: 1px; }
.notif-sub { color: var(--text-muted); font-size: 10px; }

/* ── Trusted ── */
.trusted {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.trusted__label {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.trusted__logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 36px;
}
.trusted__logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}
.trusted__logo:hover { color: var(--accent-text); }

/* ── Interactive Feature Studio ── */
.features-studio {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.studio-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-bright) transparent;
  -webkit-overflow-scrolling: touch;
}

.studio-nav::-webkit-scrollbar {
  height: 4px;
}
.studio-nav::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 4px;
}

.studio-tab-btn {
  flex: 1;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  color: var(--text);
  box-shadow: var(--shadow);
  user-select: none;
}

.studio-tab-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.studio-tab-btn.active {
  background: var(--panel);
  border-color: var(--accent);
  box-shadow: 0 8px 24px -6px rgba(226, 98, 43, 0.25), var(--shadow);
  border-width: 2px;
}

.studio-tab-btn__icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  flex-shrink: 0;
  transition: all var(--transition);
}

.studio-tab-btn.active .studio-tab-btn__icon {
  background: var(--accent-tint);
  transform: scale(1.05);
}

.studio-tab-btn__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.studio-tab-btn__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.studio-tab-btn__sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.2;
}

.studio-tab-btn.active .studio-tab-btn__title {
  color: var(--accent-text);
}

/* Studio Stage */
.studio-stage {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.studio-stage::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.studio-pane {
  display: none;
}

.studio-pane.active {
  display: block;
  animation: studioFadeIn 0.35s ease;
}

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

.studio-pane__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

/* Studio Content Side */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-tint);
  color: var(--accent-text);
  border: 1px solid var(--accent-edge);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.studio-badge--emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.studio-badge--purple {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.25);
}

.studio-badge--orange {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.studio-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 14px;
}

.studio-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.studio-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.studio-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
}

.studio-feature-item__icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.studio-feature-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.studio-feature-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.studio-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.studio-callout__icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Interactive Simulator Terminal */
.sim-terminal {
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.12), var(--shadow);
  position: relative;
  overflow: hidden;
}

.sim-terminal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sim-terminal__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.sim-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.sim-terminal__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* Quick Tap Items */
.sim-quick-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sim-quick-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-item-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}

.sim-item-btn:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  transform: translateY(-2px);
}

.sim-item-btn strong {
  font-size: 11px;
  color: var(--accent-text);
}

/* Simulator Cart */
.sim-cart {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
  min-height: 80px;
  max-height: 120px;
  overflow-y: auto;
}

.sim-cart-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text);
  padding: 2px 0;
}

.sim-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sim-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.sim-summary-row--total {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}

.sim-total-amount {
  font-size: 18px;
  color: var(--accent-text);
  font-weight: 900;
}

.sim-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.sim-pay-btn {
  flex: 1;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.sim-pay-btn.active {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-text);
}

.sim-checkout-btn {
  width: 100%;
  padding: 12px 18px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 98, 43, 0.4);
  transition: all 0.2s;
}

.sim-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(226, 98, 43, 0.5);
}

/* Simulated Thermal Receipt Slip */
.sim-receipt {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px dashed #d1d5db;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 16px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  margin-top: 14px;
  display: none;
  animation: receiptRollout 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes receiptRollout {
  from { opacity: 0; transform: translateY(-20px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 400px; }
}

.sim-receipt__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.sim-receipt__header strong {
  font-size: 12px;
  letter-spacing: 0.05em;
}

.sim-receipt__divider {
  overflow: hidden;
  white-space: nowrap;
  color: #9ca3af;
  margin: 6px 0;
}

.sim-receipt__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-receipt__total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 900;
  margin-top: 6px;
}

.sim-receipt__footer {
  text-align: center;
  margin-top: 10px;
  font-size: 10px;
  color: #4b5563;
}

.sim-receipt__barcode {
  letter-spacing: 2px;
  margin-top: 4px;
  font-weight: bold;
}

/* Inventory Simulator Elements */
.sim-stock-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sim-stock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.sim-stock-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.sim-stock-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.sim-stock-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-stock-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
}

.sim-stock-pill--low {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.sim-stock-pill--ok {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.sim-stock-pill--warn {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.sim-reorder-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-reorder-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.sim-po-toast {
  background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  animation: studioFadeIn 0.3s ease;
}

.sim-po-toast__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.sim-po-check {
  width: 24px;
  height: 24px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.sim-po-toast__top strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.sim-po-toast__top span {
  font-size: 11px;
  color: var(--text-muted);
}

.sim-po-toast__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--accent-text);
  font-weight: 600;
  border-top: 1px solid var(--accent-edge);
  padding-top: 6px;
  margin-top: 6px;
}

.sim-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.sim-metric-cell span {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
}

.sim-metric-cell strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin-top: 2px;
}

/* LankaPay & Dynamic QR Simulator */
.sim-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sim-qr-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  width: 100%;
}

.sim-qr-code {
  position: relative;
  background: #ffffff;
  color: #141312;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.sim-qr-logo {
  position: absolute;
  background: #d97706;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  padding: 2px 4px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.sim-qr-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-qr-bill-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.sim-qr-amount {
  font-size: 24px;
  color: var(--accent-text);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sim-qr-timer {
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
}

.sim-qr-verified {
  width: 100%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: studioFadeIn 0.3s ease;
}

.sim-verified-icon {
  width: 40px;
  height: 40px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.sim-qr-verified strong {
  font-size: 16px;
  color: #10b981;
}

.sim-qr-verified span {
  font-size: 12.5px;
  color: var(--text);
}

.sim-ref-code {
  font-size: 11px !important;
  color: var(--text-muted) !important;
  font-family: monospace;
}

.sim-qr-action {
  width: 100%;
}

.sim-scan-test-btn {
  width: 100%;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-scan-test-btn:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-text);
}

.sim-banks-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 10.5px;
  color: var(--text-muted);
  justify-content: center;
  align-items: center;
}

.sim-banks-strip span:not(:first-child) {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* Customer Credit (Naya) Simulator */
.sim-credit-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-credit-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-customer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-customer-meta strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.sim-customer-meta span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.sim-customer-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

.sim-credit-gauge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.sim-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sim-gauge-labels strong {
  color: var(--text);
}

.sim-gauge-track {
  height: 8px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sim-gauge-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 100px;
}

.sim-gauge-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.sim-credit-logs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-log-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}

.sim-whatsapp-btn {
  width: 100%;
  padding: 12px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s;
}

.sim-whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.sim-whatsapp-toast {
  margin-top: 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  animation: studioFadeIn 0.3s ease;
}

/* Hardware Freedom Simulator */
.sim-hardware-rack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.sim-device-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

.sim-device-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-device-icon {
  font-size: 20px;
}

.sim-device-status strong {
  display: block;
  font-size: 12.5px;
  color: var(--text);
}

.sim-device-status span {
  font-size: 11px;
  color: var(--text-muted);
}

.sim-device-state {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
}

.sim-pill--online {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.sim-hw-btn {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.sim-hw-btn:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.sim-hw-val {
  font-family: monospace;
  font-size: 11.5px;
  color: var(--accent-text);
  font-weight: 700;
}

.sim-hw-feedback {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

/* Asymmetric Capability Spec Ribbon */
.spec-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 36px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.spec-ribbon__item {
  display: flex;
  flex-direction: column;
}

.spec-ribbon__val {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent-text);
  line-height: 1;
  margin-bottom: 8px;
}

.spec-ribbon__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.spec-ribbon__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.spec-ribbon__divider {
  display: none;
}

.payment-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-logo {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
}
.pay-logo:hover { color: var(--accent-text); border-color: var(--accent); }

/* ── Marquee ── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-track { overflow: hidden; white-space: nowrap; }

.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.marquee-inner span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--accent) !important;
  font-size: 8px !important;
  padding: 0 !important;
}

/* ── How It Works ── */
.how {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps { display: flex; align-items: stretch; gap: 0; }

.step {
  flex: 1;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--card-glow);
}

.step__connector {
  width: 40px;
  align-self: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__connector::after {
  content: '→';
  color: var(--text-dim);
  font-size: 18px;
}

.step__num {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--accent-edge);
}

.step__content h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; color: var(--text); }
.step__content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Testimonials ── */
.testimonials { background: var(--bg); }

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

.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.tcard--featured {
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 16px 40px rgba(226,98,43,0.12);
}

.tcard__stars { color: #f59e0b; font-size: 14px; letter-spacing: 3px; margin-bottom: 18px; }
.tcard__quote { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 22px; font-style: italic; }
.tcard__author { display: flex; align-items: center; gap: 12px; }
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tcard__name { font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.tcard__role { font-size: 12px; color: var(--text-muted); }

/* ── Pricing ── */
.pricing {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.toggle { position: relative; display: inline-block; width: 50px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--surface-3);
  border-radius: 100px;
  cursor: none;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; bottom: 3px;
  background: var(--text-dim);
  border-radius: 50%;
  transition: all var(--transition);
}
input:checked + .toggle__slider { background: var(--accent); border-color: var(--accent); }
input:checked + .toggle__slider::before { transform: translateX(22px); background: #fff; }

.save-badge {
  background: var(--accent-tint);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 4px;
  border: 1px solid var(--accent-edge);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured {
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 16px 44px -10px rgba(226,98,43,0.22);
}

.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(226,98,43,0.4);
}

.plan__name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.plan__price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 14px; }
.plan__currency { font-size: 15px; font-weight: 700; color: var(--text-muted); margin-right: 2px; }
.plan__amount {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}
.plan__period { font-size: 13px; color: var(--text-muted); }

.plan__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan__features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan__features li { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; }
.plan__features li::first-letter { color: var(--accent); }

.plan__cta { width: 100%; justify-content: center; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--banner-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.cta-banner__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  top: -250px; left: -100px;
  opacity: 0.7;
}
.cta-banner__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  bottom: -250px; right: -100px;
  opacity: 0.6;
}
.cta-banner__inner { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  color: var(--cta-heading);
}
.cta-banner p {
  font-size: 17px;
  color: var(--cta-sub);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.app-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  cursor: none;
}
.app-badge:hover { border-color: var(--accent); color: var(--accent-text); background: var(--surface-2); }

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 22px;
  max-width: 240px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  cursor: none;
}
.footer__social a:hover { background: var(--surface-2); color: var(--accent-text); border-color: var(--accent); }

.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); margin-bottom: 6px; }
.footer__col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); cursor: none; }
.footer__col a:hover { color: var(--accent-text); }

.footer__bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Magnetic button ── */
.mag-btn { display: inline-flex; transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); }

/* ── App Badge Coming Soon ── */
.app-badge--soon {
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.app-badge__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-badge__tag {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  line-height: 1.2;
}

.app-badge__store {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ── Interactive Roadmap Tree ── */
.roadmap-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.roadmap-meter {
  max-width: 680px;
  margin: 0 auto 52px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.roadmap-meter__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.roadmap-meter__percentage {
  color: var(--accent-text);
  font-size: 13.5px;
  font-family: Consolas, monospace;
}

.roadmap-meter__track {
  height: 8px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 16px;
}

.roadmap-meter__fill {
  height: 100%;
  width: 65%;
  background: var(--accent-gradient);
  border-radius: 100px;
  transition: width 1s ease;
}

.roadmap-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap-filter-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.roadmap-filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.roadmap-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Tree Structure */
.tree-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 0;
}

/* Central Trunk */
.tree-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-edge) 75%, var(--border) 100%);
  transform: translateX(-50%);
  border-radius: 4px;
}

.tree-item {
  position: relative;
  margin-bottom: 48px;
  width: 50%;
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tree-item:nth-child(odd) {
  left: 0;
  padding-right: 48px;
  text-align: right;
}

.tree-item:nth-child(even) {
  left: 50%;
  padding-left: 48px;
  text-align: left;
}

/* Glowing Trunk Node */
.tree-node {
  position: absolute;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg), var(--shadow);
  transition: all var(--transition);
}

.tree-item:nth-child(odd) .tree-node {
  right: -19px;
}

.tree-item:nth-child(even) .tree-node {
  left: -19px;
}

/* Node Status Modifiers */
.tree-node--done {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
}

.tree-node--active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 0 0 4px var(--bg), 0 0 20px rgba(226, 98, 43, 0.6);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(226, 98, 43, 0.4); }
  50% { box-shadow: 0 0 0 6px var(--bg), 0 0 26px rgba(226, 98, 43, 0.85); }
}

.tree-node--upcoming {
  border-color: var(--border-bright);
  color: var(--text-dim);
}

/* Branch Card */
.tree-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  text-align: left;
  cursor: pointer;
}

.tree-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 24px var(--card-glow);
}

.tree-card--active {
  border: 2px solid var(--accent);
  box-shadow: 0 16px 40px -10px rgba(226, 98, 43, 0.25);
}

.tree-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tree-card__phase {
  font-family: Consolas, "Courier New", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
}

.tree-card__phase--done {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tree-card__phase--active {
  background: var(--accent-tint);
  color: var(--accent-text);
  border: 1px solid var(--accent-edge);
}

.tree-card__phase--upcoming {
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.tree-card__date {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.tree-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tree-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.tree-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.tree-card__features li {
  font-size: 12.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tree-card__features li.checked::before {
  content: '✓';
  color: #10b981;
  font-weight: 900;
}

.tree-card__features li.in-progress::before {
  content: '●';
  color: var(--accent);
  font-size: 10px;
}

.tree-card__features li.planned::before {
  content: '○';
  color: var(--text-dim);
  font-size: 10px;
}

/* ── Interactive Resilience Hub & Stress Sandbox ── */
.resilience-hub {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.stress-console {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.stress-console::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* Stress Mode Switcher */
.stress-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.stress-btn {
  flex: 1;
  min-width: 220px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  color: var(--text);
  box-shadow: var(--shadow);
  user-select: none;
}

.stress-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.stress-btn.active {
  background: var(--panel);
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 8px 24px -6px rgba(226, 98, 43, 0.25), var(--shadow);
}

.stress-btn__icon {
  font-size: 24px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.stress-btn.active .stress-btn__icon {
  background: var(--accent-tint);
  transform: scale(1.05);
}

.stress-btn__text strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.2;
}

.stress-btn.active .stress-btn__text strong {
  color: var(--accent-text);
}

.stress-btn__text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.2;
}

/* Stress Comparison Arena */
.stress-arena {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}

/* Side A: Legacy Desktop POS */
.stress-col--legacy {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.stress-col__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.stress-col__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stress-col__pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
}

.stress-col__pill--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.stress-col__pill--success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Legacy Screen States */
.legacy-screen {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 12px;
  padding: 20px;
  color: #f1f5f9;
  font-family: monospace;
  font-size: 12px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
}

.legacy-screen--blackout {
  background: #09090b !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  text-align: center;
}

.legacy-screen--offline {
  background: #1c1917 !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  text-align: center;
}

.legacy-status-msg {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Side B: Ceypos Resilient Engine */
.stress-col--ceypos {
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px -10px rgba(226, 98, 43, 0.25);
  display: flex;
  flex-direction: column;
  position: relative;
}

.ceypos-live-screen {
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  padding: 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.ceypos-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.ceypos-metric-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.ceypos-metric-box span {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

.ceypos-metric-box strong {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-top: 2px;
}

.ceypos-live-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.stress-action-strip {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.stress-test-btn {
  flex: 1;
  padding: 12px 18px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 98, 43, 0.4);
  transition: all 0.2s;
}

.stress-test-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(226, 98, 43, 0.5);
}

.stress-test-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  animation: erpFadeIn 0.3s ease;
}

/* ── Triple-Shield Defense Matrix ── */
.triple-shield {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.shield-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shield-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 24px var(--card-glow);
}

.shield-card--active {
  border: 2px solid var(--accent);
}

.shield-card__badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shield-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.shield-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.shield-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.shield-card__metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: var(--accent-text);
  font-weight: 700;
  text-align: center;
}

/* ── Hardware Freedom Ribbon ── */
.hardware-ribbon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.hardware-ribbon__info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.hardware-ribbon__info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hardware-ribbon__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hardware-ribbon__pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.hardware-ribbon__pill:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* ── Interactive Back-Office & ERP Hub ── */
.erp-hub {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.erp-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-bright) transparent;
  -webkit-overflow-scrolling: touch;
}

.erp-nav::-webkit-scrollbar {
  height: 4px;
}
.erp-nav::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 4px;
}

.erp-tab-btn {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  color: var(--text);
  box-shadow: var(--shadow);
  user-select: none;
}

.erp-tab-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.erp-tab-btn.active {
  background: var(--panel);
  border-color: var(--accent);
  box-shadow: 0 8px 24px -6px rgba(226, 98, 43, 0.25), var(--shadow);
  border-width: 2px;
}

.erp-tab-btn__icon {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  flex-shrink: 0;
  transition: all var(--transition);
}

.erp-tab-btn.active .erp-tab-btn__icon {
  background: var(--accent-tint);
  transform: scale(1.05);
}

.erp-tab-btn__title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  display: block;
}

.erp-tab-btn__sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  display: block;
  margin-top: 3px;
}

.erp-tab-btn.active .erp-tab-btn__title {
  color: var(--accent-text);
}

/* ERP Stage */
.erp-stage {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.erp-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.erp-pane {
  display: none;
}

.erp-pane.active {
  display: block;
  animation: erpFadeIn 0.35s ease;
}

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

.erp-pane__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

/* Narrative / Content */
.erp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-tint);
  color: var(--accent-text);
  border: 1px solid var(--accent-edge);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.erp-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 14px;
}

.erp-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.erp-feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.erp-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
}

.erp-check-item__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.erp-check-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 2px;
}

.erp-check-item span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.erp-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ERP Workstation Container */
.erp-workstation {
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.12), var(--shadow);
  position: relative;
  overflow: hidden;
}

.erp-workstation__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.erp-workstation__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.erp-workstation__tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* Workstation 1: Inter-Branch Stock Dispatcher */
.erp-transfer-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.erp-branch-box {
  display: flex;
  flex-direction: column;
}

.erp-branch-box__role {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.erp-branch-box__name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin: 2px 0;
}

.erp-branch-box__stock {
  font-size: 11.5px;
  color: var(--accent-text);
  font-weight: 700;
}

.erp-route-arrow {
  font-size: 20px;
  color: var(--text-muted);
  text-align: center;
}

.erp-slider-group {
  margin-bottom: 16px;
}

.erp-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.erp-slider-label strong {
  color: var(--accent-text);
  font-size: 14px;
}

.erp-range-slider {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.erp-dispatch-btn {
  width: 100%;
  padding: 12px 18px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(226, 98, 43, 0.4);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.erp-dispatch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(226, 98, 43, 0.5);
}

.erp-transfer-toast {
  margin-top: 14px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: erpFadeIn 0.3s ease;
}

.erp-transfer-toast strong {
  color: var(--text);
  font-size: 12.5px;
}

.erp-transfer-toast span {
  color: var(--accent-text);
  font-size: 11px;
}

/* Workstation 2: Procure-to-Pay Pipeline */
.erp-procure-pipeline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
}

.erp-procure-pipeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.erp-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.erp-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.2s;
}

.erp-step-node.active .erp-step-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(226, 98, 43, 0.4);
}

.erp-step-node.completed .erp-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.erp-step-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.erp-step-node.active .erp-step-label {
  color: var(--accent-text);
}

.erp-po-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.erp-po-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.erp-po-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 4px;
}

.erp-po-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  color: var(--accent-text);
}

.erp-po-actions {
  display: flex;
  gap: 10px;
}

.erp-btn-solid {
  flex: 1;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.erp-btn-solid:hover {
  background: var(--accent-hover);
}

.erp-btn-outline {
  flex: 1;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.erp-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.erp-grn-toast {
  margin-top: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11.5px;
  color: #10b981;
  font-weight: 700;
  animation: erpFadeIn 0.3s ease;
}

/* Workstation 3: Customer Credit & Risk Ceiling */
.erp-credit-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.erp-credit-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.erp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-credit-meta strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
}

.erp-credit-meta span {
  font-size: 11px;
  color: var(--text-muted);
}

.erp-debt-meter {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.erp-meter-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.erp-meter-track {
  height: 10px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.erp-meter-fill {
  height: 100%;
  width: 82.5%;
  background: #f59e0b;
  border-radius: 100px;
  transition: width 0.3s, background 0.3s;
}

.erp-aging-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.erp-aging-cell {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}

.erp-aging-cell span {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.erp-aging-cell strong {
  font-size: 12px;
  display: block;
  margin-top: 2px;
  color: var(--text);
}

.erp-test-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  animation: erpFadeIn 0.3s ease;
}

.erp-test-alert--warn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.erp-test-alert--ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Workstation 4: Price Tiers & Barcode Studio */
.erp-tier-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.erp-tier-btn {
  flex: 1;
  padding: 10px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  color: var(--text);
}

.erp-tier-btn:hover {
  border-color: var(--accent);
}

.erp-tier-btn.active {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 12px rgba(226, 98, 43, 0.15);
}

.erp-tier-btn span {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
}

.erp-tier-btn.active span {
  color: var(--accent-text);
}

.erp-tier-btn strong {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

/* Live Thermal Barcode Sticker */
.erp-sticker-mockup {
  background: #ffffff;
  color: #111111;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  padding: 16px 20px;
  width: 250px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: 'Inter', -apple-system, sans-serif;
}

.erp-sticker-store {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #4b5563;
  text-transform: uppercase;
}

.erp-sticker-name {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
  margin: 3px 0;
}

.erp-sticker-price {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.02em;
}

.erp-sticker-barcode {
  margin-top: 6px;
}

.erp-sticker-barcode svg {
  display: block;
  margin: 0 auto;
}

.erp-sticker-code {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #374151;
  margin-top: 2px;
}

.erp-sticker-action {
  display: flex;
  gap: 10px;
}

/* Bottom Operational Stats Ribbon */
.erp-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 32px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.erp-summary-item {
  display: flex;
  flex-direction: column;
}

.erp-summary-val {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent-text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.erp-summary-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.erp-summary-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Migration & Training ── */
.migration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.migration-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.migration-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 24px var(--card-glow);
}

.migration-card__step {
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 16px;
}

.migration-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.migration-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

.migration-card__badge {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Analytics & Growth Suite ── */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.analytics-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analytics-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.analytics-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.analytics-item__icon {
  font-size: 24px;
  padding: 10px;
  background: var(--accent-tint);
  border-radius: 10px;
  flex-shrink: 0;
}

.analytics-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.analytics-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.analytics-preview-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.analytics-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.analytics-metric-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.analytics-metric-box__val {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  display: block;
}

.analytics-metric-box__lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* ── FAQ Section ── */
.faq-section {
  background: var(--bg);
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Utility ── */
.clip-hidden { overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ══════════════════════════════════════════════════════════ */

/* ── Prevent any horizontal overflow ── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── 1. Tablet & Medium Screens (<= 1024px) ── */
@media (max-width: 1024px) {
  /* Layout & Containers */
  .container {
    padding: 0 20px;
  }

  /* Navbar on Tablet */
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .nav__cta .btn {
    display: none;
  }

  /* Hero Section on Tablet */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 56px 20px 40px;
  }
  .hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .device-mockup__phone {
    display: none;
  }
  .device-mockup__notification {
    display: none;
  }
  .device-mockup__badge {
    display: none;
  }

  /* Resilience Hub */
  .stress-arena {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .triple-shield {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hardware-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* ERP Hub */
  .erp-pane__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .erp-stage {
    padding: 32px 24px;
  }
  .erp-summary-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Migration Grid */
  .migration-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Analytics & Growth */
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .analytics-preview-box {
    padding: 24px;
  }

  /* Operating Feature Studio */
  .studio-pane__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .studio-stage {
    padding: 32px 24px;
  }
  .spec-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .plan--featured {
    grid-column: span 2;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── 2. Mobile Landscape & Typical Smartphones (<= 768px) ── */
@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }

  .section {
    padding: 56px 0;
  }

  /* Navbar */
  .nav {
    padding: 10px 0;
  }
  .nav.scrolled {
    padding: 8px 0;
  }
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .nav__logo-img {
    height: 28px;
    max-width: 110px;
  }
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
    padding: 4px;
    margin-left: 0;
    gap: 4.5px;
  }
  .nav__hamburger span {
    width: 20px;
    height: 2px;
  }
  .nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav__cta .btn {
    display: none !important; /* Hide 'Get Started' in navbar on mobile to avoid overcrowding */
  }
  .cey-theme-btn {
    height: 32px;
    padding: 0 4px 0 9px;
    font-size: 9.5px;
    letter-spacing: 0.8px;
    gap: 6px;
  }
  .cey-theme-glyph {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* Mobile Drawer Menu */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 20px 40px;
    gap: 6px;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    box-sizing: border-box;
  }
  .nav__links.open a {
    font-size: 16px;
    font-weight: 600;
    padding: 12px 6px;
    color: var(--text);
    width: 100%;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  /* Hero Section */
  .hero {
    padding-top: 60px;
    min-height: auto;
    overflow: hidden;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 16px 28px;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero__content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero__badge {
    margin: 0 auto 16px;
    font-size: 11px;
    padding: 6px 12px;
    max-width: 100%;
    width: fit-content;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }
  .hero__title {
    font-size: clamp(24px, 6.5vw, 36px);
    line-height: 1.15;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .hero__title-line {
    display: block;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }
  .hero__subtitle {
    font-size: 13.5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 22px;
    line-height: 1.6;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero__actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero__stats {
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .stat__num {
    font-size: 24px;
  }
  .stat__label {
    font-size: 11px;
  }

  /* Orbs Containment to prevent horizontal stretching */
  .hero__orb--1 {
    width: 220px;
    height: 220px;
    top: -50px;
    right: 0;
    opacity: 0.5;
  }
  .hero__orb--2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    left: 0;
    opacity: 0.4;
  }
  .hero__orb--3 {
    display: none;
  }
  .cta-banner__orb--1 {
    width: 200px;
    height: 200px;
    top: -40px;
    left: 0;
    opacity: 0.5;
  }
  .cta-banner__orb--2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    right: 0;
    opacity: 0.4;
  }

  /* Hero Visual Mockups */
  .hero__visual {
    order: -1;
    margin-bottom: 8px;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .device-mockup {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .device-mockup__glow {
    inset: 0;
    opacity: 0.5;
  }
  .device-mockup__tablet {
    padding: 12px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .pos-screen {
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .pos-screen__topbar {
    padding: 6px 10px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .pos-brand-tag {
    font-size: 11px;
  }
  .pos-screen__badge {
    font-size: 9px;
    padding: 2px 6px;
  }
  .pos-header__amount {
    font-size: 24px;
  }
  .pos-items {
    font-size: 11.5px;
  }
  .pos-item {
    padding: 8px 10px;
  }
  /* Prevent horizontal poke on mobile screens */
  .device-mockup__phone {
    display: none;
  }
  .device-mockup__notification {
    display: none;
  }
  .device-mockup__badge {
    display: none;
  }

  /* Trusted Section */
  .trusted__logos {
    gap: 14px;
  }
  .trusted__logo {
    font-size: 13px;
  }

  /* Resilience Hub */
  .stress-console {
    padding: 20px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
  }
  .stress-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  .stress-btn {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
  }
  .stress-arena {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .stress-col--legacy,
  .stress-col--ceypos {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .legacy-screen,
  .ceypos-live-screen {
    min-height: 160px;
    padding: 14px;
  }
  .ceypos-live-metrics {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .triple-shield {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .shield-card {
    padding: 22px 18px;
  }
  .hardware-ribbon {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
  }

  /* ERP Hub */
  .erp-stage {
    padding: 22px 16px;
    border-radius: 16px;
    margin-top: 18px;
  }
  .erp-pane__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .erp-nav {
    gap: 8px;
  }
  .erp-tab-btn {
    min-width: 160px;
    padding: 10px 12px;
  }
  .erp-tab-btn__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .erp-title {
    font-size: 22px;
    line-height: 1.25;
  }
  .erp-workstation {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .erp-transfer-route {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }
  .erp-route-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
  .erp-aging-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .erp-tier-selector {
    flex-direction: column;
    gap: 6px;
  }
  .erp-sticker-mockup {
    width: 100%;
    max-width: 240px;
    padding: 14px 16px;
  }
  .erp-summary-strip {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 16px;
  }

  /* Migration & Training */
  .migration-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .migration-card {
    padding: 22px 18px;
  }

  /* Analytics & Growth */
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .analytics-preview-box {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .analytics-metric-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .analytics-item {
    padding: 16px;
  }

  /* Feature Operating Studio */
  .studio-stage {
    padding: 22px 16px;
    border-radius: 16px;
    margin-top: 18px;
  }
  .studio-pane__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .studio-nav {
    gap: 8px;
  }
  .studio-tab-btn {
    min-width: 160px;
    padding: 10px 12px;
  }
  .studio-tab-btn__icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .studio-title {
    font-size: 22px;
    line-height: 1.25;
  }
  .sim-terminal {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .sim-quick-items {
    flex-direction: column;
    gap: 6px;
  }
  .sim-item-btn {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .sim-actions {
    flex-direction: column;
    gap: 6px;
  }
  .sim-qr-box {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 14px;
  }
  .sim-metrics-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .sim-credit-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .sim-customer-tag {
    margin-left: 0;
  }
  .spec-ribbon {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 16px;
  }

  /* How It Works Steps */
  .steps {
    flex-direction: column;
    gap: 12px;
  }
  .step {
    width: 100%;
  }
  .step__connector {
    width: auto;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .step__connector::after {
    content: '↓';
  }

  /* Roadmap Timeline Tree */
  .tree-container::before {
    left: 20px;
  }
  .tree-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 54px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 32px;
  }
  .tree-node {
    left: 1px !important;
    right: auto !important;
    width: 36px;
    height: 36px;
  }
  .tree-card {
    padding: 20px 16px;
  }
  .roadmap-meter {
    padding: 18px 16px;
    margin-bottom: 32px;
  }
  .roadmap-filters {
    gap: 6px;
  }
  .roadmap-filter-btn {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 16px;
  }
  .plan--featured {
    grid-column: span 1;
  }
  .plan {
    padding: 24px 20px;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tcard {
    padding: 22px 18px;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
    gap: 10px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.active .faq-answer {
    padding: 0 18px 18px 18px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 48px 16px;
    text-align: center;
  }
  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .app-badges {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .app-badge {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer__bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ── 3. Ultra-Small Screens (<= 480px) ── */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .section {
    padding: 44px 0;
  }
  .section-title {
    font-size: 22px;
  }
  .section-subtitle {
    font-size: 12.5px;
  }

  /* Nav Compact */
  .nav {
    padding: 8px 0;
  }
  .nav.scrolled {
    padding: 6px 0;
  }
  .nav__inner {
    gap: 6px;
  }
  .nav__logo-img {
    height: 24px;
    max-width: 92px;
  }
  .cey-theme-btn {
    height: 28px;
    padding: 0 4px 0 7px;
    font-size: 8.5px;
    letter-spacing: 0.5px;
    gap: 4px;
  }
  .cey-theme-glyph {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  /* Hero Section */
  .hero {
    padding-top: 50px;
  }
  .hero__inner {
    padding: 14px 6px 18px;
    gap: 18px;
  }
  .hero__badge {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 12px;
    gap: 6px;
  }
  .hero__title {
    font-size: 23px;
    line-height: 1.15;
  }
  .hero__subtitle {
    font-size: 13px;
  }
  .hero__stats {
    flex-direction: column;
    gap: 10px;
  }
  .stat__divider {
    display: none;
  }
  .device-mockup__tablet {
    padding: 8px 6px;
    border-radius: 12px;
  }
  .pos-screen {
    padding: 8px 6px;
    border-radius: 10px;
  }
  .pos-header__amount {
    font-size: 20px;
  }
  .footer__links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

