/* ==========================================================================
   Tracklify Business Suite — Kobble.ng Inspired Design System
   Modern Warm Stone, Crisp Cards, Lush Emerald & Tangerine Accents
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --k-bg: #FAF9F5;
  --k-surface: #FFFFFF;
  --k-border: #E2E0D5;
  --k-border-light: #ECEAE1;
  --k-border-hover: #CBD5E1;

  --k-ink: #14160F;
  --k-slate: #1A202C;
  --k-muted: #6B6B60;
  --k-muted-light: #94A3B8;

  --k-green: #16A34A;
  --k-green-hover: #15803D;
  --k-green-deep: #0D7A57;
  --k-green-subtle: #EBF5EA;

  --k-orange: #FF882A;
  --k-orange-hover: #EA580C;
  --k-orange-subtle: #FFF4EB;

  --k-lime: #D9F477;
  --k-lime-ink: #14271F;

  --k-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --k-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --k-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --k-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --k-shadow-button: 0 8px 20px -4px rgba(22, 163, 74, 0.28);

  --k-radius-pill: 9999px;
  --k-radius-chip: 12px;
  --k-radius-btn: 14px;
  --k-radius-card: 22px;
  --k-radius-card-lg: 28px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--k-ink);
  background: var(--k-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading, .brand {
  font-family: 'Outfit', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.fa, .fas, .far, .fal, .fad, .fab {
  font-family: 'Font Awesome 5 Free' !important;
}
.fab {
  font-family: 'Font Awesome 5 Brands' !important;
}

section[id], div[id] {
  scroll-margin-top: 86px;
}

/* ── Floating Notification Bar ── */
.announcement {
  background: var(--k-slate);
  color: #E2E8F0;
  text-align: center;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.announcement b {
  color: var(--k-lime);
  font-weight: 800;
}
.announcement .badge-pill {
  background: rgba(217, 244, 119, 0.15);
  border: 1px solid rgba(217, 244, 119, 0.3);
  color: var(--k-lime);
  padding: 2px 10px;
  border-radius: var(--k-radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Modern Kobble-style Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--k-border);
  transition: all 0.2s ease;
}
.navin {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: var(--k-slate);
  text-decoration: none;
}
.brandmark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--k-green-deep), var(--k-green));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: transform 0.2s ease;
}
.brand:hover .brandmark {
  transform: scale(1.05) rotate(2deg);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--k-muted);
  font-size: 14px;
  font-weight: 700;
}
.navlinks a {
  text-decoration: none;
  transition: color 0.18s ease;
  position: relative;
  padding: 6px 0;
}
.navlinks a:hover {
  color: var(--k-green-deep);
}
.navlinks a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--k-green);
  border-radius: 2px;
}

/* ── Modern Squircles & Buttons ── */
.btn {
  border: 0;
  border-radius: var(--k-radius-btn);
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--k-green);
  color: #FFFFFF;
  box-shadow: var(--k-shadow-button);
}
.btn-primary:hover {
  background: var(--k-green-hover);
  box-shadow: 0 12px 26px -4px rgba(22, 163, 74, 0.38);
}
.btn-dark {
  background: var(--k-slate);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(26, 32, 44, 0.18);
}
.btn-dark:hover {
  background: #000000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.btn-light {
  background: #FFFFFF;
  color: var(--k-slate);
  border: 1px solid var(--k-border);
  box-shadow: var(--k-shadow-xs);
}
.btn-light:hover {
  background: #F5F4F0;
  border-color: #CBD5E1;
}
.btn-orange {
  background: var(--k-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(255, 136, 42, 0.35);
}
.btn-orange:hover {
  background: var(--k-orange-hover);
}
.btn-lime {
  background: var(--k-lime);
  color: var(--k-lime-ink);
  box-shadow: 0 8px 20px -4px rgba(217, 244, 119, 0.4);
}
.btn-lime:hover {
  filter: brightness(1.05);
}
.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 12px;
}

