.kx-home {
  --sapphire-900: #0E1F3A;
  --sapphire-700: #1B3A6B;
  --mist: #F4F7FB;
  --blue-500: #2563EB;
  --violet-500: #7C3AED;
  --gradient-brand: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-dark: linear-gradient(135deg, #1B3A6B 0%, #0E1F3A 100%);
  --green-500: #10B981;
  --green-700: #059669;
  --amber-500: #F59E0B;
  --amber-700: #B45309;
  --pink-500: #EC4899;
  --pink-700: #BE185D;
  --ink-body: #1A2942;
  --slate-body: #5A6478;
  --mute: #94A3B8;
  --hairline: #EAEEF3;
  --border-pale: #DDE5F0;
  --line-soft: #C5CAD3;
  --shadow-sm: 0 2px 8px rgba(14, 31, 58, 0.04);
  --shadow-md: 0 4px 16px rgba(14, 31, 58, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 31, 58, 0.14);
  --shadow-xl: 0 30px 80px rgba(14, 31, 58, 0.25);
  color: var(--ink-body);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.kx-home svg {
  flex: 0 0 auto;
}

.kx-home h1,
.kx-home h2,
.kx-home h3,
.kx-home p {
  margin: 0;
}

.kx-home h1,
.kx-home h2,
.kx-home h3 {
  color: var(--sapphire-900);
  letter-spacing: -0.5px;
}

.kx-home h1 {
  max-width: 580px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.kx-home h2 {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.8px;
}

.kx-home h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 750;
}

.kx-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.kx-gradient-text,
.kx-home em {
  font-style: italic;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kx-home .btn {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 700;
}

.kx-home .kx-btn-secondary {
  background: #fff;
  color: var(--sapphire-900);
  border: 1px solid var(--border-pale);
  box-shadow: var(--shadow-sm);
}

.kx-home .kx-btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.kx-hero {
  position: relative;
  padding: 80px 0 0;
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

.kx-hero::before,
.kx-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.kx-hero::before {
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.05) 40%, transparent 70%);
}

.kx-hero::after {
  bottom: 80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.03) 40%, transparent 70%);
}

.kx-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  min-height: 560px;
}

.kx-eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--border-pale);
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  color: var(--sapphire-700);
  font-size: 12px;
  font-weight: 600;
}

.kx-eyebrow-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 11px;
}

.kx-hero-subhead {
  max-width: 500px;
  color: var(--slate-body);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.kx-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.kx-hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--slate-body);
  font-size: 13px;
}

.kx-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.kx-hero-trust svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.kx-hero-trust span:nth-child(1) svg { color: var(--green-500); }
.kx-hero-trust span:nth-child(3) svg { color: var(--blue-500); }
.kx-hero-trust span:nth-child(5) svg { color: var(--amber-500); }
.kx-hero-trust i { color: var(--line-soft); font-style: normal; }

.kx-phone-wrap {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kx-phone-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.18), rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.16), rgba(37, 99, 235, 0.14));
  filter: blur(50px);
  animation: kx-rotate-halo 20s linear infinite;
}

@keyframes kx-rotate-halo {
  to { transform: rotate(360deg); }
}

.kx-phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  padding: 10px;
  border-radius: 44px;
  background: var(--gradient-dark);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(14, 31, 58, 0.06);
}

.kx-phone-screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.kx-phone-status,
.kx-phone-header,
.kx-phone-title,
.kx-phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kx-phone-status {
  padding: 10px 22px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sapphire-900);
}

.kx-battery {
  width: 18px;
  height: 9px;
  border: 1px solid var(--sapphire-900);
  border-radius: 2.5px;
  position: relative;
}

.kx-battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  width: 70%;
  background: var(--sapphire-900);
  border-radius: 1px;
}

.kx-phone-header {
  padding: 12px 18px 10px;
}

.kx-phone-header svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--sapphire-900);
  stroke-width: 2;
}

.kx-phone-logo {
  color: var(--sapphire-900);
  font-size: 12px;
  font-weight: 800;
}

.kx-phone-logo span {
  color: var(--violet-500);
}

.kx-phone-greeting {
  display: grid;
  gap: 2px;
  padding: 0 18px 12px;
}

.kx-phone-greeting strong {
  color: var(--sapphire-900);
  font-size: 13px;
}

.kx-phone-greeting span {
  color: var(--slate-body);
  font-size: 10px;
}

.kx-phone-overview {
  margin: 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gradient-dark);
  color: #fff;
}

.kx-phone-overview small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.kx-phone-overview div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.kx-phone-overview span {
  display: grid;
  gap: 2px;
  font-size: 8px;
  opacity: 0.78;
}

