/* ============================================================
   meSEO — Stylesheet · Pure Doc Copy Fidelity & 3D Visual Depth
   ============================================================ */

/* ── Reset & Baseline ──────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg-deep);
}

body {
  font-family: var(--font-family);
  font-size: var(--type-body);
  line-height: 1.625;
  color: var(--color-ink-primary);
  background: radial-gradient(circle at 50% 0%, #0d1527 0%, var(--color-bg-deep) 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: var(--color-accent-blue-bright);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default), text-shadow var(--duration-fast) var(--ease-default);
}
a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

/* ── Accessibility: Screen Reader & Focus Ring ─────────────── */
.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;
}
.sr-only--focusable:focus {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 10000;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

:focus-visible {
  outline: 2px solid var(--color-accent-blue-bright);
  outline-offset: 3px;
}

/* ── Global Layout Containers ──────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin-inline: auto;
  padding-inline: var(--space-5);
  position: relative;
  z-index: 2;
}

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

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }
}

/* ── Ambient Background Glows ──────────────────────────────── */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
}

.ambient-glow--left {
  top: 15%;
  left: -240px;
  background: radial-gradient(circle, var(--color-accent-blue) 0%, transparent 70%);
}

.ambient-glow--right {
  top: 25%;
  right: -240px;
  background: radial-gradient(circle, var(--color-accent-cyan) 0%, transparent 70%);
}

.ambient-glow--center {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--color-accent-purple) 0%, transparent 70%);
}

/* ── Navigation (Glassmorphic Cyber-Bar) ────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(4, 7, 14, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all var(--duration-normal) var(--ease-default);
}

.nav--scrolled {
  background: rgba(10, 15, 30, 0.88);
  border-bottom: 1px solid var(--color-border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 72px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.logo-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-cyan);
  box-shadow: 0 0 10px var(--color-accent-cyan);
}

.nav-links {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}

.nav-links a {
  font-size: var(--type-caption);
  font-weight: 500;
  color: var(--color-ink-secondary);
  transition: all var(--duration-fast) var(--ease-default);
  position: relative;
  padding-block: var(--space-1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-blue));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-default);
  box-shadow: 0 0 8px var(--color-accent-cyan);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge--patent {
  font-size: 0.72rem;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.badge--patent::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--color-accent-green);
  box-shadow: 0 0 8px var(--color-accent-green);
}

.badge--patent-lg {
  font-size: 0.85rem;
  padding: 9px 24px;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.28);
}

/* ── Mobile Hamburger & Drawer ─────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-default);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-badge-wrap { display: none; }
  .nav-hamburger { display: flex; }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-default);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: rgba(10, 15, 30, 0.96);
  border-left: 1px solid var(--color-border-glass);
  padding: var(--space-9) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-default);
  z-index: 1000;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.85);
}

.nav-overlay.is-open .nav-drawer {
  transform: translateX(0);
}

.nav-drawer a {
  font-size: var(--type-h4);
  font-weight: 500;
  color: var(--color-ink-primary);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav-drawer .badge--patent {
  align-self: flex-start;
  margin-top: var(--space-4);
}

/* ============================================================
   HERO SECTION & 3D VISUAL WAVEFORM
   ============================================================ */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(72px + var(--space-7));
  padding-bottom: var(--space-9);
  text-align: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow--1 {
  width: 650px;
  height: 650px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24) 0%, transparent 70%);
}

.hero-glow--2 {
  width: 500px;
  height: 500px;
  top: 45%;
  left: 20%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, transparent 70%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.12);
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
}

.hero-title {
  font-size: var(--type-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 980px;
  margin-bottom: var(--space-5);
  background: linear-gradient(180deg, #FFFFFF 30%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--type-body-lg);
  line-height: 1.625;
  color: var(--color-ink-secondary);
  max-width: var(--max-width-narrow);
  margin-bottom: var(--space-7);
}

/* ── Chip Group ────────────────────────────────────────────── */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: var(--type-caption);
  font-weight: 500;
  color: #CBD5E1;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--color-border-glass);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--duration-fast) var(--ease-default);
}

.chip:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(96, 165, 250, 0.5);
  color: #fff;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-blue-bright);
  margin-right: 8px;
  box-shadow: 0 0 6px var(--color-accent-blue-bright);
}
.chip-dot--cyan { background: var(--color-accent-cyan); box-shadow: 0 0 6px var(--color-accent-cyan); }
.chip-dot--purple { background: var(--color-accent-purple); box-shadow: 0 0 6px var(--color-accent-purple); }
.chip-dot--green { background: var(--color-accent-green); box-shadow: 0 0 6px var(--color-accent-green); }

