:root {
  --black: #090909;
  --white: #f7f5f0;
  --cream: #ede9e0;
  --accent: #a78bfa;
  --accent-dark: #7c3aed;
  --muted: #888880;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 104px;
  }
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

@media (pointer: fine) {
  body.has-custom-cursor {
    cursor: none;
  }
}

.cursor {
  display: none;
}

@media (pointer: fine) {
  body.has-custom-cursor .cursor {
    display: block;
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
    mix-blend-mode: exclusion;
  }

  body.has-custom-cursor .cursor.expanded {
    width: 44px;
    height: 44px;
    opacity: 0.6;
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 9, 0.7);
}

@media (min-width: 768px) {
  nav {
    padding: 24px 48px;
  }
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}

.nav-logo img {
  display: block;
  height: 26px;
  width: auto;
  max-width: min(200px, 42vw);
}

@media (min-width: 768px) {
  .nav-logo img {
    height: 30px;
    max-width: 220px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    gap: 36px;
  }
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--black) !important;
  font-weight: 500 !important;
  padding: 10px 18px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

.hero {
  min-height: min(100vh, 1200px);
  padding: 108px 20px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 128px 48px 72px;
  }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.06) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-content {
    max-width: 960px;
  }
}

/* Headline + subhead (left) and launch countdown (right) on wide screens */
.hero-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
  align-items: start;
  margin-bottom: 8px;
}

@media (min-width: 900px) {
  .hero-lead {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 32px 40px;
    align-items: start;
    text-align: left;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy .hero-title,
  .hero-copy .hero-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-countdown-aside {
    justify-self: end;
    width: 100%;
  }

  .hero-countdown-aside .hero-countdown-heading,
  .hero-countdown-aside .hero-countdown-date {
    text-align: right;
  }
}

.hero-copy {
  width: 100%;
  min-width: 0;
}

.hero-countdown-aside {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

@media (min-width: 900px) {
  .hero-countdown-aside {
    max-width: 340px;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Single card: stack header + 2×2 timer grid (readable at all widths) */
.hero-countdown-aside .countdown-wrap {
  margin-top: 0;
  margin-bottom: 0;
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.5);
  animation: none;
  opacity: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Grouped form panel below headline row */
.hero-cta-panel {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
  width: 100%;
  padding: 24px 20px 22px;
  border-radius: 20px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--border-light);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  animation: fadeUp 0.65s 0.38s forwards;
}

@media (min-width: 480px) {
  .hero-cta-panel {
    padding: 28px 28px 26px;
  }
}

.hero-countdown-heading {
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-countdown-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.4;
}

@media (min-width: 900px) {
  .hero-countdown-aside .countdown-wrap {
    align-items: flex-end;
    text-align: right;
  }

  .hero-countdown-aside .countdown-wrap .hero-countdown-heading,
  .hero-countdown-aside .countdown-wrap .hero-countdown-date,
  .hero-countdown-aside .countdown-wrap .countdown-static {
    align-self: flex-end;
    text-align: right;
    width: 100%;
  }
}

.hero-form-block {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
}

.hero-form-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(247, 245, 240, 0.95);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-form-trust {
  font-size: 12px;
  color: rgba(136, 136, 128, 0.95);
  margin-top: 12px;
  line-height: 1.45;
}

.hero-secondary-cta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

@media (min-width: 520px) {
  .hero-secondary-cta {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
}

.hero-secondary-cta-label {
  font-size: 13px;
  color: var(--muted);
}

.hero-demo-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px 8px 0;
  border-radius: 8px;
  transition: color 0.2s, transform 0.2s;
}

.hero-demo-link:hover {
  color: var(--white);
}

.hero-demo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero-demo-link-arrow {
  transition: transform 0.2s;
  display: inline-block;
}

.hero-demo-link:hover .hero-demo-link-arrow {
  transform: translateX(4px);
}

.waitlist-form--hero {
  margin-top: 0;
  max-width: none;
  animation: none;
  opacity: 1;
}

.btn-primary--hero {
  min-height: 48px;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.25);
}

.btn-primary--hero:hover {
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}

.btn-primary--hero:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.8);
  outline-offset: 3px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* Hero headline: matches legacy marketing page (Inter + gradient fills) */
.hero-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(180deg, #ededf2 0%, #cfcfe6 50%, #cfcfe6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 25px rgba(124, 58, 237, 0.22);
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(2.75rem, 4.5vw, 4rem);
  }
}

.hero-title .line-accent {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 0.12em;
}

.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.68;
  color: rgba(136, 136, 128, 0.98);
  max-width: 34em;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s forwards;
}

@media (min-width: 768px) {
  .hero-sub {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.7;
  }
}

.countdown-wrap {
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.42s forwards;
}

.countdown-static {
  font-size: 14px;
  color: var(--muted);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 100%;
}

