/* ==========================================================================
   ShopOS — shopos.threetwelve.co.ke
   Three Twelve navy shell + ShopOS forest green
   ========================================================================== */

:root {
  /* Shell — Three Twelve */
  --navy:      #070D1A;
  --navy-2:    #0A1322;
  --navy-3:    #0E1A2E;
  --navy-4:    #122244;

  /* Product — ShopOS */
  --green:      #1A6B3C;  /* brand core — white text on this = 6.5:1 */
  --green-700:  #14532D;
  --green-500:  #22C55E;
  --green-400:  #4ADE80;  /* accent text on navy = 11:1 */
  --green-100:  #DCFCE7;

  /* Support */
  --white:     #FFFFFF;
  --slate:     #94A3B8;
  --slate-400: #64748B;
  --border:    rgba(148, 163, 184, 0.16);
  --border-green: rgba(74, 222, 128, 0.24);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --header-h: 74px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================== RESET / BASE =========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate);
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(26, 107, 60, 0.16), transparent 60%),
    radial-gradient(800px 500px at 92% 4%, rgba(34, 197, 94, 0.08), transparent 62%),
    var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green-400); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
.container.narrow { width: min(880px, 92%); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================== BUTTONS =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(26, 107, 60, 0.35);
}
.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 16px 40px rgba(26, 107, 60, 0.5);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 145%; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: rgba(74, 222, 128, 0.08);
  border-color: var(--border-green);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================== HEADER / NAV =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 13, 26, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 13, 26, 0.94);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(26, 107, 60, 0.4);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: color 0.25s var(--ease);
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--green-400), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(7, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px 6%;
  overflow-y: auto;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.nav-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}
.nav-mobile nav { display: flex; flex-direction: column; gap: 6px; }
.nav-mobile nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 15px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile nav a:hover { color: var(--green-400); }
.nav-mobile nav a.btn {
  margin-top: 22px;
  border-bottom: none;
  font-size: 1rem;
  justify-content: center;
}

