/* ============================================
   IMMERSIVE MODE CSS - Full-Page Landing Variants
   Inspired by Apple.com, ChatGPT, QVAC by Tether
   ============================================ */

:root {
  --color-primary: #9F7AEA;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   1. IMMERSIVE MODE RESET
   ============================================ */

body.immersive-mode {
  overflow-x: hidden;
}

body.immersive-mode .demo,
body.immersive-mode .how-it-works,
body.immersive-mode .beta,
body.immersive-mode .contact {
  display: none;
}

body.immersive-mode header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.4s var(--transition-smooth);
}

body.immersive-mode header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

[data-theme="light"] body.immersive-mode header.scrolled {
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   2. SECTION BASE
   ============================================ */

.imm-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.imm-section--short {
  min-height: 60vh;
}

.imm-section--auto {
  min-height: auto;
  padding: 120px 0;
}

/* ============================================
   3. PHOTO BACKGROUND
   ============================================ */

.imm-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.imm-bg--parallax {
  transform: scale(1.15);
  will-change: transform;
}

/* ============================================
   4. OVERLAYS
   ============================================ */

.imm-overlay--dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.imm-overlay--darker {
  background: rgba(0, 0, 0, 0.7);
}

.imm-overlay--gradient-bottom {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.imm-overlay--radial {
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.imm-overlay--glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .imm-overlay--dark {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .imm-overlay--darker {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .imm-overlay--glass {
  background: rgba(255, 255, 255, 0.6);
}

/* ============================================
   5. CONTENT
   ============================================ */

.imm-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.imm-content--wide {
  max-width: 1600px;
}

.imm-content--full {
  max-width: none;
}

.imm-content--center {
  text-align: center;
}

/* ============================================
   6. HERO
   ============================================ */

.imm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.imm-hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
}

.imm-hero-sub {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 40px;
}

.imm-hero-cta {
  display: inline-flex;
  gap: 16px;
  margin-top: 32px;
}

[data-theme="light"] .imm-hero-title {
  color: #1a1a1a;
}

[data-theme="light"] .imm-hero-sub {
  color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   7. TITLES
   ============================================ */

.imm-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.imm-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
}

[data-theme="light"] .imm-title {
  color: #1a1a1a;
}

[data-theme="light"] .imm-subtitle {
  color: rgba(0, 0, 0, 0.65);
}

/* ============================================
   8. GLASS CARDS
   ============================================ */

.imm-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.4s var(--transition-smooth),
              box-shadow 0.4s var(--transition-smooth);
}

.imm-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .imm-glass {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ============================================
   9. FEATURE GRID
   ============================================ */

.imm-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.imm-feature-card {
  padding: 32px;
}

.imm-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

/* ============================================
   10. STATS
   ============================================ */

.imm-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.imm-stat-val {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.imm-stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

[data-theme="light"] .imm-stat-val {
  color: #1a1a1a;
}

[data-theme="light"] .imm-stat-label {
  color: rgba(0, 0, 0, 0.6);
}

/* ============================================
   11. HIW PIPELINE
   ============================================ */

.imm-hiw-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.imm-hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.imm-hiw-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  background: rgba(159, 122, 234, 0.1);
}

.imm-hiw-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 8px;
}

[data-theme="light"] .imm-hiw-step-num {
  color: #1a1a1a;
}

[data-theme="light"] .imm-hiw-arrow {
  color: rgba(0, 0, 0, 0.4);
}

/* ============================================
   12. HIW VISUAL
   ============================================ */

.imm-hiw-visual {
  position: relative;
  max-width: 600px;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}

.imm-hiw-visual canvas {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* ============================================
   13. TIMELINE
   ============================================ */

.imm-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
}

.imm-timeline-item {
  position: relative;
  padding-bottom: 48px;
  padding-left: 48px;
}

.imm-timeline-dot {
  position: absolute;
  left: -10px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.4s var(--transition-smooth);
}

.imm-timeline-item.done .imm-timeline-dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(159, 122, 234, 0.5);
}

[data-theme="light"] .imm-timeline {
  border-left-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .imm-timeline-dot {
  border-color: rgba(0, 0, 0, 0.3);
}

/* ============================================
   14. COMPARISON TABLE
   ============================================ */

.imm-cmp-wrap {
  overflow-x: auto;
  margin-top: 48px;
}

.imm-cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.imm-cmp-table th,
.imm-cmp-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.imm-cmp-table th {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
}

.imm-cmp-table .us {
  color: var(--color-primary);
  font-weight: 700;
}

[data-theme="light"] .imm-cmp-table {
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .imm-cmp-table th,
[data-theme="light"] .imm-cmp-table td {
  color: rgba(0, 0, 0, 0.8);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .imm-cmp-table th {
  background: rgba(0, 0, 0, 0.05);
}

/* ============================================
   15. FAQ
   ============================================ */

.imm-faq-list {
  margin-top: 48px;
}

.imm-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.imm-faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s var(--transition-smooth);
}

.imm-faq-item button:hover {
  color: var(--color-primary);
}

.imm-faq-item button::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s var(--transition-smooth);
}

.imm-faq-item.open button::after {
  content: '×';
  transform: rotate(90deg);
}

.imm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth),
              padding-top 0.4s var(--transition-smooth),
              opacity 0.4s var(--transition-smooth);
  opacity: 0;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.imm-faq-item.open .imm-faq-answer {
  max-height: 500px;
  padding-top: 16px;
  opacity: 1;
}

[data-theme="light"] .imm-faq-item {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .imm-faq-item button {
  color: #1a1a1a;
}

[data-theme="light"] .imm-faq-answer {
  color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   16. USE CASES
   ============================================ */

.imm-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.imm-usecase-card {
  padding: 32px;
  position: relative;
}

.imm-usecase-card .num {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* ============================================
   17. SCROLL REVEAL
   ============================================ */

.imm-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}

.imm-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.imm-reveal--scale {
  transform: translateY(40px) scale(0.95);
}

.imm-reveal--scale.visible {
  transform: translateY(0) scale(1);
}

.imm-d1 { transition-delay: 0.1s; }
.imm-d2 { transition-delay: 0.2s; }
.imm-d3 { transition-delay: 0.3s; }
.imm-d4 { transition-delay: 0.4s; }
.imm-d5 { transition-delay: 0.5s; }
.imm-d6 { transition-delay: 0.6s; }

/* ============================================
   18. SECTION FADE
   ============================================ */

.imm-section-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .imm-section-fade {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
}

/* ============================================
   19. CANVAS OVERLAY
   ============================================ */

.imm-canvas-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.imm-canvas-overlay canvas {
  width: 100%;
  height: 100%;
}

/* ============================================
   20. VIDEO BACKGROUND
   ============================================ */

.imm-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.5);
  transform-origin: center center;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

body.immersive-mode .hero {
  position: relative;
  overflow: hidden;
  background: #000 !important;
  min-height: 100vh;
  min-height: 100svh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
}

body.immersive-mode .hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-bottom: 220px;
}

body.immersive-mode .hero .hero-content {
  position: relative;
  z-index: 5;
  will-change: transform;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

body.immersive-mode .hero-title {
  font-size: clamp(42px, 9vw, 96px) !important;
  text-align: center;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

body.immersive-mode .hero-description {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,0.8);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

body.immersive-mode .hero-cta {
  justify-content: center;
}

body.immersive-mode .hero-scroll-indicator {
  color: rgba(255,255,255,0.5);
}

/* Glassmorphic Hero Badge */
.imm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: all 0.4s var(--transition-smooth);
}

.imm-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9F7AEA;
  box-shadow: 0 0 8px rgba(159,122,234,0.6);
  animation: imm-badge-pulse 2s ease-in-out infinite;
}

@keyframes imm-badge-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Hero Bottom Features Grid */
.imm-hero-bottom-grid {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  z-index: 10;
  will-change: transform, opacity;
}

.imm-hero-grid-cell {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.imm-hero-grid-cell:last-child {
  border-right: none;
}

.imm-hero-grid-cell:hover {
  background: rgba(255,255,255,0.04);
}

.imm-hero-grid-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  opacity: 0.7;
}

.imm-hero-grid-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.imm-hero-grid-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .imm-hero-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
    bottom: 16px;
  }
  .imm-hero-grid-cell:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 520px) {
  .imm-hero-bottom-grid {
    grid-template-columns: 1fr;
  }
  .imm-hero-grid-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .imm-hero-grid-cell:last-child {
    border-bottom: none;
  }
  body.immersive-mode .hero .container {
    padding-bottom: 380px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay--dark {
  background: rgba(0, 0, 0, 0.4);
}

.hero-overlay--darker {
  background: rgba(0, 0, 0, 0.6);
}

.hero-overlay--gradient {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-overlay--radial {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-overlay--cinematic {
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);
}

.hero-overlay--vignette {
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.hero-overlay--purple {
  background: linear-gradient(135deg, rgba(100,50,180,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-overlay--blue {
  background: linear-gradient(135deg, rgba(20,50,120,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-overlay--matrix {
  background: linear-gradient(180deg, rgba(0,30,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-overlay--prism {
  background:
    linear-gradient(135deg, rgba(250,147,250,0.12) 0%, rgba(201,103,232,0.08) 30%, rgba(152,58,214,0.15) 60%, rgba(1,1,1,0.7) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(250,147,250,0.1) 0%, transparent 60%);
}

.hero-overlay--nebula {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(120,40,200,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(200,60,180,0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(1,1,1,0.4) 0%, rgba(20,5,40,0.5) 50%, rgba(1,1,1,0.7) 100%);
}

.hero-overlay--datacore {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.65) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(123,57,252,0.08) 0%, transparent 60%);
}

.hero-overlay--controlroom {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 35%, rgba(0,0,0,0.6) 100%),
    radial-gradient(ellipse at 30% 80%, rgba(248,123,82,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(123,57,252,0.06) 0%, transparent 50%);
}

/* ============================================
   21. ENHANCED SECTION TRANSITIONS
   ============================================ */

.imm-section {
  transition: opacity 0.6s ease;
}

.imm-revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

/* Staggered grid animations */
.imm-features-grid .imm-feature:nth-child(1) { transition-delay: 0.1s; }
.imm-features-grid .imm-feature:nth-child(2) { transition-delay: 0.2s; }
.imm-features-grid .imm-feature:nth-child(3) { transition-delay: 0.3s; }
.imm-features-grid .imm-feature:nth-child(4) { transition-delay: 0.4s; }
.imm-features-grid .imm-feature:nth-child(5) { transition-delay: 0.5s; }
.imm-features-grid .imm-feature:nth-child(6) { transition-delay: 0.6s; }

/* Stats counter animation */
.imm-stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.imm-stat {
  text-align: center;
}

.imm-stat-value {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, rgba(159,122,234,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.imm-stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
}

/* Feature cards */
.imm-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.imm-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s, box-shadow 0.4s;
}

.imm-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(159,122,234,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.imm-feature-icon {
  margin-bottom: 16px;
}

.imm-feature-icon .imm-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(159,122,234,0.2) 0%, rgba(159,122,234,0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imm-feature-icon .imm-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.imm-feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.imm-feature-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* Pipeline steps */
.imm-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.imm-pipeline-step {
  position: relative;
  padding: 32px 32px 32px 80px;
  border-left: 2px solid rgba(255,255,255,0.1);
}

.imm-pipeline-step:last-child {
  border-left-color: transparent;
}

.imm-pipeline-num {
  position: absolute;
  left: -18px;
  top: 32px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(159,122,234,0.4);
}

.imm-pipeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.imm-pipeline-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.imm-pipeline-connector {
  display: none;
}

/* Use cases */
.imm-usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.imm-usecase {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s;
}

.imm-usecase:hover {
  transform: translateY(-3px);
  border-color: rgba(159,122,234,0.25);
}

.imm-usecase-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.imm-usecase-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

/* Comparison table */
.imm-comparison-table {
  width: 100%;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.imm-comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,255,255,0.06);
}

.imm-comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.imm-comparison-cell {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.imm-comparison-cell--header {
  font-weight: 600;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.imm-comparison-cell--highlight {
  color: var(--color-primary);
  font-weight: 500;
}

/* Roadmap */
.imm-roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  border-left: 2px solid rgba(255,255,255,0.1);
}

.imm-roadmap-milestone {
  position: relative;
  padding: 24px 24px 24px 36px;
}

.imm-roadmap-milestone::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
}

.imm-roadmap-milestone--done::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(159,122,234,0.5);
}

.imm-roadmap-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.imm-roadmap-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.imm-roadmap-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.imm-roadmap-check {
  display: none;
}

/* FAQ */
.imm-faq-list {
  margin-top: 48px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.imm-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.imm-faq-question {
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.imm-faq-question:hover {
  color: var(--color-primary);
}

.imm-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.imm-faq-item.open .imm-faq-question::after {
  transform: rotate(45deg);
}

.imm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth), padding 0.4s;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

.imm-faq-item.open .imm-faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* CTA section */
.imm-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.imm-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.imm-cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}

.imm-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================
   22. RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .imm-content {
    padding: 0 24px;
  }

  .imm-hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .imm-hero-sub {
    font-size: clamp(1rem, 4vw, 1.125rem);
  }

  .imm-feature-grid,
  .imm-usecase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .imm-stats-row {
    gap: 32px;
  }

  .imm-hiw-pipeline {
    flex-direction: column;
  }

  .imm-hiw-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }

  .imm-hiw-visual {
    max-width: 100%;
  }

  .imm-glass {
    padding: 24px;
  }

  .imm-cmp-wrap {
    overflow-x: scroll;
  }

  .imm-cmp-table {
    min-width: 600px;
  }
}
