/* ================================================================
   KRYPTON DESIGN SYSTEM — Light Enterprise Theme
   Bootstrap 5 grid only. All other styling is custom.
   ================================================================ */

:root {
  /* Backgrounds */
  --bg-base:     #f8fafb;
  --bg-surface:  #ffffff;
  --bg-elevated: #ffffff;
  --bg-card:     #ffffff;
  --bg-input:    #ffffff;

  /* Accent */
  --accent-green:  #2a9d3f;
  --accent-green2: #1e7a2e;
  --accent-green3: #e8f7eb;
  --accent-cyan:   #0077b6;
  --accent-purple: #6d28d9;
  --accent-blue:   #1967d2;
  --accent-orange: #b45309;
  --accent-red:    #c62828;

  /* Text */
  --text-primary:   #0f1f2e;
  --text-secondary: #3d5166;  /* darkened slightly for better contrast */
  --text-muted:     #5e7589;  /* was #8fa3b8 (2.5:1) → now 4.8:1 on white — WCAG AA ✓ */

  /* Borders */
  --border:        #e2e8ef;
  --border-hover:  #c8d3de;
  --border-green:  rgba(42,157,63,0.25);
  --border-input:  #d1dce8;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(15,31,46,0.06), 0 4px 16px rgba(15,31,46,0.04);
  --shadow-md: 0 4px 24px rgba(15,31,46,0.09), 0 2px 8px rgba(15,31,46,0.05);
  --shadow-lg: 0 12px 48px rgba(15,31,46,0.12), 0 4px 16px rgba(15,31,46,0.06);
  --shadow-green: 0 4px 24px rgba(42,157,63,0.22);

  /* Radii */
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-base);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
  word-break: break-word;
  overflow-wrap: break-word;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
a { text-decoration: none; }
p { margin-bottom: 0; line-height: 1.82; }
code, .mono { font-family: 'JetBrains Mono', monospace; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* ── NAVBAR ── */
.kr-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.kr-nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.96); }
.kr-nav.scrolled .nav-link,
.kr-nav.scrolled .navbar-cta-area { height: 56px; }
.kr-nav.scrolled .navbar-brand { padding: 9px 0; }
.kr-nav .navbar-brand { display: flex; align-items: center; gap: 10px; padding: 13px 0; transition: padding .25s; }
.brand-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent-green), #1e7a2e);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; font-family: 'Sora', sans-serif;
  color: #fff; flex-shrink: 0;
}
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.04em; color: var(--text-primary); }
.brand-name span { color: var(--accent-green); }
.kr-nav .nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary) !important;
  padding: 0 1rem !important; height: 64px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, height .25s; white-space: nowrap;
}
.kr-nav .nav-link:hover, .kr-nav .nav-link.active { color: var(--text-primary) !important; border-bottom-color: var(--accent-green); }
.kr-nav .dropdown-menu {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.5rem; min-width: 290px; margin-top: 0;
}
.kr-nav .dropdown-item { border-radius: 8px; padding: 0.65rem 0.9rem; color: var(--text-secondary); transition: background .15s, color .15s; }
.kr-nav .dropdown-item:hover { background: var(--bg-base); color: var(--text-primary); }

/* ── Nav right-side CTA area ── */
.kr-nav .navbar-cta-area {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;            /* match nav-link height */
  transition: height .25s;
}
/* Nav-scoped primary button — no shadow/lift inside a sticky bar */
.kr-nav .btn-kr-primary {
  padding: .48rem 1.2rem;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: none;          /* remove green glow — too heavy in nav */
  border-radius: 8px;
  flex-shrink: 0;
}
.kr-nav .btn-kr-primary:hover {
  box-shadow: none;          /* no glow on hover either */
  transform: none;           /* no lift — buttons should not jump inside sticky nav */
  background: var(--accent-green2);
}

