/* ================================================================
   Tizona Store — Skin "Keynova" (e-commerce de licencias digitales)
   Variante dark por defecto. Light vía body.tz-skin-mode-light.
   Prefijo: kn- / tokens --kn-*
   ================================================================ */

/* ── 1. TOKENS DARK ── */
body.tz-skin-family-keynova {
  --kn-primary:     #2563eb;
  --kn-primary-h:   #1d4ed8;
  --kn-bg:          #121212;
  --kn-bg-alt:      #181818;
  --kn-card:        #1e1e1e;
  --kn-card-h:      #252525;
  --kn-text:        #ffffff;
  --kn-text-2:      #b0b0b0;
  --kn-muted:       #888888;
  --kn-border:      #2a2a2a;
  --kn-shadow:      0 4px 20px rgba(0,0,0,.4);
  --kn-radius-sm:   6px;
  --kn-radius-md:   10px;
  --kn-radius-lg:   14px;
  --kn-radius-full: 50px;
  --kn-font:        'Segoe UI', Arial, Helvetica, sans-serif;
  --kn-maxw:        1200px;

  margin: 0;
  background: var(--kn-bg);
  color: var(--kn-text);
  font-family: var(--kn-font);
  -webkit-font-smoothing: antialiased;
}

/* ── 2. TOKENS LIGHT ── */
body.tz-skin-mode-light.tz-skin-family-keynova {
  --kn-bg:      #f5f6fa;
  --kn-bg-alt:  #eef0f5;
  --kn-card:    #ffffff;
  --kn-card-h:  #f0f1f5;
  --kn-text:    #1a1a2e;
  --kn-text-2:  #555566;
  --kn-muted:   #888899;
  --kn-border:  #e2e4ea;
  --kn-shadow:  0 2px 12px rgba(0,0,0,.06);
}

/* ── 3. RESET / BASE ── */
.kn *, .kn *::before, .kn *::after { box-sizing: border-box; margin: 0; padding: 0; }
.kn a { text-decoration: none; color: inherit; }
.kn ul { list-style: none; }
.kn img { max-width: 100%; display: block; }
.kn button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── 4. LAYOUT ── */
.kn-page { min-height: 100vh; background: var(--kn-bg); }
.kn-container { max-width: var(--kn-maxw); margin: 0 auto; padding: 0 24px; }

/* ── 5. HEADER ── */
.kn-header {
  background: var(--kn-bg);
  border-bottom: 1px solid var(--kn-border);
  position: sticky; top: 0; z-index: 200;
}
.kn-header .kn-container {
  display: flex; align-items: center;
  gap: 32px; height: 84px;
}
.kn-logo {
  font-size: 22px; font-weight: 800;
  letter-spacing: 1.5px; color: var(--kn-text);
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.kn-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--kn-primary) 0%, #3b82f6 100%);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.kn-logo-icon img { width: 30px; height: 30px; border-radius: 6px; }
.kn-logo-icon svg { width: 24px; height: 24px; fill: #fff; }
.kn-logo-icon--custom { width: auto; height: 52px; background: none; border-radius: 0; box-shadow: none; }
.kn-logo-icon--custom img { width: auto; height: 100%; max-width: 220px; max-height: 52px; border-radius: 0; object-fit: contain; }
.kn-nav { display: flex; gap: 4px; flex: 1; }
.kn-nav ul { display: flex !important; gap: 0 !important; }
.kn-nav a { font-size: 14px; font-weight: 500; color: var(--kn-muted); transition: color .2s; padding: 6px 14px; border-radius: 8px; }
.kn-nav a:hover { color: var(--kn-text); background: var(--kn-card); }
.kn-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.kn-icon-btn {
  width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--kn-muted); transition: .2s; position: relative;
}
.kn-icon-btn:hover { background: var(--kn-card); color: var(--kn-text); }
.kn-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kn-cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--kn-primary); color: #fff;
  font-size: .6rem; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: grid; place-items: center; padding: 0 3px;
}
/* Mobile hamburger */
.kn-menu-btn { display: none; }
@media (max-width: 768px) {
  .kn-nav { display: none; }
  .kn-menu-btn { display: flex; align-items: center; }
}

