/* ==========================================================================
   1. Design System & CSS Variables (Stripe SaaS Style)
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-primary: #ffffff;      /* Pure White */
  --bg-secondary: #f6f9fc;    /* Stripe Cool Light Gray */
  --bg-paper: #ffffff;        /* Card White */
  --bg-dark: #0a2540;         /* Stripe Signature Dark Slate Navy */

  --text-primary: #0a2540;    /* Deep Navy */
  --text-secondary: #425466;  /* Slate Grey */
  --text-muted: #697386;      /* Muted Slate */
  --text-light: #ffffff;      /* Pure White Text */

  /* Stripe Accents */
  --indigo: #635bff;          /* Electric Indigo */
  --indigo-dark: #4f46e5;     /* Darker Indigo */
  --teal: #00d4b2;            /* Turquoise Teal */
  --teal-dark: #0d9488;       /* Darker Teal */
  --blue: #3b82f6;            /* Royal Blue */
  --orange: #f25c05;          /* Vibrant Orange */

  --border-color: #e6ebf1;    /* Cool Gray Border */
  --border-hover: #635bff;    /* Active Indigo Border */

  /* Stripe-Style Soft Shadows */
  --shadow-card: 0 4px 6px -1px rgba(50, 50, 93, 0.08), 0 1px 3px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 15px 35px rgba(50, 50, 93, 0.12), 0 5px 15px rgba(0, 0, 0, 0.06);
  --shadow-premium: 0 30px 60px -12px rgba(50, 50, 93, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.2);

  /* Layout Config */
  --radius-card: 8px;         /* Modern SaaS rounded border */
  --radius-button: 8px;       /* Slightly rounded buttons */
  --transition-saas: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.15s ease;

  color-scheme: light;
  scroll-behavior: smooth;
}

/* ==========================================================================
   2. Reset & Typography
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-primary);
  scrollbar-width: thin;
  scrollbar-color: var(--indigo) var(--bg-secondary);
}

body {
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--indigo);
}

/* ==========================================================================
   3. Global Layout & Components
   ========================================================================== */
.site-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Scroll Reveal (Subtle Slide and Fade) */
.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   4. Floating Navigation Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 32px));
  min-height: 56px;
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: var(--transition-saas);
}

.site-header:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(99, 91, 255, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-symbol {
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(99, 91, 255, 0.15));
}

.brand-copy strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.brand-copy span {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  margin-top: 1px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  transition: var(--transition-fast);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--indigo);
  transition: var(--transition-fast);
}

.site-nav a:hover {
  color: var(--indigo);
}

.site-nav a:hover::after {
  width: 100%;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  background-color: var(--indigo);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-button);
  border: none;
  box-shadow: 0 2px 4px rgba(99, 91, 255, 0.12);
}

.header-action:hover {
  background-color: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(99, 91, 255, 0.2);
}

.button-arrow {
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.header-action:hover .button-arrow {
  transform: translate(2px, -2px) rotate(45deg);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 760px;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 100% 0%, #f0f4ff 0%, var(--bg-primary) 55%);
}

.hero-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.12);
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.title-primary {
  display: block;
}

.title-secondary {
  color: var(--indigo);
  display: block;
}

.hero-lead {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-saas);
}

.button-primary {
  background-color: var(--indigo);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.18);
  border: none;
}

.button-primary:hover {
  background-color: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 91, 255, 0.28);
}

.button-secondary {
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--indigo);
}

.button-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.button:hover .button-arrow {
  transform: translate(2px, -2px) rotate(45deg);
}

/* ==========================================================================
   6. Robotics demo
   ========================================================================== */
.hero-visual-wrapper {
  display: flex;
  justify-content: center;
  min-width: 0;
  mix-blend-mode: multiply;
}

.robot-arm-demo {
  display: block;
  width: 100%;
  max-width: 550px;
  height: auto;
}

