/* SpotKite landing — extends ../styles.css */

/* ---------- Hero adjustments ---------- */
.hero {
  min-height: 100svh;
  padding-top: clamp(96px, 12vh, 128px);
  padding-bottom: clamp(96px, 12vh, 128px);
}
/* Demo and copy stack with the demo first on compact screens, then sit in
   balanced columns on desktop so both remain centered and comfortably inset. */
.hero-inner {
  width: 100%; max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-areas: "demo" "text"; align-items: center;
  gap: clamp(48px, 8vw, 80px);
}
.hero-text { grid-area: text; min-width: 0; max-width: 640px; }
.hero-title { font-size: clamp(50px, 8.5vw, 132px); }
.hero-sub strong { color: var(--ink); font-weight: 600; }

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-areas: "text demo";
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(44px, 5vw, 80px);
  }
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px;
}
.hero-cta.reveal { animation-delay: 0.6s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em; text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.btn svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.btn-primary {
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  color: #0b0b12;
  box-shadow: 0 10px 34px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(124, 92, 255, 0.5);
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--ink);
  background: var(--card);
}
.btn-ghost:hover { border-color: rgba(124, 92, 255, 0.45); transform: translateY(-2px); }

/* ---------- Demo launcher ---------- */
.demo {
  grid-area: demo; width: 100%; max-width: 640px;
  justify-self: center;
}
.demo-box {
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px;
  background: rgba(13, 13, 22, 0.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(124, 92, 255, 0.24), 0 0 64px rgba(124, 92, 255, 0.18);
  overflow: hidden;
}
.demo-input {
  display: flex; align-items: center; gap: 12px;
  padding: 17px 20px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 17px; color: var(--ink);
}
.demo-input svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: var(--ink-dim);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
#demo-query { min-height: 1.4em; white-space: pre; }
.demo-caret {
  width: 2px; height: 20px; background: var(--cyan);
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.demo-hint {
  margin-left: auto; font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-faint); border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 8px;
}
.demo-results { min-height: 128px; padding: 8px; }
.demo-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px;
}
.demo-row.active { background: rgba(124, 92, 255, 0.14); }
.demo-ico {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px; border: 1px solid rgba(124, 92, 255, 0.25);
  background: rgba(124, 92, 255, 0.12);
}
.demo-ico svg {
  width: 15px; height: 15px; fill: none; stroke: var(--cyan);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.demo-name { font-weight: 500; font-size: 15px; }
.demo-meta {
  margin-left: auto; font-family: var(--font-display);
  font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.02em;
  white-space: nowrap;
}
.demo-foot {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 12px 20px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint);
}
@media (max-width: 560px) {
  .demo-meta { display: none; }
}

/* ---------- Sections ---------- */
.what {
  padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 80px) clamp(40px, 5vw, 70px);
  max-width: 1100px;
}
.how { padding: clamp(50px, 6vw, 90px) clamp(20px, 6vw, 80px) clamp(90px, 12vw, 160px); }

/* ---------- Steps ---------- */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.step {
  position: relative;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); padding: 26px 24px;
  transition: border-color 0.4s;
}
.step:hover { border-color: rgba(124, 92, 255, 0.45); }
.step-num {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--ink-faint);
}
.step-keys { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.step-keys i { font-style: normal; color: var(--ink-faint); font-size: 14px; }
kbd {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--ink); padding: 7px 13px; border-radius: 9px;
  border: 1px solid var(--line); border-bottom-width: 2px;
  background: rgba(255, 255, 255, 0.05);
}
.step-text { margin-top: 16px; color: var(--ink-dim); font-size: 14.5px; }
.steps .step:nth-child(2).reveal:not(.in) { transition-delay: 0.1s; }
.steps .step:nth-child(3).reveal:not(.in) { transition-delay: 0.2s; }
.steps .step:nth-child(4).reveal:not(.in) { transition-delay: 0.3s; }

/* ---------- Feature cards extras ---------- */
.card-desc .q {
  font-style: normal; font-family: var(--font-display);
  font-size: 0.92em; color: var(--cyan);
}
.features-note {
  margin-top: clamp(34px, 4vw, 52px);
  color: var(--ink-dim); font-size: 15.5px; max-width: 62ch;
}
.cards .card:nth-child(4).reveal:not(.in) { transition-delay: 0.1s; }
.cards .card:nth-child(5).reveal:not(.in) { transition-delay: 0.16s; }
.cards .card:nth-child(6).reveal:not(.in) { transition-delay: 0.22s; }

/* ---------- Download ---------- */
.download { padding: 0 clamp(20px, 6vw, 80px) clamp(100px, 13vw, 170px); }
.download-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--card);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: clamp(44px, 6vw, 80px);
  transition: border-color 0.4s, transform 0.15s ease-out;
  transform-style: preserve-3d; will-change: transform;
}
.download-card:hover { border-color: rgba(124, 92, 255, 0.45); }
.download-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 18px; margin-top: 38px;
}
.download-meta {
  font-family: var(--font-display); font-size: 13px;
  color: var(--ink-faint); letter-spacing: 0.04em;
}