.dd-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px;
  border-radius: 4px; border: 1px solid;
  background: var(--accent-green3); color: var(--accent-green2); border-color: rgba(42,157,63,0.2);
  margin-left: 5px;
}
.dd-sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }
.nav-icon-box { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
/* Products dropdown — categorized layout */
.kr-nav .kr-products-menu { min-width: 330px; }
.kr-dd-cat { color: var(--text-muted); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px 4px; }
.kr-dd-cat-sep { margin-top: 2px; border-top: 1px solid var(--border); padding-top: 10px; }
/* Mobile drawer — product category labels */
.kr-drawer-cat { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding: 10px 24px 3px; border-top: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn-kr-primary {
  background: var(--accent-green);
  color: #fff !important; border: none; border-radius: 8px;
  padding: 0.58rem 1.5rem; font-size: 0.9rem; font-weight: 600;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
  box-shadow: var(--shadow-green);
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
}
.btn-kr-primary:hover { background: var(--accent-green2); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(42,157,63,0.18); color: #fff !important; }
.btn-kr-primary:active { transform: translateY(0); box-shadow: none; }
.btn-kr-primary.disabled, .btn-kr-primary[disabled],
.btn-kr-outline.disabled, .btn-kr-outline[disabled] { opacity: .5; pointer-events: none; cursor: default; }
.btn-kr-outline {
  background: transparent; color: var(--text-primary) !important;
  border: 1.5px solid var(--border-hover); border-radius: 8px;
  padding: 0.55rem 1.5rem; font-size: 0.9rem; font-weight: 600;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
}
.btn-kr-outline:hover { border-color: var(--accent-green); color: var(--accent-green) !important; background: var(--accent-green3); }
.btn-kr-ghost {
  background: transparent; color: var(--text-secondary) !important; border: none;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 5px; transition: color .15s; cursor: pointer;
}
.btn-kr-ghost:hover { color: var(--text-primary) !important; }
.btn-kr-danger {
  background: rgba(198,40,40,0.08); color: var(--accent-red) !important;
  border: 1px solid rgba(198,40,40,0.2); border-radius: 8px;
  padding: 0.45rem 1rem; font-size: 0.84rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: all .2s; cursor: pointer;
}
.btn-kr-danger:hover { background: rgba(198,40,40,0.14); }
.btn-lg-kr { padding: 0.82rem 2.2rem !important; font-size: 1rem !important; border-radius: 10px !important; }

/* ── KEYBOARD FOCUS (accessibility) ──
   Visible, on-brand focus ring for keyboard users only (:focus-visible).
   Mouse clicks don't trigger it; outline follows each element's own radius. */
.btn-kr-primary:focus-visible,
.btn-kr-outline:focus-visible,
.btn-kr-ghost:focus-visible,
.btn-kr-danger:focus-visible,
.kr-nav .nav-link:focus-visible,
.kr-nav .dropdown-item:focus-visible,
.kr-prod-tabs .nav-link:focus-visible,
.accordion-button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}
/* Lighter ring on dark backgrounds for contrast */
.kr-section-dark a:focus-visible,
.cta-section .btn-kr-outline:focus-visible,
.kr-footer a:focus-visible {
  outline-color: #6ee08a;
}

/* ── SECTIONS ── */
.kr-section { padding: 96px 0; position: relative; z-index: 1; }
.kr-section-sm { padding: 68px 0; position: relative; z-index: 1; }
.kr-section-alt { background: var(--bg-base); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; color: var(--accent-green);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.85rem;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.section-sub { color: var(--text-secondary); font-size: 1rem; max-width: 520px; line-height: 1.82; }

/* ── PAGE HEADER ── */
.page-header {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, #f4fbf5 0%, #fff 55%, #f0f7ff 100%);
  padding: 60px 0 52px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,157,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-eyebrow { font-size: 0.7rem; font-weight: 700; color: var(--accent-green); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 0.75rem; }
.page-header p { color: var(--text-secondary); font-size: 1rem; max-width: 540px; line-height: 1.8; }

/* ── DATASHEET CATALOG HERO ── */
.datasheet-hero {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.datasheet-hero .lead { max-width: 600px; color: var(--text-secondary); }
/* Laptop / Mobile video dropdown hover */
.datasheet-card .dropdown-menu { border-color: var(--border); }
.datasheet-card .dropdown-item { color: var(--text-secondary); transition: background .15s, color .15s; }
.datasheet-card .dropdown-item:hover {
  background: var(--accent-green3);
  color: var(--accent-green2) !important;
}
.datasheet-card .dropdown-item:hover i { color: var(--accent-green2) !important; }

/* ── HERO ── */
.kr-hero {
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,.04) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(160deg, #f4fbf5 0%, #ffffff 45%, #f0f7ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 88px; overflow: hidden; z-index: 1;
}
.kr-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,157,63,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.kr-hero::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25,103,210,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-green3); border: 1px solid rgba(42,157,63,0.25);
  color: var(--accent-green2); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 14px 5px 10px; border-radius: 100px; margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%;
  animation: kpulse 2s ease infinite; flex-shrink: 0;
}
@keyframes kpulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(42,157,63,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(42,157,63,0); }
}
.hero-title { font-size: clamp(2.5rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; margin-bottom: 1.4rem; }
.hero-title .grad, .grad { color: var(--accent-green); }
.hero-sub { font-size: 1.08rem; color: var(--text-secondary); max-width: 500px; line-height: 1.82; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; align-items: center; }
.hero-proof { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); }
.hero-proof-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-hover); }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
.hero-stat { background: #fff; padding: 16px 20px; }
.hero-stat-val { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.04em; line-height: 1; }
.hero-stat-val span { color: var(--accent-green); }
.hero-stat-label { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── DASHBOARD PREVIEW ── */
.dash-frame { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.dash-titlebar { background: #f8fafb; padding: 10px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.traffic-lights { display: flex; gap: 6px; }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.dash-url { font-family: 'JetBrains Mono', monospace; font-size: 0.63rem; color: var(--text-muted); background: #fff; padding: 3px 12px; border-radius: 5px; border: 1px solid var(--border); flex: 1; text-align: center; }
.dash-live { display: flex; align-items: center; gap: 5px; font-size: 0.6rem; color: var(--accent-green); font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.dash-live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-green); animation: kpulse 1.5s ease infinite; }
.dash-body { padding: 14px; background: #f8fafb; }
.dash-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 10px; }
.dm { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.dm-label { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 5px; }
.dm-val { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.dm-delta { font-size: 0.6rem; margin-top: 3px; font-family: 'JetBrains Mono', monospace; }
.dm-up { color: var(--accent-green); } .dm-warn { color: var(--accent-orange); } .dm-danger { color: var(--accent-red); }
.dash-lower { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.dash-chart, .dash-alerts { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; box-shadow: var(--shadow-sm); }
.dash-wt { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 9px; }
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.bar { flex: 1; border-radius: 3px 3px 0 0; transition: opacity .2s; }
.bar:hover { opacity: 1 !important; }
.alert-item { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 0.63rem; color: var(--text-secondary); }
.alert-item:last-child { border-bottom: none; }
.alert-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.alert-count { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 700; margin-left: auto; }
.dash-float { position: absolute; background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow-md); }
.df-label { font-size: 0.58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }

/* ── LOGOS BAR — Trusted By ── */
.logos-bar {
  padding: 52px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-muted);
  margin-bottom: 2rem; text-align: center;
}
.logos-row {
  display: flex; justify-content: center; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.client-logo {
  text-align: center;
  padding: 12px 32px;
  border-right: 1px solid var(--border);
  cursor: default;
  transition: background .2s;
}
.client-logo:last-child { border-right: none; }
.client-logo:hover { background: var(--bg-base); }
.client-logo-icon {
  display: block; font-size: 1.6rem; color: var(--text-muted);
  margin-bottom: 6px; transition: color .2s;
}
.client-logo:hover .client-logo-icon { color: var(--accent-green); }
.client-logo-sector {
  font-size: .62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-top: 4px;
}
@media (max-width: 767px) {
  .client-logo { border-right: none; padding: 10px 20px; }
  .logos-row { gap: 0; }
}

/* ── TICKER — Key Metrics Band ── */
.kr-ticker {
  background: var(--text-primary);
  border-top: 1px solid rgba(42,157,63,.35);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 13px 0; overflow: hidden; position: relative; z-index: 1;
}
.kr-ticker::before, .kr-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.kr-ticker::before { left: 0;  background: linear-gradient(90deg, var(--text-primary) 30%, transparent); }
.kr-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--text-primary) 30%, transparent); }
.ticker-track { display: flex; gap: 3.5rem; animation: ticker 48s linear infinite; white-space: nowrap; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.42);
  letter-spacing: .06em; text-transform: uppercase;
}
.ticker-val {
  color: #4cde76; font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: .78rem;
}
.ticker-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.2); flex-shrink: 0;
}

