/* Nexus AI Landing Page Styles */

/* ========================================
   1. CSS Custom Properties (Design Tokens)
   ======================================== */

:root {
  /* Surfaces */
  --surface-base: #000000;
  --surface-elevated: #0A0A0A;
  --surface-card: rgba(18, 18, 18, 0.6);

  /* Strokes & Borders */
  --stroke-subtle: rgba(255, 255, 255, 0.08);
  --stroke-card: rgba(255, 255, 255, 0.1);

  /* Accent Gradient */
  --accent-gradient: linear-gradient(135deg, #ED1B36, #ED1B36);
  --accent-purple: #ED1B36;
  --accent-pink: #ED1B36;

  /* Typography */
  --font-heading: 'Noto Sans', sans-serif;
  --font-body: 'Noto Sans', sans-serif;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;

  /* Spacing */
  --grid-columns: 12;
  --grid-gutter: 24px;
  --section-padding-y: 140px;
  --container-max-width: 1200px;

  /* Effects */
  --glass-blur: blur(20px);
  --glass-saturate: saturate(180%);
  --card-radius: 8px;
  --btn-radius: 8px;

  /* Flip Card Animation */
  --flip-duration: 0.6s;
  --flip-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --flip-perspective: 1000px;
}

/* ========================================
   2. CSS Reset / Normalize
   ======================================== */

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

html {
  scroll-behavior: auto;
  background-color: #000000;
  /* Hide the scrollbar (scrolling stays functional). With no scrollbar the
     viewport width is constant across every page, so the absolutely-centered
     nav doesn't shift/flicker when navigating between short and long pages. */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/legacy Edge */
}

html::-webkit-scrollbar {         /* Chrome/Safari/Edge */
  width: 0;
  height: 0;
  display: none;
}

/* Page transition — disabled */

body {
  background-color: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grainy film texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

/* ========================================
   3. Base Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-purple);
}

/* ========================================
   4. Container & Grid Layout
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--grid-gutter);
}

/* ========================================
   Custom Location Cursor
   ======================================== */
.cursor-pin {
  display: none;
}

/* Hide on touch devices */
@media (hover: none) {
  .cursor-pin { display: none; }
  .hero__map-img--bright { display: none; }
}

/* ========================================
   5. Header / Navigation
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: auto;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-decoration: none;
}

.header__logo:hover {
  opacity: 0.9;
}

.header__logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.header__beta {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  color: #ED1B36;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 44px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.header__nav:has(.header__nav-link--active) .header__nav-link:not(.header__nav-link--active) {
  opacity: 0.7;
}

.header__nav-link:hover {
  color: var(--text-primary);
  opacity: 1 !important;
}

.header__nav-link--active {
  color: var(--text-primary);
}

.header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #FF4D6D;
  border-radius: 1px;
}

/* ── API Reference hover dropdown ── */
.header__nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.header__nav-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  min-width: 230px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 48px rgba(0,0,0,0.85), 0 4px 12px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 10001;
  isolation: isolate;
}
/* bridge the gap between link and menu so hover doesn't drop */
.header__nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.header__nav-dropdown:hover .header__nav-menu,
.header__nav-dropdown:focus-within .header__nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}
.header__nav-menu-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.header__nav-menu-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.header__signin {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  z-index: 51;
}

.header__signin:hover {
  color: var(--text-primary);
}

.header__contact {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  background: #ED1B36;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
  z-index: 51;
  white-space: nowrap;
}

.header__contact:hover {
  background: #d4172f;
  color: #FFFFFF;
}

/* Login / Logout Button */
.header__auth-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #ED1B36;
  background: transparent;
  border: 1px solid #ED1B36;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  position: relative;
  z-index: 51;
  white-space: nowrap;
}

.header__auth-btn:hover {
  background: rgba(237, 27, 54, 0.08);
  border-color: #ED1B36;
}

.header__auth-btn:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 0px;
}

.header__hamburger {
  display: none;
}

/* ========================================
   6. Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--section-padding-y) 0;
  padding-top: 80px;
  padding-bottom: 0;
}

/* Hero Background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Muted map background in hero */
.hero__map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.02;
  filter: grayscale(100%);
  pointer-events: none;
}

/* Bright map layer — revealed by cursor spotlight */
.hero__map-img--bright {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  filter: grayscale(0%) saturate(1.2);
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle 200px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle 200px at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
}

/* Fade hero bottom to pure black for seamless merge */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #000000);
  z-index: 1;
}

.hero__mesh {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 65%, rgba(237, 27, 54, 0.25) 0%, rgba(237, 27, 54, 0.08) 45%, transparent 70%);
  background-size: 200% 200%;
  animation: meshMove 15s ease infinite;
}

/* Grain texture over hero mesh */
.hero__mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.08;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Dot-matrix / particle grid texture */
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 55%, black 20%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, black 20%, transparent 65%);
}

@keyframes meshMove {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Headline */
.hero__headline {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  text-transform: none;
  overflow: visible;
  padding-bottom: 0;
  min-height: 1.4em;
}

#typewriterTarget {
  display: inline;
}

.hero__headline-break {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  background: #ED1B36;
  vertical-align: middle;
  margin-left: 8px;
  animation: cursorBlink 0.7s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Gradient Text — Coral/Red accent per reference */
.gradient-text {
  background: linear-gradient(90deg, #ED1B36, #f05070, #ED1B36, #c8162d, #ED1B36);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite;
  padding-bottom: 0;
  display: inline;
}

@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes conicSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Hero Badge (pill announcement bar) */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.hero__badge::before { content: ''; position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%; background: conic-gradient(transparent 200deg, rgba(255,77,109,0.8)); border-radius: 100px; z-index: 0; animation: conicSpin 4s linear infinite; }
.hero__badge::after { content: ''; position: absolute; inset: 1px; background: rgba(0,0,0,0.85); border-radius: 100px; z-index: 1; }
.hero__badge svg, .hero__badge span { position: relative; z-index: 2; }
.hero__badge:hover { opacity: 0.9; }

.hero__badge svg {
  display: inline-block;
  flex-shrink: 0;
}

/* Sub-headline */
.hero__subheadline {
  font-size: 22px;
  color: #999999;
  max-width: 1024px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* CTA Container */
.hero__ctas {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

/* "How it works" inline link */
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero__link:hover {
  opacity: 0.7;
  color: var(--text-primary);
}

.hero__link svg {
  display: inline-block;
}

/* Button Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  border: none;
}

/* Active press state — scale-down for physical feel */
.btn:active {
  transform: scale(0.95) !important;
  transition: transform 0.1s ease;
}

/* Primary Button */
.btn--primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
}

.btn--primary:hover {
  opacity: 0.9;
  color: #FFFFFF;
}

/* Ghost Button */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  border-radius: 8px;
}

/* Hero Get Started button */
.hero__get-started {
  background: #ED1B36;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 160px;
  height: 44px;
  padding: 0 20px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

/* Shimmer Button */
.shimmer-btn { display: inline-flex; align-items: center; justify-content: center; }
.shimmer-btn__text { position: relative; z-index: 1; margin-bottom: 1px; }
.shimmer-btn__shine {
  position: absolute;
  top: -150%;
  left: -409%;
  width: 301%;
  height: 298%;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 32%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.35) 65%, rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
  transition: left 0.8s cubic-bezier(0.0, 0.0, 0.2, 1), top 0.8s cubic-bezier(0.0, 0.0, 0.2, 1);
}
.shimmer-btn:hover .shimmer-btn__shine {
  left: 136%;
  top: 50%;
}

.hero__get-started:hover { background: #ED1B36; color: #fff; }

/* Contact Sales button — matches navbar Book a Demo */
.hero__contact-sales {
  background: transparent;
  color: #ED1B36;
  border: 1.5px solid #ED1B36;
  outline: none;
  border-radius: 10px;
  height: 44px;
  padding: 0 24px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero__contact-sales:hover {
  background: rgba(237, 27, 54, 0.08);
  color: #ED1B36;
  border-color: #ED1B36;
}

.btn--ghost:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* Swipe Letters Button */
.btn--swipe { overflow: hidden; padding: 0; }
.btn--swipe .swipe-letters { display: flex; align-items: center; justify-content: center; gap: 0.4px; padding: 14px 32px; width: 100%; height: 100%; }
.swipe-letter { position: relative; display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.swipe-letter-inner { display: grid; grid-auto-rows: 1em; will-change: transform; }
.swipe-letter-inner span { display: block; height: 1em; line-height: 1; }
.btn--swipe:hover .swipe-letter:nth-child(odd) .swipe-letter-inner { transform: translateY(-50%); }
.btn--swipe:hover .swipe-letter:nth-child(even) .swipe-letter-inner { transform: translateY(-50%); }

/* ========================================
   Trusted By Marquee
   ======================================== */
.trusted { padding: 40px 0; background: #000; overflow: hidden; }
.trusted__text { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.5); text-align: center; margin-bottom: 24px; }
.trusted__marquee { overflow: hidden; position: relative; }
.trusted__marquee::before, .trusted__marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.trusted__marquee::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.trusted__marquee::after { right: 0; background: linear-gradient(to left, #000, transparent); }
.trusted__track { display: flex; gap: 56px; animation: trustedScroll 25s linear infinite; width: max-content; }
.trusted__logo { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.45); white-space: nowrap; letter-spacing: 0.02em; }
.trusted__logo-img { height: 32px; width: auto; object-fit: contain; opacity: 0.5; transition: opacity 0.3s ease; }
.trusted__logo-img:hover { opacity: 0.9; }
@keyframes trustedScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========================================
   Tagline Section
   ======================================== */
.tagline { padding: 0; background: #000; text-align: center; position: relative; z-index: 1; }
.tagline__sticky-wrap { position: relative; height: auto; }
.tagline__sticky { position: static; height: auto; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 80px 0; }
.tagline__heading {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin-bottom: 16px;
  opacity: 1 !important;
}
.tagline__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}
.tagline__list li {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}
.tagline__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E31E25;
}
.tagline__list li strong {
  color: #fff;
  font-weight: 600;
}
.tagline__body {
  font-family: var(--font-body);
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  max-width: 1100px;
  margin: 0 auto;
}
.tagline__body .word {
  display: inline;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .tagline__heading { font-size: 24px; }
  .tagline__list li { font-size: 16px; }
  .tagline__sticky-wrap { height: auto; }
  .tagline__sticky {
    position: static !important;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
  }
  .showcase { padding-top: 0 !important; }
}

/* ---- Why Delhivery Maps — Bento Cards ---- */
.why-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  max-width: var(--container-max-width, 1200px);
  margin: 0 auto;
}
.why-card {
  position: relative;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 30px 30px 32px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  text-align: left;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,77,109,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 14px;
  z-index: 0;
}
.why-card:hover {
  border-color: rgba(255,77,109,0.15);
  box-shadow: 0 24px 48px rgba(255,77,109,0.08), 0 0 0 1px rgba(255,77,109,0.12);
  transform: none;
  background: #0A0A0A;
}
.why-card:hover::before {
  opacity: 1;
}
.why-card__ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  position: relative;
  z-index: 1;
}
.why-card__ico svg { width: 22px; height: 22px; }
.why-card:hover .why-card__ico {
  background: rgba(255,77,109,0.08);
  border-color: rgba(255,77,109,0.15);
  color: #FF4D6D;
}
.why-card__tag {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 9px;
  border-radius: 6px;
}
.why-card__title {
  font-family: var(--font-heading, 'Noto Sans', sans-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #fff;
  position: relative;
  z-index: 1;
}
.why-card__desc {
  margin-top: 11px;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
  position: relative;
  z-index: 1;
}
.why-card__demo {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.4);
}
.why-card__demo-in {
  color: #fff;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  padding: 7px 11px;
}
.why-card__demo-arrow { color: #ffffff; }
.why-card__demo-out {
  color: #f23645;
  background: rgba(242,54,69,0.07);
  border: 1px solid rgba(242,54,69,0.2);
  border-radius: 7px;
  padding: 7px 11px;
}

/* bento grid spans */
.why-card--naksha { grid-column: span 7; }
.why-card--geo { grid-column: span 5; }
.why-card--route { grid-column: span 5; }
.why-card--scale { grid-column: span 7; }
.why-card--cost {
  grid-column: span 12;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
}
.why-card--cost .why-card__ico { margin-bottom: 0; flex: none; }
.why-card__cost-txt { flex: 1; }
.why-card--cost .why-card__title { display: inline; }
.why-card--cost .why-card__desc { display: inline; margin: 0 0 0 4px; max-width: none; }
.why-card__arrow {
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  flex: none;
  transition: color 0.25s, transform 0.25s;
}
.why-card--cost:hover .why-card__arrow {
  color: #f23645;
  transform: translateX(4px);
}

@media (max-width: 880px) {
  .why-bento { grid-template-columns: repeat(6, 1fr); }
  .why-card--naksha, .why-card--scale { grid-column: span 6; }
  .why-card--geo, .why-card--route { grid-column: span 3; }
  .why-card--cost { grid-column: span 6; }
}
@media (max-width: 620px) {
  .why-bento { grid-template-columns: 1fr; gap: 12px; }
  .why-card--naksha, .why-card--geo, .why-card--route, .why-card--scale, .why-card--cost { grid-column: 1 / -1; }
  .why-card--cost { flex-direction: column; align-items: flex-start; gap: 14px; }
  .why-card--cost .why-card__title, .why-card--cost .why-card__desc { display: block; }
  .why-card--cost .why-card__desc { margin: 8px 0 0; }
  .why-card__arrow { display: none; }
}

/* ========================================
   Committed Section — Horizon Arc
   ======================================== */

.committed {
  position: relative;
  padding: var(--section-padding-y) 0;
  overflow: hidden;
  background: #000000;
}

/* Background layer */
.committed__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Color zone: crimson/burgundy sky above arc */
.committed__bg::before {
  display: none;
}

/* Red halftone dot texture — dense, prominent, filling upper area */
.committed__red-texture {
  display: none;
}

/* Red glow haze — on the arc's top edge */
.committed__bg::after {
  content: '';
  position: absolute;
  bottom: calc(1100px - 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 200px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 46, 99, 0.4) 0%, rgba(200, 20, 60, 0.15) 40%, transparent 75%);
  filter: blur(50px);
  animation: arcBreathe 5s ease-in-out infinite;
}

/* The massive arc */
.committed__arc {
  display: none;
}

/* Bright red top edge — neon glow line */
.committed__arc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 20, 80, 0.05) 5%,
    rgba(255, 20, 80, 0.3) 20%,
    rgba(255, 20, 80, 0.7) 35%,
    rgba(255, 20, 80, 1) 50%,
    rgba(255, 20, 80, 0.7) 65%,
    rgba(255, 20, 80, 0.3) 80%,
    rgba(255, 20, 80, 0.05) 95%,
    transparent 100%
  );
  border-radius: 50%;
  box-shadow:
    0 0 4px rgba(255, 20, 80, 1),
    0 0 10px rgba(255, 20, 80, 0.9),
    0 0 25px rgba(255, 20, 80, 0.6),
    0 0 50px rgba(255, 20, 80, 0.35),
    0 0 100px rgba(200, 10, 60, 0.2);
  animation: arcBreathe 5s ease-in-out infinite;
}