/* ── Live Pulsing Badge ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  padding: 6px 14px;
  border-radius: var(--k-radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--k-slate);
  box-shadow: var(--k-shadow-xs);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--k-green);
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--k-green);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ── Hero Section ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0 95px;
  background: radial-gradient(circle at 85% 15%, rgba(217, 244, 119, 0.22) 0%, transparent 40%),
              radial-gradient(circle at 10% 85%, rgba(22, 163, 74, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #FAF9F5 0%, #F5F4F0 100%);
  border-bottom: 1px solid var(--k-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 22px 0 20px;
  color: var(--k-slate);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--k-green-deep) 0%, var(--k-green) 60%, var(--k-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--k-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* ── Community Proof Strip (Avatar Stack) ── */
.community-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}
.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar-stack img, .avatar-stack .av-letter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.avatar-stack .av-letter {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
}
.avatar-stack img:first-child, .avatar-stack .av-letter:first-child {
  margin-left: 0;
}
.proof-text {
  font-size: 12px;
  line-height: 1.35;
  color: var(--k-slate);
}
.proof-text strong {
  display: block;
  font-size: 13px;
  color: var(--k-ink);
}
.proof-stars {
  color: #F59E0B;
  font-size: 11px;
}

/* ── Live Dashboard Card ── */
.dashboard-card {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card-lg);
  padding: 18px;
  box-shadow: var(--k-shadow-hover);
  position: relative;
  transition: transform 0.3s ease;
}
.dashboard-card:hover {
  transform: translateY(-4px);
}
.dashbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 16px;
  border-bottom: 1px solid var(--k-border-light);
}
.dash-window-dots {
  display: flex;
  gap: 6px;
}
.dash-window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
}
.dash-inner {
  background: var(--k-slate);
  border-radius: 20px;
  padding: 22px;
  color: #FFFFFF;
  margin-top: 14px;
}
.dash-metric-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.dash-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}
.dash-metric span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dash-metric strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
}
.dash-activity {
  background: #FFFFFF;
  color: var(--k-slate);
  border-radius: 16px;
  padding: 16px;
}
.dash-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 12px;
}
.dash-activity-row:last-child {
  border-bottom: 0;
}

/* ── 40+ Category & Niche Scrolling Pills (Kobble-style) ── */
.niche-ticker-wrap {
  padding: 26px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--k-border);
  overflow: hidden;
}
.niche-ticker {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 20px;
}
.niche-ticker::-webkit-scrollbar {
  display: none;
}
.niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #F7F6F2;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--k-slate);
  white-space: nowrap;
  transition: all 0.18s ease;
  text-decoration: none;
}
.niche-pill:hover {
  background: #FFFFFF;
  border-color: var(--k-green);
  color: var(--k-green-deep);
  transform: translateY(-1px);
  box-shadow: var(--k-shadow-xs);
}

/* ── Feature Cards (Squircles with Soft Tint) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--k-surface);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card);
  padding: 32px 28px;
  box-shadow: var(--k-shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--k-shadow-hover);
  border-color: #CBD5E1;
}
.feat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
}
.feat-icon-green {
  background: var(--k-green-subtle);
  color: var(--k-green-deep);
}
.feat-icon-orange {
  background: var(--k-orange-subtle);
  color: var(--k-orange);
}
.feat-icon-blue {
  background: #EFF6FF;
  color: #2563EB;
}
.feat-icon-purple {
  background: #F5F3FF;
  color: #7C3AED;
}
.feat-icon-gold {
  background: #FEF9C3;
  color: #B45309;
}
.feat-icon-cyan {
  background: #ECFEFF;
  color: #0E7490;
}
.feature-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--k-slate);
}
.feature-card p {
  font-size: 14px;
  color: var(--k-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.feature-card .feat-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--k-green-deep);
}

/* ── Interactive POS & Service Demo Shell ── */
.demo-shell-v2 {
  background: var(--k-slate);
  border-radius: var(--k-radius-card-lg);
  padding: 24px;
  color: white;
  box-shadow: 0 25px 60px -15px rgba(26, 32, 44, 0.4);
  margin-top: 40px;
}
.demo-mode-tab {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}
.demo-mode-btn {
  padding: 8px 16px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: #94A3B8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.demo-mode-btn.active {
  background: #FFFFFF;
  color: var(--k-slate);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ── Testimonial Cards (Kobble-style Verified Quotes) ── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.quote-card {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card);
  padding: 28px;
  box-shadow: var(--k-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}
.quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--k-shadow-hover);
}
.quote-stars {
  color: #F59E0B;
  font-size: 13px;
  margin-bottom: 14px;
}
.quote-text {
  font-size: 14px;
  color: var(--k-ink);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: normal;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--k-border-light);
  padding-top: 16px;
}
.quote-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--k-green-subtle);
  color: var(--k-green-deep);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.quote-author-info strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--k-slate);
}
.quote-author-info span {
  font-size: 12px;
  color: var(--k-muted);
}
.verified-icon {
  color: var(--k-green);
  font-size: 12px;
}