/* ── GLASS / SURFACE PANEL ── */
.glass-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* ── PRODUCT CARDS ── */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; height: 100%; display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: all 0.25s; text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent-green);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.product-card:hover { border-color: var(--accent-green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card:hover::after { transform: scaleX(1); }
.pc-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 1.2rem; background: var(--accent-green3); color: var(--accent-green); border: 1px solid rgba(42,157,63,0.2); }
.pc-tag { font-family: 'JetBrains Mono', monospace; font-size: 0.57rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(42,157,63,0.2); background: var(--accent-green3); color: var(--accent-green2); display: inline-block; margin-bottom: 0.75rem; }
.pc-name { font-size: 1.04rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.pc-sub { font-size: 0.68rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; margin-bottom: 0.85rem; }
.pc-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.pc-features { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.pc-features li { font-size: 0.78rem; color: var(--text-secondary); padding: 3px 0; display: flex; align-items: center; gap: 8px; }
.pc-features li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-green); flex-shrink: 0; }
.pc-cta { font-size: 0.8rem; font-weight: 600; color: var(--accent-green); display: flex; align-items: center; gap: 6px; transition: gap .2s; }
.product-card:hover .pc-cta { gap: 10px; }

/* ── FEATURE GRID ── */
.feature-item { padding: 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; transition: background .2s; }
.feature-item:hover { background: var(--bg-base); }
/* 3-column grid (default: About page capabilities) */
@media (min-width: 992px) {
  .feature-item:nth-child(3n)  { border-right: none; }
  .feature-item:nth-child(n+4) { border-bottom: none; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .feature-item:nth-child(2n)  { border-right: none; }
  .feature-item:nth-child(n+3) { border-bottom: none; }
}
/* 4-column grid (Why Krypton on home page) */
@media (min-width: 992px) {
  .feature-grid-4 .feature-item:nth-child(3n)  { border-right: 1px solid var(--border); }
  .feature-grid-4 .feature-item:nth-child(n+4) { border-bottom: 1px solid var(--border); }
  .feature-grid-4 .feature-item:nth-child(4n)  { border-right: none; }
  .feature-grid-4 .feature-item:nth-child(n+5) { border-bottom: none; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .feature-grid-4 .feature-item:nth-child(2n)  { border-right: none; }
  .feature-grid-4 .feature-item:nth-child(n+3) { border-bottom: none; }
}
/* MFA / compliance list items inside white-card */
.mfa-problem-item { padding: 11px 20px; border-bottom: 1px solid var(--border); }
.mfa-problem-item:last-child { border-bottom: none; }
.mfa-rbi-item { padding: 10px 20px; border-bottom: 1px solid var(--border); }
.mfa-rbi-item:last-child { border-bottom: none; }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-green3); border: 1px solid rgba(42,157,63,0.18); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--accent-green); margin-bottom: 1.1rem; }
.feature-title { font-size: 0.98rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.feature-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.72; }

/* ── STATS ── */
.stat-card { text-align: center; padding: 42px 20px; border-right: 1px solid var(--border); background: #fff; }
.stat-card:last-child { border-right: none; }
.stat-num { font-family: 'Sora', sans-serif; font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.5rem; color: var(--accent-green); }
.stat-label { font-size: 0.855rem; color: var(--text-muted); max-width: 130px; margin: 0 auto; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   PREMIUM ENTERPRISE POLISH — green brand + navy depth
   Adds enterprise rhythm without changing the Made-in-India palette.
   ════════════════════════════════════════════════════════════════ */

/* ── Dark navy section: deep-navy backdrop, low-opacity security grid,
      green accents. Reusable on any section that should anchor the page. ── */
.kr-section-dark {
  position: relative; z-index: 1; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(42,157,63,0.06) 0%, transparent 38%),
    linear-gradient(155deg, #0f172a 0%, #14213d 58%, #081120 100%);
  border-top: 1px solid #0b1424;
  border-bottom: 1px solid #0b1424;
}
.kr-section-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 28%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 42%, #000 28%, transparent 80%);
}
.kr-section-dark > .container { position: relative; z-index: 1; }
.kr-section-dark .section-title { color: #fff; }
.kr-section-dark .section-eyebrow { color: #6ee08a; }
.kr-section-dark .section-sub { color: rgba(255,255,255,0.62); }
.kr-section-dark .glass-panel {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 24px 64px rgba(0,0,0,0.40);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.kr-section-dark .stat-card { background: transparent; border-color: rgba(255,255,255,0.08); }
.kr-section-dark .stat-num { color: #4cde76; text-shadow: 0 0 26px rgba(76,222,118,0.35); }
.kr-section-dark .stat-label { color: rgba(255,255,255,0.55); }

/* ── Feature cards: security-themed top accent line + icon hover-glow ── */
.feature-item { position: relative; transition: background .2s, transform .2s; }
.feature-item::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.feature-item:hover::after { transform: scaleX(1); }
.feature-icon { transition: transform .2s, box-shadow .2s; }
.feature-item:hover .feature-icon { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(42,157,63,0.22); }

/* ── HOW IT WORKS ── */
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; font-weight: 700; color: var(--accent-green); background: var(--accent-green3); border: 1px solid rgba(42,157,63,0.2); border-radius: 100px; padding: 2px 10px; margin-bottom: 1rem; display: inline-block; letter-spacing: 0.06em; }
.step-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.55rem; }
.step-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.78; }
.check-list { display: flex; flex-direction: column; gap: 8px; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); }
.check-item i { color: var(--accent-green); font-size: 0.72rem; }

/* ── TESTIMONIALS ── */
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-card-featured { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(42,157,63,0.07), var(--shadow-md); }
.testi-stars { color: #f59e0b; font-size: 0.75rem; margin-bottom: 1rem; letter-spacing: 3px; }
.testi-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 0.75rem;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(6 * 1.82em);
}
.testi-hindi {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
  font-style: italic;
  padding: 10px 14px;
  background: var(--bg-base);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 6px 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(4 * 1.75em + 20px);
}
.testi-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green2));
  color: #fff; font-size: 0.78rem; font-weight: 800;
  font-family: 'Sora', sans-serif; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1px; }
.testi-role { font-size: 0.76rem; color: var(--text-secondary); margin-bottom: 2px; }
.testi-company { font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 3px; }
.testi-company i { font-size: 0.65rem; }
.testi-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-green2); white-space: nowrap; }
.testi-verified i { font-size: 0.8rem; color: var(--accent-green); }