@media (min-width: 400px) {
  .countdown-grid {
    gap: 10px;
  }
}

/* 2×2 grid in hero aside — avoids cramped single-row cells */
.hero-countdown-aside .countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.hero-countdown-aside .countdown-unit {
  min-width: 0;
  padding: 12px 10px;
}

.hero-countdown-aside .countdown-num {
  font-size: clamp(20px, 4.2vw, 28px);
}

.hero-countdown-aside .countdown-label {
  font-size: 9px;
  letter-spacing: 0.08em;
}

@media (min-width: 900px) {
  .hero-countdown-aside .countdown-grid {
    margin-left: auto;
    margin-right: 0;
    max-width: 300px;
  }

  .hero-countdown-aside #countdown-live {
    align-self: flex-end;
    width: 100%;
  }

  .hero-countdown-aside #countdown-done {
    align-self: flex-end;
    text-align: right;
    width: 100%;
    max-width: 300px;
  }
}

.countdown-unit {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 6px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.countdown-unit:hover {
  border-color: rgba(167, 139, 250, 0.2);
  background: rgba(167, 139, 250, 0.05);
}

.countdown-num {
  font-family: Syne, sans-serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 4px;
}

.countdown-live-msg {
  font-family: Syne, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.waitlist-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}

#form-cta.waitlist-form {
  margin-top: 0;
  animation: none;
  opacity: 1;
}

.waitlist-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .waitlist-form-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(9, 9, 9, 0.45);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.waitlist-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.waitlist-form input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.waitlist-form input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
  background: rgba(9, 9, 9, 0.65);
}

.waitlist-form input:focus-visible {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.waitlist-form .btn-primary {
  border: none;
  cursor: pointer;
  justify-content: center;
  white-space: nowrap;
}

.waitlist-form .form-msg {
  font-size: 13px;
  min-height: 1.25em;
}

.waitlist-form .form-msg.ok {
  color: #86efac;
}

.waitlist-form .form-msg.err {
  color: #fca5a5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
  text-align: center;
  justify-items: stretch;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 680px;
  }
}

@media (min-width: 900px) {
  .hero-stats {
    max-width: 960px;
  }
}

.hero-stat-item {
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.hero-stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .hero-stat-item {
    padding: 16px 12px;
  }
}

.stat-num {
  font-family: Syne, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-num {
    font-size: 36px;
  }
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 12px;
  }
}

/* Standalone demo section (below hero) */
.demo-section {
  position: relative;
  padding: 72px 24px 80px;
  background: linear-gradient(
    180deg,
    rgba(167, 139, 250, 0.04) 0%,
    transparent 45%,
    rgba(100, 180, 255, 0.02) 100%
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .demo-section {
    padding: 88px 48px 100px;
  }
}

.demo-section-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.demo-section .section-title,
.demo-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.demo-section-card-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.demo-section-card-wrap .vapi-demo-card {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

#vapi-demo-container {
  width: 100%;
  max-width: 440px;
}

.vapi-demo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 20px 22px;
  backdrop-filter: blur(10px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vapi-demo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.4),
    rgba(124, 58, 237, 0.35),
    transparent
  );
}

.try-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.try-demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.try-demo-pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

.try-demo-label {
  font-size: 12px;
  color: var(--muted);
}

.try-demo-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 16px;
}

#vapi-button-slot {
  background: transparent !important;
  border: none !important;
}

#vapi-button-slot .vapi-btn {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  margin: 0 auto !important;
  transform: none !important;
}

#vapi-demo-container .vapi-btn {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #4f46e5 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.35) !important;
  border-radius: 50px !important;
  min-width: auto !important;
  padding: 12px 20px !important;
  height: auto !important;
  font-family: "DM Sans", sans-serif !important;
}

#vapi-demo-container .vapi-btn-round {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  padding: 0 !important;
  justify-content: center !important;
}

#vapi-demo-container .vapi-btn-round #vapi-icon-container img {
  filter: brightness(0) invert(1) !important;
  width: 24px !important;
  height: 24px !important;
}

#vapi-skeleton {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 75%
  );
  background-size: 200% 100%;
  animation: vapi-skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes vapi-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

#vapi-demo-container.vapi-error .try-demo-header {
  display: none !important;
}

#vapi-demo-container.vapi-error .try-demo-body > *:not(#vapi-demo-error) {
  display: none !important;
}

#vapi-demo-error {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

#vapi-demo-container.vapi-error #vapi-demo-error {
  display: flex;
}

#vapi-demo-error p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.vapi-fallback-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  background: var(--accent);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.vapi-fallback-cta:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.try-demo-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.try-demo-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.try-demo-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 260px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

section {
  padding: 72px 24px;
}

@media (min-width: 768px) {
  section {
    padding: 100px 48px;
  }
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: Syne, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 600px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 48px;
}