/* ── Pricing Matrix (3 Tiers) ── */
.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 24px;
  margin-top: 36px;
}
.private-plan-price { display: block; margin-top: 9px; color: var(--k-green-deep); font: 800 14px 'Plus Jakarta Sans', sans-serif; }
.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card-lg);
  padding: 36px 30px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: var(--k-shadow-card);
  transition: all 0.25s ease;
}
.pricing-card.popular {
  border: 2px solid var(--k-green);
  background: #FCFDFB;
  box-shadow: 0 20px 45px -10px rgba(22, 163, 74, 0.15);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--k-shadow-hover);
}
.pricing-badge-popular {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, var(--k-green-deep), var(--k-green));
  color: white;
  padding: 5px 14px;
  border-radius: var(--k-radius-pill);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.pricing-card h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--k-slate);
}
.pricing-card p.tier-desc {
  font-size: 13px;
  color: var(--k-muted);
  line-height: 1.6;
  min-height: 42px;
}
.pricing-price-wrap {
  margin: 22px 0 20px;
}
.pricing-price-wrap .price-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--k-slate);
  font-family: 'Outfit', sans-serif;
}
.pricing-price-wrap .price-sub {
  font-size: 14px;
  color: var(--k-muted);
  font-weight: 600;
}
.pricing-features-list {
  list-style: none;
  padding: 20px 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--k-border-light);
  border-bottom: 1px solid var(--k-border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--k-slate);
  line-height: 1.5;
}
.pricing-features-list li i {
  color: var(--k-green);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Frequently Asked Questions (Kobble-Style Accordion) ── */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.faq-item.open {
  border-color: var(--k-green);
  box-shadow: 0 10px 28px -6px rgba(22, 163, 74, 0.12);
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--k-slate);
  cursor: pointer;
  transition: color 0.18s ease;
  user-select: none;
}

.faq-btn:hover {
  color: var(--k-green-deep);
}

.faq-btn span:first-child {
  flex: 1;
  padding-right: 18px;
  line-height: 1.45;
}

.faq-btn span:last-child {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--k-green-subtle);
  color: var(--k-green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-btn span:last-child {
  transform: rotate(45deg);
  background: var(--k-green);
  color: #FFFFFF;
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
  font-size: 14.5px;
  color: var(--k-muted);
  line-height: 1.75;
  text-align: left;
  border-top: 1px solid var(--k-border-light);
  margin-top: 0;
  padding-top: 18px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqOpen 0.22s ease-out;
}

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

/* ── Dark Slate Footer (Kobble-style) ── */
footer.k-footer {
  background: var(--k-slate);
  color: #E2E8F0;
  padding: 80px 0 35px;
  text-align: left;
}
footer.k-footer a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.18s ease;
}
footer.k-footer a:hover {
  color: #FFFFFF;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 800;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul li a {
  font-size: 13px;
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 55px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94A3B8;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Suite
   ========================================================================== */

/* Universal Mobile Safety: prevent any accidental horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Base Container Elasticity */
.wrap {
  width: min(calc(100% - 32px), 1220px);
  margin: auto;
}

/* ── Top Announcement Strip ── */
@media (max-width: 768px) {
  .announcement {
    flex-direction: column;
    padding: 8px 14px;
    gap: 6px;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: center;
  }
  .announcement .badge-pill {
    align-self: center;
  }
}

/* ── Navigation & Header ── */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.menu-toggle-btn:hover {
  background: #F5F4F0;
  border-color: #CBD5E1;
}
.menu-icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--k-slate);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.mobile-menu-open .menu-icon-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.mobile-menu-open .menu-icon-bar:nth-child(2) {
  opacity: 0;
}
body.mobile-menu-open .menu-icon-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 48;
  opacity: 0;
  transition: opacity 0.25s ease;
}
body.mobile-menu-open .mobile-menu-backdrop {
  display: block;
  opacity: 1;
}