/* ── CTA SECTION ── */
.cta-section {
  position: relative; z-index: 1; padding: 96px 0; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(155deg, #0f172a 0%, #14213d 58%, #081120 100%);
  border-top: 1px solid #0b1424;
  border-bottom: 1px solid #0b1424;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(42,157,63,0.14) 0%, transparent 70%); pointer-events: none; }
.cta-section::after  { content: ''; position: absolute; bottom: -60px; left: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; color: var(--accent-green2); letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent-green3); border: 1px solid rgba(42,157,63,0.25); padding: 4px 14px; border-radius: 100px; margin-bottom: 1.5rem; }
.cta-title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff !important; margin-bottom: 1rem; }
.cta-sub { font-size: 1.04rem; color: rgba(255,255,255,0.64); margin-bottom: 2.5rem; max-width: 470px; margin-left: auto; margin-right: auto; line-height: 1.82; }
.cta-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1.5rem; font-size: 0.74rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; }
.cta-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.cta-section .btn-kr-primary { background: var(--accent-green); color: #fff !important; box-shadow: var(--shadow-green); }
.cta-section .btn-kr-primary:hover { background: var(--accent-green2); transform: translateY(-1px); color: #fff !important; }
.cta-section .btn-kr-outline { border-color: rgba(255,255,255,0.28); color: #fff !important; }
.cta-section .btn-kr-outline:hover { border-color: #4cde76; color: #4cde76 !important; background: rgba(76,222,118,0.10); }

/* ── FOOTER ── */
.kr-footer { background: #1e293b; color: rgba(255,255,255,0.5); padding: 0; }

/* Pre-footer CTA strip */
.footer-cta-strip {
  background: linear-gradient(160deg, #f4fbf5 0%, #ffffff 50%, #f0fdf4 100%);
  border-top: 1px solid #c6eece;
  border-bottom: 1px solid #c6eece;
  padding: 56px 0;
}
.footer-cta-eyebrow { font-size: 0.68rem; font-weight: 700; color: var(--accent-green2); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 6px; }
.footer-cta-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.footer-cta-sub { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0; line-height: 1.7; }
.footer-email-row { display: flex; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; padding: 6px 6px 6px 16px; max-width: 440px; box-shadow: var(--shadow-sm); }
.footer-email-input { flex: 1; background: transparent; border: none; outline: none; font-size: 0.9rem; color: var(--text-primary); font-family: 'Outfit', sans-serif; min-width: 0; }
.footer-email-input::placeholder { color: var(--text-muted); }
.footer-email-row:focus-within { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(42,157,63,0.1); }
.footer-email-btn { background: var(--accent-green); color: #fff; border: none; border-radius: 7px; padding: 0.55rem 1.25rem; font-size: 0.85rem; font-weight: 700; font-family: 'Outfit', sans-serif; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, transform .2s; text-decoration: none; }
.footer-email-btn:hover { background: var(--accent-green2); transform: translateY(-1px); color: #fff; }
.footer-cta-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.65rem; margin-bottom: 0; }
.footer-cta-note a { color: var(--accent-green); transition: color .15s; }
.footer-cta-note a:hover { color: var(--accent-green2); }

/* Main columns */
.footer-main { padding: 64px 0 52px; }
.footer-brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.04em; color: #fff; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.75; margin-top: 0.6rem; max-width: 240px; }

/* Compliance certs */
.footer-certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 1.5rem; max-width: 240px; }
.footer-cert { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 8px 10px; transition: border-color .2s; }
.footer-cert:hover { border-color: rgba(76,222,118,0.3); }
.footer-cert-icon { font-size: 14px; color: #4cde76; flex-shrink: 0; }
.footer-cert-label { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.75); line-height: 1.1; font-family: 'Sora', sans-serif; }
.footer-cert-sub { font-size: 0.6rem; color: rgba(255,255,255,0.3); line-height: 1.1; }

/* Socials */
.footer-social { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 14px; transition: all .2s; }
.footer-social:hover { color: #fff; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Link columns */
.footer-col-title { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-link { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: rgba(255,255,255,0.42); padding: 4px 0; transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-link-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; opacity: 0.7; }
.footer-link:hover .footer-link-dot { opacity: 1; }
.fld-green  { background: #00d166; }
.fld-blue   { background: var(--accent-blue); }
.fld-cyan   { background: var(--accent-cyan); }
.fld-red    { background: var(--accent-red); }
.fld-purple { background: var(--accent-purple); }
.fld-orange { background: var(--accent-orange); }
.footer-link-all { color: rgba(255,255,255,0.28); font-size: 0.78rem; margin-top: 4px; }
.footer-link-all:hover { color: #4cde76; }
.footer-badge-new { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(76,222,118,0.15); color: #4cde76; border: 1px solid rgba(76,222,118,0.25); padding: 1px 6px; border-radius: 4px; margin-left: 2px; }

/* Bottom bar */
.footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.78rem; }
.footer-bottom-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-copy { color: rgba(255,255,255,0.3); }
.footer-bottom-sep { color: rgba(255,255,255,0.15); }
.footer-hq { color: rgba(255,255,255,0.25); display: flex; align-items: center; gap: 4px; font-size: 0.75rem; }
.footer-hq i { font-size: 0.7rem; }
.footer-status { display: flex; align-items: center; gap: 7px; color: #4cde76; font-size: 0.72rem; font-family: 'JetBrains Mono', monospace; }
.footer-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4cde76; box-shadow: 0 0 6px #4cde76; animation: kpulse 2s infinite; flex-shrink: 0; }
.footer-status-link { color: rgba(255,255,255,0.28); font-size: 0.7rem; font-family: 'JetBrains Mono', monospace; transition: color .15s; border-left: 1px solid rgba(255,255,255,0.12); padding-left: 7px; margin-left: 2px; }
.footer-status-link:hover { color: #4cde76; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.25); font-size: 0.77rem; margin-left: 1.25rem; transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 991px) {
  .footer-email-row { max-width: 100%; }
  .footer-certs { max-width: 100%; grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 767px) {
  .footer-cta-strip { padding: 40px 0; }
  .footer-main { padding: 48px 0 40px; }
  .footer-certs { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-legal { margin-top: 0.25rem; }
  .footer-legal a { margin-left: 0; margin-right: 1.25rem; }
}

/* ── BREADCRUMB ── */
.kr-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; margin-bottom: 1.25rem; }
.kr-breadcrumb a { color: var(--text-muted); transition: color .15s; }
.kr-breadcrumb a:hover { color: var(--accent-green); }
.kr-breadcrumb .sep { color: var(--border-hover); }
.kr-breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* ── BADGES / CHIPS ── */
.kr-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.kr-badge-green { background: var(--accent-green3); color: var(--accent-green2); border: 1px solid rgba(42,157,63,0.25); }
.kr-badge-blue  { background: #e8f0fe; color: var(--accent-blue);  border: 1px solid rgba(25,103,210,0.2); }
.kr-badge-red   { background: #ffebee; color: var(--accent-red);   border: 1px solid rgba(198,40,40,0.2);  }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; }
.chip-green  { background: var(--accent-green3); color: var(--accent-green2); }
.chip-blue   { background: #e8f0fe; color: var(--accent-blue); }
.chip-red    { background: #ffebee; color: var(--accent-red); }
.chip-orange { background: #fff8e1; color: var(--accent-orange); }
.chip-gray   { background: var(--bg-base); color: var(--text-muted); border: 1px solid var(--border); }
.chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ── FORM ELEMENTS ── */
.kr-form-group { margin-bottom: 1.2rem; }
.kr-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.38rem; }
.kr-input {
  width: 100%; padding: 0.62rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; font-family: 'Outfit', sans-serif;
  color: var(--text-primary); background: var(--bg-input);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.kr-input:focus { border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(42,157,63,0.1); }
.kr-input::placeholder { color: var(--text-muted); }
.kr-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238fa3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 2.5rem !important; cursor: pointer;
}
.kr-textarea { resize: vertical; min-height: 110px; }
.kr-hint { font-size: 0.74rem; color: var(--text-muted); margin-top: 4px; }
.kr-error { font-size: 0.74rem; color: var(--accent-red); margin-top: 4px; }
.kr-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.85rem; color: var(--text-secondary); }
.kr-checkbox input[type=checkbox] { accent-color: var(--accent-green); width: 15px; height: 15px; cursor: pointer; }

/* ── PRICING NOTICE & GST NOTE ── */
.pricing-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff8e1; border: 1px solid #f59e0b44;
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 0.84rem; color: var(--text-secondary);
  margin-top: 1.25rem; max-width: 620px;
}
.pricing-notice i { color: var(--accent-orange); flex-shrink: 0; margin-top: 2px; }
.pricing-gst-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.pricing-gst-note i { flex-shrink: 0; margin-top: 2px; }
.pricing-gst-note a { color: var(--accent-green); margin-left: 4px; }

/* ── MODULE PRICING CARDS ── */
.module-price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  overflow: hidden;
}
.module-price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.mpc-header {
  padding: 22px 24px;
  border-bottom: 1px solid;
  border-color: var(--border);
  display: flex; align-items: flex-start; gap: 14px;
}
.mpc-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; border: 1px solid;
}
.mpc-name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.mpc-desc { font-size: 0.76rem; color: var(--text-muted); line-height: 1.6; }

.mpc-tiers {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.mpc-tier { flex: 1; padding: 16px 20px; }
.mpc-tier-divider { width: 1px; background: var(--border); flex-shrink: 0; }
.mpc-tier-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 6px; }
.mpc-tier-price { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent-green); line-height: 1; }
.mpc-tier-price span { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }  /* targets "/mo" */
.mpc-tier-price .price-amount { font-size: 1.5rem; font-weight: 800; color: var(--accent-green); }  /* overrides span rule */
.mpc-tier-note { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.mpc-tier-pro { background: var(--bg-base); }

.mpc-features { list-style: none; padding: 16px 24px; margin: 0; flex: 1; }
.mpc-features li { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); padding: 4px 0; }

.mpc-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

/* ── LEGACY PRICING CARDS (kept for plan-* classes used elsewhere) ── */
.pricing-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; height: 100%; position: relative; box-shadow: var(--shadow-sm); transition: all .25s; }
.pricing-card.featured { border-color: var(--accent-green); box-shadow: 0 0 0 4px rgba(42,157,63,0.07), var(--shadow-md); }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent-green); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 14px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.plan-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-price .amount { font-family: 'Sora', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--accent-green); }
.plan-price .currency { font-size: 1.4rem; font-weight: 700; color: var(--accent-green); vertical-align: super; }
.plan-price .per { font-size: 0.8rem; color: var(--text-muted); }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.plan-features li { font-size: 0.84rem; color: var(--text-secondary); padding: 6px 0; display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features .check { color: var(--accent-green); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.plan-features .cross { color: var(--border-hover); font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }

/* ── STEP INDICATOR ── */
.kr-steps { display: flex; align-items: center; }
.kr-step { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.kr-step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-hover); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; transition: all .3s; color: var(--text-muted); }
.kr-step.active { color: var(--accent-green); }
.kr-step.active .kr-step-num { border-color: var(--accent-green); background: var(--accent-green); color: #fff; }
.kr-step.done { color: var(--accent-green2); }
.kr-step.done .kr-step-num { border-color: var(--accent-green); background: var(--accent-green3); color: var(--accent-green); }
.kr-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 8px; min-width: 30px; }
.kr-step-line.done { background: var(--accent-green); }

/* ── TABLE ── */
.kr-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.kr-table thead th { background: var(--bg-base); color: var(--text-muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 10px 14px; border-bottom: 2px solid var(--border); white-space: nowrap; }
.kr-table tbody td { padding: 13px 14px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: middle; }
.kr-table tbody tr:hover td { background: var(--bg-base); }
.kr-table tbody tr:last-child td { border-bottom: none; }

/* ── CARD ── */
.kr-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.kr-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.kr-card-hover:hover { transform: translateY(-3px); }

/* ── DOWNLOAD ITEM ── */
.download-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.download-item:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.dl-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.dl-name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.dl-meta { font-size: 0.75rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }

/* ── SUPPORT ── */
.support-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: all .25s; text-decoration: none; display: flex; flex-direction: column; }
.support-card:hover { border-color: var(--accent-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.support-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 1.1rem; }
.support-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.support-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; }

/* ── CART ── */
.cart-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); }
.cart-item-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cart-item-name { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.cart-item-sub { font-size: 0.75rem; color: var(--text-muted); }
.cart-item-price { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--accent-green); margin-left: auto; }
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 84px; box-shadow: var(--shadow-sm); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.875rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--accent-green); }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--bg-base); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; font-size: 14px; }
.qty-btn:hover { border-color: var(--accent-green); color: var(--accent-green); }
.qty-val { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); min-width: 20px; text-align: center; }

/* ── CHECKOUT ── */
.checkout-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.checkout-section-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--accent-green3); border: 2px solid rgba(42,157,63,0.3); display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--accent-green); margin: 0 auto 1.5rem; }

