/* ==========================================================================
   Verity — Glide Design Language Stylesheet (glideapps.com)
   Design System:
   - Palette: Pure white (#fff), soft surfaces (#FBFBFB, #F1F0EA), deep dark (#0D0D0D)
   - Typography: Clean sans-serif with tight kerning (letter-spacing: -0.025em to -0.035em)
   - Capsule controls: Pill-shaped buttons & filters (border-radius: 980px)
   - Rounded containers: Generous radii (24px - 32px), subtle borders (rgba(13,13,13,0.08))
   - Multi-layered soft shadows, floating showcase stages, and smooth transitions
   ========================================================================== */

:root {
  /* Glide Palette */
  --glide-bg: #ffffff;
  --glide-surface: #fbfbfb;
  --glide-surface-card: #ffffff;
  --glide-surface-warm: #f1f0ea;
  --glide-surface-subtle: #f4f4f5;
  --glide-surface-hover: #ebebeb;
  
  --glide-dark: #0d0d0d;
  --glide-dark-surface: #171717;
  --glide-dark-border: rgba(255, 255, 255, 0.12);

  --glide-text-primary: #0d0d0d;
  --glide-text-secondary: rgba(0, 0, 0, 0.62);
  --glide-text-tertiary: rgba(0, 0, 0, 0.42);
  --glide-text-muted: #86868b;

  --glide-blue: #0071e3;
  --glide-blue-hover: #0077ed;
  --glide-blue-subtle: rgba(0, 113, 227, 0.08);

  --glide-amber: #d97706;
  --glide-amber-bg: rgba(245, 158, 11, 0.08);
  --glide-green: #059669;
  --glide-green-bg: rgba(16, 185, 129, 0.08);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-pill: 980px;
  --radius-card: 24px;
  --radius-container: 32px;
  --radius-sm: 12px;

  /* Layout */
  --container-max: 1160px;
  --container-wide: 1280px;

  /* Shadows */
  --glide-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 12px 28px -4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --glide-shadow-hover: 0 16px 36px -4px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --glide-shadow-stage: 0 24px 48px -12px rgba(0, 0, 0, 0.08), 0 12px 24px -8px rgba(0, 0, 0, 0.06);

  /* Easing */
  --ease-glide: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--glide-text-primary);
  background-color: var(--glide-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--glide-bg);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
}

/* ==========================================================================
   1. Site Header (Glide Frosted Navbar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  transition: all 0.2s var(--ease-glide);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--glide-text-primary);
}

.logo-mark {
  display: flex;
  align-items: center;
  color: var(--glide-text-primary);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--glide-text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--glide-text-secondary);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--glide-text-primary);
}

.btn-glide-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--glide-dark);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 0.15s var(--ease-glide), transform 0.15s ease;
}

.btn-glide-primary:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. Hero Section (Centered Hero + Prompt Pillbox + App Showcase Stage)
   ========================================================================== */
.hero-section {
  padding: 44px 0 24px;
  background-color: var(--glide-bg);
  position: relative;
  z-index: 25;
  overflow: visible;
}

.hero-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 580px;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 30;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.2vw, 3.85rem);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--glide-text-primary);
  margin: 0;
  text-align: left;
  width: 100%;
}

.hero-headline-main {
  display: block;
  color: var(--glide-text-primary);
  text-align: left;
}

.hero-headline-sub {
  display: block;
  margin-top: 6px;
  color: var(--glide-text-primary);
  text-align: left;
}

.hero-rotator-word {
  display: inline-block;
  color: var(--glide-text-primary);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-rotator-word.exit {
  opacity: 0;
  transform: translateY(-6px);
}

.hero-rotator-word.enter {
  opacity: 0;
  transform: translateY(6px);
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(1.45rem, 6.5vw, 2.25rem);
    line-height: 1.22;
  }
}

/* Glide AI Prompt Box with Teal-to-Lime Gradient Border */
.hero-builder-box {
  margin-top: 28px;
  width: 100%;
  max-width: 580px;
  text-align: left;
}

.builder-input-wrapper {
  position: relative;
  border-radius: 22px;
  border: 1.5px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(115deg, #4aa9d6 0%, #38bdf8 22%, #4ade80 68%, #65a30d 100%) border-box;
  padding: 16px 18px 12px 18px;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.25s var(--ease-glide), border-color 0.25s ease;
}

.builder-input-wrapper:hover,
.builder-input-wrapper:focus-within {
  box-shadow: 0 8px 30px -4px rgba(74, 222, 128, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.builder-textarea-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.builder-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--glide-text-primary);
  resize: none;
  min-height: 48px;
  display: block;
  padding: 2px 2px 6px;
}

.builder-textarea::placeholder {
  color: #8e8e93;
  font-size: 16px;
  font-weight: 400;
}

/* Bottom Actions Row */
.builder-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  position: relative;
}

