:root {
  --bg:      #0B1120;
  --bg-2:    #0F1729;
  --bg-3:    #141F35;
  --primary: #1D4ED8;
  --accent:  #F59E0B;
  --text:    #F9FAFB;
  --muted:   rgba(249, 250, 251, 0.62);
  --border:  rgba(255, 255, 255, 0.09);
  --success: #34d399;
  --gradient:   linear-gradient(135deg, #1E40AF, #3B82F6);
  --gradient-2: linear-gradient(135deg, #D97706, #F59E0B);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(29, 78, 216, 0.14), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.07), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.container { width: min(1140px, 92%); margin: 0 auto; position: relative; z-index: 2; }
h1,h2,h3 { margin: 0 0 1rem; line-height: 1.08; font-family: "Space Grotesk", sans-serif; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.2vw, 46px); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
.muted { color: var(--muted); }
.gradient-text { background: var(--gradient-2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(11, 17, 32, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }

/* Brand logo */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}
.brand-icon { height: 28px; width: auto; flex-shrink: 0; }
.brand-kaine {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 1.2rem; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color 0.25s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--gradient-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.26s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); color: var(--text); font-size: 1rem;
  cursor: pointer;
}
.mobile-menu {
  position: fixed; top: 64px; left: 4%; width: 92%; z-index: 68;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 0.7rem; display: grid; gap: 0.35rem;
  opacity: 0; transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu a { color: var(--muted); border-radius: 8px; padding: 0.52rem 0.62rem; display: block; }
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.mobile-menu.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ── SECTIONS ── */
.section { padding: 5.5rem 0; }
.section + .section { position: relative; }
.section + .section::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1080px, 92%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.15), transparent);
}
.section-tag { margin-bottom: 0.6rem; color: var(--accent); letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

/* ── HERO ── */
.hero {
  min-height: 55vh; padding: 8rem 0 3rem;
  display: grid; align-items: center;
  position: relative; overflow: hidden;
}
.hero.hero-home { min-height: 100vh; }
.hero-center { text-align: center; max-width: 840px; margin: 0 auto; }
.hero-center .hero-subtext { margin-inline: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-split { display: grid; grid-template-columns: 1.03fr 0.97fr; gap: 1.2rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.45rem 0.9rem; font-size: 0.85rem; color: var(--muted);
  background: rgba(255,255,255,0.02); margin-bottom: 0.8rem;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseDot 1.8s infinite; flex-shrink: 0;
}
.pulse-dot,.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75);
  animation: pulseDot 1.8s infinite;
}
.hero-subtext { font-size: 1.08rem; color: var(--muted); max-width: 640px; line-height: 1.72; }
.hero-actions { margin-top: 1.4rem; display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero-glow { position: absolute; border-radius: 999px; filter: blur(100px); pointer-events: none; z-index: 1; }
.hero-glow-top { width: 460px; height: 460px; right: -140px; top: -100px; background: #1D4ED8; opacity: 0.35; }
.hero-glow-bottom { width: 380px; height: 380px; left: -100px; bottom: 20px; background: #D97706; opacity: 0.14; }

.particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid transparent;
  padding: 0.82rem 1.45rem; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-2);
  box-shadow: 0 10px 28px rgba(245,158,11,0.30);
  color: #0B1120;
}
.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(245,158,11,0.50);
  filter: brightness(1.08);
}
.btn-ghost {
  background: rgba(29,78,216,0.08);
  border-color: rgba(29,78,216,0.52);
  box-shadow: 0 8px 22px rgba(29,78,216,0.12);
  color: #93C5FD;
}
.btn-ghost:hover {
  border-color: rgba(59,130,246,0.72);
  box-shadow: 0 14px 30px rgba(29,78,216,0.25);
  background: rgba(29,78,216,0.13);
}

/* ── CARDS ── */
.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.3rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(29,78,216,0.38);
  box-shadow: 0 16px 34px rgba(10, 20, 60, 0.38);
}