/* ── ACCORDION ── */
.accordion-item { background: #fff; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; margin-bottom: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion-button { background: #fff; color: var(--text-primary); font-size: 0.9rem; font-weight: 600; font-family: 'Outfit', sans-serif; box-shadow: none !important; padding: 16px 20px; }
.accordion-button:not(.collapsed) { background: var(--accent-green3); color: var(--accent-green2); }
.accordion-button::after { filter: none; }
.accordion-body { background: #fff; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.8; padding: 0 20px 18px; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* Respect reduced-motion: show scroll content instantly, stop auto-scroll ticker */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ticker-track { animation: none !important; }
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent-green), #00b8cc);
  z-index: 2000; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(0,209,102,0.5);
}

/* ── UNIFIED FLOAT HUB ── */
#float-hub {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Scroll-to-top: lives inside the hub, hidden until user scrolls */
#scroll-top {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff;
  color: var(--accent-green);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
  pointer-events: none;
  align-self: flex-end;
}
#scroll-top.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
#scroll-top:hover {
  background: var(--accent-green); color: #fff;
  box-shadow: 0 4px 16px rgba(42,157,63,0.3);
  border-color: var(--accent-green);
}

/* Divider between scroll-top and contact actions — only shows when scroll-top visible */
.float-divider {
  width: 38px; height: 1px;
  background: var(--border);
  align-self: flex-end;
  opacity: 0;
  transition: opacity .3s;
}
.float-divider.visible { opacity: 1; }

