/* ═══════════════════════════════════════════════════════════════
   XES landing page styles — v2 redesign
   Used by: /index.html, /app/, and saved landing drafts.
   Extracted from inline <style id="v2-landing"> on 2026-05-27.
   Loaded alongside /css/site.css which still provides the shared
   tokens, navbar, container, and section-title chrome.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --v2-card-bg: linear-gradient(165deg, rgba(17, 24, 39, 0.86), rgba(5, 8, 20, 0.72));
  --v2-card-border: rgba(148, 163, 184, 0.18);
  --v2-card-border-hi: rgba(59, 130, 246, 0.52);
  --v2-glow: radial-gradient(60% 60% at 50% 0%, rgba(244, 63, 94, 0.16), transparent 70%);
}

/* ---- HERO --------------------------------------------------------- */
.v2-hero {
  position: relative;
  padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.v2-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(59,130,246,0.22), transparent 65%),
    radial-gradient(680px 420px at 15% 76%, rgba(244,63,94,0.18), transparent 64%),
    radial-gradient(520px 340px at 56% 95%, rgba(245,158,11,0.12), transparent 68%);
  z-index: -1;
}
.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .v2-hero-grid { grid-template-columns: 1fr; text-align: center; }
}
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.v2-eyebrow .v2-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: v2-pulse 2s infinite;
}
@keyframes v2-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.v2-h1 {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: clamp(2.55rem, 5.8vw, 5.25rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 .65rem;
  letter-spacing: 0;
  color: var(--text);
}
.v2-h1 .brand-word {
  display: inline-block;
  font-family: "Saira Stencil One", Impact, system-ui, sans-serif;
  letter-spacing: .07em;
  text-shadow: 0 0 26px rgba(59, 130, 246, 0.35);
}
.v2-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 .75rem;
  max-width: 30em;
}
@media (max-width: 900px) {
  .v2-lede { margin-left: auto; margin-right: auto; }
}

.hero-start-line {
  display: inline-block;
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1.75rem;
}
@media (max-width: 900px) {
  .hero-start-line {
    margin-left: auto;
    margin-right: auto;
  }
}
.v2-cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .v2-cta-row { justify-content: center; } }
.v2-btn-ghost {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1.1rem 1.6rem;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.v2-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }
.v2-trust-line {
  display: flex; flex-wrap: wrap; gap: 1.25rem 1.6rem;
  color: var(--text-dim);
  font-size: .92rem;
}
@media (max-width: 900px) { .v2-trust-line { justify-content: center; } }
.v2-trust-line span { display: inline-flex; align-items: center; gap: .45rem; }
.v2-trust-line svg { flex: 0 0 auto; color: var(--primary-light); }

/* hero illustration card with waveform */
.v2-hero-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.v2-hero-art img {
  width: 100%; max-width: 520px; height: auto;
  filter: drop-shadow(0 25px 60px rgba(59,130,246,0.28));
  position: relative; z-index: 2;
}
.speakr-hero-logo {
  max-width: min(330px, 58vw);
  transform: rotate(-4deg);
}
.v2-wave {
  position: absolute; left: 50%; bottom: 8%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  height: 56px; align-items: center;
  z-index: 3;
  padding: .6rem 1rem;
  background: rgba(5, 8, 20, 0.68);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
}
.v2-wave i {
  display: block;
  width: 3px; height: 14px;
  background: linear-gradient(180deg, #f43f5e, #3b82f6);
  border-radius: 2px;
  animation: v2-bar 1.1s ease-in-out infinite;
}
.v2-wave i:nth-child(1)  { animation-delay: -0.1s; }
.v2-wave i:nth-child(2)  { animation-delay: -0.25s; height: 22px; }
.v2-wave i:nth-child(3)  { animation-delay: -0.4s;  height: 30px; }
.v2-wave i:nth-child(4)  { animation-delay: -0.55s; height: 38px; }
.v2-wave i:nth-child(5)  { animation-delay: -0.7s;  height: 28px; }
.v2-wave i:nth-child(6)  { animation-delay: -0.85s; height: 20px; }
.v2-wave i:nth-child(7)  { animation-delay: -1.0s;  height: 32px; }
.v2-wave i:nth-child(8)  { animation-delay: -1.15s; height: 24px; }
.v2-wave i:nth-child(9)  { animation-delay: -1.3s;  height: 16px; }
@keyframes v2-bar {
  0%, 100% { transform: scaleY(0.4); opacity: .6; }
  50%      { transform: scaleY(1);   opacity: 1;  }
}

/* ---- HOW IT WORKS ------------------------------------------------ */
.v2-steps {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.v2-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 820px) { .v2-steps-grid { grid-template-columns: 1fr; } }
.v2-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 20px;
  background: var(--v2-card-bg);
  border: 1px solid var(--v2-card-border);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease;
}
.v2-step:hover { transform: translateY(-3px); border-color: var(--v2-card-border-hi); }
.v2-step-num {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: .9rem;
}
.v2-step h3 {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 .55rem;
  color: var(--text);
}
.v2-step p { color: var(--text-muted); line-height: 1.6; margin: 0; font-size: .98rem; }