.mobile-menu-actions {
  display: none;
}

@media (max-width: 1024px) {
  .navin {
    height: 70px;
  }
  .menu-toggle-btn {
    display: inline-flex;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 70px;
    left: 12px;
    right: 12px;
    background: #FFFFFF;
    border: 1px solid var(--k-border);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.2);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    z-index: 49;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.mobile-menu-open .navlinks {
    display: flex !important;
    animation: menuSlideDown 0.22s ease-out forwards;
  }
  .navlinks a {
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--k-slate);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navlinks a:hover {
    background: #F7F6F2;
    color: var(--k-green-deep);
  }
  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid var(--k-border-light);
  }
}

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

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 24px), 1220px);
  }
  .section {
    padding: 55px 0;
  }
  .navin {
    height: 64px;
    gap: 10px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .brandmark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .hide-on-mobile-sm {
    display: none !important;
  }
  .nav-cta-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ── Hero Section ── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 55px;
  }
  .hero h1 {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 16px 0 14px;
  }
  .lead {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  .community-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .dash-inner {
    padding: 16px;
    border-radius: 16px;
  }
  .dash-metric-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dash-metric {
    grid-row: span 1 !important;
    padding: 12px;
  }
  .dash-metric strong {
    font-size: 20px;
  }
  .dash-activity {
    padding: 12px;
  }
}

/* ── Section Headers ── */
@media (max-width: 640px) {
  .center-header {
    margin-bottom: 32px;
  }
  .center-header h2 {
    font-size: clamp(24px, 6.5vw, 32px);
    margin: 10px 0 12px;
    line-height: 1.15;
  }
  .center-header p.sub {
    font-size: 14.5px;
    line-height: 1.6;
  }
}

/* ── 40+ Niche Ticker ── */
.niche-ticker {
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
  .niche-ticker-wrap {
    padding: 18px 0;
  }
  .niche-pill {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* ── Core Features Grid ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 32px;
  }
}
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .feat-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .feature-card h3 {
    font-size: 18px;
  }
}

