/* ==========================================================================
   VeKtra Automation — Dark Tech Design System (Inspired by Magic UI / PulpSense)
   ========================================================================== */

:root {
  /* Color Palette - Dark Canvas (PulpSense / Magic UI Palette) */
  --bg-main: #09090b;
  --bg-surface: #121215;
  --bg-card: rgba(24, 24, 27, 0.7);
  --bg-card-hover: rgba(39, 39, 42, 0.85);
  --bg-accent-pill: rgba(24, 24, 27, 0.8);

  /* Primary Brand & Glow Accents */
  --color-primary: #f8fafc;
  --color-primary-muted: #a1a1aa;
  --color-secondary: #7047eb;          /* PulpSense Electric Violet */
  --color-secondary-hover: #5d35d9;
  --color-accent-purple: #b395ff;      /* PulpSense Theme Accent Lavender */
  --color-accent-cyan: #b395ff;        /* Mapped to Lavender for unified violet brand */
  --color-accent-amber: #f59e0b;       /* Warm Gold/Amber for hero underline & rating stars */
  --color-accent-indigo: #6366f1;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: #27272a;
  --border-focus: rgba(179, 149, 255, 0.5);
  --border-active: rgba(112, 71, 235, 0.45);

  /* Shadows & Highlights */
  --shadow-inset-button: inset 0 1px 2px rgba(255, 255, 255, 0.25),
                         0 3px 6px -1.5px rgba(0, 0, 0, 0.4),
                         0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(112, 71, 235, 0.25);

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Geist", Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --letter-spacing-tight: -0.03em;
  --letter-spacing-tighter: -0.05em;

  /* Layout */
  --container-max-width: 1200px;
  --container-narrow: 840px;
  --header-height: 72px;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Mode Design Tokens & Variable Overrides (RF-4b)
   ========================================================================== */

html.light {
  color-scheme: light;
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(241, 245, 249, 1);
  --bg-accent-pill: rgba(0, 0, 0, 0.04);

  --color-primary: #0f172a;
  --color-primary-muted: #64748b;
  --color-secondary: #7047eb;
  --color-secondary-hover: #5d35d9;
  --color-accent-purple: #7047eb;
  --color-accent-cyan: #7047eb;
  --color-accent-amber: #f59e0b;
  --color-accent-indigo: #6366f1;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.1);
  --border-focus: rgba(112, 71, 235, 0.5);
  --border-active: rgba(112, 71, 235, 0.35);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 25px rgba(112, 71, 235, 0.15);
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-main);
  color: var(--color-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background Atmospheric Canvas (Radial Glow) */
.page-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}

/* Vertical guide lines (matching PulpSense design engineering) */
.guide-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--border-subtle) 5%, var(--border-subtle) 95%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.guide-line--left { left: 1rem; }
.guide-line--right { right: 1rem; }

@media (min-width: 768px) {
  .guide-line--left { left: 2.5rem; }
  .guide-line--right { right: 2.5rem; }
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  position: relative;
  z-index: 2;
}

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

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-tighter);
}

.text-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan,
.text-gradient-purple {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Buttons (matching PulpSense exact styling) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 42px;
  padding: 0 var(--space-6);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  outline: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--color-secondary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-inset-button);
}

.btn--primary:hover {
  background-color: var(--color-secondary-hover);
  box-shadow: 0 0 20px rgba(112, 71, 235, 0.45), var(--shadow-inset-button);
}

.btn--secondary {
  background-color: #18181b;
  color: #f4f4f5;
  border: 1px solid #27272a;
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background-color: #27272a;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

html.light .btn--secondary {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}

html.light .btn--secondary:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn--sm {
  height: 36px;
  padding: 0 var(--space-4);
  font-size: 0.8125rem;
}

/* Badge Pill (PulpSense hero element) */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 32px;
  padding: 0 var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: rgba(24, 24, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f4f5;
  backdrop-filter: blur(8px);
}

.badge-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-purple);
  box-shadow: 0 0 8px var(--color-accent-purple);
}

