/* ─────────────────────────────────────────────────────────────
   Prompt Line — complete design system
   ───────────────────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:            #ffffff;
  --bg-subtle:     #f8fafc;
  --bg-card:       #ffffff;
  --text:          #09101f;
  --text-muted:    #475569;
  --text-faint:    #94a3b8;
  --accent:        #2563eb;
  --accent-sky:    #0ea5e9;
  --accent-violet: #7c3aed;
  --accent-teal:   #0891b2;
  --accent-amber:  #d97706;
  --accent-soft:   rgba(37,99,235,0.08);
  --gradient:      linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --gradient-text: linear-gradient(120deg, #1e40af 0%, #2563eb 45%, #0ea5e9 100%);
  --border:        rgba(15,23,42,0.07);
  --border-card:   rgba(15,23,42,0.09);
  --shadow-xs:     0 1px 2px rgba(9,16,31,0.05);
  --shadow-sm:     0 2px 8px rgba(9,16,31,0.06), 0 1px 2px rgba(9,16,31,0.04);
  --shadow-md:     0 8px 32px rgba(37,99,235,0.09), 0 2px 6px rgba(9,16,31,0.06);
  --shadow-lg:     0 24px 64px rgba(37,99,235,0.14), 0 4px 14px rgba(9,16,31,0.06);
  --shadow-glow:   0 0 0 1px rgba(37,99,235,0.18), 0 8px 40px rgba(37,99,235,0.2);
  --radius:        20px;
  --radius-lg:     28px;
  --radius-sm:     12px;
  --radius-xs:     8px;
  --font-display:  "Outfit", system-ui, sans-serif;
  --font-body:     "DM Sans", system-ui, sans-serif;
  --font-mono:     "DM Mono", ui-monospace, monospace;
  --header-h:      68px;
  --max:           1160px;
  --max-header:    1320px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; padding: 0; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Noise overlay ───────────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Custom cursor ───────────────────────────────────────────── */
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  top: -18px;
  left: -18px;
  will-change: transform;
  transition: width 0.22s var(--ease), height 0.22s var(--ease),
              border-color 0.22s, background 0.22s;
}

.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.05);
}

@media (hover: none) { .cursor-ring { display: none; } }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px rgba(37, 99, 235, 0.06);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 32px rgba(37, 99, 235, 0.1);
}

.header-inner {
  max-width: var(--max-header);
  margin-inline: auto;
  padding-inline: 2.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-text { line-height: 1; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:not(.btn):hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.3rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.42); }

.btn-header {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.22);
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-card);
}

.btn-outline:hover {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.28);
}

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18); }

.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xs);
  cursor: pointer;
  align-items: center;
}

.burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle.is-open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open .burger-line:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: var(--header-h);
  inset-inline: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile a:not(.btn) {
  padding: 0.75rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

/* ── Hero — full-viewport dark banner ────────────────────────── */
.hero {
  position: relative;
  min-height: calc(50svh - var(--header-h));
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #070e1f;
}


/* Canvas is the full banner background */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Dark gradient overlay — deepens at edges, keeps center clear for content */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(7,14,31,0) 0%, rgba(7,14,31,0.55) 100%),
    linear-gradient(to bottom, rgba(7,14,31,0.5) 0%, rgba(7,14,31,0.1) 30%, rgba(7,14,31,0.1) 70%, rgba(7,14,31,0.65) 100%);
  pointer-events: none;
}