.dashboard-card { padding: 1.25rem; backdrop-filter: blur(8px); box-shadow: 0 16px 34px rgba(0,0,0,0.34); }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; }
.dashboard-top h3 { margin: 0; }
.live-sync { display: inline-flex; align-items: center; gap: 0.35rem; border: 1px solid var(--border); border-radius: 999px; padding: 0.33rem 0.65rem; font-size: 0.82rem; color: var(--muted); }
.progress-group { margin-bottom: 0.7rem; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 0.34rem; font-size: 0.92rem; }
.progress-track { height: 10px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.progress-fill {
  width: var(--target, 0%); height: 100%;
  transform: scaleX(0); transform-origin: left center;
  animation: growBar 2s ease 1s forwards;
}
.progress-fill.primary  { background: var(--gradient); }
.progress-fill.secondary { background: var(--gradient-2); }

.status-rows { margin-top: 0.85rem; display: grid; gap: 0.55rem; }
.status-row { display: flex; justify-content: space-between; padding: 0.5rem 0.6rem; border: 1px solid var(--border); border-radius: 8px; }
.status { border-radius: 999px; padding: 0.14rem 0.42rem; font-size: 0.8rem; }
.state-done    { color: #9ff8d4; background: rgba(52,211,153,0.18); }
.state-pending { color: #f8d26d; background: rgba(245,158,11,0.20); }
.state-running { color: #a2ddff; background: rgba(29,78,216,0.22); }

/* ── STATS BAR ── */
.stats-bar { background: rgba(15,23,41,0.96); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; text-align: center; }
.counter { margin: 0; font-size: clamp(1.55rem, 3.1vw, 2.5rem); }
.stats-grid p { color: var(--muted); }

/* ── GRIDS ── */
.products-grid,.roadmap-grid,.features-grid,.mission-cards,.footer-grid,.about-split,.contact-split,.split-two { display: grid; gap: 1rem; }
.products-grid,.roadmap-grid,.split-two,.contact-split,.about-split { grid-template-columns: repeat(2, minmax(0,1fr)); }
.features-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.mission-cards { grid-template-columns: 1fr; }
.products-grid > .card,
.roadmap-grid > .card,
.features-grid > .card,
.values-grid > .card { height: 100%; }
.product-card { display: flex; flex-direction: column; gap: 0.78rem; }
.product-card .btn,
.roadmap-grid .btn { margin-top: auto; align-self: flex-start; }

/* Product tags */
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.3rem 0; }
.product-tag { font-size: 0.75rem; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 999px; padding: 0.18rem 0.55rem; }

/* How It Works steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.step-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.4rem 1.2rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
  position: relative;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.35); }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-2); color: #0B1120;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
}

/* Comparison grid */
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.comparison-col { border-radius: 16px; padding: 1.5rem; border: 1px solid var(--border); }
.comparison-col.bad  { border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.03); }
.comparison-col.good { border-color: rgba(245,158,11,0.30); background: rgba(245,158,11,0.04); }
.comparison-col h3 { margin-bottom: 1rem; }
.comparison-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.comparison-col li { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.comparison-col li::before { flex-shrink: 0; font-size: 0.85rem; }
.comparison-col.bad  li::before { content: "✕"; color: rgba(239,68,68,0.8); }
.comparison-col.good li::before { content: "✓"; color: var(--accent); }

/* ── INTEGRATION GRID (logo cards) ── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.72rem;
  margin-top: 1.6rem;
}
.integration-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem 0.5rem 0.85rem;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.integration-card:hover {
  border-color: rgba(245,158,11,0.42);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(245,158,11,0.12);
}
.int-logo {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.72rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.02em; flex-shrink: 0;
}
.int-logo svg { width: 22px; height: 22px; }
.int-logo.orange { background: rgba(245,153,0,0.18);  color: #FBBF24; }
.int-logo.blue   { background: rgba(29,78,216,0.22);  color: #93C5FD; }
.int-logo.green  { background: rgba(52,211,153,0.18); color: #6EE7B7; }
.int-logo.purple { background: rgba(139,92,246,0.20); color: #C4B5FD; }
.int-logo.light  { background: rgba(255,255,255,0.08); color: #E2E8F0; }
.integration-card > span {
  font-size: 0.74rem; color: var(--muted); font-weight: 500; line-height: 1.2;
}

/* Value icons (SVG, replacing emojis) */
.value-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  border: 1px solid rgba(245,158,11,0.28);
  background: linear-gradient(135deg, rgba(29,78,216,0.22), rgba(245,158,11,0.15));
  color: var(--accent); flex-shrink: 0;
}
.value-icon svg { width: 20px; height: 20px; }

/* Mission icons */
.mission-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(29,78,216,0.32);
  background: rgba(29,78,216,0.16);
  color: #93C5FD;
}
.mission-icon svg { width: 17px; height: 17px; }

/* Integration pills (legacy fallback) */
.integration-wrap { display: flex; flex-wrap: wrap; gap: 0.52rem; margin-top: 1rem; }
.integration-pill,.chip {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.32rem 0.7rem; background: rgba(255,255,255,0.02); color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.integration-pill:hover,.chip:hover { border-color: rgba(245,158,11,0.60); color: var(--text); }

/* Checklist */
.checklist { list-style: none; margin: 1rem 0 1.2rem; padding: 0; }
.checklist li { color: var(--muted); margin-bottom: 0.45rem; padding-left: 1.25rem; position: relative; }
.checklist li::before { content: "✓"; color: var(--success); position: absolute; left: 0; top: 0; }

/* Feature list (homepage) */
.feature-list { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: 0.45rem; }
.feature-list li { color: var(--muted); padding-left: 1.3rem; position: relative; font-size: 0.95rem; }
.feature-list li::before { content: "✓"; color: var(--success); position: absolute; left: 0; top: 0; }

/* Pills */
.pill-live,.pill-soon {
  font-size: 0.75rem; border: 1px solid var(--border); border-radius: 999px;
  padding: 0.22rem 0.55rem; align-self: flex-start; display: inline-block;
}
.pill-live { background: rgba(52,211,153,0.2); color: #94f2cf; }
.pill-soon { color: var(--muted); }
.dashed-card { border-style: dashed; }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

/* Mission cards */
.mission-card:hover { transform: translateX(4px); border-color: rgba(29,78,216,0.32); }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.9rem; margin-top: 1rem; }
.value-item { text-align: center; }
.value-item .emoji { font-size: 1.8rem; display: block; margin-bottom: 0.45rem; }
.value-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(29,78,216,0.22); }

/* Rings */
.rings-wrap { width: min(380px, 100%); aspect-ratio: 1/1; margin-inline: auto; display: grid; place-items: center; position: relative; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.ring-1 { width: 100%; height: 100%; border-color: rgba(29,78,216,0.60); animation: spinClock 16s linear infinite; }
.ring-2 { width: 74%; height: 74%; border-color: rgba(245,158,11,0.55); animation: spinCounter 10s linear infinite; }
.ring-3 { width: 50%; height: 50%; border-color: rgba(29,78,216,0.65); animation: spinClock 7s linear infinite; }
.ring-center { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: rgba(255,255,255,0.03); font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; letter-spacing: 2px; }

/* Founder */
.founder-wrap { text-align: center; max-width: 840px; margin: 0 auto; }
.founder-avatar { width: 106px; height: 106px; border-radius: 50%; margin: 0 auto 1rem; background: var(--gradient); display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-size: 1.8rem; }
.quote { font-style: italic; font-size: 1.25rem; color: rgba(249,250,251,0.85); margin-bottom: 1rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin-top: 0.8rem; }
.badge-row span { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.6rem; color: var(--muted); background: rgba(255,255,255,0.02); }

/* Contact */
.contact-cards { display: grid; gap: 0.7rem; margin-top: 1rem; }
.contact-item { display: flex; gap: 0.7rem; align-items: center; }
.contact-item:hover { border-color: rgba(245,158,11,0.30); }
.contact-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* Contact SVG icon (replaces emojis) */
.contact-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,158,11,0.28);
  background: linear-gradient(135deg, rgba(29,78,216,0.20), rgba(245,158,11,0.12));
  color: var(--accent);
}
.contact-icon svg { width: 18px; height: 18px; }