.kx-phone-overview b {
  font-size: 14px;
  opacity: 1;
}

.kx-phone-title {
  padding: 14px 18px 6px;
  font-size: 11px;
}

.kx-phone-title a {
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 700;
}

.kx-activity-list {
  padding: 0 16px;
  flex: 1;
  overflow: hidden;
}

.kx-activity {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--hairline);
}

.kx-activity i {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.kx-activity i.green { background: #DCFCE7; }
.kx-activity i.amber { background: #FEF3C7; }
.kx-activity i.violet { background: #EDE9FE; }

.kx-activity span {
  display: grid;
  gap: 1px;
}

.kx-activity strong {
  color: var(--sapphire-900);
  font-size: 10px;
}

.kx-activity b {
  color: var(--blue-500);
  font-size: 8px;
}

.kx-activity small,
.kx-activity time {
  color: var(--slate-body);
  font-size: 8px;
}

.kx-phone-nav {
  padding: 8px 16px;
  border-top: 0.5px solid var(--hairline);
  background: #fff;
}

.kx-phone-nav span {
  color: var(--mute);
  font-size: 8px;
  font-weight: 600;
}

.kx-phone-nav .active {
  color: var(--blue-500);
  font-weight: 800;
}

.kx-float-card {
  position: absolute;
  z-index: 3;
  max-width: 180px;
  display: flex;
  gap: 11px;
  padding: 12px 14px;
  border: 0.5px solid var(--hairline);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(14, 31, 58, 0.14);
  animation: kx-float 6s ease-in-out infinite;
}

@keyframes kx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.kx-float-card small {
  display: block;
  color: var(--slate-body);
  font-size: 9px;
}

.kx-float-card strong {
  display: block;
  color: var(--sapphire-900);
  font-size: 11px;
  line-height: 1.3;
  margin: 1px 0 3px;
}

.kx-float-card em {
  font-style: normal;
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 800;
}

.kx-float-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.kx-float-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.kx-float-icon.green { background: linear-gradient(135deg, var(--green-500), var(--green-700)); }
.kx-float-icon.amber { background: linear-gradient(135deg, var(--amber-500), var(--amber-700)); }
.kx-float-icon.violet { background: linear-gradient(135deg, var(--violet-500), #5B21B6); }
.kx-order { top: 80px; left: -10px; }
.kx-loyalty { top: 290px; left: -30px; animation-delay: 2s; }
.kx-scheme { top: 170px; right: -10px; animation-delay: 1s; }
.kx-connector { position: absolute; z-index: 1; pointer-events: none; }
.kx-conn-1 { top: 95px; left: 165px; width: 90px; height: 80px; }
.kx-conn-2 { top: 305px; left: 145px; width: 110px; height: 50px; }
.kx-conn-3 { top: 200px; right: 165px; width: 90px; height: 60px; }

.kx-wave-band {
  position: relative;
  height: 80px;
  margin-top: 24px;
}

.kx-wave-band svg {
  display: block;
  width: 100%;
  height: 80px;
}

.kx-feature-band {
  position: relative;
  overflow: hidden;
  padding: 42px 0 64px;
  background: var(--gradient-dark);
}

.kx-feature-band::before,
.kx-feature-band::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 300px;
  pointer-events: none;
}

.kx-feature-band::before {
  top: -50px;
  left: 10%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.18) 0%, transparent 60%);
}

.kx-feature-band::after {
  top: 0;
  right: 8%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
}

.kx-feature-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kx-feature-card {
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.kx-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(14, 31, 58, 0.2);
}

.kx-feature-icon,
.kx-pillar i,
.kx-security-cards i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
}

.kx-feature-icon svg,
.kx-pillar i svg,
.kx-security-cards i svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kx-feature-icon.sapphire,
.kx-pillar.acquire i,
.kx-security-cards article:nth-child(1) i { background: var(--gradient-dark); }
.kx-feature-icon.amber,
.kx-pillar.digital i,
.kx-security-cards article:nth-child(4) i { background: linear-gradient(135deg, var(--amber-500), var(--amber-700)); }
.kx-feature-icon.green,
.kx-security-cards article:nth-child(2) i { background: linear-gradient(135deg, var(--green-500), var(--green-700)); }
.kx-feature-icon.blue,
.kx-pillar.aov i,
.kx-security-cards article:nth-child(3) i { background: var(--gradient-brand); }
.kx-pillar.retain i { background: linear-gradient(135deg, var(--pink-500), var(--pink-700)); }

.kx-feature-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.kx-feature-card p,
.kx-security-cards p {
  color: var(--slate-body);
  font-size: 13px;
  line-height: 1.55;
}

.kx-feature-card i {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--gradient-brand);
}

.kx-integrations {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  text-align: center;
}

.kx-integrations p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.kx-provider-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kx-provider-logo {
  min-height: 52px;
  min-width: 124px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--sapphire-900);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.kx-provider-logo img {
  display: block;
  width: auto;
  max-width: 118px;
  height: 24px;
  object-fit: contain;
}

.kx-section {
  padding: 96px 0;
}

.kx-anchor {
  position: relative;
  top: -110px;
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}

.kx-section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.kx-section-head > span,
.kx-security-copy > span,
.kx-founder-copy > span,
.kx-demo-copy > span {
  display: inline-block;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kx-section-head p {
  color: var(--slate-body);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 14px;
}

.kx-pillars {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.kx-pillar {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  box-shadow: var(--shadow-md);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.kx-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14, 31, 58, 0.1);
}

.kx-pillar::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
}

.kx-pillar > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.kx-pillar i {
  margin: 0;
  border-radius: 11px;
}

.kx-pillar span {
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.kx-pillar h3,
.kx-pillar ul {
  position: relative;
  z-index: 1;
}

.kx-pillar h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.kx-pillar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--slate-body);
  font-size: 14px;
  line-height: 1.85;
}