/* Left: + Ideas ⌄ dropdown button */
.builder-ideas-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.builder-ideas-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  color: #18181b;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.builder-ideas-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #000000;
}

.ideas-plus-icon {
  stroke: #18181b;
}

.ideas-label {
  font-size: 14px;
  font-weight: 500;
  color: #18181b;
}

.ideas-chevron-icon {
  stroke: #71717a;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.builder-ideas-btn[aria-expanded="true"] .ideas-chevron-icon,
.builder-ideas-dropdown-wrapper:hover .ideas-chevron-icon {
  transform: rotate(180deg);
}

/* Floating Ideas Menu Popover (Opens on hover and on click/focus) */
.builder-ideas-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 280px;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Invisible hover bridge to prevent mouse leaving between button & menu */
.builder-ideas-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.builder-ideas-dropdown-wrapper:hover .builder-ideas-menu,
.builder-ideas-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ideas-menu-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a1a1aa;
  padding: 6px 10px 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.ideas-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  outline: none;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #27272a;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ideas-menu-item:hover {
  background-color: #f4f4f5;
  color: #09090b;
}

.ideas-menu-item .item-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.ideas-menu-divider {
  height: 1px;
  background: #f4f4f5;
  margin: 6px 0;
}

.ideas-menu-item.file-upload-item {
  color: #2563eb;
}

.ideas-menu-item.file-upload-item:hover {
  background-color: #eff6ff;
  color: #1d4ed8;
}

/* Right: Get started → Button */
.builder-get-started-btn {
  background-color: #111214;
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.builder-get-started-btn:hover {
  background-color: #27272a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.builder-get-started-btn:active {
  transform: scale(0.97);
}

.hidden-file-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Right Column: 3D Visual Stage (UNBOXED, SEAMLESS) */
.hero-visual-col {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-truck-stage {
  width: 100%;
  height: 580px;
  margin: 0;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible;
}

.hero-truck-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
}

.hero-truck-stage:not(.is-ready) {
  background-image: url('assets/truck-poster.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 991px) {
  .hero-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
  .hero-headline,
  .hero-headline-main,
  .hero-headline-sub {
    text-align: center;
  }
  .hero-builder-box {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-truck-stage {
    height: 460px;
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
    line-height: 1.2;
  }
  .hero-truck-stage {
    height: 400px;
  }
}


/* ==========================================================================
   General Section Standards
   ========================================================================== */
.section {
  padding: 56px 0;
}

.section-split-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .section-split-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--glide-text-primary);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--glide-text-secondary);
  margin-top: 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   3. Interactive Niche Problems (Glide Showcase Cards)
   ========================================================================== */
.niche-section {
  background-color: var(--glide-bg);
  padding: 24px 0 48px;
}

.niche-centered-header {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.niche-headline-single {
  text-align: center;
  margin: 0 auto 28px;
  white-space: nowrap;
  font-size: clamp(1.4rem, 3.6vw, 2.75rem);
  letter-spacing: -0.035em;
  color: var(--glide-text-primary);
}

.niche-selector-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.niche-selector-wrapper::-webkit-scrollbar {
  display: none;
}

.niche-selector {
  display: inline-flex;
  flex: 0 0 auto;
  margin-inline: auto;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: var(--glide-surface-subtle);
  border-radius: var(--radius-pill);
}

@media (max-width: 640px) {
  .niche-headline-single {
    font-size: clamp(1.15rem, 4.8vw, 1.6rem);
    white-space: normal;
    margin-bottom: 20px;
  }
}

.niche-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--glide-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease-glide);
}

.niche-tab:hover {
  color: var(--glide-text-primary);
}

.niche-tab.active {
  background: #ffffff;
  color: var(--glide-text-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.problem-card {
  background-color: var(--glide-surface);
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s var(--ease-glide), box-shadow 0.2s var(--ease-glide), border-color 0.2s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  background-color: #ffffff;
  border-color: rgba(13, 13, 13, 0.12);
  box-shadow: var(--glide-shadow-hover);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.problem-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--glide-text-tertiary);
}

.card-corner-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--glide-text-tertiary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.problem-card:hover .card-corner-arrow {
  transform: translate(2px, -2px);
  color: var(--glide-text-primary);
}

.problem-headline {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--glide-text-primary);
  margin-bottom: 12px;
}