html.light .badge-pill {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

/* Glass Card Component */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: var(--space-6);
  transition: border-color var(--transition-normal), transform var(--transition-normal), background-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card-glass:hover {
  border-color: var(--border-card);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Section Header Shared Component */
.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
  position: relative;
  z-index: 2;
}

.section-header .badge-pill,
.section-header__badge {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: var(--space-5) !important;
}

.section-header__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.22;
  margin-top: 0;
  margin-bottom: var(--space-4);
  color: #ffffff;
}

html.light .section-header__title {
  color: #0f172a;
}

.section-header__subtitle {
  color: var(--color-primary-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Links & Accessibility */
a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

/* ==========================================================================
   Header & Navigation (Floating Pill Style — PulpSense Inspired)
   ========================================================================== */

.header-floating {
  position: sticky;
  top: 1rem;
  z-index: 50;
  width: 100%;
  padding: 0 var(--space-4);
  transition: all var(--transition-normal);
}

.header-floating__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  background: rgba(18, 18, 21, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-normal), background-color var(--transition-normal);
}

.header-floating--scrolled .header-floating__inner {
  background: rgba(18, 18, 21, 0.92);
  border-color: var(--border-card);
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  transition: transform var(--transition-normal);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-logo__img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(179, 149, 255, 0.35));
  transition: filter var(--transition-normal), transform var(--transition-normal);
}

@media (min-width: 768px) {
  .brand-logo__img {
    height: 44px;
    max-width: 210px;
    filter: drop-shadow(0 0 14px rgba(179, 149, 255, 0.45));
  }
}

.brand-logo:hover .brand-logo__img {
  filter: drop-shadow(0 0 20px rgba(112, 71, 235, 0.75));
}

.brand-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-logo__accent {
  color: var(--color-accent-cyan);
}

/* Desktop Nav Links Pill */
.nav__desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav__desktop {
    display: flex;
    align-items: center;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-muted);
  border-radius: 9999px;
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
  position: relative;
}

.nav__link:hover {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__link.nav__link--active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.3);
}

html.light .nav__link.nav__link--active {
  color: #0f172a !important;
  background-color: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
}

.nav__mobile-link--active {
  color: var(--color-accent-cyan) !important;
  font-weight: 600;
}

/* Right Actions (CTA & Toggle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme Toggle Button (RF-4b) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--color-primary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-focus);
  transform: scale(1.06);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Dark mode (default): show sun icon, hide moon icon */
.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--color-accent-amber);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* Light mode overrides */
html.light .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

html.light .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--color-secondary);
}

html.light .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

html.light .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: var(--color-secondary);
}

/* Light Mode Aesthetic Overrides across components */
html.light .header-floating__inner {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
}

html.light .header-floating--scrolled .header-floating__inner {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.12);
}

html.light .brand-logo__img {
  filter: invert(0.92) drop-shadow(0 0 8px rgba(112, 71, 235, 0.3));
}

html.light .brand-logo:hover .brand-logo__img {
  filter: invert(0.92) drop-shadow(0 0 16px rgba(112, 71, 235, 0.6));
}

html.light .guide-line {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 5%, rgba(0, 0, 0, 0.04) 95%, transparent 100%);
}