/* ── Hero 3D Visual Board (Without Added Text) ──────────────── */
.hero-visual-board {
  width: 100%;
  max-width: 760px;
  background: rgba(10, 15, 30, 0.75);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated), 0 0 40px rgba(59, 130, 246, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transform: perspective(1000px) rotateX(4deg);
  transition: transform var(--duration-slow) var(--ease-spring), box-shadow var(--duration-slow) var(--ease-default);
  margin-top: var(--space-4);
  padding: 14px 20px 20px;
}

.hero-visual-board:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-4px);
  box-shadow: var(--shadow-elevated), 0 0 50px rgba(59, 130, 246, 0.22);
}

.visual-board-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}
.board-dot { width: 9px; height: 9px; border-radius: 50%; }
.board-dot--red { background: #EF4444; }
.board-dot--yellow { background: #F59E0B; }
.board-dot--green { background: #10B981; }
.board-line {
  margin-left: auto;
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.visual-waveform {
  width: 100%;
  height: 90px;
}

@media (max-width: 768px) {
  .hero-visual-board { transform: none; }
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  position: relative;
  z-index: 3;
  margin-top: -24px;
  padding-block: var(--space-6);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border-glass);
  border-bottom: 1px solid var(--color-border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.stat-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  transition: transform var(--duration-fast) var(--ease-default);
}
.stat-item:hover {
  transform: translateY(-2px);
}

.stat-value {
  font-size: var(--type-stat-value);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #60A5FA 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.35));
}

.stat-label {
  font-size: var(--type-stat-label);
  color: var(--color-ink-secondary);
  max-width: 210px;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--color-border-glass), transparent);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .stat-strip-grid { flex-wrap: wrap; gap: var(--space-5); }
  .stat-divider:nth-of-type(2) { display: none; }
}
@media (max-width: 768px) {
  .stat-strip { margin-top: 0; }
  .stat-strip-grid { flex-direction: column; gap: var(--space-5); }
  .stat-divider { width: 60px; height: 1px; }
}

/* ============================================================
   SECTIONS & PROSE
   ============================================================ */
.section {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
}

.section--elevated {
  background: rgba(10, 15, 30, 0.45);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header h2,
.section-header-centered,
.container--narrow h2 {
  font-size: var(--type-h2);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--space-5);
}

.section-header-centered {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-intro {
  font-size: var(--type-body-lg);
  color: var(--color-ink-secondary);
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  line-height: 1.625;
}

.container--narrow p {
  color: var(--color-ink-secondary);
  margin-bottom: var(--space-5);
  font-size: var(--type-body-lg);
  line-height: 1.625;
}

.section-subheading {
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.33;
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
  color: #fff;
}

.section-subheading--brand {
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-subheading--brand::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--color-accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--color-accent-cyan);
}

/* ── Detail List (What meSEO Is) ──────────────────────────── */
.detail-list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.detail-list-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--duration-fast) var(--ease-default);
}

.detail-list-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.detail-list-item dt {
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  min-width: 120px;
  display: flex;
  align-items: center;
}
.detail-list-item dt::before {
  content: '▸';
  color: var(--color-accent-cyan);
  margin-right: 8px;
}

.detail-list-item dd {
  color: var(--color-ink-secondary);
}

@media (max-width: 768px) {
  .detail-list-item { flex-direction: column; gap: var(--space-1); }
}

/* ============================================================
   THE CORE TECHNOLOGY (Capability Cards)
   ============================================================ */
.card-grid {
  display: grid;
  gap: var(--space-6);
  perspective: 1200px;
}

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

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

@media (max-width: 768px) {
  .card-grid--3col,
  .card-grid--2col {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.card {
  position: relative;
  background: var(--color-bg-glass-card);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: border-color var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default),
              background var(--duration-normal) var(--ease-default);
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.2);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin-bottom: var(--space-4);
}
.card-icon--red {
  background: var(--color-accent-red-muted);
  border-color: var(--color-border-red);
}