/* Mobile drawer */
.kn-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 300;
}
.kn-overlay.is-active { display: block; }
.kn-drawer {
  position: fixed; top: 0; right: -280px; bottom: 0;
  width: 280px; background: var(--kn-card);
  z-index: 400; padding: 24px 20px;
  transition: right .3s ease;
}
.kn-drawer.is-active { right: 0; }
.kn-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  margin-bottom: 20px; color: var(--kn-muted);
  transition: .2s; cursor: pointer; border: none; background: none;
}
.kn-drawer-close:hover { background: var(--kn-card-h); color: var(--kn-text); }
.kn-drawer-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.kn-drawer nav { display: flex; flex-direction: column; gap: 4px; }
.kn-drawer nav a {
  display: block; padding: 12px 14px;
  font-size: 15px; font-weight: 500;
  color: var(--kn-text-2); border-radius: 8px; transition: .2s;
}
.kn-drawer nav a:hover { background: var(--kn-card-h); color: var(--kn-text); }

/* ── 6. BUTTONS ── */
.kn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 14px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--kn-radius-sm);
  border: none; cursor: pointer; transition: all .2s;
  white-space: nowrap; text-decoration: none;
}
.kn-btn-primary {
  background: var(--kn-primary); color: #fff !important;
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.kn-btn-primary:hover { background: var(--kn-primary-h); color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,99,235,.42); }
.kn-btn-outline {
  background: var(--kn-card); color: var(--kn-text);
  border: 1px solid var(--kn-border);
}
body.tz-skin-mode-light .kn-btn-outline { background: #fff; }
.kn-btn-outline:hover { border-color: var(--kn-primary); color: var(--kn-primary); }
.kn-btn-card {
  background: var(--kn-primary); color: #fff !important;
  width: 100%; padding: 12px 20px;
  border-radius: var(--kn-radius-sm);
  box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.kn-btn-card:hover { background: var(--kn-primary-h); color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,99,235,.4); }

/* ── 7. SECTION HEADER ── */
.kn-section-header { text-align: center; margin-bottom: 40px; }
.kn-section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--kn-primary); margin-bottom: 12px;
}
.kn-section-header h2 {
  font-size: 30px; font-weight: 700;
  color: var(--kn-text); margin-bottom: 12px;
}
.kn-section-header p { font-size: 15px; color: var(--kn-text-2); max-width: 520px; margin: 0 auto; }

/* ── 8. HERO ── */
.kn-hero {
  position: relative;
  background: linear-gradient(180deg, var(--kn-bg-alt) 0%, var(--kn-bg) 100%);
  padding: 80px 0 70px; position: relative; overflow: hidden;
}
/* When a background image is set, the image (set inline on the section)
   must show AS IS — no overlays, no gradients, no halos. */