.how {
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.02) 50%, transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: var(--black);
  padding: 32px 24px;
  transition: background 0.3s;
}

@media (min-width: 768px) {
  .step {
    padding: 40px 32px;
  }
}

.step:hover {
  background: var(--card-hover);
}

.step-num {
  font-family: Syne, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .step-num {
    font-size: 64px;
    margin-bottom: 24px;
  }
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.step-title {
  font-family: Syne, sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-card.large {
    grid-column: span 7;
  }

  .bento-card.medium {
    grid-column: span 5;
  }

  .bento-card.half {
    grid-column: span 6;
  }

  .bento-card.third {
    grid-column: span 4;
  }
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}

@media (min-width: 768px) {
  .bento-card {
    padding: 36px;
  }
}

.bento-card:hover {
  border-color: rgba(167, 139, 250, 0.18);
  background: var(--card-hover);
}

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.ic-green {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.ic-blue {
  background: rgba(100, 181, 246, 0.1);
  border: 1px solid rgba(100, 181, 246, 0.2);
}

.ic-amber {
  background: rgba(255, 183, 77, 0.1);
  border: 1px solid rgba(255, 183, 77, 0.2);
}

.ic-pink {
  background: rgba(240, 100, 180, 0.1);
  border: 1px solid rgba(240, 100, 180, 0.2);
}

.ic-purple {
  background: rgba(180, 130, 255, 0.1);
  border: 1px solid rgba(180, 130, 255, 0.2);
}

.bento-title {
  font-family: Syne, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .bento-title {
    font-size: 22px;
  }
}

.bento-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.mock-convo {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.msg.ai {
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.15);
  color: var(--cream);
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}

.msg.user {
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}

.msg-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.msg-label.ai-label {
  color: var(--accent);
}

.msg-label.user-label {
  color: var(--muted);
  text-align: right;
}

.metric-bars {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.metric-name {
  font-size: 13px;
  color: var(--muted);
}

.metric-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pill {
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-light);
}

.pill.green {
  border-color: rgba(167, 139, 250, 0.3);
  color: var(--accent);
  background: rgba(167, 139, 250, 0.06);
}

.pill.blue {
  border-color: rgba(100, 181, 246, 0.3);
  color: #64b5f6;
  background: rgba(100, 181, 246, 0.06);
}

.channels-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 48px;
}

@media (min-width: 768px) {
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.channel-block {
  background: var(--black);
  padding: 32px 28px;
  transition: background 0.3s;
}

@media (min-width: 768px) {
  .channel-block {
    padding: 44px 40px;
  }
}

.channel-block:hover {
  background: var(--card-hover);
}

.ch-num {
  font-family: Syne, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 20px;
}

.ch-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.ch-title {
  font-family: Syne, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .ch-title {
    font-size: 26px;
    margin-bottom: 16px;
  }
}

.ch-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ch-features {
  list-style: none;
}

.ch-features li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ch-features li:last-child {
  border-bottom: none;
}

.ch-features li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.proof {
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.015) 50%, transparent);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0.35;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: Syne, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  filter: grayscale(1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.3s;
}

.testimonial:hover {
  border-color: rgba(167, 139, 250, 0.15);
}

.stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 500;
}

.author-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}

.plan:hover {
  border-color: rgba(167, 139, 250, 0.15);
  background: var(--card-hover);
}

.plan.featured {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.04);
}

.plan-name {
  font-family: Syne, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-price {
  font-family: Syne, sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--muted);
}

.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 28px;
  padding: 14px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
}

.plan-btn.solid {
  background: var(--accent);
  color: var(--black);
}

.plan-btn.solid:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.cta-section {
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 120px 48px;
  }
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section .section-title {
  margin: 0 auto 16px;
  text-align: center;
  max-width: 700px;
}

.cta-section .section-desc {
  margin: 0 auto 32px;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.btn-secondary:hover {
  color: var(--white);
}

.ticker-wrap {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(167, 139, 250, 0.03);
}

.ticker {
  display: flex;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  padding: 0 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-item::after {
  content: "✦";
  color: var(--accent);
  font-size: 8px;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  footer {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 60px 48px;
    gap: 40px;
  }
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 12px;
}

.footer-brand .nav-logo img {
  height: 28px;
  max-width: 200px;
}

@media (min-width: 768px) {
  .footer-brand .nav-logo img {
    height: 32px;
    max-width: 220px;
  }
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding: 24px 48px;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}

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

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.cta-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.nav-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 900px) {
  .nav-toggle {
    gap: 0;
  }
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .mobile-nav-btn {
    display: none;
  }
}

.mobile-nav-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(9, 9, 9, 0.96);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer.open {
  display: flex;
}

@media (min-width: 900px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.mobile-drawer a:hover {
  color: var(--white);
}