/* ---- SHOWCASE NUMBER CHIP (overrides feature-label for v2) ------- */
.v2-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .75rem .35rem .55rem;
  border-radius: 999px;
  background: rgba(139,127,255,0.14);
  border: 1px solid rgba(139,127,255,0.3);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.v2-chip-num {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #f43f5e);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

/* ---- APP PAGE ---------------------------------------------------- */
.app-page-main {
  padding-top: 72px;
}
.app-hero {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 72% 16%, rgba(59, 130, 246, 0.22), transparent 64%),
    radial-gradient(620px 380px at 18% 78%, rgba(244, 63, 94, 0.18), transparent 66%);
  pointer-events: none;
}
.app-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
}
.app-hero-copy {
  position: relative;
  z-index: 1;
}
.app-title {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.03;
  margin: 0 0 1.2rem;
}
.app-title .brand-word {
  display: block;
  font-family: "Saira Stencil One", Impact, system-ui, sans-serif;
  letter-spacing: .07em;
}
.app-lede {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 38rem;
}
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.app-device {
  align-items: center;
  background: linear-gradient(160deg, rgba(15, 23, 42, .94), rgba(5, 8, 20, .86));
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 32px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35), 0 0 52px rgba(59, 130, 246, .14);
  display: flex;
  justify-content: center;
  min-height: 520px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.app-device-screen {
  align-items: center;
  aspect-ratio: 9 / 16;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(160deg, #111827, #050814);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
  max-width: 280px;
  padding: 2rem;
  width: 100%;
}
.app-device-screen img {
  filter: drop-shadow(0 18px 45px rgba(244, 63, 94, .24));
  max-width: 140px;
  width: 60%;
}
.app-device-screen strong {
  font-family: "Saira Stencil One", Impact, system-ui, sans-serif;
  font-size: 2.1rem;
  letter-spacing: .08em;
}
.app-device-screen span {
  color: var(--text-muted);
  text-align: center;
}
.app-platforms {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.app-platform-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.app-platform-card {
  background: var(--v2-card-bg);
  border: 1px solid var(--v2-card-border);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.app-platform-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin: 0 0 .75rem;
}
.app-platform-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.2rem;
}
.app-platform-meta {
  color: var(--text-dim);
  display: block;
  font-size: .9rem;
  margin-top: .8rem;
}
.app-cta {
  background: linear-gradient(135deg, #3b82f6, #f43f5e);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  padding: .9rem 1.2rem;
  text-decoration: none;
}
.app-cta.disabled {
  background: rgba(148, 163, 184, .14);
  color: var(--text-dim);
  pointer-events: none;
}
.app-feature-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}
.app-feature {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 16px;
  padding: 1rem;
}
.app-feature strong {
  display: block;
  margin-bottom: .35rem;
}
.app-feature span {
  color: var(--text-muted);
  font-size: .95rem;
}
@media (max-width: 860px) {
  .app-hero-grid,
  .app-platform-grid,
  .app-feature-strip {
    grid-template-columns: 1fr;
  }
  .app-device {
    min-height: 420px;
  }
}

/* ---- BENTO GRID -------------------------------------------------- */
.v2-bento {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 1rem;
}
.v2-cell {
  position: relative;
  padding: 1.75rem;
  border-radius: 22px;
  background: var(--v2-card-bg);
  border: 1px solid var(--v2-card-border);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 220px;
}
.v2-cell::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--v2-glow);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.v2-cell:hover { transform: translateY(-3px); border-color: var(--v2-card-border-hi); }
.v2-cell:hover::before { opacity: 1; }
.v2-cell h3 {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 .55rem;
  color: var(--text);
}
.v2-cell p { color: var(--text-muted); line-height: 1.6; margin: 0; font-size: .97rem; }

/* bento layout */
.v2-cell-lg { grid-column: span 4; grid-row: span 2; min-height: 320px; }
.v2-cell-md { grid-column: span 2; }
.v2-cell-sm { grid-column: span 2; }

/* big card prose & visual */
.v2-cell-lg .v2-h2-sm {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 .9rem;
  color: var(--text);
}
.v2-cell-lg p { font-size: 1.05rem; max-width: 38em; }
.v2-cell-lg .v2-rings {
  position: absolute; right: -50px; top: -40px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(139,127,255,0.18), transparent 70%),
    radial-gradient(closest-side, transparent 50%, rgba(139,127,255,0.18) 52%, transparent 54%),
    radial-gradient(closest-side, transparent 70%, rgba(79,127,255,0.18) 72%, transparent 74%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .v2-bento-grid { grid-template-columns: 1fr 1fr; }
  .v2-cell-lg { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .v2-cell-md, .v2-cell-sm { grid-column: span 1; }
}
@media (max-width: 540px) {
  .v2-bento-grid { grid-template-columns: 1fr; }
  .v2-cell-lg, .v2-cell-md, .v2-cell-sm { grid-column: span 1; }
}

/* ---- FINAL CTA --------------------------------------------------- */
.v2-final {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
}
.v2-final-card {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 28px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(139,127,255,0.25), transparent 65%),
    radial-gradient(600px 300px at 10% 100%, rgba(79,127,255,0.25), transparent 65%),
    linear-gradient(165deg, rgba(61,61,133,0.55), rgba(20,22,42,0.7));
  border: 1px solid rgba(139,127,255,0.32);
  text-align: center;
  overflow: hidden;
}
.v2-final h2 {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.v2-final p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 36em;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.v2-final .v2-cta-row { justify-content: center; }

/* ---- SECTION HEADER tweaks -------------------------------------- */
.v2-section-eyebrow {
  display: block;
  text-align: center;
  color: #a599ff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

/* Bento icon override: swap the small chip background for the custom
   hand-made PNG illustrations. The chip styling above gives way to a
   larger image-only treatment in each cell. */
.v2-cell .v2-icon {
  width: auto;
  height: auto;
  max-width: 140px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 1.1rem;
  align-self: flex-start;
}
.v2-cell .v2-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.v2-cell-lg .v2-icon { max-width: 180px; }

/* Gradient text utility for the standalone Just Press Start line. */
.v2-grad {
  background: linear-gradient(95deg, #6b93ff 10%, #a599ff 55%, #fbbf24 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