/* Contact action pills */
.float-action {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px 0 12px;
  height: 44px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  transition: transform .2s, box-shadow .2s, padding .2s;
  overflow: hidden;
}
.float-action-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}
.float-action-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* WhatsApp pill */
.float-wa {
  background: #25d366;
  color: #fff;
}
.float-wa:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* Call pill */
.float-call {
  background: var(--text-primary);
  color: #fff;
}
.float-call:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15,31,46,0.35);
}

/* On mobile: shrink pills to icon-only */
@media (max-width: 480px) {
  .float-action {
    width: 44px; height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .float-action-label { display: none; }
  #float-hub { bottom: 16px; right: 16px; }
  #scroll-top { width: 36px; height: 36px; }
}

/* ── COOKIE CONSENT BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1050;
  background: #1e293b;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.25);
  animation: slideUp .35s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-text {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: rgba(255,255,255,0.7); line-height: 1.6;
  flex: 1; min-width: 260px;
}
.cookie-text a { color: #4cde76; }
.cookie-icon { color: #4cde76; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn-outline {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 7px;
  padding: 7px 16px; font-size: .82rem; font-weight: 600;
  font-family: 'Outfit', sans-serif; cursor: pointer; transition: all .15s;
}
.cookie-btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.cookie-btn-accept {
  background: var(--accent-green); color: #fff; border: none;
  border-radius: 7px; padding: 7px 18px; font-size: .82rem; font-weight: 700;
  font-family: 'Outfit', sans-serif; cursor: pointer; transition: background .15s;
}
.cookie-btn-accept:hover { background: var(--accent-green2); }
@media (max-width: 576px) {
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn-outline, .cookie-btn-accept { flex: 1; text-align: center; }
  #float-cta { bottom: 90px; }
  #scroll-top { bottom: 158px; }
}

/* ── FOOTER CONTACT ── */
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-row { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color .15s; }
.footer-contact-row i { color: #4cde76; flex-shrink: 0; font-size: 0.72rem; }
.footer-contact-row:hover { color: rgba(255,255,255,0.8); }
.footer-contact-label { font-size: 0.65rem; color: rgba(255,255,255,0.25); margin-left: 2px; text-transform: uppercase; letter-spacing: .05em; }
.footer-cta-outline { border-color: rgba(255,255,255,.35) !important; color: rgba(255,255,255,.85) !important; }
.footer-cta-outline:hover { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.7) !important; color: #fff !important; }

/* ── KSI PRODUCT PAGE ── */

/* Hero */
.ksi-hero {
  background: linear-gradient(160deg, #f4fbf5 0%, #fff 45%, #f0f7ff 100%);
  padding: 80px 0 90px;
  position: relative; overflow: hidden; z-index: 1;
}
.ksi-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,209,102,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Product badge */
.ksi-product-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.ksi-badge-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,209,102,0.1); border: 1px solid rgba(0,209,102,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent-green); flex-shrink: 0;
}
.ksi-badge-code { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 700; color: var(--accent-green); letter-spacing: 0.1em; }
.ksi-badge-label { font-size: 0.84rem; font-weight: 700; color: var(--text-primary); }

/* Hero typography */
.ksi-hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; margin-bottom: 1.25rem; }
.ksi-hero-sub { font-size: 1.05rem; color: var(--text-secondary); max-width: 500px; line-height: 1.82; margin-bottom: 2rem; }

/* Hero stats */
.ksi-hero-stats { display: flex; align-items: center; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); width: fit-content; }
.ksi-stat { padding: 14px 22px; }
.ksi-stat-val { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.04em; line-height: 1; }
.ksi-stat-lbl { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px; }
.ksi-stat-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Trust badges */
.ksi-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.ksi-trust-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); background: #fff; border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; }
.ksi-trust-badge i { color: var(--accent-green); font-size: 0.7rem; }

/* Dashboard wrap */
.ksi-dash-wrap { position: relative; }

/* Pillars */
.ksi-pillar { padding: 32px 24px; }
.ksi-pillar-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 1.25rem; }
.ksi-pillar-title { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.ksi-pillar-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.8; }

/* Feature cards */
.ksi-feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; height: 100%; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.ksi-feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ksi-feat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 1rem; }
.ksi-feat-title { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; line-height: 1.3; }
.ksi-feat-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.72; }

/* How it works steps */
.ksi-step { text-align: center; padding: 8px; }
.ksi-step-num { width: 56px; height: 56px; border-radius: 14px; border: 2px solid; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 1rem; }
.ksi-step-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 700; color: var(--accent-green); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.ksi-step-title { font-size: 0.98rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.ksi-step-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.72; }