/* =========================== HERO =========================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb-1 {
  width: 420px; height: 420px;
  top: -80px; left: -100px;
  background: radial-gradient(circle, rgba(26, 107, 60, 0.5), transparent 70%);
}
.orb-2 {
  width: 380px; height: 380px;
  bottom: -60px; right: -60px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.24), transparent 70%);
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, -34px, 0) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid var(--border-green);
  color: var(--green-400);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 10px var(--green-500);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.82); }
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-title span,
.section-title span {
  background: linear-gradient(115deg, var(--green-400) 0%, var(--green-500) 45%, var(--green-400) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 7s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.13rem);
  color: var(--slate);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 500;
}
.hero-facts svg { color: var(--green-400); flex-shrink: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hero-glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(26, 107, 60, 0.55) 90deg,
    transparent 180deg,
    rgba(74, 222, 128, 0.36) 270deg,
    transparent 360deg
  );
  animation: spinRing 14s linear infinite;
  filter: blur(4px);
  pointer-events: none;
}
@keyframes spinRing { to { transform: rotate(360deg); } }

.hero-grid-floor {
  position: absolute;
  bottom: -4%;
  left: 50%;
  width: 720px; height: 340px;
  transform: translateX(-50%) perspective(500px) rotateX(72deg);
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.22) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, black 0%, transparent 72%);
  pointer-events: none;
  opacity: 0.75;
  animation: gridPulse 6s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.85; }
}

/* =========================== PHONE CLUSTER =========================== */
.phone-cluster {
  position: relative;
  z-index: 3;
  width: 320px;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.phone-frame {
  position: absolute;
  width: 276px;
  aspect-ratio: 9 / 19;
  background: #0B1220;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-cluster .phone-frame.phone-front {
  z-index: 4;
  width: 276px;
  animation: floatFront 7s ease-in-out infinite;
  box-shadow:
    0 60px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(26, 107, 60, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.phone-cluster .phone-frame.phone-back {
  z-index: 1;
  width: 244px;
  opacity: 0.95;
  animation: floatBack 9.5s ease-in-out infinite;
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes floatFront {
  0%, 100% { transform: translate3d(28px, 8px, 0) rotate(-3deg); }
  50%      { transform: translate3d(28px, -20px, 0) rotate(1.5deg); }
}
@keyframes floatBack {
  0%, 100% { transform: translate3d(-104px, -6px, -60px) rotate(-12deg) scale(0.92); }
  50%      { transform: translate3d(-104px, -30px, -60px) rotate(-9deg) scale(0.92); }
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 5;
}

.phone-screen {
  height: calc(100% - 34px);
  margin-top: 17px;
  border-radius: 30px;
  overflow: hidden;
  background: #060C17;
  position: relative;
}

/* Floating glass badges */
.float-badge {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(14, 26, 46, 0.86);
  border: 1px solid var(--border-green);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  animation: floatBadge 6s ease-in-out infinite;
}
.float-badge span { font-size: 0.95rem; }
.fb-1 { top: 15%; left: -4%; animation-delay: 0s; }
.fb-2 { top: 47%; right: -6%; animation-delay: -2s; }
.fb-3 { bottom: 15%; left: 2%; animation-delay: -4s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* POS screen */
.pos-ui {
  padding: 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(165deg, #0C1A2E 0%, #060C17 100%);
  font-family: var(--font-body);
}
.pos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pos-header-text { font-size: 0.6rem; font-weight: 700; color: var(--white); }
.pos-header-icon { font-size: 0.85rem; }

.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.pos-item {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 5px;
  text-align: center;
}
.pos-item-icon { font-size: 0.85rem; }
.pos-item-name {
  font-size: 0.38rem;
  color: var(--slate);
  margin-top: 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-item-price {
  font-size: 0.44rem;
  font-weight: 700;
  color: var(--green-400);
  margin-top: 1px;
}

.pos-cart {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
}
.pos-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.4rem;
  color: var(--slate);
}
.pos-cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 5px;
  margin-top: 3px;
}
.pos-cart-total span:last-child { color: var(--green-400); }

.pos-pay-btn {
  background: var(--green);
  color: var(--white);
  text-align: center;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.pos-offline-chip {
  text-align: center;
  font-size: 0.38rem;
  color: var(--green-400);
  background: rgba(74, 222, 128, 0.09);
  border: 1px dashed var(--border-green);
  border-radius: 999px;
  padding: 4px;
}

/* Dashboard screen (back phone) */
.dash-ui {
  padding: 14px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(165deg, #0C1A2E 0%, #060C17 100%);
}
.dash-topbar { display: flex; align-items: center; justify-content: space-between; }
.dash-title { font-size: 0.55rem; font-weight: 700; color: var(--slate); }
.dash-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 10px var(--green-500);
  animation: pulse 2s ease-in-out infinite;
}
.dash-metric {
  background: rgba(26, 107, 60, 0.16);
  border: 1px solid var(--border-green);
  border-radius: 11px;
  padding: 10px;
}
.dash-metric-label {
  font-size: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}
.dash-metric-value {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 2px;
}
.dash-metric-trend { font-size: 0.46rem; font-weight: 700; color: var(--green-400); }

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 78px;
  padding: 0 2px;
}
.dash-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green-400), rgba(26, 107, 60, 0.3));
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.35);
  animation: barRise 1.4s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
}
.dash-chart span:nth-child(1) { animation-delay: 0.05s; }
.dash-chart span:nth-child(2) { animation-delay: 0.12s; }
.dash-chart span:nth-child(3) { animation-delay: 0.19s; }
.dash-chart span:nth-child(4) { animation-delay: 0.26s; }
.dash-chart span:nth-child(5) { animation-delay: 0.33s; }
.dash-chart span:nth-child(6) { animation-delay: 0.40s; }
.dash-chart span:nth-child(7) { animation-delay: 0.47s; }
@keyframes barRise {
  from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  to   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

.dash-rows { display: flex; flex-direction: column; gap: 6px; }
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.44rem;
  color: var(--slate-400);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 8px;
}
.dash-row span:last-child { color: var(--green-400); font-weight: 600; }

/* =========================== SECTIONS =========================== */
section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.section-header.center { text-align: center; max-width: 760px; margin-inline: auto; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-400);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.95rem, 3.7vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
}
.section-header.center .section-title::before {
  content: '';
  position: absolute;
  left: 50%; top: -46px;
  width: 340px; height: 170px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(26, 107, 60, 0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.09rem);
  color: var(--slate);
  max-width: 680px;
  margin-inline: auto;
}
.section-subtitle.left { margin-inline: 0; }