.problem-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--glide-text-secondary);
  margin-bottom: 0;
  flex: 1;
}

/* ==========================================================================
   4. Scope Guardrail Section (Glide 3-Step Accordion + Live Screen)
   ========================================================================== */
.section-scope-guardrail {
  background-color: var(--glide-bg);
}

.scope-header {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.scope-headline {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--glide-text-primary);
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.scope-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .scope-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.scope-card {
  background-color: var(--glide-surface);
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-glide), box-shadow 0.2s var(--ease-glide), border-color 0.2s ease;
}

.scope-card:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  border-color: rgba(13, 13, 13, 0.12);
  box-shadow: var(--glide-shadow-hover);
}

.step-badge-row {
  margin-bottom: 16px;
}

.zone-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--glide-text-tertiary);
}

.client-message-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.client-message-text {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.4;
  color: var(--glide-text-primary);
}

.engagement-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--glide-text-secondary);
}

.context-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.05);
  font-weight: 500;
  font-size: 12px;
  color: var(--glide-text-secondary);
}

.verity-result-box {
  background: var(--glide-amber-bg);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.result-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--glide-amber);
}

.consequences-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--glide-text-secondary);
  padding: 0;
  margin: 0;
}

.consequence-item::before {
  content: "• ";
  color: var(--glide-amber);
  font-weight: bold;
}

.action-status-box {
  margin-bottom: 16px;
}

.action-main-state {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--glide-text-primary);
  letter-spacing: -0.02em;
}

.action-details {
  font-size: 14px;
  color: var(--glide-text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.action-waiting {
  margin-bottom: 2px;
}

.detail-label {
  font-weight: 600;
  color: var(--glide-text-primary);
  margin-right: 4px;
}

.scope-bottom-value-banner {
  margin-top: 48px;
  padding: 22px 32px;
  background: var(--glide-surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(13, 13, 13, 0.06);
  text-align: center;
}

.scope-bottom-value-banner p {
  font-size: 16px;
  font-weight: 500;
  color: var(--glide-text-secondary);
}

/* ==========================================================================
   5. Start Ready-Made or Build (Glide Dual Split)
   ========================================================================== */
.section-options {
  background-color: var(--glide-bg);
}

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

@media (min-width: 860px) {
  .options-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.option-card {
  background: var(--glide-surface);
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: var(--radius-container);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s var(--ease-glide), box-shadow 0.2s ease;
}

.option-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(13, 13, 13, 0.12);
  box-shadow: var(--glide-shadow-hover);
}

.option-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--glide-text-tertiary);
  margin-bottom: 12px;
}

.option-title {
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--glide-text-primary);
  margin-bottom: 12px;
}

.option-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--glide-text-secondary);
  margin-bottom: 20px;
}

.option-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--glide-dark);
  text-decoration: none;
  margin-top: 8px;
  margin-bottom: 24px;
}

.option-link:hover .arrow {
  transform: translateX(3px);
}

.stacked-apps-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stacked-app-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.stacked-app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.stacked-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--glide-blue);
}

.stacked-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--glide-text-primary);
}

.stacked-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.05);
  color: var(--glide-text-secondary);
  margin-left: auto;
}

.stacked-app-body {
  font-size: 13px;
  color: var(--glide-text-secondary);
}

.build-flow-preview {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 20px;
}

.build-prompt-bubble {
  margin-bottom: 16px;
}

.build-prompt-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--glide-text-tertiary);
}

.build-prompt-text {
  font-size: 15px;
  font-weight: 550;
  color: var(--glide-text-primary);
  margin-top: 4px;
}

.build-flow-arrow {
  display: flex;
  justify-content: center;
  color: var(--glide-text-muted);
  margin: 10px 0;
}

.build-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.build-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--glide-surface-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--glide-text-primary);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glide-dark);
}

.pill-arrow {
  color: var(--glide-text-tertiary);
  font-size: 12px;
}

/* ==========================================================================
   6. App Store Section (Assembly Exact Replica Widget Carousel)
   ========================================================================== */
.section-store {
  background-color: #ffffff;
  padding: 48px 0 56px;
  overflow: hidden;
}

.store-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.carousel-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.carousel-nav-btn:hover {
  background-color: #f4f4f5;
  border-color: rgba(0, 0, 0, 0.16);
}