/* Resource cards */
.ksi-resource-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s;
  height: 100%;
}
.ksi-resource-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }
.ksi-res-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ksi-res-name { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.ksi-res-meta { font-size: 0.68rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.ksi-res-desc { font-size: 0.76rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.ksi-res-btn { font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s; }
.ksi-res-btn:hover { gap: 8px; }

/* Gated form */
.ksi-gated-form { background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.ksi-gated-inner { display: flex; flex-direction: column; gap: 12px; }
.ksi-gated-text { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; }
.ksi-gated-form-row { display: flex; gap: 10px; }
@media (max-width: 480px) { .ksi-gated-form-row { flex-direction: column; } }

/* Platform cards */
.ksi-platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 12px; text-align: center; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.ksi-platform-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ksi-platform-name { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); line-height: 1.3; }

/* Testimonial */
.ksi-testi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md); position: relative;
  border-left: 4px solid var(--accent-green);
}
.ksi-testi-quote {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.9;
  font-style: italic; margin-bottom: 1.5rem; border: none; padding: 0;
}
.ksi-testi-author { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ksi-testi-logo { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .kr-nav .nav-link { height: auto; padding: 10px 16px !important; border-bottom: none; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
}
@media (max-width: 767px) {
  .kr-section { padding: 68px 0; }
  .kr-hero { padding: 72px 0 60px; }
  .dash-metrics { grid-template-columns: repeat(2,1fr); }
  .dash-lower { grid-template-columns: 1fr; }
  .feature-item { border-right: none; }
  .btn-lg-kr { padding: 0.75rem 1.75rem !important; }
  .cart-item { flex-wrap: wrap; }
}

/* ================================================================
   ADDITIONS — Dark mode, drawer, progress bar, pricing toggle,
   form validation, sticky cart, count-up
   ================================================================ */

/* ── PAGE PROGRESS BAR ── */
#page-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent-green); z-index: 9999;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease, opacity 0.4s ease;
  opacity: 0; pointer-events: none;
}


/* ── MOBILE NAV DRAWER ── */
.kr-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 1040; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.kr-drawer-backdrop.open { opacity: 1; pointer-events: all; }

.kr-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-surface);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.kr-drawer.open { transform: translateX(0); }

.kr-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.kr-drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .15s, color .15s;
  padding: 0;
}
.kr-drawer-close:hover { background: var(--bg-base); color: var(--text-primary); }

.kr-drawer-body { flex: 1; overflow-y: auto; padding: 8px 0; }

.kr-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; font-size: .9rem; font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  transition: background .15s, color .15s;
}
.kr-drawer-link:hover,
.kr-drawer-link.active { background: var(--bg-base); color: var(--text-primary); }

.kr-drawer-section {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-muted);
  padding: 12px 20px 4px;
}
.kr-drawer-divider { height: 1px; background: var(--border); margin: 6px 20px; }

.kr-drawer-sub {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 24px; color: var(--text-secondary);
  font-size: .84rem; text-decoration: none;
  transition: background .15s, color .15s;
}
.kr-drawer-sub:hover,
.kr-drawer-sub.active { background: var(--bg-base); color: var(--text-primary); }

.kr-drawer-sub-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

.kr-drawer-footer {
  padding: 14px 20px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px; flex-shrink: 0;
}

/* ── PRICING BILLING STRIP (prominent toggle bar above all pricing) ── */
.pricing-billing-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: center;
}
.pricing-billing-strip .pricing-toggle-wrap { margin-bottom: 0; }

/* ── PRICING BILLING TOGGLE ── */
.pricing-toggle-wrap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 2.5rem;
}
.pricing-toggle-label {
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
  transition: color .15s;
}
.pricing-toggle-label.active { color: var(--text-primary); font-weight: 600; }

.pricing-toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.pricing-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.pricing-toggle-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--border-hover); border-radius: 24px;
  transition: background .2s;
}
.pricing-toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pricing-toggle-switch input:checked + .pricing-toggle-slider { background: var(--accent-green); }
.pricing-toggle-switch input:checked + .pricing-toggle-slider::before { transform: translateX(20px); }

.pricing-toggle-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0,209,102,.12); color: var(--accent-green);
  border: 1px solid rgba(0,209,102,.22); padding: 2px 8px; border-radius: 20px;
  transition: opacity .2s;
}

/* ── STICKY CART SUMMARY ── */
.cart-summary-sticky { position: sticky; top: 88px; }

/* ── FORM VALIDATION ── */
.kr-input-error { border-color: var(--accent-red) !important; }
.kr-field-error {
  font-size: .75rem; color: var(--accent-red);
  margin-top: 5px; display: none;
}

/* ================================================================
   READABILITY SYSTEM
   — Raises all font sizes below 0.72 rem to accessible minimums
   — Improves contrast, line-height and letter-spacing throughout
   ================================================================ */

/* ── Eyebrows, labels, badges ── */
.section-eyebrow          { font-size: .75rem; }
.page-header-eyebrow      { font-size: .75rem; }
.section-eyebrow-xs       { font-size: .72rem; }
.hero-badge               { font-size: .76rem; }
.hero-stat-label          { font-size: .74rem; }
.logos-label              { font-size: .74rem; }
.cta-badge                { font-size: .74rem; }
.kr-badge                 { font-size: .74rem; }
.chip                     { font-size: .74rem; }
.plan-popular             { font-size: .68rem; letter-spacing: .06em; }
.dd-tag                   { font-size: .66rem; }
.dd-sub                   { font-size: .74rem; }
.pc-tag                   { font-size: .64rem; letter-spacing: .09em; }
.pc-sub                   { font-size: .74rem; }

/* ── Step / how-it-works ── */
.step-num                 { font-size: .66rem; }

/* ── Pricing ── */
.mpc-tier-label           { font-size: .72rem; letter-spacing: .08em; }
.mpc-tier-note            { font-size: .74rem; }

/* ── Testimonials ── */
.testi-role               { font-size: .78rem; }
.testi-company            { font-size: .74rem; }

/* ── Table ── */
.kr-table thead th        { font-size: .74rem; }

/* ── Footer ── */
.footer-cta-eyebrow       { font-size: .72rem; }
.footer-cta-note          { font-size: .78rem; }
.footer-col-title         { font-size: .70rem; }
.footer-cert-label        { font-size: .72rem; }
.footer-cert-sub          { font-size: .66rem; }
.footer-status            { font-size: .74rem; }
.footer-status-link       { font-size: .72rem; }
.footer-hq                { font-size: .78rem; }
.footer-link              { font-size: .88rem; }
.footer-bottom            { font-size: .82rem; }

/* ── KSI / product detail labels ── */
.ksi-badge-code           { font-size: .66rem; }
.ksi-stat-lbl             { font-size: .70rem; }
.ksi-trust-badge          { font-size: .74rem; }
.ksi-step-badge           { font-size: .66rem; }
.ksi-res-meta             { font-size: .72rem; }