/* =========================== OFFLINE =========================== */
.offline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.offline-card {
  background: linear-gradient(160deg, rgba(18, 34, 68, 0.55), rgba(14, 26, 46, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.offline-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-green);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(26, 107, 60, 0.14);
}
.offline-icon {
  font-size: 1.7rem;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: rgba(26, 107, 60, 0.2);
  border: 1px solid var(--border-green);
  border-radius: 15px;
  margin-bottom: 20px;
}
.offline-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.offline-card p { font-size: 0.94rem; }

/* =========================== BUSINESS SELECTOR =========================== */
.biz-selector {
  background: rgba(14, 26, 46, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
}

.biz-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.biz-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.biz-tab:hover { color: var(--white); border-color: var(--border-green); }
.biz-tab[aria-selected="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.42);
}
.biz-tab-icon { font-size: 1rem; }

.biz-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.biz-panel:focus { outline: none; }

.biz-swatch {
  width: 54px; height: 6px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: var(--green-400);
  transition: background 0.4s var(--ease);
}
.biz-name { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.biz-tagline { font-size: 1.02rem; color: var(--slate); margin-bottom: 26px; }

.biz-fact { margin-bottom: 22px; }
.biz-fact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--slate-400);
  margin-bottom: 9px;
}
.biz-fact-value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(26, 107, 60, 0.22);
  border: 1px solid var(--border-green);
  border-radius: 999px;
  padding: 7px 20px;
}
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-chips span {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--slate);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
}
.biz-note {
  font-size: 0.9rem;
  color: var(--slate-400);
  font-style: italic;
  min-height: 1.7em;
}