.carousel-nav-btn:active {
  transform: scale(0.95);
}

/* Carousel Track */
.apps-carousel-track-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.apps-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 20px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.apps-carousel-track::-webkit-scrollbar {
  display: none;
}

/* App Widget Item */
.app-widget-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-widget-item.hidden {
  display: none !important;
}

/* The Square/Squircle Widget Tile */
.app-widget-tile {
  width: 220px;
  height: 220px;
  border-radius: 26px;
  background: #f4f4f6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform 0.25s var(--ease-glide), box-shadow 0.25s ease;
}

.app-widget-item:hover .app-widget-tile {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
}

/* App Widget Meta Labels (Below the tile) */
.app-widget-meta {
  margin-top: 14px;
  text-align: left;
}

.app-widget-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #18181b;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.app-widget-sub {
  display: block;
  font-size: 12.5px;
  color: #71717a;
  margin-top: 4px;
  font-weight: 400;
}

/* Widget Micro-UI 1: Progress Pill */

.widget-progress-pill {
  background: #f4f4f6;
  border-radius: 24px;
  padding: 9px 14px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pill-badge {
  background: #e4e4e7;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #52525b;
  padding: 2px 7px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.pill-bar {
  flex: 1;
  height: 9px;
  border-radius: 5px;
  background: #e4e4e7;
  overflow: hidden;
}

.pill-bar-fill {
  width: 75%;
  height: 100%;
  border-radius: 5px;
  background-color: #4f8cf6;
  background-image: repeating-linear-gradient(
    -45deg,
    #4f8cf6,
    #4f8cf6 5px,
    #6ba3ff 5px,
    #6ba3ff 10px
  );
}

.pill-percent {
  font-size: 12px;
  font-weight: 600;
  color: #52525b;
  flex-shrink: 0;
}

/* Widget Micro-UI 2: 7-Column Pixel Grid */
.app-widget-tile:has(.widget-matrix-header) {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #f4f4f6;
  padding: 16px 16px 14px 16px;
}

.widget-matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

.matrix-count {
  font-size: 26px;
  font-weight: 700;
  color: #18181b;
  line-height: 1;
  letter-spacing: -0.02em;
}

.matrix-badge {
  background: #e4e4e7;
  color: #71717a;
  font-size: 9.5px;
  font-weight: 650;
  padding: 2.5px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.widget-pixel-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3.5px;
  width: 100%;
}

.widget-pixel-grid .px {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #e4e4e7;
  display: block;
}

.widget-pixel-grid .px.on {
  background: #3b82f6;
}

/* Widget Micro-UI 3: Checklist Group */
.widget-checklist-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.widget-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e9eaec;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: #27272a;
  font-weight: 500;
}

.check-radio {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #52525b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
}

.check-radio.half {
  border-color: #52525b;
  background: linear-gradient(90deg, #52525b 50%, transparent 50%);
}

.check-radio.check {
  border-color: #52525b;
  background: #52525b;
  color: #ffffff;
  font-weight: 700;
  font-size: 8px;
}

/* Widget Micro-UI 4: Gradient Clock */
.app-widget-tile.tile-gradient-clock {
  background: linear-gradient(145deg, #c4f3a8 0%, #a7f3d0 30%, #93c5fd 75%, #818cf8 100%);
  border: none;
  padding: 0;
  overflow: hidden;
}

.widget-clock-face {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.widget-clock-display {
  background: #eceef2;
  border-radius: 10px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot-matrix-svg {
  display: block;
}

/* Widget Micro-UI 5: AI Assistant */
.app-widget-tile.tile-ai-chat {
  background: #eceef1;
  padding: 20px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.chat-placeholder {
  color: #71717a;
  font-size: 13.5px;
  font-weight: 400;
  text-align: left;
}

.chat-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.chat-plus-btn {
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.chat-send-btn:hover {
  background: #2563eb;
  transform: scale(1.05);
}

/* Widget Micro-UI 6: Document Collector */
.app-widget-tile:has(.widget-folder-dossier) {
  background: #f4f4f6;
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.widget-folder-dossier {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.folder-tab-back {
  width: 68px;
  height: 16px;
  background: #dbdde2;
  border-radius: 8px 8px 0 0;
  margin-left: 12px;
  margin-bottom: -4px;
  position: relative;
  z-index: 1;
}

.folder-paper-peek {
  position: absolute;
  top: 4px;
  left: 16px;
  right: 16px;
  height: 22px;
  background: #ffffff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.02);
  z-index: 2;
}

.folder-body-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}

.folder-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #18181b;
}

.folder-meta {
  font-size: 12px;
  color: #71717a;
  margin-top: 3px;
}

/* Widget Micro-UI 7: Proposal Desk (peeking) */
.app-widget-tile:has(.widget-proposal-sheet) {
  background: #f4f4f6;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-proposal-sheet {
  width: 100%;
  background: #ffffff;
  border-radius: 15px;
  padding: 16px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sheet-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-badge {
  background: #eef2ff;
  color: #4f46e5;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.sheet-price {
  font-size: 14px;
  font-weight: 700;
  color: #18181b;
}

.sheet-row-skeleton {
  height: 7px;
  border-radius: 4px;
  background: #f1f2f4;
  width: 100%;
}

.sheet-row-skeleton.half {
  width: 60%;
}

.store-bottom-cta {
  margin-top: 32px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glide-surface-subtle);
  color: var(--glide-text-primary);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-secondary:hover {
  background: var(--glide-surface-hover);
}

/* ==========================================================================
   6b. Customer Testimonial / Spotlight Section (Apple Design Language)
   ========================================================================== */
.section-testimonial {
  background-color: #ffffff;
  padding: 56px 0 60px;
}

.testimonial-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 28px;
}

.testimonial-quote-block {
  flex: 1;
  max-width: 1040px;
}

.desktop-only-br {
  display: inline;
}

.text-nowrap {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .desktop-only-br {
    display: none;
  }
}

.testimonial-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.author-name {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 650;
  color: #86868b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-quote-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", sans-serif;
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin: 0;
  hyphens: none;
}

.testimonial-avatar-wrapper {
  flex-shrink: 0;
}

.testimonial-avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

/* Apple-Style Bento 2-Card Stat Row */
.testimonial-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.testimonial-stat-card {
  background: #fff;
  border: 1px solid #e5e5e9;
  border-radius: 26px;
  padding: 30px 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 354px;
  box-shadow: 0 12px 32px rgba(25, 30, 40, 0.035);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.testimonial-stat-card:hover {
  transform: translateY(-2px);
  border-color: #d2d2d7;
  box-shadow: 0 18px 38px rgba(25, 30, 40, 0.065);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stat-number {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", system-ui, sans-serif;
  font-size: clamp(1.85rem, 2.3vw, 2.15rem);
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.stat-trend-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

.stat-trend-badge.badge-apple-blue,
.stat-trend-badge.badge-blue {
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  border: 1px solid rgba(0, 113, 227, 0.16);
}

.stat-trend-badge.badge-apple-green,
.stat-trend-badge.badge-green {
  background: rgba(52, 199, 89, 0.12);
  color: #248a3d;
  border: 1px solid rgba(52, 199, 89, 0.22);
}

.stat-graph-container {
  width: 100%;
  margin: 20px 0 18px;
  position: relative;
}

.stat-svg {
  width: 100%;
  height: clamp(146px, 15vw, 188px);
  display: block;
  overflow: hidden;
}

.stat-grid-line {
  stroke: #e9e9ed;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.stat-curve-area {
  fill: #0071e3;
  fill-opacity: 0.055;
}

.stat-curve-line {
  fill: none;
  stroke: #0071e3;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.graph-milestones-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  font-size: 11.5px;
  color: #86868b;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.graph-milestones-row span:nth-child(2) {
  text-align: center;
}

.graph-milestones-row span:last-child {
  text-align: right;
}

.graph-milestones-row .highlight {
  color: #0071e3;
  font-weight: 600;
}

.stat-graph-container.graph-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  height: calc(clamp(146px, 15vw, 188px) + 29px);
  gap: clamp(8px, 1.15vw, 16px);
  margin-bottom: 18px;
}

.stat-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.stat-bar-plot {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #e9e9ed;
}

.stat-bar-fill {
  width: 100%;
  border-radius: 7px 7px 0 0;
  background: #dceafe;
}

.stat-bar-col:nth-child(2) .stat-bar-fill {
  background: #cee2fc;
}

.stat-bar-col:nth-child(3) .stat-bar-fill {
  background: #b9d6fb;
}

.stat-bar-col:nth-child(4) .stat-bar-fill {
  background: #96c4f7;
}

.stat-bar-col:nth-child(5) .stat-bar-fill {
  background: #65a9f0;
}

.stat-bar-col.active .stat-bar-fill {
  background: #0071e3;
}

.stat-bar-sub {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  font-size: 11px;
  color: #86868b;
  margin-top: 10px;
  font-weight: 500;
}

.stat-bar-col.active .stat-bar-sub {
  color: #0071e3;
  font-weight: 600;
}

.stat-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonial-hero-row {
    flex-direction: column-reverse;
    gap: 28px;
  }
  
  .testimonial-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
  }

  .testimonial-stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-stat-card {
    min-height: 338px;
  }

  .stat-card-tall,
  .stat-card-med,
  .stat-card-compact {
    height: auto;
    min-height: 140px;
  }
}

/* ==========================================================================
   8. Built Around Firm Context (Connected Architecture Pipeline)
   ========================================================================== */
.section-context {
  background-color: var(--glide-bg);
}

.firm-context-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .firm-context-container {
    grid-template-columns: 1fr auto 1.15fr auto 1fr;
  }
}

.context-column {
  background: var(--glide-surface);
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}

.context-col-header {
  margin-bottom: 24px;
}

.context-step-tag {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glide-text-tertiary);
  display: inline-block;
  margin-bottom: 8px;
}

.context-col-title {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--glide-text-primary);
  margin-bottom: 6px;
}

.context-col-desc {
  font-size: 13px;
  color: var(--glide-text-secondary);
}

.context-pill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.context-item-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 550;
  color: var(--glide-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glide-dark);
}

.context-flow-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--glide-text-muted);
}

.context-structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.struct-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--glide-text-primary);
}