/* ==========================================================================
   7. Technical Capabilities Section
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-heading {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.section-kicker {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 640px;
}

.capability-grid {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.capability-card {
  position: relative;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-saas);
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  transition: var(--transition-fast);
}

.card-accent-line.indigo { background-color: var(--indigo); }
.card-accent-line.teal { background-color: var(--teal); }

.capability-card:hover .card-accent-line {
  opacity: 1;
}

.card-icon-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.cap-svg {
  width: 28px;
  height: 28px;
}

.card-index {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
}

.capability-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.capability-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Clean Micro-details on capability cards */
.card-demo {
  margin-top: 18px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.demo-badge.highlight {
  background-color: rgba(99, 91, 255, 0.08);
  color: var(--indigo);
}

.demo-badge.highlight-teal {
  background-color: rgba(0, 212, 178, 0.08);
  color: var(--teal-dark);
}

.demo-arrow {
  color: var(--text-muted);
  font-size: 11px;
}

.demo-score {
  font-size: 10px;
  font-weight: 850;
  color: var(--indigo);
}

/* ==========================================================================
   8. Product Matrix Section (Stripe Cool Gray Contrast Segment)
   ========================================================================== */
.section-matrix {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.matrix-grid {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.matrix-card {
  position: relative;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-saas);
  overflow: hidden;
}

.matrix-card-content {
  padding: 24px;
}

.matrix-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

/* Accent borders on primary matrix cards */
.matrix-card.primary-card {
  border-top: 3px solid var(--indigo);
}

#bullish-speaking.primary-card {
  border-top-color: var(--teal);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.logo-outer {
  padding: 1px;
  border-radius: 6px;
  background: var(--indigo);
  display: flex;
}

.logo-outer.teal {
  background: var(--teal);
}

.product-logo {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  object-fit: cover;
}

.badge-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.badge-text.font-indigo { color: var(--indigo); }
.badge-text.font-teal { color: var(--teal-dark); }

.matrix-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.matrix-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 6px;
  background-color: rgba(0, 212, 178, 0.06);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
}

.product-links a:hover {
  border-color: rgba(13, 148, 136, 0.35);
  background-color: rgba(0, 212, 178, 0.12);
  transform: translateY(-1px);
}

.product-links .peerglide-link {
  grid-column: 1 / -1;
  border-color: rgba(99, 91, 255, 0.18);
  background-color: rgba(99, 91, 255, 0.06);
  color: var(--indigo-dark);
}

.product-links .peerglide-link:hover {
  border-color: rgba(99, 91, 255, 0.35);
  background-color: rgba(99, 91, 255, 0.12);
}

.product-tag-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.product-tag-icon.font-indigo {
  color: var(--indigo);
  border-color: rgba(99, 91, 255, 0.15);
}

/* ==========================================================================
   9. Scenarios Section
   ========================================================================== */
.section-scenarios {
  background-color: var(--bg-primary);
}

.scenario-list {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scenario-item {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-saas);
}

.scenario-item:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  box-shadow: var(--shadow-hover);
}

.scenario-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: rgba(99, 91, 255, 0.06);
  border: 1px solid rgba(99, 91, 255, 0.12);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition-saas);
}

.scenario-icon.teal {
  background-color: rgba(0, 212, 178, 0.06);
  border-color: rgba(0, 212, 178, 0.12);
  color: var(--teal-dark);
}

.scenario-item:hover .scenario-icon {
  transform: scale(1.05);
}

.scenario-item h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.scenario-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.customer-points {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  list-style: none;
  display: grid;
  gap: 8px;
}

.customer-points li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.45;
}

.customer-points li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */
.contact-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.contact-card {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 0% 100%, rgba(99, 91, 255, 0.03) 0%, transparent 60%);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
}

.contact-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   11. Bullish Speaking Product Page
   ========================================================================== */
.product-page {
  background:
    linear-gradient(180deg, rgba(246, 249, 252, 0.92) 0%, #ffffff 42%),
    var(--bg-primary);
}

.product-hero {
  min-height: 720px;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.08) 0%, rgba(0, 212, 178, 0.06) 48%, rgba(255, 255, 255, 0) 100%);
}

.product-hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.product-hero-copy,
.product-phone-stage {
  min-width: 0;
}

.product-title-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-title-lockup img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(10, 37, 64, 0.16);
}

.product-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.product-hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 750;
  line-height: 1.3;
  color: var(--indigo);
  margin-bottom: 18px;
}

.product-hero-subtitle span + span::before {
  content: '';
}

.product-hero-copy > p:not(.product-hero-subtitle) {
  max-width: 620px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  margin-bottom: 30px;
}

.product-phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 360px);
  min-height: 560px;
  padding: 18px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-premium);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 6px 18px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
}

.phone-app-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  box-shadow: var(--shadow-card);
}

.phone-app-card img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.phone-app-card strong,
.phone-app-card span {
  display: block;
}

.phone-app-card strong {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 4px;
}