html.light .hero__gradient {
  background: radial-gradient(125% 125% at 50% 10%, #ffffff 40%, rgba(179, 149, 255, 0.22) 100%);
}

html.light .text-gradient {
  background: linear-gradient(180deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .text-gradient-cyan,
html.light .text-gradient-purple {
  background: linear-gradient(135deg, #0f172a 30%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .n8n-showcase,
html.light .browser-mockup,
html.light .ai-prompt-box,
html.light .consulting-item,
html.light .case-card__stats {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .bento-card--automation {
  --card-spotlight-border: rgba(2, 132, 199, 0.75);
  --card-spotlight-bg: rgba(2, 132, 199, 0.08);
}

html.light .bento-card--web {
  --card-spotlight-border: rgba(147, 51, 234, 0.75);
  --card-spotlight-bg: rgba(147, 51, 234, 0.08);
}

html.light .bento-card--consulting {
  --card-spotlight-border: rgba(79, 70, 229, 0.75);
  --card-spotlight-bg: rgba(79, 70, 229, 0.06);
}

html.light .ai-response-box {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

html.light .ai-response-box__body {
  color: #334155;
}

html.light .ai-response-box__body strong {
  color: #0f172a;
}

html.light .ai-citation-chip,
html.light .case-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

html.light .bento-feature-item,
html.light .web-benefit-item {
  color: #334155;
}

html.light .case-card__text {
  color: #475569;
}

html.light .process-card__icon-box {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .pipeline-step {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .marquee-section {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

html.light .tech-logo {
  color: #475569;
}

html.light .tech-logo:hover {
  color: #0f172a;
}

html.light .nav__mobile {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .nav__toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Mobile Hamburger Toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-card);
}

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

.nav__toggle-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Mobile Dropdown Drawer */
.nav__mobile {
  position: absolute;
  top: calc(100% + 8px);
  left: var(--space-4);
  right: var(--space-4);
  background: rgba(14, 19, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-normal);
  z-index: 49;
}

.nav__mobile--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__mobile-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.nav__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary-muted);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.nav__mobile-link:hover,
.nav__mobile-link:active {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav__mobile-cta {
  margin-top: var(--space-4);
  width: 100%;
}

/* ==========================================================================
   Hero Section (PulpSense / Magic UI Layout)
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--space-16);
    padding-bottom: var(--space-24);
  }
}

.hero__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(125% 125% at 50% 10%, #09090b 40%, rgba(112, 71, 235, 0.55) 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero__badge {
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: var(--letter-spacing-tighter);
  margin-bottom: var(--space-6);
  color: #ffffff;
  max-width: 940px;
}

html.light .hero__title {
  color: #0f172a;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--color-primary-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: var(--space-8);
}

.hero__highlight {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  font-weight: 500;
  white-space: nowrap;
}

.hero__underline-svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 10px;
  pointer-events: none;
  overflow: visible;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 440px;
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
  }
}

/* Social Proof in Hero */
.hero__social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 10;
}

.avatar-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.avatar-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #09090b;
  margin-left: -10px;
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.2s ease;
  position: relative;
}

.avatar-item:hover {
  transform: translateY(-3px) scale(1.12);
  z-index: 20;
}

.avatar-item:first-child {
  margin-left: 0;
}

.avatar-item--count {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: default;
}

html.light .avatar-item {
  border-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html.light .avatar-item--count {
  background: rgba(112, 71, 235, 0.12);
  border-color: rgba(112, 71, 235, 0.25);
  color: #5b21b6;
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  margin-top: 0.25rem;
}

.rating-stars svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-proof__caption {
  font-size: 0.875rem;
  color: var(--color-primary-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

html.light .social-proof__caption {
  color: #64748b;
}

/* ==========================================================================
   Tech Marquee Section (Social Proof / Tech Stack)
   ========================================================================== */

.marquee-section {
  width: 100%;
  padding: var(--space-8) 0 var(--space-12);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 19, 34, 0.3);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.marquee-section__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-muted);
  margin-bottom: var(--space-6);
  opacity: 0.8;
}

.marquee-dual-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--space-2) 0;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.tech-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  color: #94a3b8;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.tech-logo:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.tech-logo__icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.tech-logo__icon--wide {
  width: 34px;
  height: 20px;
}

.tech-logo__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

html.light .tech-logo {
  color: #64748b;
}

html.light .tech-logo:hover {
  color: #0f172a;
}

/* ==========================================================================
   Bento Grid Services Section (Protagonist Services: Automation & Web Dev)
   ========================================================================== */

.services-section {
  padding: 4.5rem 0 5rem;
  position: relative;
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Ambient backdrop aura making the services section pop */
.services-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  max-width: 92vw;
  height: 540px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.09) 0%, rgba(168, 85, 247, 0.07) 42%, transparent 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  width: 100%;
}

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

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

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

  .bento-card--consulting {
    grid-column: span 12;
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

/* Base top subtle line */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
  opacity: 0.5;
  transition: opacity var(--transition-normal);
}

/* Ambient Radial Glow following the cursor */
.bento-card__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    560px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    var(--card-spotlight-bg, rgba(56, 189, 248, 0.12)),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

/* Luminous Border Spotlight following the cursor */
.bento-card__spotlight-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    380px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    var(--card-spotlight-border, rgba(56, 189, 248, 0.85)),
    transparent 55%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 10;
}

.bento-card:hover .bento-card__glow,
.bento-card:hover .bento-card__spotlight-border {
  opacity: 1;
}

.bento-card:hover {
  border-color: var(--border-card);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.75), 0 0 32px var(--card-spotlight-bg, rgba(56, 189, 248, 0.1));
}

.bento-card--automation {
  --card-spotlight-border: rgba(56, 189, 248, 0.95);
  --card-spotlight-bg: rgba(56, 189, 248, 0.13);
}

.bento-card--web {
  --card-spotlight-border: rgba(192, 132, 252, 0.95);
  --card-spotlight-bg: rgba(168, 85, 247, 0.13);
}

.bento-card--consulting {
  --card-spotlight-border: rgba(129, 140, 248, 0.95);
  --card-spotlight-bg: rgba(99, 102, 241, 0.10);
}

.bento-card__inner {
  position: relative;
  z-index: 1;
}

.bento-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem; /* Separación y armonía visual con el título */
  font-size: 0.72rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bento-card__badge--cyan {
  background: rgba(56, 189, 248, 0.08);
  color: var(--color-accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.bento-card__badge--purple {
  background: rgba(168, 85, 247, 0.08);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.bento-card__badge--subtle {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary-muted);
  border: 1px solid var(--border-subtle);
}

/* On Card Hover: Highlight Especialidad Principal badge with vibrant yellow / golden light */
.bento-card:hover .bento-card__badge {
  background: rgba(245, 158, 11, 0.16);
  color: #fef08a;
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45), 0 0 35px rgba(251, 191, 36, 0.22);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
  transform: translateY(-1px) scale(1.02);
}

html.light .bento-card:hover .bento-card__badge {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  text-shadow: none;
}

.bento-card__title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
  margin-top: 0;
  margin-bottom: var(--space-4);
  line-height: 1.25;
}

.bento-card__desc {
  color: var(--color-primary-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.bento-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.bento-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: #e2e8f0;
}

.bento-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-cyan);
  flex-shrink: 0;
}

/* n8n Workflow Engine Showcase (replaces previous pipeline mockup) */
.n8n-showcase {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  margin-top: auto;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card:hover .n8n-showcase {
  border-color: rgba(234, 75, 113, 0.4);
  box-shadow: 0 4px 20px -5px rgba(234, 75, 113, 0.22);
}

.n8n-showcase__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.n8n-showcase__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.n8n-showcase__logo-box {
  width: 54px;
  height: 38px;
  border-radius: 10px;
  background: rgba(234, 75, 113, 0.12);
  border: 1px solid rgba(234, 75, 113, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(234, 75, 113, 0.22);
  padding: 4px;
}

.n8n-logo-svg {
  width: 38px;
  height: 20px;
  display: block;
}

.n8n-showcase__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.n8n-showcase__brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.n8n-showcase__tagline {
  font-size: 0.75rem;
  color: var(--color-primary-muted);
}

.n8n-showcase__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

/* Micro-Mockup Web Browser */
.browser-mockup {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.9rem 1.15rem;
  margin-top: auto;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card:hover .browser-mockup {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 20px -5px rgba(168, 85, 247, 0.22);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-stats {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
}

.stat-highlight {
  color: #4ade80;
  font-weight: 600;
}

/* Consulting Columns */
.consulting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

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

.consulting-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: var(--space-4);
}

.consulting-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-primary);
}

.consulting-item__desc {
  font-size: 0.8125rem;
  color: var(--color-primary-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Web Presence & Digital Architecture (RF-12)
   ========================================================================== */

.web-presence {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 189, 248, 0.04) 0%, transparent 100%);
}

.web-presence__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
}

@media (min-width: 1024px) {
  .web-presence__hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
  }
}

.web-presence__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tighter);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.web-presence__description {
  color: var(--color-primary-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.web-presence__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.web-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: #e2e8f0;
}

.web-benefit-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* AI Discovery Mockup Scene */
.web-presence__visual {
  position: relative;
}

.ai-scene-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

@media (min-width: 640px) {
  .ai-scene-card {
    padding: var(--space-6);
  }
}

.ai-scene-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.ai-scene-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
}