/* ── Body and section text ── */
.section-sub              { font-size: 1.05rem; line-height: 1.82; }
.hero-sub                 { font-size: 1.1rem;  line-height: 1.82; }
.hero-proof               { font-size: .84rem; }
.feature-desc             { font-size: .9rem;   line-height: 1.78; }
.step-desc                { font-size: .9rem;   line-height: 1.82; }
.pc-desc                  { font-size: .9rem;   line-height: 1.74; }
.testi-text               { font-size: .92rem;  line-height: 1.84; }
.testi-hindi              { font-size: .84rem;  line-height: 1.80; }

/* ── Form elements ── */
.kr-input                 { font-size: .96rem; }
.kr-label                 { font-size: .88rem; font-weight: 600; }
.kr-hint                  { font-size: .78rem; }
.kr-error                 { font-size: .78rem; }
.accordion-button         { font-size: .96rem; }
.accordion-body           { font-size: .9rem;  line-height: 1.82; }

/* ── Navigation ── */
.kr-nav .nav-link         { font-size: .92rem; }
.kr-nav .dropdown-item    { font-size: .88rem; }
.dd-item-name             { font-size: .86rem; }

/* ── Buttons ── */
.btn-kr-primary, .btn-kr-outline { font-size: .94rem; }

/* ── Dashboard demo (purely decorative — kept small intentionally) ── */
/* .dm-label, .dash-live, .dash-wt, .df-label are UI preview elements */

/* ── FAVICON (no CSS needed) ── */

/* ================================================================
   HOMEPAGE PREMIUM REFINEMENTS
   — No new sections. Pure design quality improvements.
   — All overrides are targeted; no structural changes.
   ================================================================ */

/* 1. GRADIENT HEADLINE
   "Never Sleeps." gets a teal→green gradient for visual authority */
.grad {
  background: linear-gradient(125deg, var(--accent-green) 20%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 3. HERO TITLE — larger ceiling for high-res displays */
.hero-title {
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 1.01;
  margin-bottom: 1.5rem;
}

/* 4. HERO SUBHEADING — slightly wider, more readable */
.hero-sub {
  max-width: 520px;
  font-size: 1.06rem;
  margin-bottom: 2rem;
}

/* 5. HERO ACTIONS — buttons tighter together */
.hero-actions { gap: 10px; margin-bottom: 1.75rem; }

/* 6. HERO PROOF — keep subtle */
.hero-proof { font-size: .8rem; gap: 10px; margin-bottom: .5rem; }

/* 7. POC BANNER — enterprise-grade service guarantee, not promo */
.poc-banner {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .8rem;
  margin-top: .75rem;
}
.poc-banner i { color: var(--accent-green); font-size: .82rem; }

/* 8. HERO STATS — more generous, prominent values */
.hero-stats { margin-top: 2.25rem; }
.hero-stat   { padding: 18px 22px; }
.hero-stat-val { font-size: 1.85rem; }
.hero-stat-label { font-size: .7rem; letter-spacing: .04em; }

/* 9. HERO PRODUCT CARDS — no lateral slide (enterprise = deliberate, calm) */
.hero-product-card {
  padding: 16px 18px;
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.hero-product-card:hover {
  transform: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green), var(--shadow-sm);
}
.hero-product-icon { width: 42px; height: 42px; border-radius: 10px; font-size: 18px; }
.hero-product-name { font-size: .91rem; }
.hero-product-desc { font-size: .76rem; }

/* 10. PRODUCT CARDS — reduced bounce; enterprise software doesn't jump */
.product-card { border-radius: var(--radius); }
.product-card:hover { transform: translateY(-2px); }
/* Category label: drop monospace — enterprise readers expect prose, not code */
.pc-sub {
  font-family: 'Outfit', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
}

/* 11. FEATURE ITEMS (Why Krypton) — more breathing room */
.feature-item { padding: 36px; }
.feature-icon  { width: 44px; height: 44px; border-radius: 11px; font-size: 18px; }
.feature-title { font-size: 1.02rem; margin-bottom: .5rem; }
.feature-desc  { font-size: .88rem; line-height: 1.76; }

/* 12. STATS — larger numbers, more generous padding */
.stat-card  { padding: 46px 24px; }
.stat-num   { font-size: clamp(2.4rem, 4vw, 3.2rem); }
.stat-label { font-size: .82rem; max-width: 140px; }

/* 13. HOW IT WORKS STEPS — featured card gets a clear green top accent */
.glass-panel-step-featured {
  padding: 36px;
  border-top: 3px solid var(--accent-green);
}
.glass-panel-step-plain { padding: 36px; }
.step-num   { font-size: .65rem; padding: 3px 12px; letter-spacing: .09em; margin-bottom: 1.1rem; }
.step-title { font-size: 1.08rem; margin-bottom: .65rem; }
.step-desc  { font-size: .9rem; }
.check-item { font-size: .86rem; gap: 9px; }

/* 14. TESTIMONIALS — remove lift hover (enterprise = stable, confident) */
.testi-card:hover { transform: none; box-shadow: var(--shadow-sm); }
.testi-stars { letter-spacing: 2px; color: #b45309; font-size: .72rem; } /* rich amber */
.testi-text { font-size: .9rem; font-style: normal; line-height: 1.84; }
.testi-name { font-size: .9rem; }
.testi-role { font-size: .76rem; }

/* 15. CTA SECTION — strengthen headline */
.cta-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* 16. SECTION TYPOGRAPHY — authoritative hierarchy */
.section-title { font-size: clamp(1.95rem, 3.8vw, 3.05rem); letter-spacing: -.035em; }
.section-sub   { font-size: 1.04rem; }

/* 18. RESPONSIVE — mobile tightening for hero */
@media (max-width: 991px) {
  .kr-hero          { padding: 72px 0 60px; }
  .hero-title       { font-size: clamp(2.4rem, 7vw, 3.4rem); }
  .hero-stats       { grid-template-columns: repeat(3, 1fr); }
  .hero-stat        { padding: 14px 16px; }
  .hero-stat-val    { font-size: 1.5rem; }
  .glass-panel-step-featured,
  .glass-panel-step-plain { padding: 28px; }
  .feature-item     { padding: 28px; }
  .stat-card        { padding: 32px 16px; }
}
@media (max-width: 575px) {
  .hero-title       { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-sub         { font-size: .98rem; }
  .hero-actions     { flex-direction: column; }
  .hero-stats       { grid-template-columns: repeat(3, 1fr); }
  .hero-stat-val    { font-size: 1.35rem; }
  .testi-card       { padding: 24px; }
}