.phone-app-card span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.dialogue-preview {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.dialogue-preview p {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: var(--radius-card);
  font-size: 13px;
  line-height: 1.55;
}

.ai-line {
  color: var(--text-secondary);
  background: #eef4ff;
  border: 1px solid rgba(99, 91, 255, 0.12);
}

.user-line {
  justify-self: end;
  color: var(--text-light);
  background: var(--indigo);
  box-shadow: 0 12px 24px rgba(99, 91, 255, 0.18);
}

.score-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.score-panel div {
  padding: 16px 10px;
  border: 1px solid rgba(0, 212, 178, 0.18);
  border-radius: var(--radius-card);
  background: rgba(0, 212, 178, 0.06);
  text-align: center;
}

.score-panel span,
.score-panel strong {
  display: block;
}

.score-panel span {
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 4px;
}

.score-panel strong {
  color: var(--teal-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  line-height: 1;
}

.product-screenshot-section {
  padding: 90px 0;
  background: var(--bg-primary);
}

.product-screenshot-rail {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.product-screenshot-card {
  margin: 0;
}

.product-screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(99, 91, 255, 0.14);
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  box-shadow: var(--shadow-card);
}

.product-screenshot-card figcaption {
  margin-top: 12px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.product-feature-section {
  background: var(--bg-primary);
}

.product-feature-grid {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-feature-item {
  min-height: 240px;
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  box-shadow: var(--shadow-card);
  transition: var(--transition-saas);
}

.product-feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: var(--shadow-hover);
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 6px;
  color: var(--indigo);
  background: rgba(99, 91, 255, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.product-feature-item h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.product-feature-item p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.product-flow-section {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.product-flow-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.product-flow-copy h2,
.product-support-card h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.product-flow-copy p:not(.section-kicker),
.product-support-card p:not(.section-kicker) {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.learning-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.learning-step {
  padding: 22px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  box-shadow: var(--shadow-card);
}

.learning-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--text-light);
  font-size: 12px;
  font-weight: 800;
}

.learning-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 15px;
}

.learning-step p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.product-support-section {
  padding: 90px 0 80px;
  background: var(--bg-primary);
}

.product-support-card {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-card);
}

.product-support-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 10px;
}

.product-support-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-button);
  background: rgba(0, 212, 178, 0.08);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-support-links a:hover {
  border-color: rgba(13, 148, 136, 0.36);
  background: rgba(0, 212, 178, 0.14);
  transform: translateY(-1px);
}

/* ==========================================================================
   12. Footer Section
   ========================================================================== */
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--indigo);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  font-size: 11px;
  color: var(--text-secondary);
}

.footer-meta .icp {
  color: var(--text-muted);
}

/* ==========================================================================
   13. Responsive Styles
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-wrapper {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero-inner,
  .product-flow-inner {
    grid-template-columns: 1fr;
  }

  .product-hero-copy {
    text-align: center;
    justify-self: center;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .product-hero-copy > p:not(.product-hero-subtitle) {
    margin-left: auto;
    margin-right: auto;
  }

  .product-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-screenshot-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-support-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .scenario-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .capability-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .product-links {
    grid-template-columns: 1fr;
  }

  .product-hero {
    padding-top: 110px;
    min-height: auto;
  }

  .product-hero-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
  }

  .product-hero-copy {
    justify-self: auto;
    width: 100%;
    max-width: 100%;
  }

  .product-hero h1 {
    font-size: 44px;
  }

  .product-hero-subtitle {
    max-width: 100%;
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  .product-hero-subtitle span {
    display: block;
  }

  .product-hero-copy > p:not(.product-hero-subtitle) {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .product-feature-grid,
  .product-screenshot-rail,
  .learning-steps,
  .product-support-links {
    grid-template-columns: 1fr;
  }

  .product-screenshot-section {
    padding: 64px 0;
  }

  .product-screenshot-card {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .phone-shell {
    width: 100%;
    max-width: 326px;
    min-height: auto;
    border-radius: 24px;
    padding: 14px;
  }

  .product-phone-stage {
    justify-self: center;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    justify-content: center;
  }

  .phone-app-card {
    grid-template-columns: 46px 1fr;
    padding: 14px;
  }

  .phone-app-card img {
    width: 46px;
    height: 46px;
  }

  .dialogue-preview p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .score-panel {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-meta {
    align-items: center;
    text-align: center;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