/* Integration Hub Strip */
.integrations-hub-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0 0.4rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 14px;
  background: rgba(245,158,11,0.04);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.hub-brand-node {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex-shrink: 0;
}
.hub-brand-icon { height: 26px; width: auto; flex-shrink: 0; }
.hub-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2.5px;
  color: var(--text);
}
.hub-connector {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hub-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(245,158,11,0.55);
}
.hub-dot:nth-child(1) { animation: hubPulse 1.6s ease-in-out 0s infinite; }
.hub-dot:nth-child(2) { animation: hubPulse 1.6s ease-in-out 0.25s infinite; }
.hub-dot:nth-child(3) { animation: hubPulse 1.6s ease-in-out 0.5s infinite; }
@keyframes hubPulse {
  0%,100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1);  }
}
.hub-label {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Form */
.form-card { padding: 1.35rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.7rem; }
label { display: block; font-size: 0.84rem; color: var(--muted); margin-bottom: 0.3rem; }
input,select,textarea {
  width: 100%; height: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.66rem 0.8rem; color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
textarea { min-height: 110px; height: auto; resize: vertical; }
input:focus,select:focus,textarea:focus {
  outline: none;
  border-color: rgba(245,158,11,0.70);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.14);
}
.success-state { display: none; text-align: center; padding: 1rem 0.4rem; }
.success-state.show { display: block; }
.success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  background: rgba(52,211,153,0.14);
  border: 1px solid rgba(52,211,153,0.35);
}
.success-icon svg { width: 28px; height: 28px; }