.card-title {
  font-size: var(--type-h3);
  font-weight: 600;
  line-height: 1.33;
  color: #fff;
  margin-bottom: var(--space-3);
}

.card-body {
  font-size: var(--type-body);
  color: var(--color-ink-secondary);
  line-height: 1.625;
  flex-grow: 1;
}

/* Purely visual micro-graphics on cards without text */
.card-visual-bar {
  margin-top: var(--space-4);
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-cyan));
  border-radius: 2px;
}
.bar-fill--green  { background: linear-gradient(90deg, #10B981, #34D399); }
.bar-fill--purple { background: linear-gradient(90deg, #8B5CF6, #C4B5FD); }
.bar-fill--cyan   { background: linear-gradient(90deg, #06B6D4, #67E8F9); }

.card-visual-heatmap {
  margin-top: var(--space-4);
  height: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding-inline: 10px;
  gap: 16px;
}
.heat-dot { width: 8px; height: 8px; border-radius: 50%; }
.heat-dot--green { background: #10B981; box-shadow: 0 0 6px #10B981; }
.heat-dot--cyan  { background: #06B6D4; box-shadow: 0 0 6px #06B6D4; }
.heat-dot--red   { background: #EF4444; box-shadow: 0 0 8px #EF4444; margin-left: auto; }

.card-visual-pulse-strip {
  margin-top: var(--space-4);
  display: flex;
  gap: 8px;
}
.pulse-line {
  flex: 1;
  height: 3px;
  border-radius: 2px;
}
.pulse-line--red  { background: #EF4444; box-shadow: 0 0 6px #EF4444; }
.pulse-line--blue { background: rgba(59, 130, 246, 0.4); }

/* ── Also Tracked ──────────────────────────────────────────── */
.also-tracked {
  margin-top: var(--space-8);
  text-align: center;
}

.also-tracked-label {
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-4);
}

.chip--also {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--color-border-glass);
  color: var(--color-ink-secondary);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
}
.chip--also:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* ============================================================
   AI INTELLIGENCE & 5 ENGINES
   ============================================================ */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-7);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--duration-normal) var(--ease-default);
}

.feature-row:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 25px rgba(139, 92, 246, 0.15);
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-row-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-md);
}

.feature-row-text h3 {
  font-size: var(--type-h3);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.feature-row-text p {
  color: var(--color-ink-secondary);
  font-size: var(--type-body-lg);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5);
    gap: var(--space-4);
  }
}

/* ── 5 AI Engines Grid ─────────────────────────────────────── */
.engines-section {
  margin-top: var(--space-9);
  padding: var(--space-8);
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 80%),
              var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.engines-heading {
  font-size: var(--type-h3);
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin-bottom: var(--space-3);
}

.engines-intro {
  color: var(--color-ink-secondary);
  text-align: center;
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

.engines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  perspective: 1000px;
}

.engine-item {
  display: flex;
  flex-direction: column;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  transition: all var(--duration-normal) var(--ease-default);
  transform-style: preserve-3d;
}

.engine-item:hover {
  border-color: var(--color-accent-cyan);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.25);
}

.engine-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.engine-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-cyan));
  color: #fff;
  font-size: var(--type-caption);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.engine-status-active {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.engine-label {
  font-size: var(--type-h4);
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.engine-desc {
  font-size: var(--type-caption);
  color: var(--color-ink-secondary);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .engines-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .engines-section { padding: var(--space-5); }
  .engines-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============================================================
   THE MESEO AI AUDIT (Visual Ring Card)
   ============================================================ */
.audit-visual-ring-card {
  margin-block: var(--space-6);
  padding: var(--space-5) var(--space-7);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.audit-svg-ring {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.audit-ring-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.audit-line {
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-cyan), rgba(59, 130, 246, 0.3));
  border-radius: 2px;
}

/* ============================================================
   THE FULL PLATFORM TABLE
   ============================================================ */
.platform-table-wrapper {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.platform-table {
  width: 100%;
  border-collapse: collapse;
}

.platform-table thead tr {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--color-border-glass);
}

.platform-table th,
.platform-table td {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  vertical-align: middle;
}

.platform-table thead th {
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
}

.platform-table tbody th {
  font-size: var(--type-h4);
  font-weight: 600;
  color: #fff;
  width: 25%;
  white-space: nowrap;
}

.platform-table tbody td {
  font-size: var(--type-body);
  color: var(--color-ink-secondary);
  line-height: 1.625;
}

.platform-table tbody tr {
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--duration-fast) var(--ease-default);
}
.platform-table tbody tr:last-child { border-bottom: none; }
.platform-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.platform-table tbody tr:hover { background: rgba(59, 130, 246, 0.09); }

/* Mobile Stacked Platform Cards */
.platform-cards { display: none; }

@media (max-width: 768px) {
  .platform-table-wrapper { display: none; }
  .platform-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }
  .platform-card {
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: var(--shadow-card);
  }
  .platform-card-area {
    font-size: var(--type-h4);
    font-weight: 700;
    color: var(--color-accent-cyan);
    margin-bottom: var(--space-2);
  }
  .platform-card p {
    font-size: var(--type-body);
    color: var(--color-ink-secondary);
  }
}

/* ============================================================
   PROCESS STEPS (How It Works)
   ============================================================ */
.process-steps {
  display: flex;
  align-items: stretch;
  list-style: none;
  counter-reset: step;
}

.process-step {
  flex: 1;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--duration-normal) var(--ease-default);
  display: flex;
  flex-direction: column;
}