/* ── Video Playback Section ── */
.playback-chrome {
  flex-wrap: wrap;
}
.playback-url-pill {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .playback-chrome {
    padding: 10px 14px;
    gap: 8px;
  }
  .playback-chrome span.playback-url-pill {
    max-width: 150px;
  }
  .playback-pills-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .playback-pill {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ── Comparison Table Matrix ── */
.matrix-card {
  position: relative;
  -webkit-overflow-scrolling: touch;
}
.matrix-scroll-hint {
  display: none;
  font-size: 12px;
  color: var(--k-muted);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: right;
}
@media (max-width: 768px) {
  .matrix-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  .matrix-table th {
    padding: 14px 16px;
    font-size: 12px;
  }
  .matrix-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
}

/* ── Feature Deep Dive Tabs ── */
.feat-tab-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  margin-bottom: 24px;
  scrollbar-width: none;
  justify-content: flex-start;
}
.feat-tab-bar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .feat-tab-bar {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .feat-tab-btn {
    padding: 9px 15px;
    font-size: 12.5px;
    border-radius: 12px;
  }
  .feat-showcase-panel {
    border-radius: 18px;
  }
  .feat-showcase-content {
    padding: 24px 20px !important;
  }
  .feat-showcase-img-box {
    min-height: 220px !important;
  }
}

/* ── Interactive Simulator (#demo) ── */
.demo-grid-wrap {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .demo-grid-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}
@media (max-width: 640px) {
  .demo-shell-v2 {
    padding: 16px !important;
    border-radius: 18px !important;
    margin-top: 24px;
  }
  .demo-mode-tab {
    width: 100%;
    display: flex;
  }
  .demo-mode-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 11px;
    text-align: center;
  }
  .sim-terminal, .sim-cart {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  .sim-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .sim-prod-card {
    padding: 10px 8px !important;
  }
  .sim-prod-card b {
    font-size: 11px !important;
    line-height: 1.25;
  }
  .sim-prod-card small {
    font-size: 11.5px !important;
  }
  .repair-breakdown-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
}
@media (max-width: 360px) {
  .sim-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── ROI Calculator ── */
.roi-card {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card);
  padding: 36px;
  box-shadow: var(--k-shadow-card);
}
@media (max-width: 640px) {
  .roi-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .roi-summary-pill {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
    padding: 14px 16px !important;
  }
}

/* ── Preconfigured Industry Workspaces ── */
.industry-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
.industry-layout .tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.industry-layout .tab {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--k-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
}
.industry-layout .tab:hover {
  border-color: #CBD5E1;
  transform: translateX(3px);
}
.industry-layout .tab.active {
  background: var(--k-slate);
  color: #FFFFFF;
  border-color: var(--k-slate);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}
.industry-panel {
  background: #FFFFFF;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-card);
  padding: 36px 32px;
  box-shadow: var(--k-shadow-card);
  text-align: left;
}
.industry-checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .industry-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .industry-layout .tabs {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .industry-layout .tabs::-webkit-scrollbar { display: none; }
  .industry-layout .tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
  }
  .industry-layout .tab span:last-child { display: none; }
  .industry-panel {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .industry-checks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ── Testimonials ── */
@media (max-width: 1024px) {
  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }
  .quote-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* ── Pricing Matrix ── */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.k-switch-pill {
  display: inline-flex;
  padding: 5px;
  background: #EAE8DF;
  border-radius: 14px;
  border: 1px solid #DBD7CA;
  max-width: 100%;
}
.k-switch-btn {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  color: #526456;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.k-switch-btn.active {
  background: #FFFFFF;
  color: var(--k-slate);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 640px) {
  .pricing-toggle-wrap {
    margin-bottom: 24px;
  }
  .k-switch-pill {
    width: 100%;
    display: flex;
  }
  .k-switch-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    text-align: center;
  }
  .pricing-matrix {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  .pricing-card {
    padding: 26px 20px;
    border-radius: 20px;
  }
  .pricing-price-wrap .price-num {
    font-size: 34px;
  }
  .selfhost-callout-box {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }
  .selfhost-callout-box .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── FAQ ── */
@media (max-width: 640px) {
  .faq {
    gap: 10px;
  }
  .faq-btn {
    padding: 16px 18px;
    font-size: 14.5px;
  }
  .faq-btn span:first-child {
    padding-right: 12px;
  }
  .faq-btn span:last-child {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .faq-answer {
    padding: 0 18px 18px;
    font-size: 13.5px;
    padding-top: 14px;
  }
}

/* ── Bottom CTA Banner ── */
@media (max-width: 640px) {
  .bottom-cta-banner {
    padding: 36px 20px !important;
    border-radius: 20px !important;
  }
  .bottom-cta-banner h2 {
    font-size: clamp(24px, 6.5vw, 34px) !important;
    margin-bottom: 14px !important;
  }
  .bottom-cta-banner p {
    font-size: 14.5px !important;
    margin-bottom: 24px !important;
  }
}

/* ── Footer ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 540px) {
  footer.k-footer {
    padding: 50px 0 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
  }
}