.struct-card-wide {
  grid-column: span 2;
}

.context-apps-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.context-app-badge {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--glide-text-primary);
}

.badge-accent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glide-blue);
}

/* ==========================================================================
   11. AI Inside the Tool (Glide "Ask Your Business" Format)
   ========================================================================== */
.section-ai {
  background-color: var(--glide-bg);
}

.glide-ai-showcase-container {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ai-visual-stage {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.ai-stage-card {
  background: var(--glide-surface);
  border-radius: var(--radius-container);
  border: 1px solid rgba(13, 13, 13, 0.08);
  box-shadow: var(--glide-shadow-stage);
  overflow: hidden;
}

.ai-stage-mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ai-app-card {
  background: var(--glide-surface);
  border: 1px solid rgba(13, 13, 13, 0.06);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-glide), box-shadow 0.2s ease;
}

.ai-app-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(13, 13, 13, 0.12);
  box-shadow: var(--glide-shadow-hover);
}

.ai-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ai-app-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--glide-text-tertiary);
}

.ai-context-indicator {
  font-size: 12px;
  font-weight: 500;
  color: var(--glide-blue);
  background: var(--glide-blue-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.ai-prompt-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.ai-action-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--glide-text-tertiary);
}

.ai-action-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--glide-text-primary);
  margin-top: 2px;
}