.process-step:hover {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.22);
  transform: translateY(-4px);
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60A5FA;
  font-size: var(--type-h4);
  font-weight: 700;
  margin-bottom: var(--space-4);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

.process-title {
  font-size: var(--type-h3);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.process-body {
  font-size: var(--type-body);
  color: var(--color-ink-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.process-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 32px;
  align-self: center;
  position: relative;
}
.process-connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), var(--color-accent-cyan));
  box-shadow: 0 0 6px var(--color-accent-cyan);
}

@media (max-width: 1024px) {
  .process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
  }
  .process-step:nth-of-type(3) { grid-column: 1; grid-row: 2; }
  .process-step:nth-of-type(4) { grid-column: 3; grid-row: 2; }
  .process-connector:nth-of-type(2) { display: none; }
  .process-connector:nth-of-type(3) { display: none; }
}

@media (max-width: 768px) {
  .process-steps {
    display: flex;
    flex-direction: column;
    padding-left: calc(24px + var(--space-5));
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent-blue), var(--color-accent-cyan));
    box-shadow: 0 0 8px var(--color-accent-cyan);
  }
  .process-connector { display: none; }
  .process-step { margin-bottom: var(--space-4); position: relative; }
  .process-number {
    position: absolute;
    left: calc(-1 * (24px + var(--space-5)));
    top: var(--space-5);
    width: 42px;
    height: 42px;
    z-index: 2;
  }
}

/* ============================================================
   DIFFERENTIATOR CARDS
   ============================================================ */
.diff-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: all var(--duration-normal) var(--ease-default);
}

.diff-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 22px rgba(6, 182, 212, 0.2);
}

.diff-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-sm);
}
.diff-icon--red {
  background: var(--color-accent-red-muted);
  border-color: var(--color-border-red);
}

.diff-title {
  font-size: var(--type-body-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.diff-body {
  font-size: var(--type-body);
  color: var(--color-ink-secondary);
  line-height: 1.625;
}

/* ============================================================
   CLOSING & FOOTER
   ============================================================ */
.closing {
  position: relative;
  padding-block: var(--space-section);
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-top: 1px solid var(--color-border-glass);
}

.closing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing h2 {
  font-size: var(--type-h2);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--space-5);
  background: linear-gradient(180deg, #FFFFFF 40%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.closing-body {
  font-size: var(--type-body-lg);
  color: var(--color-ink-secondary);
  max-width: var(--max-width-narrow);
  margin-bottom: var(--space-7);
  line-height: 1.625;
}

.footer {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(4, 7, 14, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.footer-text,
.footer-copy {
  font-size: var(--type-caption);
  color: var(--color-ink-muted);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }
}

/* ============================================================
   ANIMATION & REVEAL STATES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-default), transform 0.6s var(--ease-default);
}

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