.ai-scene-card__status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.ai-scene-card__badge {
  font-size: 0.75rem;
  color: var(--color-accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 500;
}

.ai-prompt-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.ai-prompt-box__label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-primary-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

.ai-prompt-box__text {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-style: italic;
}

.ai-response-box {
  background: linear-gradient(145deg, rgba(14, 20, 36, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: var(--space-5);
  position: relative;
}

.ai-response-box__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.ai-icon-chip {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-icon-chip svg {
  width: 14px;
  height: 14px;
}

.ai-response-box__source {
  font-size: 0.75rem;
  color: var(--color-accent-cyan);
  font-weight: 600;
}

.ai-response-box__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: var(--space-4);
}

.ai-citation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.ai-citation-chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

/* 4 Architectural Pillars Grid */
.web-presence__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: var(--space-6);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  background-color: var(--bg-card-hover);
}

.pillar-card__icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.pillar-card__icon-box svg {
  width: 20px;
  height: 20px;
}

.pillar-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.pillar-card__desc {
  font-size: 0.875rem;
  color: var(--color-primary-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Case Studies & Quantitative Metrics Section (RF-13)
   ========================================================================== */

.case-studies {
  padding: 3.5rem 0 4.5rem;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
}

.case-studies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

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

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

@media (min-width: 640px) {
  .case-card {
    padding: var(--space-8);
  }
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.case-card__header {
  margin-bottom: var(--space-6);
}

.case-card__company {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-2);
}

.case-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.35;
  color: var(--color-primary);
}

/* Quantitative Stats Grid */
.case-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat__value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, var(--color-accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.case-stat__label {
  font-size: 0.75rem;
  color: var(--color-primary-muted);
  font-weight: 500;
}

.case-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.case-card__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* ==========================================================================
   Process Section: 4-Step Methodology (RF-14)
   ========================================================================== */

.process {
  padding: var(--space-24) 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56, 189, 248, 0.03) 0%, transparent 100%);
}

.process__wrapper {
  position: relative;
  margin-top: var(--space-12);
}

.process__line {
  display: none;
}

@media (min-width: 1024px) {
  .process__line {
    display: block;
    position: absolute;
    top: 48px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(56, 189, 248, 0.2) 100%);
    z-index: 1;
  }
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

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

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

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

@media (min-width: 640px) {
  .process-card {
    padding: var(--space-6);
  }
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.process-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.process-card__number {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--color-accent-cyan);
  opacity: 0.85;
}

.process-card__icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.process-card__icon-box svg {
  width: 18px;
  height: 18px;
}

.process-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.3;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.process-card__desc {
  font-size: 0.875rem;
  color: var(--color-primary-muted);
  line-height: 1.55;
  margin-bottom: var(--space-5);
  flex-grow: 1;
}

.process-card__meta {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

.process-meta-badge {
  font-size: 0.75rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

/* ==========================================================================
   Integrations Section (#integrations — PulpSense Signature Squircle Marquee)
   ========================================================================== */

.integrations-section {
  padding: var(--space-20) 0;
  position: relative;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (min-width: 768px) {
  .integrations-section {
    padding: var(--space-24) 0;
  }
}

.tools-marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--space-6) 0;
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.tools-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.tool-tile {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  color: #94a3b8;
  cursor: pointer;
  position: relative;
}

.tool-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #f8fafc;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 255, 255, 0.08);
}

.tool-tile svg {
  width: 32px;
  height: 32px;
  display: block;
}

.integrations-footer {
  text-align: center;
  margin-top: var(--space-8);
  padding: 0 var(--space-4);
}

.integrations-footer__text {
  font-size: 0.9rem;
  color: var(--color-primary-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Light mode for integrations */
html.light .integrations-section {
  border-top-color: rgba(0, 0, 0, 0.06);
}

html.light .tool-tile {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

html.light .tool-tile:hover {
  background: #ffffff;
  border-color: rgba(112, 71, 235, 0.35);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 0 16px rgba(112, 71, 235, 0.12);
}

@media (max-width: 640px) {
  .tool-tile {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }
  .tool-tile svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   FAQ Section (Task 8 - Interactive Accordion)
   ========================================================================== */

.faq-section {
  padding: var(--space-20) 0;
  position: relative;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .faq-section {
    padding: var(--space-24) 0;
  }
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}

.faq-item.faq-item--open {
  border-color: rgba(179, 149, 255, 0.45);
  background: rgba(24, 24, 27, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

html.light .faq-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

html.light .faq-item:hover {
  border-color: rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

html.light .faq-item.faq-item--open {
  border-color: rgba(112, 71, 235, 0.4);
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.faq-trigger:focus-visible {
  box-shadow: inset 0 0 0 2px var(--border-focus);
}

.faq-question {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary-muted);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
}

.faq-item.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-accent-purple);
}

.faq-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.faq-item--open .faq-content {
  opacity: 1;
}

.faq-content__inner {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.925rem;
  line-height: 1.68;
  color: var(--color-primary-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

html.light .faq-content__inner {
  border-top-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Book Call Expectations & Grand Purple CTA Banner (Image 2 - Pulsense Reference)
   ========================================================================== */

.book-call {
  padding-top: var(--space-16);
  padding-bottom: var(--space-6);
}

.book-call__pretitle {
  font-size: 0.95rem;
  color: var(--color-primary-muted);
  margin-bottom: var(--space-3);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.book-call__expectations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 500;
}

.expectation-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.expectation-check {
  color: var(--color-accent-cyan);
  font-weight: 700;
}

.expectation-dot {
  color: var(--color-primary-muted);
  opacity: 0.5;
}

/* Grand CTA Banner (Signature Purple Card with Architectural Geometric Lines) */
.cta-banner {
  padding: var(--space-6) 0 var(--space-20);
}

.cta-banner__card {
  position: relative;
  border-radius: 24px;
  padding: var(--space-16) var(--space-6);
  background: #7047eb;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(112, 71, 235, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-banner__card {
    padding: var(--space-20) var(--space-12);
    min-height: 420px;
  }
}

.cta-banner__bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.cta-banner__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 90%;
  height: 160%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-tighter);
  line-height: 1.08;
  color: #ffffff;
  max-width: 720px;
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 2;
  text-wrap: balance;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.cta-banner__btn {
  background-color: #ffffff;
  color: #09090b;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.cta-banner__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  background-color: #f8fafc;
}

.cta-banner__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin-top: var(--space-2);
}

.cta-banner__note-highlight {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   Footer & Dot-Matrix Canvas (Image 1)
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-12);
  padding-bottom: 0;
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-8);
  font-size: 0.875rem;
  color: var(--color-primary-muted);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__link {
  color: var(--color-primary-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer__divider {
  color: var(--border-card);
}

/* Dotted Typography Matrix Canvas (Image 1) */
.footer-matrix {
  position: relative;
  width: 100%;
  height: 160px;
  margin-top: var(--space-4);
  overflow: hidden;
}

@media (min-width: 768px) {
  .footer-matrix {
    height: 220px;
  }
}

.footer-matrix__fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, var(--bg-surface) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.footer-matrix__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-matrix__canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* ==========================================================================
   AI SEO & Search Discovery Section (PulpSense Signature Feature)
   ========================================================================== */

.ai-seo-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (min-width: 768px) {
  .ai-seo-section {
    padding: 5rem 0 4rem;
  }
}

.ai-seo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 992px) {
  .ai-seo-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-12);
  }
}

.ai-seo__content {
  display: flex;
  flex-direction: column;
}

.ai-seo__badge {
  margin-bottom: var(--space-4);
  width: fit-content;
}

.ai-seo__title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-tighter);
  color: #ffffff;
  margin-bottom: var(--space-4);
}

html.light .ai-seo__title {
  color: #0f172a;
}

.ai-seo__description {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--color-primary-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-6);
}

.ai-seo__checklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-bottom: var(--space-8);
  padding: 0;
}

.ai-seo__checklist-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
}

.ai-seo__check-icon {
  width: 16px;
  height: 16px;
  color: #22c55e;
  flex-shrink: 0;
}

.btn--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #09090b;
  font-size: 0.9375rem;
  font-weight: 500;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
}