.ai-result-box {
  font-size: 14px;
  line-height: 1.5;
  color: var(--glide-text-secondary);
}

.ai-result-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--glide-text-tertiary);
  display: block;
  margin-bottom: 4px;
}

.ai-result-text {
  margin-bottom: 12px;
}

.ai-micro-evidence {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.evidence-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 550;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--glide-text-primary);
}

/* ==========================================================================
   Site Footer (Glide Minimalist Footer)
   ========================================================================== */
.site-footer {
  padding: 36px 0;
  background: #ffffff;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-tagline {
  color: var(--glide-text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--glide-text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--glide-text-primary);
}

/* ==========================================================================
   5b. DUAL-INTERFACE 3D DEVICE SHOWCASE (iPhone to Desktop Morph)
   ========================================================================== */
.section-device-showcase {
  background: #ffffff;
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}

.device-showcase-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.device-showcase-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.device-showcase-left .device-title {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #18181b;
  margin-bottom: 0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.device-showcase-left .device-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #52525b;
  margin: 0;
  max-width: 500px;
  text-align: left;
}

/* 3D Stage Container */
.device-showcase-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.device-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.device-3d-stage {
  width: 100%;
  height: 520px;
  position: relative;
  cursor: grab;
  user-select: none;
}

.device-3d-stage:active {
  cursor: grabbing;
}

.device-3d-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 991px) {
  .device-showcase-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .device-3d-stage {
    height: 440px;
  }
}

@media (max-width: 640px) {
  .device-3d-stage {
    height: 380px;
  }
}

.testimonial-avatar-wrapper { display:flex;flex-direction:column;align-items:center;gap:7px; }
.testimonial-portrait-note { color:#8e8e93;font:500 10px/1.3 -apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;letter-spacing:.01em;white-space:nowrap; }