/* CTA card */
.cta-card {
  text-align: center; border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem;
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 80px rgba(29,78,216,0.07);
}
.cta-card .hero-actions { justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.6rem; }
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr; padding-bottom: 1.2rem; }
.footer-tagline { color: var(--muted); margin-top: 0.5rem; font-size: 0.9rem; max-width: 260px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.45rem; }
.footer-list a { color: var(--muted); }
.footer-list a:hover { color: var(--text); }
.social-row { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.social-row a {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--muted); font-size: 0.78rem;
}
.social-row a svg { width: 15px; height: 15px; }
.social-row a:hover { color: var(--text); border-color: rgba(245,158,11,0.45); box-shadow: 0 8px 18px rgba(245,158,11,0.20); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 0.9rem 0 1.35rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--muted);
}
.footer-meta-links { display: flex; gap: 1rem; }
.footer-meta-links a { color: var(--muted); }
.footer-meta-links a:hover { color: var(--text); }

.legal-section { padding-top: 8.5rem; min-height: 100vh; }
.legal-content { max-width: 780px; }
.legal-content h1 { margin-bottom: 0.6rem; }
.legal-content h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal-content p { color: var(--muted); margin-bottom: 0.85rem; }
.legal-content a { color: var(--accent); }

/* Animations */
.hero-item { opacity: 0; transform: translateY(14px); animation: fadeUp 0.5s ease forwards; }
.hero-item:nth-child(1) { animation-delay: 0.1s; }
.hero-item:nth-child(2) { animation-delay: 0.3s; animation-duration: 0.6s; }
.hero-item:nth-child(3) { animation-delay: 0.5s; animation-duration: 0.6s; }
.hero-item:nth-child(4) { animation-delay: 0.7s; animation-duration: 0.6s; }
.hero-right { opacity: 0; transform: translateX(24px); animation: fadeLeft 0.8s ease 0.6s forwards; }
.fade-section { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-section.in-view { opacity: 1; transform: translateY(0); }

@keyframes fadeUp   { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.70); }
  70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@keyframes pulseDotGreen {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.live-dot,.pulse-dot { animation: pulseDotGreen 1.8s infinite; }
@keyframes growBar   { to { transform: scaleX(1); } }
@keyframes spinClock   { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes spinCounter { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 10px 24px rgba(245,158,11,0.24); }
  50%     { box-shadow: 0 16px 32px rgba(245,158,11,0.42); }
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero-split,.split-two,.products-grid,.roadmap-grid,.features-grid,.about-split,
  .contact-split,.stats-grid,.values-grid,.footer-grid,.form-grid-2,.steps-grid,.comparison-grid {
    grid-template-columns: 1fr;
  }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .hero-split { gap: 1.8rem; }
  .hero-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .section { padding: 4.3rem 0; }
  .hero-subtext { font-size: 1rem; }
}

/* ══════════════════════════════════════
   PRODUCTS PAGE OVERRIDES
══════════════════════════════════════ */
.products-page .hero-products { min-height: 58vh; isolation: isolate; }
.products-page .mesh-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 78%);
  opacity: 0.55; z-index: 1;
}
.products-page .aurora {
  position: absolute; border-radius: 999px; filter: blur(70px);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.products-page .aurora-a {
  width: 440px; height: 190px; top: 22%; left: 10%;
  background: rgba(29, 78, 216, 0.40);
  animation: auroraFloatA 11s ease-in-out infinite;
}
.products-page .aurora-b {
  width: 400px; height: 210px; right: 10%; top: 14%;
  background: rgba(245, 158, 11, 0.25);
  animation: auroraFloatB 13s ease-in-out infinite;
}
.products-page .hero-center .hero-subtext { margin-inline: auto; }
.products-page .flagship-section { padding-top: 3.8rem; }
.products-page .flagship-shell {
  position: relative; overflow: hidden; border-radius: 24px;
  border: 1px solid rgba(29, 78, 216, 0.28);
  background: linear-gradient(135deg, rgba(16, 24, 52, 0.84), rgba(10, 14, 34, 0.92));
  box-shadow:
    0 22px 60px rgba(6, 16, 52, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 0 55px rgba(29, 78, 216, 0.10);
  transform-style: preserve-3d;
  transition: transform 0.24s ease;
}
.products-page .flagship-shell::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(115deg, rgba(29, 78, 216, 0.44), rgba(245, 158, 11, 0.28), transparent 56%);
  opacity: 0.45; pointer-events: none;
}
.products-page .flagship-split {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.03fr 0.97fr;
  gap: 1rem; padding: 1.2rem;
}
.products-page .flagship-left { padding: 0.65rem 0.35rem; }
.products-page .flagship-left .btn { margin-top: 0.25rem; }
.products-page .flagship-right { position: relative; }
.products-page .flagship-right .dashboard-card {
  background: rgba(10, 14, 31, 0.88);
  border-color: rgba(29, 78, 216, 0.22);
  box-shadow: 0 16px 45px rgba(8, 12, 30, 0.60);
}
.products-page .floating-chip {
  position: absolute; padding: 0.34rem 0.68rem; border-radius: 999px;
  font-size: 0.76rem; border: 1px solid rgba(245,158,11,0.28);
  background: rgba(10, 16, 36, 0.90); color: rgba(249, 250, 251, 0.80);
  backdrop-filter: blur(10px);
}
.products-page .chip-a { top: -14px; right: 18px; }
.products-page .chip-b { bottom: -10px; left: 12px; }
.products-page .product-stats h3 { letter-spacing: -0.02em; }
.products-page .section-headline { margin-bottom: 1.2rem; }
.products-page .product-features { gap: 1.1rem; }
.products-page .feature-pro {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.products-page .feature-pro::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(29,78,216,0.10), transparent 55%);
  pointer-events: none;
}
.products-page .feature-icon {
  width: 38px; height: 38px; margin-bottom: 0.8rem; border-radius: 10px;
  border: 1px solid rgba(29, 78, 216, 0.52);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.42), rgba(245, 158, 11, 0.22));
  box-shadow: inset 0 0 16px rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.products-page .feature-icon svg { width: 18px; height: 18px; }