.kx-pillar li {
  position: relative;
  padding-left: 18px;
}

.kx-pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.kx-product,
.kx-pricing {
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}

.kx-product-frame {
  max-width: 920px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 16px;
  background: var(--gradient-dark);
  box-shadow: var(--shadow-xl);
}

.kx-browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
}

.kx-browser-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.kx-browser-dots i:nth-child(1) { background: #FF5F57; }
.kx-browser-dots i:nth-child(2) { background: #FEBC2E; }
.kx-browser-dots i:nth-child(3) { background: #28C840; }

.kx-product-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 1918 / 863;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.kx-placeholder {
  min-height: 430px;
  border: 1.5px dashed var(--line-soft);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--mute);
}

.kx-placeholder strong {
  color: var(--mute);
  font-size: 14px;
}

.kx-placeholder small {
  font-size: 12px;
}

.kx-thumbs {
  max-width: 920px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kx-thumbs div {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--mute);
  font-size: 12px;
  font-weight: 750;
}

.kx-apps {
  background: #fff;
}

.kx-app-grid {
  max-width: 980px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.kx-app-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  box-shadow: var(--shadow-md);
}

.kx-app-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
  pointer-events: none;
}

.kx-app-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gradient-dark);
  color: #fff;
}

.kx-app-icon.customer {
  background: var(--gradient-brand);
}

.kx-app-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kx-app-card > span,
.kx-coming-soon {
  position: relative;
  z-index: 1;
}

.kx-app-card > span {
  display: block;
  color: var(--blue-500);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.kx-app-card h3,
.kx-app-card p {
  position: relative;
  z-index: 1;
}

.kx-app-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.kx-app-card p {
  color: var(--slate-body);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.kx-coming-soon {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: #EEF5FF;
  color: var(--sapphire-700);
  font-size: 12px;
  font-weight: 800;
}

.kx-store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: -32px;
}

.kx-store-badges img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 160px;
  object-fit: contain;
}

.kx-integrations-section {
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}

.kx-logo-marquee {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.kx-logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: kx-logo-scroll 34s linear infinite;
}

@keyframes kx-logo-scroll {
  to { transform: translateX(-50%); }
}

.kx-marquee-logo {
  min-width: 146px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--sapphire-900);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.kx-marquee-logo img {
  display: block;
  width: auto;
  max-width: 118px;
  height: 26px;
  object-fit: contain;
}

.kx-marquee-logo.dark {
  background: var(--sapphire-900);
}

.kx-marquee-logo.text {
  letter-spacing: 0.2px;
}

.kx-integrations-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.kx-integrations-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kx-security-grid,
.kx-founder-grid,
.kx-demo-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.kx-security-copy h2,
.kx-founder-copy h2,
.kx-demo-copy h2 {
  font-size: 34px;
}

.kx-security-copy p,
.kx-founder-copy p,
.kx-demo-copy p {
  color: var(--slate-body);
  font-size: 16px;
  line-height: 1.65;
  margin: 16px 0 22px;
}

.kx-security-copy blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--blue-500);
  border-radius: 0 8px 8px 0;
  background: var(--mist);
  color: var(--slate-body);
  font-size: 13px;
  font-style: italic;
}

.kx-security-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.kx-security-cards article {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.kx-security-cards i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.kx-security-cards h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.kx-founder {
  background: var(--mist);
}

.kx-founder-grid {
  max-width: 960px;
}

.kx-founder-photo {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--mist) 0%, #fff 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  font-weight: 750;
}