/* Centered content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-inline: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Scroll reveal base state */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1rem 0.35rem 0.65rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 1);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(99, 160, 255, 0.28);
  border-radius: 999px;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  animation: kicker-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes kicker-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(96, 165, 250, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-title__gradient {
  background: linear-gradient(135deg, #93c5fd 0%, #38bdf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(186, 207, 242, 0.82);
  max-width: 34rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

@media (max-width: 768px) {
  /* Noticeable rhythm: kicker → headline, copy → CTAs, CTAs → next section */
  .hero-content {
    padding-top: 0.5rem;
    padding-bottom: 3rem;
  }

  .hero-kicker {
    margin-bottom: 2.75rem;
  }

  .hero-title {
    margin-bottom: 1.75rem;
  }

  .hero-lead {
    margin-bottom: 3.75rem;
  }
}

/* Ghost white outline button for dark backgrounds */
.btn-ghost-white {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ── Section labels / headings ───────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-eyebrow--light { color: rgba(147, 197, 253, 1); }

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  flex: 1 1 340px;
}

.section-heading p {
  flex: 1 1 280px;
  max-width: 360px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 0.25rem;
}

/* ── Bento grid ──────────────────────────────────────────────── */
.products-section {
  padding-block: 5rem;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

/* Row 1 */
.bento-card--flow    { grid-column: 1 / 8; }
.bento-card--vault   { grid-column: 8 / 13; }
/* Row 2 */
.bento-card--signal  { grid-column: 1 / 5; }
.bento-card--edge    { grid-column: 5 / 9; }
.bento-card--formkit { grid-column: 9 / 13; }
/* Row 3 */
.bento-card--deploy  { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card--flow,
  .bento-card--vault,
  .bento-card--signal,
  .bento-card--edge,
  .bento-card--formkit,
  .bento-card--deploy {
    grid-column: auto;
  }
  .bento-card--flow { grid-column: 1 / -1; }
  .bento-card--deploy { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: 1 / -1 !important; }
}

/* Card base */
.bento-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  overflow: hidden;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.08s linear,
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Flow card — featured */
.bento-card--flow {
  min-height: 360px;
  flex-direction: row;
  gap: 2rem;
  align-items: stretch;
  padding: 2rem 1.75rem 2rem 2.25rem;
}

.bento-card--flow .bento-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 680px) {
  .bento-card--flow {
    flex-direction: column;
    min-height: auto;
  }
  .bento-card__visual { display: none; }
}

/* Deploy card */
.bento-card--deploy {
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 2rem 2rem 2.25rem;
}

.bento-card--deploy .bento-card__body {
  flex: 1;
}

@media (max-width: 720px) {
  .bento-card--deploy {
    flex-direction: column;
    gap: 1.5rem;
  }
  .deploy-log { width: 100%; }
}

/* Dark card variant */
.bento-card--dark {
  background: #0d1630;
  border-color: rgba(255,255,255,0.07);
  color: #e2e8f0;
}

.bento-card--dark:hover {
  border-color: rgba(96, 165, 250, 0.3);
}

/* Glare effect */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,0.14) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.bento-card:hover .card-glare { opacity: 1; }

/* Flow accent blob */
.bento-card__accent {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

/* Card inner structure */
.bento-card__body {
  position: relative;
  z-index: 2;
}

.bento-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bento-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.bento-tag--light {
  color: #93c5fd;
  background: rgba(147,197,253,0.12);
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-icon--violet { background: rgba(124,58,237,0.1); color: var(--accent-violet); }
.bento-icon--sky    { background: rgba(14,165,233,0.1); color: var(--accent-sky); }
.bento-icon--teal   { background: rgba(8,145,178,0.1); color: var(--accent-teal); }
.bento-icon--amber  { background: rgba(217,119,6,0.1); color: var(--accent-amber); }
.bento-icon--light  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.bento-card--dark p { color: rgba(148, 163, 184, 1); }

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.2s var(--ease);
}

.bento-link:hover { gap: 0.65rem; }
.bento-link--muted { color: var(--text-muted); }
.bento-link--muted:hover { color: var(--accent); }

.bento-card--dark .bento-link { color: #93c5fd; }

/* ── Flow card visual ────────────────────────────────────────── */
.bento-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  flex-shrink: 0;
}

.flow-graph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-node {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  position: relative;
  animation: flow-node-pulse 3s ease-in-out infinite;
}

.flow-node--start { background: rgba(37,99,235,0.3); color: #93c5fd; animation-delay: 0s; }
.flow-node--proc  { background: rgba(14,165,233,0.2); color: #7dd3fc; animation-delay: 0.4s; }
.flow-node--guard { background: rgba(124,58,237,0.25); color: #c4b5fd; animation-delay: 0.8s; }
.flow-node--end   { background: rgba(34,197,94,0.2); color: #86efac; animation-delay: 1.2s; }

@keyframes flow-node-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.03); }
}

.flow-edge {
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(99,179,237,0.4), rgba(99,179,237,0.1));
  position: relative;
}

.flow-edge::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(147,197,253,0.6);
  animation: flow-dot 1.8s ease-in-out infinite;
}

@keyframes flow-dot {
  0%   { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Signal mini chart ───────────────────────────────────────── */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-bottom: 1rem;
  padding: 0.5rem 0 0;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(37,99,235,0.12);
  transition: background 0.2s;
}

.bar--accent { background: var(--gradient); }

.bento-card:hover .bar { background: rgba(37,99,235,0.2); }
.bento-card:hover .bar--accent { background: var(--gradient); }

/* ── Deploy log ──────────────────────────────────────────────── */
.deploy-log {
  min-width: 280px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.log-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.log-dots {
  display: flex;
  gap: 4px;
}

.log-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.log-title {
  color: rgba(148,163,184,0.7);
  font-size: 0.7rem;
}

.log-body { padding: 0.7rem 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }

.log-line {
  display: flex;
  gap: 0.6rem;
  color: rgba(148,163,184,0.8);
  line-height: 1.4;
}

.log-line--active { color: rgba(147,197,253,0.95); }
.log-ts { color: rgba(100,116,139,0.7); flex-shrink: 0; }
.log-ok { color: #4ade80; flex-shrink: 0; }
.log-spin { color: #60a5fa; flex-shrink: 0; animation: spin 1.5s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(145deg, #0d1630 0%, #0f172a 45%, #0c1b3a 100%);
  padding-block: 5.5rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(37,99,235,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 50%, rgba(14,165,233,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 780px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-code-wrap { display: none; }
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8fafc;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-text p {
  color: rgba(148,163,184,1);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 36rem;
}

/* Code card */
.code-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.code-card__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dots {
  display: flex;
  gap: 5px;
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-card__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(100,116,139,0.8);
  margin-left: 0.25rem;
}

.code-card__pre {
  margin: 0;
  padding: 1.25rem 1.4rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-card__pre code { display: block; white-space: pre; }

/* Syntax tokens */
.ct { color: #93c5fd; } /* keyword */
.cv { color: #e2e8f0; } /* variable */
.cs { color: #86efac; } /* string */
.cf { color: #fbbf24; } /* function */
.cm { color: #94a3b8; } /* punctuation / operator */
.cg { color: #475569; font-style: italic; } /* comment */

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand .logo-link {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-faint);
}

.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Product showcase ────────────────────────────────────────── */
.product-showcase {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .product-showcase { grid-template-columns: 1fr; }
}

/* Shared card base */
.pcard {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s, transform 0.08s linear;
  will-change: transform;
}

/* ── Live product card (Ligji-KS) ── */
.pcard--live {
  background: #fff;
  padding: 2rem 2.25rem 2rem;
  box-shadow: var(--shadow-md);
}

.pcard--live:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.22);
}

.pcard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pcard__logo-wrap {
  display: flex;
  align-items: center;
}

.pcard__logo-wrap img {
  height: 36px;
  width: auto;
}

.pcard__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  background: rgba(34, 197, 94, 0.08);
}

.pcard__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: status-pulse 2.2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.pcard__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.pcard__tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.pcard__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Stats row */
.pcard__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

@media (max-width: 560px) {
  .pcard__stats { grid-template-columns: repeat(2, 1fr); }
}

.pcard__stat {
  padding: 0.85rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--border-card);
  background: var(--bg-subtle);
}

.pcard__stat:last-child { border-right: none; }

.pcard__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.pcard__stat span {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-weight: 500;
}

/* Tags */
.pcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.pcard__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.14);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Footer actions */
.pcard__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.pcard__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ── Coming soon card ── */
.pcard--soon {
  background: linear-gradient(160deg, #0d1630 0%, #0f1f45 55%, #0c172e 100%);
  border-color: rgba(255, 255, 255, 0.06);
  padding: 2.25rem 2rem 2rem;
  min-height: 380px;
}

.pcard--soon:hover { border-color: rgba(96, 165, 250, 0.25); }

.pcard__soon-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.soon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.soon-orb--1 {
  width: 60%;
  aspect-ratio: 1;
  top: -30%;
  right: -20%;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  animation: soon-drift 14s ease-in-out infinite;
}

.soon-orb--2 {
  width: 45%;
  aspect-ratio: 1;
  bottom: -25%;
  left: -15%;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  animation: soon-drift 18s ease-in-out infinite reverse;
}

@keyframes soon-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(10px, -14px) scale(1.08); }
}

.pcard__soon-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  margin-bottom: 1.25rem;
  animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50%       { box-shadow: 0 0 24px 4px rgba(37, 99, 235, 0.25); }
}

.pcard__soon-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border: 1px solid rgba(147, 197, 253, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.pcard__soon-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f1f5f9;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.pcard__soon-desc {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex: 1;
}

/* Progress bar */
.pcard__soon-progress {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  width: 38%;
  background: var(--gradient);
  border-radius: 99px;
  animation: progress-pulse 3s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 1; }
}

.progress-label {
  font-size: 0.75rem;
  color: rgba(100, 116, 139, 0.9);
  font-weight: 500;
}

.pcard__soon-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #93c5fd;
  transition: gap 0.2s var(--ease), color 0.2s;
  margin-top: auto;
}

.pcard__soon-cta:hover {
  color: #bfdbfe;
  gap: 0.7rem;
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html { scroll-behavior: auto; }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