/* Fading side borders */
.committed__arc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 15%, transparent 28%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 15%, transparent 28%);
}

/* Breathing glow — 5s loop */
@keyframes arcBreathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Halftone dot grid — red-tinted near top, fading outward */
.committed__particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle 1px, rgba(255, 200, 200, 0.12) 50%, transparent 50%);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 100% 50% at 50% 15%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 50% at 50% 15%, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 50%, transparent 80%);
}

/* Sparkle decorations — 4-pointed stars, "Magic" cues */
.committed__sparkle {
  position: absolute;
  font-size: 14px;
  opacity: 0;
  display: none;
}

.committed__sparkle--1 {
  top: 8%; left: 12%;
  color: #FF4D6D;
  font-size: 18px;
  animation-delay: 0s;
}
.committed__sparkle--2 {
  top: 15%; right: 10%;
  color: #FF4D6D;
  font-size: 12px;
  animation-delay: 1.5s;
}
.committed__sparkle--3 {
  top: 35%; left: 5%;
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  animation-delay: 2.8s;
}
.committed__sparkle--4 {
  top: 28%; right: 7%;
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  animation-delay: 0.6s;
}
.committed__sparkle--5 {
  bottom: 40%; right: 15%;
  color: #FF4D6D;
  font-size: 10px;
  animation-delay: 2s;
}

@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0) scale(0.7);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-10px) scale(1);
    opacity: 0.9;
  }
}

/* Content */
.committed__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.committed__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.committed__badge::before { content: ''; position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%; background: conic-gradient(transparent 200deg, rgba(255,77,109,0.8)); border-radius: 100px; z-index: 0; animation: conicSpin 4s linear infinite; }
.committed__badge::after { content: ''; position: absolute; inset: 1px; background: rgba(0,0,0,0.85); border-radius: 100px; z-index: 1; }
.committed__badge svg, .committed__badge span { position: relative; z-index: 2; }

.committed__badge svg {
  display: inline-block;
  flex-shrink: 0;
}

/* Headline — Space Grotesk Bold, tight letter-spacing */
.committed__headline {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* Subtext — Noto Sans, grey */
.committed__subtext {
  font-family: var(--font-body);
  font-size: 16px;
  color: #888888;
  max-width: 580px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

/* Stats grid — 4 columns, left-aligned text */
.committed__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-evenly;
  text-align: left;
  margin-top: 20px;
}

.committed__stat {
  padding: 0;
}

/* Circular icon — filled dark gradient with subtle border */
.committed__stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #1c1c1c 0%, #0e0e0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

/* Stat titles — Space Grotesk Bold, larger */
.committed__stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Odometer digit wheel */
.odometer-wrap { display: inline-flex; align-items: center; }
.odometer-digit { position: relative; height: 1.2em; overflow: hidden; display: inline-flex; justify-content: center; }
.odometer-digit-inner { position: absolute; display: flex; flex-direction: column; align-items: center; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.odometer-digit-inner span { height: 1.2em; display: flex; align-items: center; justify-content: center; line-height: 1; }
.odometer-suffix { display: inline-block; }

/* Stat descriptions — Noto Sans Regular, #888 */
.committed__stat-label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #888888;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .committed__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .committed__headline {
    font-size: 38px;
  }
  .committed__arc {
    width: 1500px;
    height: 1500px;
    bottom: -900px;
  }
}

@media (max-width: 768px) {
  .committed {
    padding: 60px 0;
  }
  .committed__stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .committed__headline {
    font-size: 30px;
  }
  .committed__arc {
    width: 1100px;
    height: 1100px;
    bottom: -650px;
  }
  .committed__arc::before {
    display: none;
  }
  .committed__sparkle {
    display: none;
  }
  .committed__red-texture {
    display: none;
  }
  .committed__particles {
    display: none;
  }
  .committed__bg::before {
    display: none;
  }
  .committed__bg::after {
    display: none;
  }
}

/* ========================================
   Shared Section Badge
   ======================================== */
.section-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 100px; background: rgba(0,0,0,0.6); font-family: var(--font-body); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: default; position: relative; overflow: hidden; }
.section-badge::before { content: ''; position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%; background: conic-gradient(transparent 200deg, rgba(255,77,109,0.8)); border-radius: 100px; z-index: 0; animation: conicSpin 4s linear infinite; }
.section-badge::after { content: ''; position: absolute; inset: 1px; background: rgba(0,0,0,0.85); border-radius: 100px; z-index: 1; }
.section-badge svg, .section-badge span { position: relative; z-index: 2; }
.section-badge svg { display: inline-block; flex-shrink: 0; }

/* ========================================
   6. Bento Feature Grid
   ======================================== */

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

.bento {
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gutter);
  text-align: left;
}

.bento__card {
  border: 1px solid var(--stroke-card);
  border-radius: var(--card-radius);
  backdrop-filter: var(--glass-saturate) var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-saturate) var(--glass-blur);
  background: var(--surface-card);
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.bento__card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 77, 109, 0.06);
}

/* Staggered entrance for bento cards */
.bento__grid.is-visible .bento__card {
  animation: bentoSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bento__grid.is-visible .bento__card:nth-child(1) { animation-delay: 0ms; }
.bento__grid.is-visible .bento__card:nth-child(2) { animation-delay: 100ms; }
.bento__grid.is-visible .bento__card:nth-child(3) { animation-delay: 200ms; }
.bento__grid.is-visible .bento__card:nth-child(4) { animation-delay: 300ms; }
.bento__grid.is-visible .bento__card:nth-child(5) { animation-delay: 400ms; }
.bento__grid.is-visible .bento__card:nth-child(6) { animation-delay: 500ms; }

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

/* Cards start hidden before reveal */
.bento__grid .bento__card {
  opacity: 0;
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(138, 43, 226, 0.1);
  margin-bottom: 20px;
}

.bento__label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.bento__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.bento__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   7. Feature Focus Panels
   ======================================== */

.focus {
  padding: var(--section-padding-y) 0;
}

.focus__panel {
  border: 1px solid var(--stroke-card);
  border-radius: var(--card-radius);
  background: var(--surface-elevated);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Code Editor */
.focus__editor {
  position: relative;
}

.focus__editor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--stroke-subtle);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot--red {
  background: #FF5F57;
}

.dot--yellow {
  background: #FFBD2E;
}

.dot--green {
  background: #28CA41;
}

.focus__editor-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.focus__code {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
  background: transparent;
  color: #ABB2BF;
}

/* Syntax Tokens (One Dark theme) */
.token--keyword {
  color: #C678DD;
}

.token--string {
  color: #98C379;
}

.token--comment {
  color: #5C6370;
  font-style: italic;
}

.token--function {
  color: #61AFEF;
}

.token--number {
  color: #D19A66;
}

/* AI Input Bar */
.focus__ai-input {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px 20px;
  padding: 12px 16px;
  background: rgba(138, 43, 226, 0.08);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.15), 0 0 40px rgba(138, 43, 226, 0.05);
}

.focus__ai-input input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  flex: 1;
}

/* Document Chat Panel */
.focus__panel--chat {
  display: flex;
}