.kx-founder-photo > span {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.kx-founder-photo div {
  display: grid;
  gap: 6px;
}

.kx-founder-copy strong {
  color: var(--sapphire-900);
}

.kx-founder-sig {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.kx-founder-sig span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-soft);
}

.kx-founder-sig small {
  color: var(--slate-body);
  font-size: 13px;
}

.kx-pricing-grid {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kx-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.kx-price-card.featured {
  border: 2px solid var(--blue-500);
  background: linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.18);
}

.kx-price-card.featured > b {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.kx-price-card h3 {
  margin-bottom: 10px;
}

.kx-price-card div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.kx-price-card strong {
  color: var(--sapphire-900);
  font-size: 38px;
  letter-spacing: -1.5px;
}

.kx-price-card div span {
  color: var(--slate-body);
  font-size: 13px;
}

.kx-price-card p {
  color: var(--slate-body);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.kx-price-card.featured p {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kx-price-card small {
  flex: 1;
  color: var(--slate-body);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.kx-price-card .btn {
  width: 100%;
}

.kx-home .btn-outline {
  border: 1.5px solid var(--sapphire-900);
  background: transparent;
  color: var(--sapphire-900);
}

.kx-home .btn-outline:hover {
  background: var(--sapphire-900);
  color: #fff;
}

.kx-includes {
  max-width: 940px;
  margin: 32px auto 0;
  padding: 24px 28px;
  border-radius: 12px;
  background: var(--mist);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

.kx-includes span {
  position: relative;
  padding-left: 24px;
  color: var(--ink-body);
  font-size: 13px;
}

.kx-includes span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.kx-pricing-note {
  text-align: center;
  color: var(--slate-body);
  font-size: 13px;
  margin-top: 20px;
}

.kx-pricing-note strong {
  color: var(--sapphire-900);
}

.kx-demo-copy ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.kx-demo-copy li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-body);
  font-size: 14px;
}

.kx-demo-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  text-align: center;
  line-height: 22px;
  font-size: 12px;
}

.kx-demo-form {
  padding: 32px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.kx-form-title {
  color: var(--sapphire-900);
  font-size: 18px;
  font-weight: 800;
}

.kx-form-sub {
  color: var(--slate-body);
  font-size: 13px;
  margin: 6px 0 20px;
}

.kx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kx-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--sapphire-900);
  font-size: 12px;
  font-weight: 700;
}

.kx-form-grid input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-pale);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink-body);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.kx-form-grid input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kx-form-submit {
  width: 100%;
  margin-top: 18px;
}

.kx-form-error {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #FECACA;
  border-radius: 8px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 13px;
  font-weight: 600;
}

.kx-form-thanks {
  display: none;
  padding: 22px;
  text-align: center;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  background: #ECFDF5;
  color: #065F46;
  font-size: 15px;
  font-weight: 750;
}

.kx-form-note {
  color: var(--slate-body);
  font-size: 12px;
  text-align: center;
  margin-top: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .kx-hero-grid,
  .kx-security-grid,
  .kx-founder-grid,
  .kx-demo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .kx-phone-wrap {
    min-height: 480px;
  }

  .kx-feature-strip,
  .kx-pillars,
  .kx-app-grid,
  .kx-security-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .kx-pricing-grid,
  .kx-thumbs {
    grid-template-columns: 1fr;
  }

  .kx-includes {
    grid-template-columns: 1fr 1fr;
  }

  .kx-home h1 {
    font-size: 42px;
  }

  .kx-home h2 {
    font-size: 30px;
  }

  .kx-section {
    padding: 72px 0;
  }
}

@media (max-width: 640px) {
  .kx-container {
    width: calc(100% - 28px);
  }

  .kx-hero {
    padding: 56px 0 0;
  }

  .kx-home h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .kx-home h2 {
    font-size: 26px;
  }

  .kx-hero-actions {
    flex-direction: column;
  }

  .kx-hero-actions .btn {
    width: 100%;
  }

  .kx-feature-strip,
  .kx-pillars,
  .kx-app-grid,
  .kx-security-cards,
  .kx-includes,
  .kx-form-grid {
    grid-template-columns: 1fr;
  }

  .kx-feature-strip {
    gap: 14px;
  }

  .kx-float-card,
  .kx-connector {
    display: none;
  }

  .kx-phone {
    width: 240px;
    height: 480px;
  }

  .kx-placeholder {
    min-height: 240px;
  }

  .kx-app-card {
    padding: 26px;
  }

  .kx-store-badges img {
    height: 42px;
    max-width: 148px;
  }

  .kx-marquee-logo {
    min-width: 128px;
  }

  .kx-section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kx-phone-halo,
  .kx-float-card,
  .kx-logo-track {
    animation: none;
  }

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