.biz-panel-screen { display: flex; justify-content: center; }
.biz-phone {
  width: 100%;
  max-width: 300px;
  background: #0B1220;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(26, 107, 60, 0.2);
}
.biz-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.biz-phone-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 10px var(--green-400);
}
.biz-screen-list { display: flex; flex-direction: column; gap: 7px; min-height: 268px; }
.biz-screen-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-400);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 0.74rem;
  color: var(--slate);
  animation: itemIn 0.35s var(--ease) backwards;
}
.biz-screen-item strong { color: var(--white); font-weight: 600; }
.biz-screen-item em { font-style: normal; color: var(--green-400); font-size: 0.68rem; }
@keyframes itemIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.biz-screen-empty {
  font-size: 0.78rem;
  color: var(--slate-400);
  text-align: center;
  padding: 30px 10px;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

/* =========================== FEATURES =========================== */
.feature-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-group {
  background: linear-gradient(160deg, rgba(18, 34, 68, 0.5), rgba(14, 26, 46, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.feature-group:hover {
  transform: translateY(-6px);
  border-color: var(--border-green);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.45), 0 0 44px rgba(26, 107, 60, 0.14);
}
.feature-group-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.feature-group-icon {
  font-size: 1.5rem;
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 107, 60, 0.22);
  border: 1px solid var(--border-green);
  border-radius: 15px;
}
.feature-group-head h3 { font-size: 1.4rem; margin-bottom: 3px; }
.feature-group-head p { font-size: 0.88rem; color: var(--slate-400); }

.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(26, 107, 60, 0.3);
  border: 1px solid var(--border-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.feature-list strong { color: var(--green-400); font-weight: 600; }

/* =========================== TRUST =========================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.trust-points { display: flex; flex-direction: column; gap: 26px; margin-top: 34px; }
.trust-point { display: flex; gap: 17px; align-items: flex-start; }
.trust-point-icon {
  font-size: 1.2rem;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 107, 60, 0.2);
  border: 1px solid var(--border-green);
  border-radius: 13px;
}
.trust-point h3 { font-size: 1.06rem; margin-bottom: 5px; }
.trust-point p { font-size: 0.93rem; }

.trust-permissions {
  background: linear-gradient(160deg, rgba(26, 107, 60, 0.22), rgba(14, 26, 46, 0.5));
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.permissions-title { font-size: 1.2rem; margin-bottom: 22px; }
.permission-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.permission-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--slate);
  background: rgba(7, 13, 26, 0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
}
.permission-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}

/* =========================== PRICING =========================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 860px;
  margin-inline: auto;
}
.plan-card {
  position: relative;
  background: linear-gradient(165deg, rgba(18, 34, 68, 0.6), rgba(14, 26, 46, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.plan-card.featured {
  border-color: var(--green-500);
  box-shadow: 0 0 50px rgba(26, 107, 60, 0.24);
}
.plan-card.featured:hover { border-color: var(--green-400); }

.plan-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.plan-included { font-size: 0.87rem; color: var(--slate-400); margin-bottom: 22px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; }
.plan-amount {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.plan-amount.unavailable { font-size: 1.35rem; color: var(--green-400); letter-spacing: 0; }
.plan-cadence { font-size: 0.88rem; color: var(--slate-400); }
.plan-billing-note { font-size: 0.82rem; color: var(--slate-400); margin-bottom: 24px; }

.plan-features { list-style: none; padding: 22px 0 0; margin: 0 0 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.93rem;
  color: var(--slate);
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-cta { width: 100%; }
.plan-source {
  text-align: center;
  font-size: 0.76rem;
  color: var(--slate-400);
  margin-top: 24px;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.pricing-note {
  display: flex;
  gap: 15px;
  background: rgba(14, 26, 46, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.pricing-note-icon {
  font-size: 1.3rem;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(26, 107, 60, 0.2);
  border: 1px solid var(--border-green);
  border-radius: 13px;
}
.pricing-note h3 { font-size: 1rem; margin-bottom: 6px; }
.pricing-note p { font-size: 0.88rem; }

/* =========================== FAQ =========================== */
.faq-list { display: flex; flex-direction: column; gap: 13px; }
.faq-item {
  background: rgba(14, 26, 46, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item:hover, .faq-item[open] { border-color: var(--border-green); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green-400);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  animation: faqIn 0.3s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================== WAITLIST =========================== */
.waitlist-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  background: linear-gradient(150deg, rgba(26, 107, 60, 0.24), rgba(14, 26, 46, 0.6));
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.waitlist-bullets {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.waitlist-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: var(--slate);
}
.waitlist-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 17px; height: 17px;
  background: rgba(26, 107, 60, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
  border: 1px solid var(--border-green);
  border-radius: 50%;
}

.waitlist-form-wrap {
  background: rgba(7, 13, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.waitlist-form { display: flex; flex-direction: column; gap: 17px; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
}
.field .req { color: var(--green-400); }
.field .opt { color: var(--slate-400); font-weight: 400; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field select option { background: var(--navy-3); color: var(--white); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #F87171; }

.field-err { font-size: 0.8rem; color: #FCA5A5; margin: 0; }

.btn-block { margin-top: 6px; }
.btn-block[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
  margin: 0;
  text-align: center;
}
.form-status.success { color: var(--green-400); }
.form-status.error { color: #FCA5A5; }

.form-fineprint { font-size: 0.8rem; color: var(--slate-400); text-align: center; }

/* =========================== FOOTER =========================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 9, 18, 0.7);
  padding: clamp(50px, 6vw, 76px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: 0.93rem; margin-top: 16px; max-width: 340px; }
.footer-built {
  color: var(--green-400);
  font-weight: 600;
  font-size: 0.9rem !important;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-400);
  margin-bottom: 5px;
}
.footer-col a {
  color: var(--slate);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
  text-decoration: none;
  width: fit-content;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 0.85rem;
  color: var(--slate-400);
}
.footer-bottom strong { color: var(--slate); font-weight: 600; }
.footer-copy { color: var(--slate-400); }

/* =========================== REVEAL =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1100px) {
  .offline-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-groups { grid-template-columns: 1fr; }
  .pricing-notes { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 560px; }
  .phone-cluster { transform: scale(0.92); }

  .biz-panel { grid-template-columns: 1fr; }
  .biz-panel-screen { order: -1; }

  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .waitlist-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .hero-visual { min-height: 470px; }
  .phone-cluster { transform: scale(0.76); }
  .float-badge { font-size: 0.68rem; padding: 8px 12px; }
  .hero-grid-floor { width: 520px; }

  .offline-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .biz-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-inline: -6px; padding-inline: 6px; }
  .biz-tab { flex-shrink: 0; }
}

/* =========================== REDUCED MOTION =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb, .hero-glow-ring, .hero-grid-floor,
  .phone-front, .phone-back, .float-badge,
  .dash-chart span, .badge-dot, .dash-dot,
  .hero-title span, .section-title span { animation: none !important; }

  .reveal { opacity: 1 !important; transform: none !important; }
}