.kn-hero.kn-hero--bg-only {
  /* Use longhand properties only so the inline background-image:url(...) is preserved.
     Inline styles already win over stylesheet rules, but we also explicitly clear
     the gradient that the base .kn-hero rule sets via the shorthand `background`. */
  background-color: transparent;
  background-image: none;       /* allow inline style to set background-image without competing gradient */
  background-repeat: no-repeat;
  background-size: cover;       /* matches the inline style; harmless duplicate */
  background-position: center;
}
.kn-hero--bg-only::before { display: none !important; }   /* kill the purple decorative blob */
.kn-hero--bg-only::after  { display: none !important; }   /* kill any second overlay (safety) */
/* Hide the phone mockup; content takes full width */
.kn-hero--bg-only .kn-hero-visual  { display: none !important; }
.kn-hero--bg-only .kn-container   { display: block; position: relative; z-index: 1; }
.kn-hero--bg-only .kn-hero-content { flex: 1 1 100%; max-width: 760px; position: relative; }
/* NO pseudo-elements on .kn-hero-content — no blurred halo, no dark box behind text */
.kn-hero--bg-only .kn-hero-content::before,
.kn-hero--bg-only .kn-hero-content::after { display: none !important; }
/* Text legibility is achieved with text-shadow only — the image itself stays untouched */
.kn-hero--bg-only .kn-hero h1 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.55);
}
.kn-hero--bg-only .kn-hero-desc {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 10px rgba(0,0,0,.45);
}
.kn-hero--bg-only .kn-hero-badge {
  background: var(--kn-primary);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
/* Default decorative purple blob (only used when no bg image is set) */
.kn-hero:not(.kn-hero--bg-only)::before {
  content: ''; position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.kn-hero .kn-container {
  display: flex; align-items: center;
  gap: 60px; position: relative; z-index: 1;
}
.kn-hero-content { flex: 1; }
.kn-hero-badge {
  display: inline-block;
  background: rgba(37,99,235,.12); color: var(--kn-primary);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.kn-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 20px; color: var(--kn-text);
}
.kn-hero h1 .kn-highlight { color: var(--kn-primary); }
.kn-hero-desc {
  font-size: 16px; color: var(--kn-text-2);
  margin-bottom: 36px; line-height: 1.7; max-width: 500px;
}
.kn-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — mock phone */
.kn-hero-visual { flex: 1; display: flex; justify-content: center; }
.kn-hero-phone {
  width: 240px; height: 380px;
  background: var(--kn-card);
  border-radius: 28px; border: 1px solid var(--kn-border);
  padding: 28px 20px 20px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; box-shadow: var(--kn-shadow);
}
.kn-hero-phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 6px;
  background: var(--kn-border); border-radius: 3px;
}
.kn-hero-phone-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--kn-primary); text-transform: uppercase;
  margin-top: 8px; margin-bottom: 16px;
}
.kn-hero-phone-icon {
  width: 54px; height: 54px;
  background: rgba(37,99,235,.12);
  border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px;
}
.kn-hero-phone-icon svg { width: 28px; height: 28px; fill: var(--kn-primary); }
.kn-hero-phone-title { font-size: 14px; font-weight: 700; color: var(--kn-text); margin-bottom: 4px; text-align: center; }
.kn-hero-phone-sub { font-size: 11px; color: var(--kn-muted); margin-bottom: 10px; }
.kn-hero-phone-price { font-size: 22px; font-weight: 700; color: var(--kn-primary); margin-bottom: 14px; }
.kn-hero-phone-price small { font-size: 12px; font-weight: 500; color: var(--kn-muted); }
.kn-hero-phone-btn {
  background: var(--kn-primary); color: #fff !important;
  font-size: 12px; font-weight: 600;
  padding: 9px 18px; border-radius: 7px;
  border: none; cursor: pointer; width: 100%;
  transition: background .2s, transform .2s;
  text-decoration: none !important; display: inline-block; text-align: center;
}
.kn-hero-phone-btn:hover { background: var(--kn-primary-h); color: #fff !important; transform: translateY(-1px); }
.kn-hero-phone-brand {
  position: absolute; bottom: 14px;
  font-size: 10px; color: var(--kn-muted); letter-spacing: 1px;
}

/* ── 9. TRUST BAR ── */
.kn-trust {
  border-top: 1px solid var(--kn-border);
  border-bottom: 1px solid var(--kn-border);
  padding: 22px 0;
  background: var(--kn-bg-alt);
}
.kn-trust .kn-container {
  display: flex; align-items: center;
  justify-content: center; gap: 36px; flex-wrap: wrap;
}
.kn-trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 4px;
  transition: transform .25s ease;
}
.kn-trust-item:hover { transform: translateY(-2px); }
.kn-trust-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(37,99,235,.18) 0%, rgba(37,99,235,.06) 100%);
  border: 1px solid rgba(37,99,235,.22);
  display: grid; place-items: center; color: var(--kn-primary); flex: none;
}
.kn-trust-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kn-trust-text { font-size: 13px; font-weight: 600; color: var(--kn-text); letter-spacing: -.01em; }