/* PDF Preview */
.focus__pdf-preview {
  flex: 0 0 40%;
  padding: 32px;
  border-right: 1px solid var(--stroke-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.focus__pdf-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.focus__pdf-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: 12px;
}

.focus__pdf-line--title {
  height: 12px;
  width: 60%;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.focus__pdf-line--short {
  width: 45%;
}

.focus__pdf-line--medium {
  width: 75%;
}

/* Chat Area */
.focus__chat {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Chat Bubbles */
.focus__bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 85%;
}

.focus__bubble--user {
  background: #1A1A1A;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.focus__bubble--ai {
  background: var(--accent-gradient);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* ========================================
   8. Pricing Module
   ======================================== */

.pricing {
  padding: var(--section-padding-y) 0 60px;
  overflow: hidden;
}

/* Pricing section header */
.pricing__header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.pricing__badge::before { content: ''; position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%; background: conic-gradient(transparent 200deg, rgba(255,77,109,0.8)); border-radius: 100px; z-index: 0; animation: conicSpin 4s linear infinite; }
.pricing__badge::after { content: ''; position: absolute; inset: 1px; background: rgba(0,0,0,0.85); border-radius: 100px; z-index: 1; }
.pricing__badge svg, .pricing__badge span { position: relative; z-index: 2; }

.pricing__badge svg {
  display: inline-block;
  flex-shrink: 0;
}

.pricing__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* ---- Slider card grid ---- */
.pricing__grid--slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gutter);
  align-items: start;
}

/* ---- Draggable Carousel for Pricing ---- */
.pricing-carousel { position: relative; overflow: hidden; padding: 20px 0 50px; user-select: none; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.pricing-carousel__track { display: flex; gap: 24px; padding: 20px 0; will-change: transform; }
/* Remove all class-based transforms — JS handles everything */
.pricing__slider-card { flex: 0 0 380px; will-change: transform, opacity; }
.pricing__slider-card.is-center,
.pricing__slider-card.is-adj-1,
.pricing__slider-card.is-adj-1-right,
.pricing__slider-card.is-far,
.pricing__slider-card.is-far-right,
.pricing__slider-card.is-hidden { transform: none; opacity: 1; }
.pricing-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pricing-carousel__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: background 0.2s ease, width 0.2s ease; padding: 0; }
.pricing-carousel__dot.is-active { background: #ED1B36; width: 20px; border-radius: 3px; }
.pricing-carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 20; transition: background 0.2s ease; }
.pricing-carousel__arrow:hover { background: rgba(255,255,255,0.15); }
.pricing-carousel__arrow--prev { left: 8px; }
.pricing-carousel__arrow--next { right: 8px; }
.pricing__slider-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #0A0A0A;
  padding: 28px 28px 24px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing__slider-card:hover {
  box-shadow: 0 24px 48px rgba(255, 77, 109, 0.08), 0 0 0 1px rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.15);
}

/* Staggered reveal — disabled for carousel cards (JS handles transforms) */
.pricing__slider-card.reveal { opacity: 1; transform: none; }
.pricing__slider-card.reveal.is-visible { opacity: 1; transform: none; }
.pricing__slider-card.reveal.is-visible:hover { transform: none; }

/* Card header row */
.psc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.psc__title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.psc__rate {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 3px 10px;
  white-space: nowrap;
}

.psc__free-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
}

/* Volume row */
.psc__volume-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.psc__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.psc__volume-val {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Slider wrapper */
.psc__slider-wrap {
  position: relative;
  margin-bottom: 24px;
}

/* Custom track background */
.psc__track-bg {
  display: none;
}

.psc__track-fill {
  display: none;
}

/* Range input — fully styled */
.psc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
  margin: 4px 0;
  padding: 0;
  outline: none;
}

/* Webkit track */
.psc__slider::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(to right, #ffffff 0%, #ffffff var(--fill, 22.4%), rgba(255,255,255,0.12) var(--fill, 22.4%), rgba(255,255,255,0.12) 100%);
  border-radius: 8px;
}

/* Firefox track */
.psc__slider::-moz-range-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  border: none;
}

/* Firefox filled portion */
.psc__slider::-moz-range-progress {
  height: 8px;
  background: #ffffff;
  border-radius: 8px;
}

/* Thumb */
.psc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ED1B36;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 10px rgba(237, 27, 54, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: grab;
  margin-top: -8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.psc__slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 14px rgba(237, 27, 54, 0.5), 0 6px 20px rgba(0, 0, 0, 0.35);
}
.psc__slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
  box-shadow: 0 4px 20px rgba(237, 27, 54, 0.6), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.psc__slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ED1B36;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 10px rgba(237, 27, 54, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.psc__slider::-moz-range-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

/* Focus ring */
.psc__slider:focus-visible {
  outline: none;
}
.psc__slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(237, 27, 54, 0.25), 0 2px 10px rgba(237, 27, 54, 0.4);
}

/* Tick marks */
.psc__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 2px;
}

.psc__ticks span {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  position: relative;
  text-align: center;
}

.psc__ticks span::before {
  content: '';
  display: block;
  width: 1px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 3px;
}

/* Price display */
.psc__price-display {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  text-align: right;
}

.psc__price {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s ease;
}

.psc__price--free {
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 40%, #86efac 50%, #4ade80 60%, #22c55e 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: freeShimmer 2.5s ease-in-out infinite;
}