.products-page .integrations-pro { box-shadow: inset 0 0 130px rgba(11, 20, 54, 0.44); }
.products-page .integrations-sub { margin-top: -0.4rem; margin-bottom: 0.7rem; }
.products-page .roadmap-pro { gap: 1.1rem; }
.products-page .roadmap-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(12,18,40,0.95));
}
.products-page .cta-pro {
  background:
    radial-gradient(circle at 20% 20%, rgba(29, 78, 216, 0.18), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.10), transparent 42%),
    rgba(255,255,255,0.02);
}

@keyframes auroraFloatA {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(30px,10px,0) scale(1.06); }
}
@keyframes auroraFloatB {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(-25px,8px,0) scale(1.05); }
}

@media (max-width: 980px) {
  .products-page .flagship-split { grid-template-columns: 1fr; }
  .products-page .floating-chip  { display: none; }
}

/* ══════════════════════════════════════════════════════
   ELITE ENHANCEMENTS v3
   ══════════════════════════════════════════════════════ */

/* ── Navbar Logo Image (cropped to shield icon) ── */
.navbar .brand {
  width: clamp(230px, 19vw, 285px);
  min-height: 58px;
}
.nav-logo {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.footer-logo {
  width: 230px;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-kaine {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Integration card real logo images ── */
.int-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

/* ── Select dropdown — fix invisible options ── */
select {
  background-color: #0D1628 !important;
  color: var(--text) !important;
}
select option {
  background-color: #0D1628;
  color: #F9FAFB;
  padding: 0.4rem;
}

/* ── Custom Cursor ── */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(245,158,11,0.8);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(245,158,11,0.45);
  background: transparent;
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}
.cursor-dot.cursor-hover {
  width: 10px; height: 10px;
  background: #fff;
  box-shadow: 0 0 16px rgba(255,255,255,0.6);
}
.cursor-ring.cursor-hover {
  width: 52px; height: 52px;
  border-color: rgba(245,158,11,0.75);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .particle-canvas,
  .cursor-dot,
  .cursor-ring,
  .fade-section,
  .hero-item,
  .hero-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
    flex-wrap: wrap;
    transform: none;
  }
}

/* ── Card Ambient Glow ── */
.card.glow-active, .step-card.glow-active, .comparison-col.glow-active {
  background: radial-gradient(
    280px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(29,78,216,0.12) 0%,
    transparent 70%
  ), rgba(255,255,255,0.02);
}

/* ── Magnetic Button smooth reset ── */
.btn { transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.2s ease, filter 0.2s ease; }

/* ── Animated gradient shimmer on hero h1 ── */
.hero h1 .gradient-text {
  background: linear-gradient(90deg, #D97706, #F59E0B, #FBBF24, #F59E0B, #D97706);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 4s ease-in-out infinite;
}
@keyframes shimmerText {
  0%   { background-position: 100% 50%; }
  50%  { background-position:   0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Integrations Marquee ── */
.marquee-outer {
  overflow: hidden;
  margin-top: 1.6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image:         linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  padding: 0.5rem 0;
}
.marquee-track {
  display: flex;
  gap: 0.72rem;
  width: max-content;
  animation: marqueeScrollLTR 38s linear infinite;
}
@keyframes marqueeScrollLTR {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Override integration-card inside marquee for fixed width */
.marquee-track .integration-card {
  min-width: 106px;
  flex-shrink: 0;
}

/* ── Integration Hub Strip ── */
.integrations-hub-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0 0.2rem;
  padding: 0.78rem 1.3rem;
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 14px;
  background: rgba(245,158,11,0.04);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.hub-brand-node { display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.hub-brand-icon { width: 210px; height: auto; max-height: 78px; object-fit: contain; }
.hub-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800; font-size: 0.88rem; letter-spacing: 2.5px; color: var(--text);
}
.hub-connector { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.hub-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(245,158,11,0.6); }
.hub-dot:nth-child(1) { animation: hubPulse 1.6s 0.0s ease-in-out infinite; }
.hub-dot:nth-child(2) { animation: hubPulse 1.6s 0.25s ease-in-out infinite; }
.hub-dot:nth-child(3) { animation: hubPulse 1.6s 0.5s ease-in-out infinite; }
@keyframes hubPulse {
  0%,100% { opacity: 0.3; transform: scale(0.8); }
  50%     { opacity: 1;   transform: scale(1.2); }
}
.hub-label { font-size: 0.86rem; color: var(--muted); }

/* ── Contact SVG Icons ── */
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,158,11,0.28);
  background: linear-gradient(135deg, rgba(29,78,216,0.22), rgba(245,158,11,0.12));
  color: var(--accent);
}
.contact-icon svg { width: 18px; height: 18px; }

/* ── Success State (SVG) ── */
.success-state { display: none; text-align: center; padding: 1.2rem 0.4rem; }
.success-state.show { display: block; animation: fadeUp 0.4s ease; }
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.85rem;
  background: rgba(52,211,153,0.12);
  border: 1.5px solid rgba(52,211,153,0.40);
  box-shadow: 0 0 24px rgba(52,211,153,0.20);
}
.success-icon svg { width: 28px; height: 28px; }

/* ── Integration Brand Card Colours ── */
.int-logo.aws     { background: rgba(255,153,0,0.18);  color: #FF9900; }
.int-logo.azure   { background: rgba(0,120,212,0.22);  color: #2EA8FF; }
.int-logo.gcp     { background: rgba(66,133,244,0.20); color: #4285F4; }
.int-logo.github  { background: rgba(240,246,252,0.10); color: #E2E8F0; }
.int-logo.gitlab  { background: rgba(252,109,38,0.20); color: #FC6D26; }
.int-logo.slack   { background: rgba(74,21,75,0.30);   color: #E01E5A; }
.int-logo.jira    { background: rgba(0,82,204,0.22);   color: #2684FF; }
.int-logo.teams   { background: rgba(98,100,167,0.25); color: #7B83EB; }
.int-logo.datadog { background: rgba(99,44,166,0.22);  color: #A67CF9; }
.int-logo.okta    { background: rgba(0,125,193,0.22);  color: #00A8E0; }
.int-logo.pagerduty { background: rgba(6,172,56,0.20); color: #06AC38; }
.int-logo.snyk    { background: rgba(76,74,115,0.25);  color: #A08CFA; }
.int-logo.bitbucket { background: rgba(0,82,204,0.22); color: #579DFF; }
.int-logo.jenkins { background: rgba(211,56,51,0.22);  color: #F5A9A9; }
.int-logo.linear  { background: rgba(94,106,210,0.22); color: #8B93FF; }
.int-logo.asana   { background: rgba(240,106,106,0.20); color: #FC636B; }
.int-logo.splunk  { background: rgba(0,0,0,0.30);      color: #89D38B; }
.int-logo.jump    { background: rgba(0,112,209,0.22);  color: #5BB8FF; }

/* ── Scroll-reveal stagger for step cards ── */
.steps-grid .step-card:nth-child(1) { transition-delay: 0.0s; }
.steps-grid .step-card:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.2s; }
.steps-grid .step-card:nth-child(4) { transition-delay: 0.3s; }
.fade-section.in-view .step-card {
  animation: fadeUp 0.5s ease both;
}

/* ── Glowing border on flagship card ── */
.flagship-shell {
  animation: borderPulse 5s ease-in-out infinite;
}
@keyframes borderPulse {
  0%,100% { box-shadow: 0 22px 60px rgba(6,16,52,0.45), 0 0 0 1px rgba(29,78,216,0.20); }
  50%     { box-shadow: 0 28px 70px rgba(6,16,52,0.55), 0 0 30px rgba(29,78,216,0.18), 0 0 0 1px rgba(29,78,216,0.35); }
}

/* ── Hero floating badge pulse ── */
.hero-badge {
  animation: fadeUp 0.5s ease 0.1s both, badgePulse 3s ease-in-out 1s infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
  50%     { box-shadow: 0 0 14px 3px rgba(245,158,11,0.12); }
}

/* ── Animated gradient border on CTA card ── */
.cta-card {
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--cta-angle, 0deg), rgba(29,78,216,0.5), rgba(245,158,11,0.4), rgba(29,78,216,0.5));
  z-index: -1;
  animation: ctaBorderSpin 6s linear infinite;
}
@keyframes ctaBorderSpin {
  to { --cta-angle: 360deg; }
}
@property --cta-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* ── Comparison column ✓/✕ size polish ── */
.comparison-col li::before { font-weight: 700; font-size: 0.9rem; }

/* ── Founder section polish ── */
.founder-avatar {
  background: linear-gradient(135deg, rgba(29,78,216,0.8), rgba(245,158,11,0.6));
  box-shadow: 0 12px 36px rgba(29,78,216,0.30);
}

/* ── Social icon hover glow ── */
.social-row a:hover {
  background: rgba(245,158,11,0.12);
  box-shadow: 0 0 16px rgba(245,158,11,0.25);
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

/* ── Responsive marquee ── */
@media (max-width: 980px) {
  .integrations-hub-strip { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .hub-connector { display: none; }
}
@media (max-width: 560px) {
  .marquee-track .integration-card { min-width: 90px; }
  .navbar .brand { width: 188px; min-height: 50px; }
  .nav-logo { max-height: 58px; }
}