/* ── 10. CONFIDENCE ── */
.kn-confidence {
  padding: 72px 0;
  background: var(--kn-bg-alt);
  border-bottom: 1px solid var(--kn-border);
}
.kn-confidence-label {
  text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--kn-primary); margin-bottom: 8px;
}
.kn-confidence-head { text-align: center; margin-bottom: 12px; }
.kn-confidence-title {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 800;
  color: var(--kn-text); letter-spacing: -.02em;
  margin: 0 0 10px; line-height: 1.2;
}
.kn-confidence-subtitle {
  font-size: 14px; color: var(--kn-text-2);
  max-width: 560px; margin: 0 auto; line-height: 1.55;
}
.kn-confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin: 28px auto 0;
}
.kn-confidence-item {
  display: flex; flex-direction: column;
  gap: 18px;
  background: var(--kn-card);
  border: 1px solid var(--kn-border);
  border-radius: var(--kn-radius-lg);
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.kn-confidence-item::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--kn-primary) 0%, #3b82f6 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.kn-confidence-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 14px 38px rgba(37,99,235,.16);
  background: var(--kn-card-h);
}
.kn-confidence-item:hover::before { transform: scaleX(1); }
.kn-confidence-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.kn-confidence-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(37,99,235,.20) 0%, rgba(37,99,235,.08) 100%);
  color: var(--kn-primary);
  display: grid; place-items: center;
  flex: none;
  border: 1px solid rgba(37,99,235,.24);
}
.kn-confidence-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kn-confidence-stat {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em;
  color: var(--kn-text);
  line-height: 1;
  background: linear-gradient(135deg, var(--kn-text) 0%, var(--kn-primary) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kn-confidence-body { display: flex; flex-direction: column; gap: 4px; }
.kn-confidence-text {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  color: var(--kn-text); letter-spacing: -.01em;
}
.kn-confidence-slabel {
  font-size: 12px; font-weight: 500;
  color: var(--kn-muted); letter-spacing: .02em;
}
.kn-confidence-progress {
  height: 6px; background: rgba(37,99,235,.10);
  border-radius: 6px; overflow: hidden;
  position: relative;
}
.kn-confidence-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--kn-primary) 0%, #3b82f6 100%);
  border-radius: 6px;
  position: relative;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.kn-confidence-progress-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  animation: knShimmer 2.4s linear infinite;
}
@keyframes knShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
body.tz-skin-mode-light .kn-confidence-item { background: #fff; }
body.tz-skin-mode-light .kn-confidence-item:hover { background: #fafaff; }
body.tz-skin-mode-light .kn-confidence-progress { background: rgba(37,99,235,.08); }

/* ── 11. PRODUCTS ── */
.kn-products { padding: 70px 0; }
.kn-products-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px; justify-content: center;
}
.kn-tab {
  padding: 8px 18px; border-radius: var(--kn-radius-full);
  font-size: 13px; font-weight: 500;
  color: var(--kn-muted); border: 1px solid var(--kn-border);
  background: none; cursor: pointer; transition: .2s;
}
.kn-tab.is-active, .kn-tab:hover {
  background: var(--kn-primary); color: #fff !important; border-color: var(--kn-primary);
}
.kn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.kn-product-card {
  background: var(--kn-card); border: 1px solid var(--kn-border);
  border-radius: var(--kn-radius-lg);
  padding: 0 0 22px;
  display: flex; flex-direction: column; align-items: stretch;
  text-align: center; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.kn-product-card:hover {
  background: var(--kn-card-h);
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 16px 40px rgba(37,99,235,.18);
  transform: translateY(-4px);
}
.kn-product-badge {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-size: 10px; font-weight: 700; padding: 4px 12px;
  border-radius: 30px; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.kn-badge-popular { background: rgba(37,99,235,.92); color: #fff; }
.kn-badge-sale    { background: rgba(242,85,85,.92);  color: #fff; }
.kn-badge-new     { background: rgba(34,197,94,.92);  color: #fff; }
/* Premium product visual area: large image on a gradient panel */
.kn-product-icon {
  width: 100%;
  min-height: 160px;
  margin: 0 0 18px;
  padding: 28px 24px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(37,99,235,.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(37,99,235,.10) 0%, rgba(37,99,235,.03) 100%);
  border-bottom: 1px solid var(--kn-border);
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.kn-product-icon::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 80%, rgba(59,130,246,.10) 0%, transparent 55%);
  pointer-events: none;
}
.kn-product-card:hover .kn-product-icon {
  background:
    radial-gradient(circle at 30% 25%, rgba(37,99,235,.28) 0%, transparent 60%),
    linear-gradient(135deg, rgba(37,99,235,.16) 0%, rgba(37,99,235,.05) 100%);
}
.kn-product-icon svg { width: 64px; height: 64px; fill: var(--kn-primary); position: relative; z-index: 1; }
.kn-product-icon img {
  width: 100%; height: 110px;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
  transition: transform .4s ease;
}
.kn-product-card:hover .kn-product-icon img { transform: scale(1.06); }
.kn-product-title { font-size: 15px; font-weight: 700; color: var(--kn-text); margin-bottom: 4px; padding: 0 20px; line-height: 1.35; }
.kn-product-sub { font-size: 12px; color: var(--kn-muted); margin-bottom: 14px; padding: 0 20px; }
.kn-product-price {
  font-size: 24px; font-weight: 800; color: var(--kn-primary);
  margin-bottom: 16px; padding: 0 20px; letter-spacing: -.02em;
}
.kn-product-price small { font-size: 12px; font-weight: 500; color: var(--kn-muted); }
.kn-product-card .kn-btn-card { margin: 0 20px; width: calc(100% - 40px); }
.kn-products-more { text-align: center; margin-top: 36px; }
.kn-products-more a {
  font-size: 14px; font-weight: 600; color: var(--kn-primary);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.kn-products-more a:hover { border-color: var(--kn-primary); }

/* ── 12. HOW IT WORKS ── */
.kn-how { padding: 70px 0; background: var(--kn-bg-alt); }
.kn-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 0;
}
.kn-step { text-align: center; }
.kn-step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(37,99,235,.12); color: var(--kn-primary);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.kn-step-circle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kn-step-title { font-size: 15px; font-weight: 700; color: var(--kn-text); margin-bottom: 8px; }
.kn-step-desc { font-size: 13px; color: var(--kn-text-2); line-height: 1.5; }

/* ── 13. BENEFITS ── */
.kn-benefits { padding: 70px 0; }
.kn-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.kn-benefit {
  background: var(--kn-card); border: 1px solid var(--kn-border);
  border-radius: var(--kn-radius-lg); padding: 28px 22px;
  transition: .25s;
}
.kn-benefit:hover { box-shadow: 0 8px 28px rgba(37,99,235,.10); transform: translateY(-2px); }
.kn-benefit-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(37,99,235,.12); color: var(--kn-primary);
  display: grid; place-items: center; margin-bottom: 16px;
}
.kn-benefit-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kn-benefit-title { font-size: 15px; font-weight: 700; color: var(--kn-text); margin-bottom: 8px; }
.kn-benefit-desc { font-size: 13px; color: var(--kn-text-2); line-height: 1.5; }

/* ── 14. TESTIMONIALS ── */
.kn-testimonials { padding: 70px 0; background: var(--kn-bg-alt); }
.kn-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.kn-testimonial {
  background: var(--kn-card); border: 1px solid var(--kn-border);
  border-radius: var(--kn-radius-lg); padding: 24px;
}
.kn-testimonial-stars { display: flex; gap: 4px; margin-bottom: 14px; color: #f5b941; }
.kn-testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.kn-testimonial-text { font-size: 14px; color: var(--kn-text-2); line-height: 1.6; margin-bottom: 18px; }
.kn-testimonial-author { display: flex; align-items: center; gap: 12px; }
.kn-testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(37,99,235,.15); color: var(--kn-primary);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; flex: none;
}
.kn-testimonial-avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.kn-testimonial-name { font-size: 14px; font-weight: 700; color: var(--kn-text); }
.kn-testimonial-role { font-size: 12px; color: var(--kn-muted); }

/* ── 15. NEWSLETTER ── */
.kn-newsletter { padding: 70px 0; }
.kn-newsletter-box {
  background: linear-gradient(120deg, rgba(37,99,235,.12), rgba(37,99,235,.06));
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 20px; padding: 50px 40px;
  display: flex; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
body.tz-skin-mode-light .kn-newsletter-box {
  background: linear-gradient(120deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
}
.kn-newsletter-content { flex: 1; min-width: 200px; }
.kn-newsletter-title { font-size: 22px; font-weight: 700; color: var(--kn-text); margin-bottom: 10px; }
.kn-newsletter-desc { font-size: 14px; color: var(--kn-text-2); line-height: 1.6; }
.kn-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.kn-newsletter-input {
  padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--kn-border);
  background: var(--kn-card); color: var(--kn-text);
  font-size: 14px; min-width: 240px;
  outline: none; transition: border-color .2s;
}
.kn-newsletter-input::placeholder { color: var(--kn-muted); }
.kn-newsletter-input:focus { border-color: var(--kn-primary); }

/* ── 16. FOOTER ── */
.kn-footer {
  background: var(--kn-bg-alt);
  border-top: 1px solid var(--kn-border);
  padding: 60px 0 0;
}
.kn-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px; margin-bottom: 40px;
}
.kn-footer-brand-desc { font-size: 13px; color: var(--kn-muted); margin-top: 12px; line-height: 1.6; max-width: 200px; }
.kn-footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kn-text); margin-bottom: 14px; }
.kn-footer-col { display: flex; flex-direction: column; gap: 9px; }
.kn-footer-col a { font-size: 13px; color: var(--kn-muted); transition: color .2s; }
.kn-footer-col a:hover { color: var(--kn-text); }
.kn-footer-payments { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.kn-payment {
  background: var(--kn-card); border: 1px solid var(--kn-border);
  border-radius: 5px; padding: 4px 8px;
  font-size: 11px; font-weight: 700; color: var(--kn-text-2);
}
.kn-footer-bottom {
  border-top: 1px solid var(--kn-border);
  padding: 20px 0;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.kn-footer-copy { font-size: 13px; color: var(--kn-muted); }
.kn-socials { display: flex; gap: 10px; }
.kn-social {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--kn-card); border: 1px solid var(--kn-border);
  display: grid; place-items: center;
  color: var(--kn-muted); transition: .2s;
}
.kn-social:hover { background: var(--kn-primary); color: #fff; border-color: var(--kn-primary); }
.kn-social svg { width: 15px; height: 15px; }

/* ── 17. RESPONSIVE ── */

/* ── Tablet (≤ 992px) ── */
@media (max-width: 992px) {
  .kn-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kn-hero .kn-container { gap: 40px; }
  .kn-confidence-grid { grid-template-columns: repeat(2, 1fr); }
  .kn-section-header h2 { font-size: 26px; }
  .kn-confidence-title { font-size: 24px; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Container */
  .kn-container { padding: 0 18px; }

  /* Header — keep desktop-sized logo; only shrink nav icons slightly for touch */
  .kn-header .kn-container { gap: 16px; height: 76px; }
  .kn-actions { gap: 6px; }
  .kn-icon-btn { width: 42px; height: 42px; border-radius: 10px; }
  .kn-icon-btn svg { width: 21px; height: 21px; }
  .kn-cart-count { top: 4px; right: 4px; min-width: 18px; height: 18px; font-size: .65rem; }

  /* Hero mobile — DISABLE the background image and use the default purple gradient
     instead. This avoids cropped/stretched images on small screens while keeping
     a clean, branded hero. */
  .kn-hero.kn-hero--bg-only {
    /* Kill the inline background-image:url(...) on mobile */
    background-image: none !important;
    background-color: var(--kn-bg-alt);
    /* Restore the default purple gradient (same as .kn-hero without bg image) */
    background: linear-gradient(180deg, var(--kn-bg-alt) 0%, var(--kn-bg) 100%) !important;
    min-height: 0;
    padding: 44px 0 40px !important;
    display: block;
  }
  .kn-hero.kn-hero--bg-only .kn-container {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .kn-hero.kn-hero--bg-only .kn-hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  /* Text colors: since we no longer have a photo behind, use the theme tokens
     (not the white forced by the bg-only variant) so text looks right on the gradient. */
  .kn-hero.kn-hero--bg-only h1 {
    color: var(--kn-text);
    text-shadow: none;
  }
  .kn-hero.kn-hero--bg-only .kn-hero-desc {
    color: var(--kn-text-2);
    text-shadow: none;
  }
  .kn-hero.kn-hero--bg-only .kn-hero-badge {
    background: rgba(37,99,235,.12);
    color: var(--kn-primary);
    text-shadow: none;
  }
  /* Restore the decorative purple blob in the corner so the gradient hero doesn't look empty */
  .kn-hero.kn-hero--bg-only::before {
    display: block !important;
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
  }
  .kn-hero.kn-hero--bg-only .kn-container { position: relative; z-index: 1; }

  /* Default (no-bg) hero on mobile — stacked layout */
  .kn-hero:not(.kn-hero--bg-only) .kn-container {
    flex-direction: column; text-align: center; gap: 18px;
  }
  .kn-hero:not(.kn-hero--bg-only) {
    padding: 44px 0 40px;
  }

  /* Hero typography on mobile (both variants) */
  .kn-hero-badge { font-size: 10px; padding: 6px 14px; margin-bottom: 0; letter-spacing: 1.5px; }
  .kn-hero h1 { font-size: 28px; line-height: 1.2; margin-bottom: 0; }
  .kn-hero-desc { font-size: 14px; line-height: 1.55; margin: 0 auto; max-width: 480px; }
  .kn-hero-btns { justify-content: center; gap: 10px; width: 100%; margin-top: 4px; }
  .kn-hero-btns .kn-btn {
    flex: 1 1 auto; min-width: 0;
    padding: 12px 18px; font-size: 13px;
  }
  .kn-hero-visual { display: none; }

  /* Section header */
  .kn-section-header { margin-bottom: 28px; }
  .kn-section-header h2 { font-size: 22px; margin-bottom: 8px; }
  .kn-section-header p { font-size: 13px; }
  .kn-section-label { font-size: 10px; letter-spacing: .18em; }

  /* Trust bar — 3 items horizontal wrap */
  .kn-trust { padding: 16px 0; }
  .kn-trust .kn-container {
    gap: 14px; flex-wrap: wrap; justify-content: center;
    padding: 0 12px;
  }
  .kn-trust-item { gap: 9px; }
  .kn-trust-icon { width: 32px; height: 32px; border-radius: 8px; }
  .kn-trust-icon svg { width: 15px; height: 15px; }
  .kn-trust-text { font-size: 11.5px; line-height: 1.25; max-width: 110px; }

  /* Confidence */
  .kn-confidence { padding: 44px 0; }
  .kn-confidence-head { margin-bottom: 6px; }
  .kn-confidence-label { font-size: 10px; letter-spacing: .18em; margin-bottom: 6px; }
  .kn-confidence-title { font-size: 21px; margin-bottom: 8px; }
  .kn-confidence-subtitle { font-size: 13px; max-width: 100%; padding: 0 8px; }
  .kn-confidence-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .kn-confidence-item {
    padding: 18px 18px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .kn-confidence-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 84px;
  }
  .kn-confidence-icon { width: 42px; height: 42px; border-radius: 11px; }
  .kn-confidence-icon svg { width: 20px; height: 20px; }
  .kn-confidence-stat { font-size: 22px; }
  .kn-confidence-body { flex: 1 1 auto; min-width: 0; }
  .kn-confidence-text { font-size: 13.5px; line-height: 1.35; }
  .kn-confidence-slabel { font-size: 11.5px; }
  .kn-confidence-progress {
    flex: 0 0 60px;
    width: 60px;
    height: 6px;
    align-self: center;
  }

  /* Products grid — 2 columns on mobile */
  .kn-products { padding: 48px 0; }
  .kn-products-tabs { gap: 6px; margin-bottom: 22px; }
  .kn-tab { padding: 7px 14px; font-size: 12px; }
  .kn-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .kn-product-icon { min-height: 110px; padding: 18px 12px; margin-bottom: 12px; }
  .kn-product-icon img { height: 72px; }
  .kn-product-icon svg { width: 48px; height: 48px; }
  .kn-product-title { font-size: 12.5px; padding: 0 12px; line-height: 1.3; }
  .kn-product-sub { font-size: 11px; padding: 0 12px; margin-bottom: 10px; }
  .kn-product-price { font-size: 19px; padding: 0 12px; margin-bottom: 12px; }
  .kn-product-price small { font-size: 11px; }
  .kn-product-card .kn-btn-card {
    margin: 0 12px; width: calc(100% - 24px);
    padding: 9px 14px; font-size: 12px;
  }
  .kn-product-badge { top: 10px; right: 10px; padding: 3px 9px; font-size: 9px; }
  .kn-products-more { margin-top: 24px; }
  .kn-products-more a { font-size: 13px; }

  /* How it works */
  .kn-how { padding: 48px 0; }
  .kn-steps { grid-template-columns: 1fr; gap: 24px; }
  .kn-step-circle { width: 56px; height: 56px; }
  .kn-step-circle svg { width: 24px; height: 24px; }
  .kn-step-title { font-size: 14px; }
  .kn-step-desc { font-size: 12.5px; }

  /* Benefits — 2 columns on mobile */
  .kn-benefits { padding: 48px 0; }
  .kn-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kn-benefit { padding: 18px 16px; }
  .kn-benefit-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }
  .kn-benefit-icon svg { width: 20px; height: 20px; }
  .kn-benefit-title { font-size: 13.5px; margin-bottom: 5px; }
  .kn-benefit-desc { font-size: 12px; line-height: 1.45; }

  /* Testimonials */
  .kn-testimonials { padding: 48px 0; }
  .kn-testimonials-grid { grid-template-columns: 1fr; gap: 14px; }
  .kn-testimonial { padding: 20px; }
  .kn-testimonial-text { font-size: 13.5px; }

  /* Newsletter */
  .kn-newsletter { padding: 48px 0; }
  .kn-newsletter-box { flex-direction: column; padding: 30px 22px; gap: 20px; }
  .kn-newsletter-content { width: 100%; text-align: center; }
  .kn-newsletter-title { font-size: 19px; margin-bottom: 6px; }
  .kn-newsletter-desc { font-size: 13px; }
  .kn-newsletter-form { width: 100%; flex-direction: column; }
  .kn-newsletter-input { min-width: 0; width: 100%; padding: 12px 14px; font-size: 14px; }
  .kn-newsletter-form .kn-btn { width: 100%; padding: 12px 18px; font-size: 14px; }

  /* Footer */
  .kn-footer { padding: 44px 0 0; }
  .kn-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
  .kn-footer-brand-desc { max-width: 100%; }
  .kn-footer-bottom { flex-direction: column; text-align: center; gap: 12px; padding: 18px 0; }
  .kn-footer-copy { font-size: 12px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .kn-container { padding: 0 14px; }

  /* Keep logo at desktop size — do NOT shrink it further on tiny screens */

  /* Hero on tiny screens: image already disabled at 768px; just tighten typography */
  .kn-hero.kn-hero--bg-only { padding: 36px 0 34px !important; }
  .kn-hero h1 { font-size: 24px; line-height: 1.22; margin-bottom: 0; }
  .kn-hero-desc { font-size: 13.5px; margin: 0 auto; }
  .kn-hero-btns { flex-direction: column; gap: 10px; margin-top: 4px; }
  .kn-hero-btns .kn-btn { width: 100%; padding: 13px 18px; font-size: 13.5px; }

  /* Products: still 2 columns but tighter */
  .kn-products-grid { gap: 10px; }
  .kn-product-icon { min-height: 96px; padding: 14px 10px; margin-bottom: 10px; }
  .kn-product-icon img { height: 62px; }
  .kn-product-icon svg { width: 42px; height: 42px; }
  .kn-product-title { font-size: 11.5px; padding: 0 10px; }
  .kn-product-sub { font-size: 10.5px; padding: 0 10px; margin-bottom: 8px; }
  .kn-product-price { font-size: 17px; padding: 0 10px; margin-bottom: 10px; }
  .kn-product-card .kn-btn-card {
    margin: 0 10px; width: calc(100% - 20px);
    padding: 8px 10px; font-size: 11.5px;
  }
  .kn-product-badge { top: 8px; right: 8px; padding: 2px 8px; font-size: 8.5px; }

  /* Confidence: keep horizontal layout but tighter */
  .kn-confidence-item { padding: 16px 14px; gap: 12px; }
  .kn-confidence-top { min-width: 76px; }
  .kn-confidence-icon { width: 38px; height: 38px; }
  .kn-confidence-stat { font-size: 19px; }
  .kn-confidence-text { font-size: 12.5px; }
  .kn-confidence-slabel { font-size: 11px; }
  .kn-confidence-progress { flex: 0 0 50px; width: 50px; }

  /* Benefits: 1 column on tiny screens */
  .kn-benefits-grid { grid-template-columns: 1fr; }

  /* Trust: smaller text */
  .kn-trust-text { font-size: 11px; max-width: 100px; }

  .kn-section-header h2 { font-size: 20px; }
  .kn-confidence-title { font-size: 19px; }
}