@keyframes freeShimmer {
  0% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.psc__price--paid {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing__grid--slider {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pricing__grid--slider {
    grid-template-columns: 1fr;
  }

  .psc__price {
    font-size: 28px;
  }
}

/* ========================================
   Accent Button (shared component)
   ======================================== */
.btn--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  background: linear-gradient(135deg, #FF2E63, #FF4D6D);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.btn--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn--accent:hover::before {
  left: 100%;
}

.btn--accent:hover {
  opacity: 0.95;
  box-shadow: 0 8px 30px rgba(255, 46, 99, 0.35);
  color: #FFFFFF;
  transform: scale(1.03);
}

/* ========================================
   Showcase Bento Grid
   ======================================== */
.showcase { padding: var(--section-padding-y) 0; position: relative; }
.showcase::before { content: ''; position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%); width: 70%; height: 40%; background: radial-gradient(ellipse at 50% 50%, rgba(237, 27, 54, 0.25) 0%, rgba(237, 27, 54, 0.1) 35%, transparent 60%); pointer-events: none; z-index: 0; filter: blur(50px); }
.showcase::after { content: ''; position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%); width: 70%; height: 40%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 150px 150px; opacity: 0.12; pointer-events: none; z-index: 0; mix-blend-mode: overlay; }
.showcase .container { position: relative; z-index: 1; text-align: center; }
.showcase__cta-row { margin: 48px 0 0; text-align: center; }
.showcase__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--grid-gutter); align-items: stretch; }
.sc-card--4col { grid-column: span 4; }
.sc-card--6col { grid-column: span 6; }
.sc-card { background: #0A0A0A; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 32px; opacity: 1; display: flex; flex-direction: column; text-align: left; }

/* Hover: inner glow, NO position/scale change */
.sc-card:hover { border-color: rgba(255,255,255,0.06); background: rgba(10,10,10,0.95); box-shadow: inset 0 0 30px rgba(255,77,109,0.04), 0 8px 32px rgba(0,0,0,0.4); }
.sc-card:focus-visible { outline: 2px solid #FF4D6D; outline-offset: 2px; }

/* Highlight mockup illustration on hover */
.sc-card__mock { transition: border-color 0.4s ease, box-shadow 0.4s ease; }
.sc-card:hover .sc-card__mock { border-color: rgba(255,77,109,0.15); box-shadow: inset 0 0 40px rgba(0,0,0,0.5), 0 0 20px rgba(255,77,109,0.06); }
.sc-card:hover .sc-card__icon-circle { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); }
.sc-card:hover .sc-card__hint { border-color: rgba(255,255,255,0.1); color: #777; }
.sc-card:hover .sc-card__input-pill { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); }
.sc-card:hover .sc-card__send-btn { background: rgba(255,255,255,0.1); box-shadow: 0 0 12px rgba(255,77,109,0.2); }
.sc-card:hover .sc-priv__badge { border-color: rgba(255,77,109,0.3); box-shadow: 0 0 16px rgba(255,77,109,0.1); }
.sc-card:hover .sc-suggest__search { border-color: rgba(255,77,109,0.2); }
.sc-card:hover .sc-suggest__item--active { background: rgba(255,77,109,0.1); }
.sc-card:hover .sc-search__bar { border-color: rgba(255,77,109,0.15); }
.sc-card:hover .sc-search__result:first-child { background: rgba(255,77,109,0.06); }

/* Dim siblings on hover */
/* No dim siblings on hover */

/* Converging scroll animation — disabled, cards always visible */
.sc-card.sc-animate--left,
.sc-card.sc-animate--center,
.sc-card.sc-animate--right,
.sc-card.sc-animate--bleft,
.sc-card.sc-animate--bright { transform: none; opacity: 1; }

/* Revealed state */
.sc-card.is-visible { opacity: 1; transform: none; }

/* Hover — no position/scale change */
.sc-card.is-visible:hover { transform: none; }
.sc-card__title { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: #fff; margin: 28px 0 10px; letter-spacing: -0.03em; text-align: left; white-space: nowrap; }
.sc-card__desc { font-family: var(--font-body); font-size: 15px; color: #999; line-height: 1.5; text-align: left; }
.sc-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 16px; font-weight: 400; color: #ED1B36; text-decoration: none; margin-top: auto; padding-top: 12px; padding-left: 0; transition: opacity 0.2s ease; align-self: flex-start; margin-left: 0; }
.sc-card__link::after { content: '\203A'; font-size: 22px; position: relative; top: -2px; }
.sc-card__link:hover { opacity: 0.8; color: #ED1B36; }

/* Showcase See More / See Less toggle — removed, all cards visible */

/* All 8 cards always visible */

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.sc-card__mock { background: #080808; border-radius: 8px; padding: 24px; border: 1px solid rgba(255,255,255,0.06); box-shadow: inset 0 0 40px rgba(0,0,0,0.5); flex: 1; min-height: 280px; display: flex; flex-direction: column; gap: 14px; justify-content: center; overflow: hidden; }

/* Light mockup panel — matching Figma search results UI */
.sc-mock--light { background: #f5f5f5; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-radius: 12px; padding: 0; gap: 0; min-height: auto; justify-content: flex-start; flex: 0 0 auto; }

/* Equal height for inner mockup panels in row 1 */
.sc-card--4col .sc-mock--light,
.sc-card--4col .sc-card__mock { height: 280px; overflow: hidden; min-height: auto; }

/* Equal height for inner mockup panels in row 2 */
.sc-card--6col .sc-card__mock,
.sc-card--6col .sc-mock--light,
.sc-card--6col .sc-mock--dark { height: 280px; overflow: hidden; min-height: auto; }
.sc-mock--light .sc-card__mock, .sc-mock--light { overflow: hidden; }
.sc-mock__header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.sc-mock__query { flex: 1; font-family: var(--font-body); font-size: 14px; color: #222; font-weight: 400; }
.sc-mock__cursor { color: #333; animation: blink 1s step-end infinite; }
.sc-mock__action { flex-shrink: 0; }
.sc-mock__divider { height: 1px; background: rgba(0,0,0,0.06); margin: 0; }
.sc-mock__row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.sc-mock__avatar { width: 36px; height: 36px; border-radius: 50%; background: #e8e8e8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-mock__avatar--red { background: rgba(237,27,54,0.08); }
.sc-mock__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-mock__name { font-family: var(--font-body); font-size: 13px; color: #222; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mock__name strong { font-weight: 700; }
.sc-mock__meta { font-family: var(--font-body); font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mock__row--coords { gap: 16px; padding: 10px 18px; }
.sc-mock__label { font-family: var(--font-body); font-size: 10px; font-weight: 700; text-transform: uppercase; color: #999; letter-spacing: 1px; }
.sc-mock__val { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; color: #ED1B36; }
.sc-mock__badge-row { display: flex; gap: 8px; padding: 10px 18px; }
.sc-mock__badge { font-family: var(--font-body); font-size: 11px; color: #888; background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.06); border-radius: 6px; padding: 3px 10px; }
.sc-mock__badge--green { color: #16a34a; background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.15); }

/* Dark mockup variant for Map Tiles */
.sc-mock--dark { background: #080808; border: 1px solid rgba(255,255,255,0.06); box-shadow: inset 0 0 40px rgba(0,0,0,0.5); border-radius: 8px; padding: 24px; gap: 14px; min-height: 260px; justify-content: center; }
.sc-mock__map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-mock__tile { height: 52px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); }
.sc-mock__tile--active { background: rgba(255,77,109,0.08); border-color: rgba(255,77,109,0.2); }
.sc-mock__tile--dim { opacity: 0.4; }
.sc-mock__map-controls { display: flex; justify-content: space-between; align-items: center; }
.sc-mock__style-pills { display: flex; gap: 6px; }
.sc-mock__pill { padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-family: var(--font-body); font-size: 11px; color: #666; }
.sc-mock__pill--on { border-color: rgba(255,255,255,0.2); color: #ccc; }
.sc-mock__zoom { font-family: 'SF Mono', monospace; font-size: 11px; color: #555; }

/* Map image mockup */
.sc-mock--mapimg { padding: 0; border-radius: 12px; overflow: hidden; min-height: auto; max-height: 280px; height: 280px; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 2px 12px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; background: #1a1a1a; }
.sc-mock__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 12px; }
.sc-mock__img--left { object-position: calc(50% - 15px) center; transform: scale(1.04); }
.sc-card__icons { display: flex; justify-content: center; gap: 28px; }
.sc-card__icon-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sc-card__icon-circle { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.sc-card__icon-item span { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-transform: uppercase; color: #ccc; }
.sc-card__hint { padding: 14px 16px; background: rgba(255,255,255,0.02); border-radius: 14px; border: 1px solid rgba(255,255,255,0.06); box-shadow: inset 0 2px 12px rgba(0,0,0,0.3); font-family: var(--font-body); font-size: 13px; color: #555; line-height: 1.5; }
.sc-card__input-row { display: flex; align-items: center; gap: 10px; }
.sc-card__input-pill { flex: 1; padding: 16px 18px; background: #0A0A0A; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 2px 10px rgba(0,0,0,0.4); font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.35); }
.sc-card__send-btn { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease, background 0.3s ease; }
.sc-card:hover .sc-card__send-btn { box-shadow: 0 0 14px rgba(255,77,109,0.25); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Internal element hover brightening */
.sc-priv__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,77,109,0.06); border: 1px solid rgba(255,77,109,0.12); border-radius: 10px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.sc-card:hover .sc-priv__badge { border-color: rgba(255,77,109,0.3); box-shadow: 0 0 16px rgba(255,77,109,0.12); }
.sc-brand__btn { padding: 10px 28px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font-heading); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.4s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, box-shadow 0.3s ease; }
.sc-card:hover .sc-brand__btn { border-color: rgba(255,255,255,0.25); box-shadow: 0 0 16px rgba(255,255,255,0.06); }
.sc-brand__btn:hover { transform: scale(1.05); }

/* Looping avatar float animation */
.sc-lang__av--a { animation: avFloat 4s ease-in-out infinite; }
.sc-lang__av--b { animation: avFloat 5s ease-in-out infinite 0.8s; }
.sc-lang__av--c { animation: avFloat 3.5s ease-in-out infinite 1.5s; }
@keyframes avFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sc-priv__badge span { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #FF4D6D; }

/* Card 3: Chatbot */
.sc-cb__tabs { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.sc-cb__tabs span { flex: 1; padding: 8px 6px; text-align: center; font-family: var(--font-heading); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #555; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.04); }
.sc-cb__tabs span:last-child { border-right: none; }
.sc-cb__tab--active { background: rgba(255,255,255,0.06) !important; color: #ccc !important; }
.sc-cb__upload { display: flex; align-items: center; gap: 12px; }
.sc-cb__dropzone { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-cb__tag { padding: 6px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font-family: var(--font-body); font-size: 12px; color: #888; }

/* Card 4: Multilingual */
.sc-lang__mock { position: relative; min-height: auto; justify-content: flex-end; }
.sc-lang__avatars { position: absolute; inset: 0; pointer-events: none; }
.sc-lang__av { position: absolute; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6)); transition: transform 0.6s cubic-bezier(.25,.46,.45,.94); will-change: transform; background: rgba(30,30,30,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sc-lang__av--a { top: 8%; right: 30%; width: 48px; height: 48px; font-size: 28px; }
.sc-lang__av--b { bottom: 35%; left: 5%; width: 56px; height: 56px; font-size: 32px; }
.sc-lang__av--c { bottom: 25%; right: 15%; width: 44px; height: 44px; font-size: 24px; }
.sc-lang__icon { flex-shrink: 0; }
.sc-lang__flags { font-size: 18px; position: relative; z-index: 1; }

/* Card 5: Brand */
.sc-brand__mock { align-items: center; justify-content: center; min-height: 220px; }
.sc-brand__icons { display: flex; gap: 28px; margin-bottom: 4px; }
.sc-brand__btn { padding: 10px 28px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font-heading); font-size: 14px; font-weight: 600; cursor: pointer; transition: transform 0.3s ease; }
.sc-brand__btn:hover { transform: scale(1.05); }
.sc-brand__toggles { display: flex; gap: 10px; }
.sc-brand__pill { padding: 8px 16px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-family: var(--font-body); font-size: 13px; color: #666; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease; }
.sc-brand__pill--on { border-color: rgba(255,255,255,0.25); color: #ccc; }
.sc-brand__pill:hover { border-color: rgba(255,255,255,0.2); color: #aaa; }

/* Card 2: Geocoding */
.sc-geo__visual { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }
.sc-geo__pin { flex-shrink: 0; }
.sc-geo__coords { display: flex; flex-direction: column; gap: 6px; }
.sc-geo__row { display: flex; align-items: center; gap: 10px; }
.sc-geo__label { font-family: var(--font-heading); font-size: 10px; font-weight: 700; text-transform: uppercase; color: #555; letter-spacing: 1px; width: 28px; }
.sc-geo__val { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 14px; color: rgba(255,77,109,0.7); }

/* Card 3: Autosuggest */
.sc-suggest__visual { display: flex; flex-direction: column; gap: 10px; }
.sc-suggest__search { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #0A0A0A; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.sc-suggest__search span { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.4); }
.sc-suggest__cursor { color: rgba(255,77,109,0.6); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.sc-suggest__results { display: flex; flex-direction: column; gap: 2px; }
.sc-suggest__item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; color: #777; transition: background 0.2s ease; }
.sc-suggest__item--active { background: rgba(255,77,109,0.06); color: #ccc; }
.sc-suggest__meta { font-family: var(--font-body); font-size: 11px; color: #555; margin-top: 4px; }

/* Card 4: Map Tiles */
.sc-tiles__mock { justify-content: space-between; }
.sc-tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-tiles__tile { height: 52px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); }
.sc-tiles__tile--active { background: rgba(255,77,109,0.08); border-color: rgba(255,77,109,0.2); }
.sc-tiles__tile--dim { opacity: 0.4; }
.sc-tiles__controls { display: flex; justify-content: space-between; align-items: center; }
.sc-tiles__style-pills { display: flex; gap: 6px; }
.sc-tiles__pill { padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-family: var(--font-body); font-size: 11px; color: #666; cursor: pointer; }
.sc-tiles__pill--on { border-color: rgba(255,255,255,0.2); color: #ccc; }
.sc-tiles__zoom { display: flex; align-items: center; gap: 6px; font-family: 'SF Mono', monospace; font-size: 11px; color: #555; }

/* Card 5: Search API */
.sc-search__mock { }
.sc-search__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #0A0A0A; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.sc-search__bar span { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.4); }
.sc-search__tags { display: flex; gap: 8px; }
.sc-search__tag { padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-family: var(--font-body); font-size: 11px; color: #777; }
.sc-search__tag--place { border-color: rgba(255,77,109,0.15); color: rgba(255,77,109,0.7); }
.sc-search__results { display: flex; flex-direction: column; gap: 2px; }
.sc-search__result { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; transition: background 0.2s ease; }
.sc-search__result:first-child { background: rgba(255,255,255,0.03); }
.sc-search__name { font-family: var(--font-body); font-size: 13px; color: #ccc; }
.sc-search__dist { font-family: 'SF Mono', monospace; font-size: 11px; color: #555; }

@media (max-width: 1024px) { .sc-card--4col { grid-column: span 6; } .sc-card--6col { grid-column: span 12; } .sc-card--4col.sc-card--flip, .sc-card--6col.sc-card--flip { height: 460px; } }
@media (max-width: 768px) { .sc-card--4col, .sc-card--6col { grid-column: span 12; } .sc-card__title { font-size: 20px; } .sc-card--4col.sc-card--flip, .sc-card--6col.sc-card--flip { height: auto; } }

/* ========================================
   Showcase Flip Card (Framer-style 3D)
   ======================================== */
.sc-card--flip {
  perspective: var(--flip-perspective);
  overflow: visible;
  cursor: pointer;
  outline: none;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Equal height for all flip cards in each row */
.sc-card--4col.sc-card--flip {
  height: 540px;
}

.sc-card--6col.sc-card--flip {
  height: 540px;
}

.sc-card--flip:focus-visible {
  outline: 2px solid #FF4D6D;
  outline-offset: 2px;
  border-radius: 8px;
}

.sc-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--flip-duration) var(--flip-easing);
  will-change: transform;
}

.sc-card--flipped .sc-card__inner {
  transform: rotateY(180deg);
}

.sc-card__front,
.sc-card__back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
}

.sc-card__front {
  position: relative;
  z-index: 2;
  background: #0A0A0A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sc-card__back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  z-index: 1;
  background: #0A0A0A;
  border: 1px solid rgba(255,77,109,0.15);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.sc-card__back-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.sc-card__back-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.55s, transform 0.6s ease 0.55s;
}

.sc-card__back-list {
  list-style: disc;
  padding: 0 0 0 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

.sc-card__back-list li {
  font-family: var(--font-body);
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

.sc-card__back-title--section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

/* Second list (after Use Cases header) */
.sc-card__back-title--section + .sc-card__back-list {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.95s, transform 0.6s ease 0.95s;
}

/* Animate in when card is flipped */
.sc-card--flipped .sc-card__back-title,
.sc-card--flipped .sc-card__back-desc,
.sc-card--flipped .sc-card__back-list,
.sc-card--flipped .sc-card__back-title--section,
.sc-card--flipped .sc-card__back-title--section + .sc-card__back-list {
  opacity: 1;
  transform: translateY(0);
}

/* Override base sc-card styles when flip variant is active */
.sc-card--flip:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* Disable sibling dimming for flip cards */
.showcase__grid:hover .sc-card--flip { opacity: 1; }

/* Reduced motion fallback for showcase flip */
@media (prefers-reduced-motion: reduce) {
  .sc-card--flipped .sc-card__inner {
    transform: none !important;
  }
  .sc-card__front,
  .sc-card__back {
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
    transform: none !important;
    transition: opacity 0.3s ease !important;
  }
  .sc-card__front { opacity: 1; }
  .sc-card__back { opacity: 0; }
  .sc-card--flipped .sc-card__front { opacity: 0; }
  .sc-card--flipped .sc-card__back { opacity: 1; }
}

/* ========================================
   Testimonials — Marquee Cards
   ======================================== */
.testi { padding: var(--section-padding-y) 0; overflow: hidden; background: #0b090a; border-top: 1px solid rgba(49,48,49,0.3); }
.testi .container { text-align: center; margin-bottom: 48px; }
.testi__badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 100px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--font-body); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 28px; cursor: default; position: relative; overflow: hidden; }
.testi__badge::before { content: ''; position: absolute; top: -450%; left: 0; right: 0; bottom: 0; height: 1000%; background: conic-gradient(transparent 200deg, rgba(255,77,109,0.8)); border-radius: 100px; z-index: 0; animation: conicSpin 4s linear infinite; }
.testi__badge::after { content: ''; position: absolute; inset: 1px; background: rgba(0,0,0,0.85); border-radius: 100px; z-index: 1; }
.testi__badge svg, .testi__badge span { position: relative; z-index: 2; }
.testi__badge svg { display: inline-block; flex-shrink: 0; }
.testi__title { font-family: var(--font-heading); font-size: 42px; font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); }
.testi__row { position: relative; padding: 10px 0; }
.testi__row::before, .testi__row::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.testi__row::before { left: 0; background: linear-gradient(to right, #0b090a, transparent); }
.testi__row::after { right: 0; background: linear-gradient(to left, #0b090a, transparent); }
.testi__track { display: flex; gap: 20px; width: max-content; animation: testiScroll 40s linear infinite; }
.testi__track--reverse { animation: testiScrollReverse 45s linear infinite; }
@keyframes testiScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes testiScrollReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.testi__card { flex-shrink: 0; width: 300px; background: #ffffff; border: none; border-radius: 8px; padding: 18px 20px; transition: background 0.3s ease, box-shadow 0.3s ease; position: relative; }
.testi__company { position: absolute; top: 14px; right: 16px; font-family: var(--font-body); font-size: 10px; font-weight: 600; color: rgba(0,0,0,0.35); letter-spacing: 0.03em; z-index: 1; }
.testi__company-logo { position: absolute; top: 14px; right: 16px; width: 24px; height: 24px; border-radius: 4px; object-fit: contain; opacity: 0.5; z-index: 1; filter: none; }
.testi__card::before { content: ''; position: absolute; inset: 0; border-radius: 8px; padding: 1px; background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.03) 50%, rgba(0,0,0,0.01) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; transition: background 0.3s ease; }
.testi__card:hover::before { background: linear-gradient(180deg, rgba(237, 27, 54, 0.25) 0%, rgba(237, 27, 54, 0.08) 50%, rgba(237, 27, 54, 0.02) 100%); }
.testi__card:hover { background: #f9f9f9; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(237, 27, 54, 0.1); }
.testi__track:hover { animation-play-state: paused; }
.testi__header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.testi__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; overflow: hidden; background: #e8e8e8; }
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi__info { display: flex; flex-direction: column; flex: 1; }
.testi__name { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #111111; }
.testi__handle { font-family: var(--font-body); font-size: 12px; color: #888888; }
.testi__bird { display: none; }
.testi__text { font-family: var(--font-body); font-size: 14px; color: #444444; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 768px) {
  .testi__title { font-size: 30px; }
  .testi__card { width: 260px; padding: 20px; }
}

/* ========================================
   9. Footer
   ======================================== */

.footer {
  background: #000;
  /* Unified padding/border-top rules near end of file */
}

.footer__brand-strip { border-top: 1px solid rgba(255,255,255,0.06); background: #000; padding: 20px 0; overflow: hidden; }
.footer__brand-svg { width: 100%; height: 120px; display: block; opacity: 0.85; }

/* .footer__grid: see unified rules near end of file */

.footer__brand { display: flex; flex-direction: column; gap: 16px; }

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.footer__logo-img {
  height: 22px;
  width: auto;
  display: block;
  margin-top: 4px;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer__contact { margin-top: 24px; }
.footer__contact-title { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer__contact-text { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.footer__contact-email { font-family: var(--font-body); font-size: 13px; color: #fff; text-decoration: none; display: block; margin-bottom: 12px; }
.footer__contact-email:hover { color: #ED1B36; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--text-primary);
}

/* .footer__bottom + .footer__copy: see unified rules near end of file */
.footer__copy {
  font-family: var(--font-body);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer__social:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}

/* ========================================
   10. Scroll Reveal
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ========================================
   11. Accessibility: Skip Link & Focus Indicators
   ======================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Focus Indicators */
a:focus-visible,
.btn:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

/* ========================================
   12. Responsive Breakpoints
   ======================================== */

@media (max-width: 1024px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__card--wide {
    grid-column: span 2;
  }

  .focus__panel--chat {
    flex-direction: column;
  }

  .focus__pdf-preview {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--stroke-subtle);
  }

  .hero__headline {
    font-size: 42px;
  }

  .section-title {
    font-size: 32px;
  }

}

@media (max-width: 768px) {
  /* Reduce global vertical section rhythm on mobile (was silently ignored as an
     orphan declaration, leaving all sections at the 140px desktop value) */
  :root { --section-padding-y: 60px; }

  .header__nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    z-index: 9999;
  }

  .header__nav.is-open {
    display: flex;
  }

  /* API Reference: on mobile show only the top-level link (centered to match
     Home/Products/Playground), hide the submenu items entirely. */
  .header__nav-dropdown {
    flex-direction: column;
    align-items: center;
    width: auto;
    gap: 0;
  }
  .header__nav-dropdown::after { display: none; }
  .header__nav-menu {
    display: none !important;
  }

  .header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0;

  }

  .header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .header__hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .header__contact {
    font-size: 11px;
    padding: 6px 10px;
  }

  .header__auth-btn {
    font-size: 11px;
    padding: 6px 10px;
  }

  .header__actions {
    gap: 8px;
  }

  .bento__grid {
    grid-template-columns: 1fr;
  }

  .bento__card--wide {
    grid-column: span 1;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
    padding-top: 116px;
    padding-bottom: 48px
  }

  .hero__badge {
    margin-bottom: 16px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero__headline {
    font-size: 32px;
    min-height: 3.8em;
  }

  .hero__subheadline {
    font-size: 22px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .bento,
  .focus,
  .pricing {
    padding: 60px 0;
  }

  .focus__panel--chat {
    flex-direction: column;
  }

  .focus__pdf-preview {
    border-right: none;
    border-bottom: 1px solid var(--stroke-subtle);
  }

  .focus__code {
    font-size: 12px;
  }

  .focus__ai-input {
    margin: 0 12px 12px;
  }

  .footer__marquee-track {
    gap: 40px;
  }
}

/* ========================================
   Support Modal
   ======================================== */
.support-modal {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.support-modal.is-open { opacity: 1; visibility: visible; }
.support-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.support-modal__content {
  position: relative; z-index: 1; background: #0A0A0A; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px; padding: 48px; max-width: 720px; width: 90%; max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.support-modal.is-open .support-modal__content { transform: translateY(0); }
.support-modal__close {
  position: absolute; top: 16px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 28px; cursor: pointer; line-height: 1; transition: color 0.2s ease;
}
.support-modal__close:hover { color: #fff; }
.support-modal__title { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; }
.support-modal__desc { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.45); text-align: center; line-height: 1.6; max-width: 520px; margin: 0 auto 40px; }
.support-modal__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-modal__card { background: #111; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.support-modal__card-icon { margin-bottom: 4px; }
.support-modal__card-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff; }
.support-modal__card-desc { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.support-modal__card-link { font-family: var(--font-body); font-size: 13px; color: #FF4D6D; text-decoration: underline; text-underline-offset: 2px; }
.support-modal__card-link:hover { color: #FF4D6D; opacity: 0.8; }
.support-modal__card-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #FF4D6D;
  color: #fff; border-radius: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 500;
  text-decoration: none; width: fit-content; margin-top: 4px; transition: background 0.2s ease;
}
.support-modal__card-btn:hover { background: #e8435f; color: #fff; }
@media (max-width: 600px) {
  .support-modal__cards { grid-template-columns: 1fr; }
  .support-modal__content { padding: 32px 24px; }
  .support-modal__title { font-size: 22px; }
}

/* ========================================
   13. Reduced Motion Preferences
   ======================================== */

/* ========================================
   Industries Section
   ======================================== */
.industries { padding: var(--section-padding-y) 0; background: #000; text-align: center; }
.industries__title { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--text-primary); text-align: center; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 56px; }
.industries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }

/* Industries card */
.industries__card { background: #0A0A0A; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 36px 32px; position: relative; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.12); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease; min-height: 220px; display: flex; flex-direction: column; cursor: default; }
.industries__card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 109, 0.06) 0%, transparent 70%); opacity: 0; transition: opacity 0.5s ease; pointer-events: none; border-radius: 8px; z-index: 3; }
.industries__card:hover { box-shadow: 0 24px 48px rgba(255, 77, 109, 0.08), 0 0 0 1px rgba(255, 77, 109, 0.12); border-color: rgba(255, 77, 109, 0.15); }
.industries__card:hover::before { opacity: 1; }

/* Existing card child styles */
.industries__card-icon { width: 52px; height: 52px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background 0.4s ease, border-color 0.4s ease; }
.industries__card:hover .industries__card-icon { background: rgba(255, 77, 109, 0.08); border-color: rgba(255, 77, 109, 0.15); }
.industries__card-title { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 10px; }
.industries__card-desc { font-family: var(--font-body); font-size: 14px; color: #888; line-height: 1.6; }

/* Staggered reveal for industry cards */
/* Staggered reveal for industry cards */
.industries__card.reveal { opacity: 0; transform: translateY(40px) scale(0.97); transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease; }
.industries__card.reveal:nth-child(1) { transition-delay: 0s; }
.industries__card.reveal:nth-child(2) { transition-delay: 0.1s; }
.industries__card.reveal:nth-child(3) { transition-delay: 0.2s; }
.industries__card.reveal:nth-child(4) { transition-delay: 0.3s; }
.industries__card.reveal:nth-child(5) { transition-delay: 0.4s; }
.industries__card.reveal:nth-child(6) { transition-delay: 0.5s; }
.industries__card.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* After reveal completes, JS removes .reveal and this class takes over */
.industries__card.tilt-ready { transform-style: preserve-3d; }

@media (max-width: 1024px) {
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__title { font-size: 40px; }
}
@media (max-width: 768px) {
  .industries__grid { grid-template-columns: 1fr; }
  .industries__title { font-size: 32px; }
}

/* Industries CTA */
.industries__cta-row { margin: 48px 0 0; text-align: center; }

/* ========================================
   FAQ Section
   ======================================== */
.faq { padding: 80px 0; background: #000; }
.faq__inner { display: flex; gap: 0; background: #080808; border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; overflow: hidden; min-height: 340px; max-width: 100%; }
.faq__left { flex: 0 0 38%; padding: 48px 44px; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.faq__title { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: rgba(255,255,255,0.9); line-height: 1.2; letter-spacing: -0.03em; position: relative; z-index: 1; }
.faq__glow { position: absolute; bottom: -50%; left: -20%; width: 130%; height: 100%; background: radial-gradient(ellipse at 30% 100%, rgba(220, 30, 60, 0.8) 0%, rgba(160, 15, 40, 0.45) 35%, transparent 65%); pointer-events: none; filter: blur(25px); }
.faq__right { flex: 1; padding: 12px 28px; display: flex; flex-direction: column; justify-content: center; background: rgba(12,12,12,0.6); }
.faq__item { border-bottom: 1px solid rgba(255,255,255,0.04); }
.faq__item:last-child { border-bottom: none; }
.faq__question { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-body); font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.5); cursor: pointer; transition: color 0.2s ease; width: 100%; background: none; border: none; text-align: left; }
.faq__question:hover { color: #ffffff; }
.faq__icon { font-size: 16px; color: rgba(255,255,255,0.25); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0; margin-left: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__item.is-open .faq__question { color: #ffffff; }
.faq__answer { overflow: hidden; max-height: 0; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; opacity: 0; display: block; }
.faq__item.is-open .faq__answer { opacity: 1; }
.faq__answer p { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.4); line-height: 1.7; padding-bottom: 16px; }

@media (max-width: 768px) {
  .faq__inner { flex-direction: column; }
  .faq__left { flex: none; padding: 40px 28px 32px; }
  .faq__title { font-size: 32px; }
  .faq__right { padding: 0 28px 28px; }
}

/* ========================================
   Book a Demo Section
   ======================================== */
.book-demo { padding: 240px 0 80px; background: #000; }
.book-demo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 48px; box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04); }
.book-demo__heading { font-family: var(--font-heading); font-size: 42px; font-weight: 700; color: #fff; letter-spacing: -0.03em; margin-bottom: 24px; }
.book-demo__desc { font-family: var(--font-body); font-size: 18px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 40px; }
.book-demo__connect-title { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 24px; }
.book-demo__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.book-demo__list-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.7); }
.book-demo__list-icon { width: 28px; height: 28px; border-radius: 50%; background: #ED1B36; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.book-demo__list-icon svg { width: 14px; height: 14px; }
.book-demo__form-card { background: #fff; border: none; border-radius: 12px; padding: 40px 36px; }
.book-demo__form-label { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: #ffffff; margin-bottom: 6px; }
.book-demo__form-label .req { color: #ED1B36; }
.book-demo__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.book-demo__form-field { margin-bottom: 20px; }
.book-demo__form-input,
.book-demo__form-select,
.book-demo__form-textarea { width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 14px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #333; outline: none; box-shadow: none; transition: border-color 0.2s ease; -webkit-appearance: none; appearance: none; }
.book-demo__form-input:focus,
.book-demo__form-select:focus,
.book-demo__form-textarea:focus { border-color: rgba(255,255,255,0.6); box-shadow: 0 0 0 1px rgba(255,255,255,0.3); outline: none; }
.book-demo__form-input::placeholder { color: rgba(0,0,0,0.3); }
.book-demo__form-select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.book-demo__form-textarea { min-height: 140px; resize: none; }
.book-demo__form-submit { padding: 12px 28px; background: #ED1B36; color: #fff; border: none; border-radius: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s ease; }
.book-demo__form-submit:hover { background: #d4172f; }
.book-demo__form-input.is-error,
.book-demo__form-select.is-error,
.book-demo__form-textarea.is-error { border-color: #ED1B36; }
.book-demo__form-error { font-family: var(--font-body); font-size: 12px; color: #ED1B36; margin-top: 4px; display: none; }
.book-demo__form-error.is-visible { display: block; }
.book-demo__form-global-error { font-family: var(--font-body); font-size: 14px; color: #ED1B36; margin-bottom: 16px; }
.book-demo__form-success { background: #fff; border-radius: 16px; padding: 60px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; text-align: center; }
.book-demo__form-success h2 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: #222; letter-spacing: -0.02em; margin-bottom: 10px; }
.book-demo__form-success p { font-family: var(--font-body); font-size: 15px; color: #666; line-height: 1.6; margin-bottom: 0; }

@media (max-width: 768px) {
  .book-demo__inner { grid-template-columns: 1fr; gap: 40px; }
  .book-demo__heading { font-size: 32px; }
  .book-demo { padding: 60px 0; }
  .book-demo__form-card { padding: 24px 20px; }
  .book-demo__form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter { padding: 40px 0 0; background: #000; }
.newsletter__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: #0A0A0A; border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 40px 48px; }
.newsletter__title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.newsletter__desc { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.newsletter__form { display: flex; align-items: center; gap: 0; background: var(--surface-base); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 6px 6px 6px 20px; flex-shrink: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease; min-width: 400px; }
.newsletter__form:focus-within { border-color: rgba(255, 77, 109, 0.15); box-shadow: none; }
.newsletter__input { background: transparent; border: none; outline: none; font-family: var(--font-body); font-size: 15px; color: var(--text-primary); padding: 12px 0; flex: 1; width: auto; -webkit-appearance: none; }
.newsletter__input:focus { outline: none; box-shadow: none; }
.newsletter__input:focus-visible { outline: none; box-shadow: none; }
.newsletter__input::placeholder { color: var(--text-muted); }
.newsletter__btn { background: #ED1B36; color: #fff; border: none; font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 12px 28px; border-radius: 8px; cursor: pointer; transition: background 0.2s ease, transform 0.15s ease; white-space: nowrap; }
.newsletter__btn:hover { background: #d4172f; }
.newsletter__btn:active { transform: scale(0.95); }
.newsletter__btn:focus-visible { outline: none; }

@media (max-width: 768px) {
  .newsletter__inner { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .newsletter__form { width: 100%; }
  .newsletter__input { flex: 1; width: auto; }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   iPhone SE / Very Small Screens (max 375px)
   ======================================== */
@media (max-width: 375px) {
  html, body {
    overflow-x: hidden;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero__badge {
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 11px;
    gap: 6px;
  }

  .hero__headline {
    font-size: 26px;
    line-height: 1.25;
  }

  .hero__subheadline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero__ctas {
    gap: 12px;
  }

  .hero__get-started,
  .hero__contact-sales {
    width: 100%;
    font-size: 13px;
  }

  .container {
    padding-inline: 16px;
  }

  .header__actions {
    gap: 6px;
  }

  .header__logo-img {
    height: 27px;
  }
}

/* ========================================================================
   UNIFIED DESIGN SYSTEM
   ------------------------------------------------------------------------
   One source of truth for buttons, spacing, focus, and form controls.
   Loaded last so cascade-order overrides earlier ad-hoc rules.
   ======================================================================== */

:root {
  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Brand */
  --brand: #ED1B36;
  --brand-hover: #d4172f;
  --brand-active: #b91527;
  --brand-soft: rgba(237, 27, 54, 0.08);
  --brand-soft-2: rgba(237, 27, 54, 0.16);

  /* Button geometry — single source of truth */
  --btn-h-sm: 32px;
  --btn-h-md: 40px;
  --btn-h-lg: 44px;
  --btn-px-sm: 14px;
  --btn-px-md: 18px;
  --btn-px-lg: 24px;
  --btn-fs-sm: 13px;
  --btn-fs-md: 14px;
  --btn-fs-lg: 14px;
  --btn-fw: 500;
  --btn-radius: 8px;
  --btn-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

/* ----- Unified button base — applies to every button class on the site ----- */
.btn,
.btn--primary,
.btn--ghost,
.btn--accent,
.hero__get-started,
.hero__contact-sales,
.header__contact,
.header__auth-btn,
.industries__demo-btn,
.showcase__demo-btn,
.book-demo__form-submit,
.contact__form-submit,
.newsletter__btn,
.login__submit,
.signin-btn,
.signin-google,
.support-modal__card-btn,
.policy__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--btn-h-lg);
  padding: 0 var(--btn-px-lg);
  font-family: var(--font-body);
  font-size: var(--btn-fs-lg);
  font-weight: var(--btn-fw);
  line-height: 1;
  letter-spacing: 0.01em;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--btn-transition);
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
}

/* Primary (filled brand red) — default style for CTAs */
.btn--primary,
.hero__get-started,
.header__contact,
.industries__demo-btn,
.showcase__demo-btn,
.book-demo__form-submit,
.contact__form-submit,
.newsletter__btn,
.login__submit,
.signin-btn {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn--primary:hover,
.hero__get-started:hover,
.header__contact:hover,
.industries__demo-btn:hover,
.showcase__demo-btn:hover,
.book-demo__form-submit:hover,
.contact__form-submit:hover,
.newsletter__btn:hover,
.login__submit:hover,
.signin-btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #ffffff;
  opacity: 1;
}
.btn--primary:active,
.hero__get-started:active,
.header__contact:active,
.industries__demo-btn:active,
.showcase__demo-btn:active,
.book-demo__form-submit:active,
.contact__form-submit:active,
.newsletter__btn:active,
.login__submit:active,
.signin-btn:active {
  background: var(--brand-active);
  transform: translateY(0) scale(0.98);
  transition: transform 0.08s ease, background 0.08s ease;
}

/* Hero "Book a Demo" — outline red style */
.hero__contact-sales {
  background: transparent !important;
  color: #ED1B36 !important;
  border: 1.5px solid #ED1B36 !important;
  border-radius: 10px;
}
.hero__contact-sales:hover {
  background: rgba(237, 27, 54, 0.08) !important;
  color: #ED1B36 !important;
  border-color: #ED1B36 !important;
}
.hero__contact-sales:active {
  background: rgba(237, 27, 54, 0.12) !important;
  transform: scale(0.98);
}

/* Secondary (outline brand red) — Login button */
.header__auth-btn {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  height: var(--btn-h-lg);
  padding: 0 var(--btn-px-lg);
  font-size: var(--btn-fs-lg);
}
.header__auth-btn:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand);
}
.header__auth-btn:active {
  background: var(--brand-soft-2);
  transform: translateY(0) scale(0.98);
}

/* Ghost (transparent / subtle) */
.btn--ghost,
.signin-google,
.support-modal__card-btn {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}
.btn--ghost:hover,
.signin-google:hover,
.support-modal__card-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Tabs (Terms / Privacy switcher) — keep flat, height-aligned */
.policy__tab {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border-color: transparent;
  height: var(--btn-h-md);
  padding: 0 var(--btn-px-md);
  font-size: var(--btn-fs-md);
}
.policy__tab:hover { color: #ffffff; }
.policy__tab.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Size modifiers — opt-in */
.btn--sm,
.header__contact.btn--sm,
.header__auth-btn.btn--sm {
  height: var(--btn-h-sm);
  padding: 0 var(--btn-px-sm);
  font-size: var(--btn-fs-sm);
}
.btn--md,
.header__contact.btn--md,
.header__auth-btn.btn--md {
  height: var(--btn-h-md);
  padding: 0 var(--btn-px-md);
  font-size: var(--btn-fs-md);
}
.btn--block { width: 100%; }

/* Disabled state — uniform across all buttons */
.btn:disabled,
button:disabled,
.btn--primary:disabled,
.header__contact[disabled],
.header__auth-btn:disabled,
.book-demo__form-submit:disabled,
.contact__form-submit:disabled,
.login__submit:disabled,
.signin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Focus-visible — single uniform ring */
.btn:focus-visible,
.btn--primary:focus-visible,
.btn--ghost:focus-visible,
.hero__get-started:focus-visible,
.hero__contact-sales:focus-visible,
.header__contact:focus-visible,
.header__auth-btn:focus-visible,
.industries__demo-btn:focus-visible,
.showcase__demo-btn:focus-visible,
.book-demo__form-submit:focus-visible,
.contact__form-submit:focus-visible,
.newsletter__btn:focus-visible,
.login__submit:focus-visible,
.signin-btn:focus-visible,
.signin-google:focus-visible,
.policy__tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(237, 27, 54, 0.30);
}

/* Header buttons — same height as desktop CTA, slightly tighter padding to fit nav */
@media (min-width: 769px) {
  .header__contact,
  .header__auth-btn {
    height: var(--btn-h-md);
    padding: 0 var(--btn-px-md);
    font-size: var(--btn-fs-md);
  }
}

/* Mobile button sizing — ensure all CTAs stay tappable & uniform */
@media (max-width: 768px) {
  .btn,
  .btn--primary,
  .btn--ghost,
  .hero__get-started,
  .hero__contact-sales,
  .industries__demo-btn,
  .showcase__demo-btn,
  .book-demo__form-submit,
  .contact__form-submit,
  .newsletter__btn,
  .login__submit,
  .signin-btn,
  .signin-google,
  .header__auth-btn {
    height: var(--btn-h-lg);
    font-size: var(--btn-fs-md);
    padding: 0 var(--btn-px-lg);
  }
  .header__contact,
  .header__auth-btn {
    height: 36px;
    font-size: 13px;
    padding: 0 14px;
  }
}

/* ----- Form input parity (keeps form fields height-aligned with buttons) ----- */
.book-demo__form-input,
.book-demo__form-select,
.book-demo__form-textarea,
.contact__form-input,
.contact__form-select,
.contact__form-textarea {
  border-radius: var(--btn-radius);
  font-size: var(--btn-fs-md);
}
.book-demo__form-input,
.book-demo__form-select,
.contact__form-input,
.contact__form-select {
  height: var(--btn-h-lg);
  padding: 0 var(--space-4);
}
.book-demo__form-input:focus,
.book-demo__form-select:focus,
.book-demo__form-textarea:focus,
.contact__form-input:focus,
.contact__form-select:focus,
.contact__form-textarea:focus {
  border-color: rgba(255,255,255,0.6) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) !important;
  outline: none !important;
}

/* ----- Container & section padding tokens — used by page-level cleanup ----- */
.section-pad-y { padding-top: var(--space-20); padding-bottom: var(--space-20); }
@media (max-width: 768px) {
  .section-pad-y { padding-top: var(--space-16); padding-bottom: var(--space-16); }
}

/* ========================================================================
   HOME PAGE — Section Rhythm
   One canonical vertical rhythm for all sections on the landing page.
   ======================================================================== */

:root {
  /* Section padding scale: applied symmetrically to every major section */
  --section-py: 120px;
  --section-py-tight: 80px;
}

@media (max-width: 1024px) { :root { --section-py: 96px;  --section-py-tight: 64px; } }
@media (max-width: 768px)  { :root { --section-py: 72px;  --section-py-tight: 48px; } }
@media (max-width: 480px)  { :root { --section-py: 56px;  --section-py-tight: 40px; } }

.showcase   { padding: var(--section-py) 0 !important; }
.committed  { padding: var(--section-py) 0 !important; }
.industries { padding: var(--section-py) 0 !important; }
.faq        { padding: var(--section-py-tight) 0 !important; }
.book-demo  { padding: var(--section-py) 0 !important; }
.newsletter { padding: 0 0 var(--section-py-tight) !important; }
.tagline    { padding: 0 !important; }

/* ========================================================================
   HOME PAGE — Book a Demo Form
   Modern elevated form: dark surface card, dark inputs, brand focus ring.
   Replaces the flat-white "screenshot"-looking form.
   ======================================================================== */

/* No wrapper card — let the form sit on the section bg as the only surface */
.book-demo__inner {
  grid-template-columns: 1fr 1fr !important;
  gap: 80px !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.book-demo__left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-self: center !important;
  max-width: 460px;
}

.book-demo__heading {
  font-size: 44px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.book-demo__desc {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.65) !important;
  margin-bottom: 36px !important;
}
.book-demo__connect-title {
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.85) !important;
  margin-bottom: 18px !important;
}
.book-demo__list { gap: 14px !important; }
.book-demo__list-item {
  font-size: 15px !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.5;
}
.book-demo__list-icon {
  width: 22px !important;
  height: 22px !important;
  background: var(--brand-soft-2) !important;
  border: 1px solid rgba(237,27,54,0.35);
}
.book-demo__list-icon svg path { stroke: var(--brand) !important; }
.book-demo__list-icon svg { width: 11px !important; height: 11px !important; }

/* Form card — single elevated surface, white-on-dark inputs */
.book-demo__form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 20px !important;
  padding: 36px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 60px -24px rgba(0,0,0,0.7),
    0 0 0 1px rgba(237,27,54,0.04) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.book-demo__form-row {
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 14px !important;
}
.book-demo__form-field { margin-bottom: 14px !important; }

.book-demo__form-label {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.01em;
}

.book-demo__form-input,
.book-demo__form-select,
.book-demo__form-textarea {
  width: 100% !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #fff !important;
  font-size: 14px !important;
  border-radius: 10px !important;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}
.book-demo__form-input,
.book-demo__form-select {
  height: 44px !important;
  padding: 0 14px !important;
}
.book-demo__form-textarea {
  min-height: 112px !important;
  padding: 20px 14px !important;
  line-height: 1.55 !important;
  resize: vertical;
}
.book-demo__form-input::placeholder,
.book-demo__form-textarea::placeholder {
  color: rgba(255,255,255,0.28) !important;
}
.book-demo__form-input:hover,
.book-demo__form-select:hover,
.book-demo__form-textarea:hover {
  border-color: rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.045) !important;
}
.book-demo__form-input:focus,
.book-demo__form-select:focus,
.book-demo__form-textarea:focus {
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.05) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) !important;
  outline: none !important;
}
.book-demo__textarea-wrap:focus-within {
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.05) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) !important;
}
.book-demo__form-input.is-error,
.book-demo__form-select.is-error,
.book-demo__form-textarea.is-error {
  border-color: #ED1B36 !important;
  box-shadow: 0 0 0 2px rgba(237,27,54,0.3) !important;
}
.book-demo__form-input.is-error:focus,
.book-demo__form-select.is-error:focus,
.book-demo__form-textarea.is-error:focus {
  border-color: rgba(255,255,255,0.6) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) !important;
}
.book-demo__form-error {
  font-size: 12px !important;
  margin-top: 6px !important;
}

/* Select dropdown — light arrow on dark bg */
.book-demo__form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a0a0a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  padding-right: 36px !important;
}

/* Submit — left aligned, comfortable */
.book-demo__form-submit {
  width: auto !important;
  height: auto !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  padding: 14px 48px !important;
  border-radius: 8px !important;
  margin-top: 20px !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Terms text & char counter — subtle, dark-friendly */
.book-demo__form-card > p {
  color: rgba(255,255,255,0.45) !important;
  font-size: 12px !important;
  margin: 16px 0 16px !important;
  line-height: 1.6 !important;
}
.book-demo__form-card > p a {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.book-demo__form-card > p a:hover { color: #fff !important; border-bottom-color: #fff; }

#bookDemoCharCount {
  color: rgba(255,255,255,0.3) !important;
  font-size: 11px !important;
}

/* Success state matches form card */
.book-demo__form-success {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 20px !important;
  padding: 40px 32px !important;
  min-height: auto !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.book-demo__form-success h2 {
  color: #fff !important;
  font-size: 24px !important;
  margin-bottom: 12px !important;
}
.book-demo__form-success p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 15px !important;
}

@media (max-width: 900px) {
  .book-demo__inner {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .book-demo__left { max-width: 100%; }
  .book-demo__heading { font-size: 34px !important; }
  .book-demo__desc { margin-bottom: 28px !important; }
}
@media (max-width: 480px) {
  .book-demo__form-card { padding: 24px !important; border-radius: 16px !important; }
  .book-demo__form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .book-demo__form-row > div { margin-bottom: 14px; }
  .book-demo__heading { font-size: 28px !important; }
  .book-demo__desc { font-size: 15px !important; }
}

/* ========================================================================
   FOOTER — Uniform across all pages
   Footer always spans the full viewport width (no sidebar offset). Its inner
   content sits in a centered max-1200px container so columns line up
   identically on every page regardless of whether a sidebar exists.
   ======================================================================== */

.footer {
  margin-left: 0 !important;
  padding: 20px 0 0 !important;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* On pages with a sidebar layout, offset footer past the fixed sidebar */
.layout ~ .footer {
  margin-left: 256px !important;
}

/* Inner grid + bottom row both centered, max-width 1200px, 40px gutter */
.footer .container.footer__grid,
.footer .container.footer__bottom {
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: 40px !important;
  width: 100% !important;
}

.footer__grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

.footer__bottom {
  margin-top: 56px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-top: none !important;
  display: flex !important;
  justify-content: center !important;
}

.footer__copy {
  font-size: 13px !important;
  color: rgba(255,255,255,0.45) !important;
  margin: 0 !important;
}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__contact-row svg { flex-shrink: 0; }
.footer__contact-row > div p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .footer { padding: 56px 0 0 !important; }
  .layout ~ .footer { margin-left: 0 !important; }
  .footer .container.footer__grid,
  .footer .container.footer__bottom {
    padding-inline: 24px !important;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { margin-top: 40px !important; padding: 20px 0 !important; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr !important; }
}

/* ========================================================================
   PLAYGROUND (developer.html) — Cluttered → Calm
   These rules override the inline <style> block at the top of the file
   (loaded after link rel=stylesheet, so we need !important to win).
   ======================================================================== */

/* ---- Sidebar (Mintlify-style rhythm) ---------------------------------- */
.layout .sb {
  padding: 40px 16px 8px !important;
}
.layout .sb__sec {
  margin-bottom: 0 !important;
}
.layout .sb__sec + .sb__sec { margin-top: 24px !important; }
.layout .sb__lb {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #fff !important;
  padding: 0 10px !important;
  margin-bottom: 8px !important;
}
.layout .sb__ln {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  padding: 6px 10px !important;
  margin: 1px 0 !important;
  border-radius: 6px !important;
  color: rgba(255,255,255,0.62) !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.layout .sb__ln:hover {
  background: rgba(255,255,255,0.04) !important;
  color: #ffffff !important;
}
.layout .sb__ln.on {
  background: rgba(237,27,54,0.10) !important;
  color: var(--brand) !important;
  font-weight: 500 !important;
}
.layout .sb__ln.on::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 6px !important;
  bottom: 6px !important;
  width: 2px !important;
  background: var(--brand) !important;
  border-radius: 1px !important;
}
.layout .sb__help {
  margin: 28px 6px 0 !important;
  padding: 14px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.025) !important;
  border-color: rgba(255,255,255,0.06) !important;
}
.layout .sb__ht { font-size: 11px !important; margin-bottom: 6px !important; letter-spacing: 0.06em !important; }
.layout .sb__hb { font-size: 12px !important; margin-bottom: 8px !important; line-height: 1.5 !important; }
.layout .sb__hl { font-size: 12px !important; }

/* ---- Page rhythm: hero → caps → categories → service blocks ---- */
.developer-page .main,
body:has(.layout) .main { padding: 32px 40px 80px 48px !important; }

.developer-page .hero,
.layout .hero {
  padding: 40px 40px !important;
  margin-bottom: 56px !important;
  border-radius: 18px !important;
}
.layout .hero h1 { font-size: 44px !important; line-height: 1.12 !important; margin-bottom: 16px !important; }
.layout .hero p { font-size: 16px !important; max-width: 640px !important; margin-bottom: 24px !important; line-height: 1.6 !important; }

/* The "Key capabilities" mini-header sat with margin-bottom:8px crammed
   against the cap grid. Give it real breathing room. */
.layout .main > div:has(> h3 + p) { margin-top: 0px !important; margin-bottom: 16px !important; }
.layout .main > div > h3 { font-size: 32px !important; font-weight: 600 !important; margin-bottom: 6px !important; letter-spacing: -0.01em; }
.layout .main > div > h3 + p { font-size: 18px !important; color: #ffffff99 !important; margin-bottom: 0 !important; }

.layout .caps { gap: 16px !important; margin-bottom: 80px !important; }
@media (max-width: 900px) {
  .layout .caps { margin-bottom: 0 !important; }
}
.layout .cap { padding: 22px !important; border-radius: 12px !important; }
.layout .cap h4 { font-size: 14px !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.layout .cap p { font-size: 13px !important; line-height: 1.55 !important; margin-bottom: 0 !important; }

/* ---- Category banner: real heading, not eyebrow text ----
   Mimics Stripe/Mintlify section dividers — bold white H2 with a thin rule. */
.layout .cat {
  margin-top: 96px !important;
  margin-bottom: 32px !important;
  padding-bottom: 14px !important;
  border-bottom: none !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 14px !important;
}
.layout .cat__e { display: inline-flex !important; align-items: baseline !important; gap: 0 !important; margin: 0 !important; }
.layout .cat__et {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: #fff !important;
}
.layout .cat__et span { font-weight: 700 !important; color: #fff !important; }

/* ---- Service section: clearer hierarchy ---- */
.layout .svc {
  margin-bottom: 88px !important;
  padding: 0 !important;
  scroll-margin-top: 80px;
}
.layout .svc h3 {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
  color: #fff !important;
}
.layout .svc > p {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.65) !important;
  max-width: 100% !important;
  margin-bottom: 36px !important;       /* breathing room before capabilities */
}

/* ---- Capabilities: feature-tile grid (Stripe / Algolia / Mapbox docs) ----
   Drop the wrapping card. The capabilities ARE the cards. Each <li> becomes a
   small surface with a brand corner accent. */
.layout .detail-grid { margin-bottom: 36px !important; gap: 0 !important; }
.layout .detail-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.layout .detail-card {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 22px 24px !important;
  display: block !important;
}
.layout .detail-card__hd {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255,255,255,1) !important;
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.layout .detail-card__hd svg { width: 14px !important; height: 14px !important; opacity: 0.7; }

/* Capability bullets — 2-col grid with brand-red dash markers */
.layout .detail-list {
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px 32px !important;
}
.layout .detail-list li {
  display: block !important;
  padding: 0 0 0 24px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.72) !important;
  position: relative;
}
.layout .detail-list li::before {
  content: '\2605' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 14px !important;
  height: auto !important;
  text-align: center !important;
  background: none !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  border: none !important;
  border-radius: 0 !important;
}
.layout .detail-list li::after { display: none !important; }
@media (max-width: 720px) {
  .layout .detail-list { grid-template-columns: 1fr !important; gap: 10px !important; }
}

/* ---- The Playground card (.pg) — uniform dark surface, 16px radius ---- */
.layout .pg {
  margin-top: 16px !important;
  border-radius: 14px !important;
  border-color: rgba(255,255,255,0.08) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 12px 28px -12px rgba(0,0,0,0.5) !important;
}

/* ---- Header bar: title + 2 chip buttons + LIVE pill, all aligned ---- */
.layout .pg__hd {
  background: #0e0e10 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  gap: 12px;
}
.layout .pg__tl { font-size: 13px !important; font-weight: 600 !important; color: #fff !important; }
.layout .pg__hr { gap: 6px !important; align-items: center; flex-wrap: nowrap; }

/* Unified mini chip-button — applies to BOTH the API Ref <a> and Copy cURL <button>.
   Targets the inline-styled <a href*="reference"> in pg__hr (the inline style="font-size:11px;..."
   on those <a> tags is overridden via !important). */
.layout .pg__hr .copy-curl-btn,
.layout .pg__hr > a[href*="reference"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 28px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 6px !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  font-family: var(--f-sans) !important;
  white-space: nowrap !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  opacity: 1 !important;
}
.layout .pg__hr .copy-curl-btn:hover,
.layout .pg__hr > a[href*="reference"]:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.18) !important;
  color: #fff !important;
}
.layout .pg__hr .copy-curl-btn svg,
.layout .pg__hr > a[href*="reference"] svg {
  width: 12px !important; height: 12px !important;
  opacity: 0.7;
}
.layout .pg__hr > a[href*="reference"]::after { content: "↗"; font-size: 11px; opacity: 0.5; margin-left: 1px; }

/* LIVE pill — turn it into a proper status chip aligned with the buttons */
.layout .pg__live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 28px !important;
  padding: 0 10px !important;
  background: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.20) !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #4ade80 !important;
}

/* ---- Form column ---- */
.layout .pg__bd { height: 480px !important; }
.layout .pg__fm { width: 280px !important; padding: 18px !important; }
.layout .pg__ft {
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.08em !important; margin-bottom: 14px !important;
  color: rgba(255,255,255,0.45) !important;
}
.layout .fld { margin-bottom: 12px !important; }
.layout .fld label { font-size: 11px !important; font-weight: 500 !important; margin-bottom: 6px !important; letter-spacing: 0.02em; }
.layout .fld input,
.layout .fld select,
.layout .fld textarea {
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.layout .fld textarea { height: auto !important; min-height: 64px !important; padding: 10px 12px !important; line-height: 1.5; }
.layout .fld input:focus,
.layout .fld select:focus,
.layout .fld textarea:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 1px #ffffff !important;
}

/* RUN button — match unified system, not the old 90% match */
.layout .run {
  height: 40px !important;
  padding: 0 16px !important;
  margin-top: 48px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  background: var(--brand) !important;
}
.layout .run:hover { background: var(--brand-hover) !important; }

/* ---- Response panel: extend column to bottom, compact empty state ---- */
.layout .pg__rs {
  width: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #0a0a0a;
}
.layout .rs__jn {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 20px !important;
  overflow-y: auto !important;
}
.layout .rs__jn h4 {
  flex: 0 0 auto !important;
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.08em !important; margin-bottom: 14px !important;
  color: rgba(255,255,255,0.45) !important;
}
/* Wrapper around either empty-state or response body */
.layout .rs__jn > .rs__out {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}
.layout .rs__pre,
.layout .rs__url,
.layout .rs__curl {
  background: #0d1117 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  font-family: var(--f-mono) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  color: #e6edf3 !important;
}
.layout .rs__pre {
  flex: 1 1 auto !important;
  max-height: none !important;
  overflow-y: auto !important;
}
.layout .rs__curl { color: #79c0ff !important; }

/* Empty state — roomy card, centered in available space (not stretched) */
.layout .rs__em {
  flex: 1 1 auto !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 28px !important;
  border: 1px dashed rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.02);
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: .05em !important;
  color: rgba(255,255,255,0.4) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.55;
}
.layout .rs__em b { color: rgba(255,255,255,0.9) !important; font-weight: 600; }

/* ---- MCP section: unify code blocks with the rest ---- */
.layout .mcp-hero { padding: 32px !important; border-radius: 16px !important; gap: 28px !important; }
.layout .mcp-hero h1 { font-size: 32px !important; line-height: 1.15 !important; }

.layout .mcp-token-card { padding: 28px !important; border-radius: 14px !important; }
.layout .mcp-code-block { border-radius: 10px !important; margin-bottom: 16px !important; background: #0d1117 !important; }
.layout .mcp-code-block__head { padding: 8px 14px !important; }
.layout .mcp-code-block__body { padding: 14px 16px !important; font-size: 12.5px !important; line-height: 1.6 !important; }

.layout .mcp-token-display { border-radius: 8px !important; background: #0d1117 !important; }
.layout .mcp-token-value { font-size: 12px !important; padding: 10px 12px !important; }
.layout .mcp-icon-btn { padding: 0 12px !important; font-size: 11px !important; }
.layout .mcp-icon-btn--solid { padding: 8px 16px !important; font-size: 13px !important; }

/* MCP tabs — tighter, matched to playground header chips */
.layout .mcp-tabs { padding: 3px !important; border-radius: 8px !important; margin-bottom: 12px !important; }
.layout .mcp-tab { padding: 6px 12px !important; font-size: 12px !important; }

/* Iso tab pills — same chip language */
.layout .iso-tab {
  height: 28px !important;
  padding: 0 12px !important;
  font-size: 11px !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,0.04) !important;
  color: rgba(255,255,255,0.6) !important;
}
.layout .iso-tab:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; }
.layout .iso-tab--active { background: var(--brand) !important; color: #fff !important; }
.layout .iso-tab--active:hover { background: var(--brand-hover) !important; }

/* MCP info / tool / walkthrough cards — uniform 12-14px gaps and radii */
.layout .mcp-info-card { padding: 22px !important; border-radius: 12px !important; }
.layout .mcp-tool { padding: 18px !important; border-radius: 12px !important; }
.layout .mcp-walk__card { padding: 22px !important; border-radius: 14px !important; }
.layout .mcp-cta { padding: 22px 28px !important; border-radius: 14px !important; }

/* ---- Mobile playground — keep playground card readable ---- */
@media (max-width: 900px) {
  .layout .hero { padding: 28px 22px !important; margin-bottom: 36px !important; }
  .layout .hero h1 { font-size: 28px !important; }
  .layout .hero p { font-size: 14px !important; }
  .layout .pg__bd { height: auto !important; }
  .layout .pg__fm { width: 100% !important; }
  .layout .pg__rs { width: 100% !important; }
  .layout .svc h3 { font-size: 26px !important; }
  .layout .svc { margin-bottom: 48px !important; }
  .layout .cat { margin-top: 56px !important; }
  .layout .pg__hd { padding: 10px 12px !important; }
  .layout .pg__hr .copy-curl-btn,
  .layout .pg__hr > a[href*="reference"] { height: 26px !important; padding: 0 8px !important; font-size: 10px !important; }
}

/* Force white focus on contact/book-demo form inputs — overrides all error states */
.contact__form-input:focus,
.contact__form-select:focus,
.contact__form-textarea:focus,
.contact__form-input.is-error:focus,
.contact__form-select.is-error:focus,
.contact__form-textarea.is-error:focus {
  border-color: rgba(255,255,255,0.6) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3) !important;
  outline: none !important;
}

/* ========================================
   Mobile UI Fixes (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  /* 1. Keep hamburger + logo together on the left, actions on the right */
  .header__inner {
    align-items: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .header__hamburger {
    order: -2 !important;
    margin-right: 12px !important;
  }
  /* Vertically centre the Delhivery wordmark against the hamburger. The logo
     is a column (wordmark + "Beta" below); counting Beta in the layout pushes
     the wordmark above the hamburger's centre. Take Beta out of flow so the
     wordmark itself centres, with Beta still hanging below-right like desktop. */
  .header__logo {
    order: -1 !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 0 !important;
    position: relative !important;
    min-width: 0;
  }
  .header__logo-img {
    max-width: none !important;
    height: 20px !important;
    margin-top: 5px;
  }
  .header__beta {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 1px !important;
  }
  .header__actions {
    margin-left: auto !important;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Hide login button, keep Book a Demo compact */
  .header__auth-btn {
    display: none !important;
  }
  .header__actions .header__contact,
  .header__actions .shimmer-btn {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }

  /* 2. Hamburger dropdown — full screen overlay, prevent cropping.
     The desktop base rule positions the nav with transform:translateX(-50%);
     we must reset it here or the full-width panel slides off-screen left. */
  .header__nav {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: calc(100vh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 20px 24px 32px !important;
    box-sizing: border-box !important;
  }

  /* Prevent body scroll when nav is open */
  body:has(.header__nav.is-open) {
    overflow: hidden !important;
  }
  /* Long API Reference submenu labels (e.g. "Address Standardisation") wrap
     instead of being clipped by the nowrap desktop rule. */
  .header__nav-menu-link {
    white-space: normal !important;
  }

  /* 3. Footer — vertically centre the mail icon with the email text */
  .footer__contact-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .footer__contact-row svg {
    flex-shrink: 0 !important;
  }

  /* 4. Book a Demo / Contact Us — keep header visible */
  .book-demo {
    scroll-padding-top: 80px;
  }
  .book-demo__heading {
    font-size: 28px !important;
    padding-top: 0 !important;
  }
  .book-demo__inner {
    padding-top: 16px !important;
  }

  /* 5. Terms & policy — prevent text cropping in modals */
  #auth-phone-modal-overlay > div,
  #auth-otp-modal-overlay > div {
    max-width: 92vw !important;
    margin: 0 auto;
  }
  #auth-phone-modal-overlay label,
  #auth-otp-modal-overlay label {
    white-space: normal !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  /* Modal action buttons (Cancel / Get OTP / Verify): the two fixed
     160px buttons + gap overflow narrow screens and crop the Cancel
     button. Let them shrink and share the row evenly instead. */
  #auth-phone-cancel,
  #auth-phone-otp,
  #auth-otp-modal-overlay button[id$="cancel"],
  #auth-otp-modal-overlay button[id$="verify"] {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Playground + API Reference footer spacing — match the homepage exactly.
   Home gap = book-demo padding-bottom (var(--section-py)) + footer padding-top (56px).
   Using the same variable here makes the .main bottom gap track the homepage at
   every mobile breakpoint (72px @768, 56px @480), and 56px footer padding-top
   matches the .footer rule the homepage uses. */
@media (max-width: 768px) {
  .layout ~ .footer {
    padding-top: 56px !important;
  }
  /* Match the base rule's selector (body:has(.layout) .main) so this wins on
     source order — a plain .layout .main has lower specificity and loses. */
  .developer-page .main,
  body:has(.layout) .main {
    padding-bottom: var(--section-py) !important;
  }
}

/* Mobile: Address output card on map (RVG + Standardise) */
@media (max-width: 768px) {
  .pg__mp {
    position: relative !important;
  }
  .std-addr-card {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: 85% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: 60px !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .std-addr-card div {
    font-size: 12px !important;
    line-height: 16px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
}

/* Fix autofill white background on Book a Demo form inputs */
.book-demo__form-input:-webkit-autofill,
.book-demo__form-input:-webkit-autofill:hover,
.book-demo__form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.03) inset !important;
  -webkit-text-fill-color: #fff !important;
  background-color: rgba(255,255,255,0.03) !important;
  transition: background-color 5000s ease-in-out 0s !important;
  caret-color: #fff !important;
}