.btn--white:hover {
  background-color: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

html.light .btn--white {
  background-color: #09090b;
  color: #ffffff;
  border-color: #27272a;
}

html.light .btn--white:hover {
  background-color: #18181b;
}

/* Visibility Scene (Radar Map Showcase) */
.visibility-scene {
  position: relative;
  width: 100%;
  height: 460px;
  background: #101014;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

html.light .visibility-scene {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.scene-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.map-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.map-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: var(--color-secondary);
}

/* Snippet: Local Search (Top Left) */
.search-snippet {
  position: absolute;
  top: 3.5rem;
  left: 1.25rem;
  z-index: 5;
  background: rgba(24, 24, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: min(260px, 85%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: floatSubtle 6s ease-in-out infinite;
}

html.light .search-snippet {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.snippet-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-muted);
  margin-bottom: 0.65rem;
}

.snippet-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.business-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(112, 71, 235, 0.2);
  border: 1px solid rgba(112, 71, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-purple);
  flex-shrink: 0;
}

.snippet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.snippet-info strong {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
}

.snippet-check {
  margin-left: auto;
  color: #22c55e;
  flex-shrink: 0;
}

.skeleton-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 0.65rem;
}

html.light .skeleton-line {
  background: rgba(0, 0, 0, 0.06);
}

.skeleton-line--short {
  width: 60%;
  margin-top: 0.35rem;
}

/* Map Business Center Pin */
.map-business {
  position: absolute;
  top: 48%;
  left: 52%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.map-pin {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(112, 71, 235, 0.85);
  animation: pulsePin 3s ease-in-out infinite;
}

@keyframes pulsePin {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(112, 71, 235, 0.8);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(112, 71, 235, 1);
  }
}

/* Snippet: AI Discovery (Bottom Right) */
.ai-snippet {
  position: absolute;
  bottom: 3.5rem;
  right: 1.25rem;
  z-index: 5;
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: min(290px, 88%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  animation: floatSubtleReverse 7s ease-in-out infinite;
}

html.light .ai-snippet {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.ai-snippet strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.ai-snippet p {
  font-size: 0.75rem;
  color: var(--color-primary-muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.source-chips {
  display: flex;
  gap: 0.35rem;
}

.source-chips span {
  font-size: 0.6875rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-primary);
}

html.light .source-chips span {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

/* Scene Caption / Tabs */
.scene-caption {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--color-primary-muted);
}

.scene-caption span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 4 Feature Pillars under showcase */
.ai-seo-pillars {
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border-subtle);
}

.ai-seo-pillars__heading {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-muted);
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.ai-seo-pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}

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

@media (min-width: 1024px) {
  .ai-seo-pillars__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
}

.ai-seo-pillar {
  display: flex;
  flex-direction: column;
}

.ai-seo-pillar__icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(112, 71, 235, 0.12);
  border: 1px solid rgba(112, 71, 235, 0.25);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

html.light .ai-seo-pillar__icon-box {
  background: rgba(112, 71, 235, 0.08);
  border-color: rgba(112, 71, 235, 0.2);
}

.ai-seo-pillar__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.ai-seo-pillar__desc {
  font-size: 0.8125rem;
  color: var(--color-primary-muted);
  line-height: 1.55;
}

@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes floatSubtleReverse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 480px) {
  .visibility-scene {
    height: 480px;
  }
  .search-snippet {
    top: 3.25rem;
    left: 0.75rem;
    padding: 0.75rem 0.85rem;
    width: calc(100% - 1.5rem);
    max-width: 250px;
  }
  .ai-snippet {
    bottom: 3.2rem;
    right: 0.75rem;
    padding: 0.85rem 1rem;
    width: calc(100% - 1.5rem);
    max-width: 270px;
  }
  .scene-caption {
    gap: 1rem;
    font-size: 0.7rem;
  }
}
