/* ==========================================================================
   Oracle to Microsoft Fabric Migration (Pulse Convert) - Modern Design System
   Primary Theme: #dc2626 (Oracle Crimson Red)
   Office Solution AI Labs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Color Palette */
  --primary-900: #450a0a;
  --primary-800: #7f1d1d;
  --primary-700: #991b1b; /* Theme Primary */
  --primary-600: #dc2626;
  --primary-500: #ef4444;
  --primary-400: #f87171;
  --primary-300: #fca5a5;
  --primary-200: #fecaca;
  --primary-100: #fee2e2;
  --primary-50: #fef2f2;
  --primary-light: #fff5f5;

  /* Accent & Highlight Colors */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --accent-emerald: #10b981;
  --accent-emerald-light: #d1fae5;
  --accent-indigo: #6366f1;
  --accent-indigo-light: #e0e7ff;
  --accent-coral: #f43f5e;

  /* Dark Theme Surfaces */
  --bg-dark-950: #120909;
  --bg-dark-900: #1a0f11;
  --bg-dark-850: #241518;
  --bg-dark-800: #331c21;
  --bg-dark-700: #45242b;
  --border-dark: rgba(248, 113, 113, 0.2);
  --border-dark-hover: rgba(252, 165, 165, 0.45);

  /* Light Theme Surfaces */
  --bg-light-50: #f8fafc;
  --bg-light-100: #f1f5f9;
  --bg-light-200: #e2e8f0;
  --surface-white: #ffffff;
  --surface-card: #ffffff;
  --border-light: rgba(220, 38, 38, 0.12);
  --border-light-hover: rgba(220, 38, 38, 0.3);

  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  --text-primary: #dc2626;

  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(220, 38, 38, 0.1), 0 8px 10px -6px rgba(220, 38, 38, 0.05);
  --shadow-xl: 0 20px 35px -8px rgba(69, 10, 10, 0.15), 0 10px 15px -5px rgba(220, 38, 38, 0.08);
  --shadow-glow: 0 0 35px rgba(220, 38, 38, 0.25);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light-50);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-500);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 60px 0;
}

.section-dark {
  background-color: var(--bg-dark-950);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.section-tint {
  background: var(--bg-light-100);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-dark .section-tag {
  background: rgba(248, 113, 113, 0.12);
  color: var(--primary-300);
  border-color: rgba(248, 113, 113, 0.3);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-dark .section-description {
  color: var(--text-light-muted);
}

.text-gradient {
  color: var(--primary-700);
}

.section-dark .text-gradient {
  color: var(--primary-300);
}

/* Background Decorations */
.bg-grid-pattern {
  background-color: var(--bg-light-50);
}

.bg-dark-grid {
  background-color: var(--bg-dark-950);
}

.glow-circle {
  display: none;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px -10px rgba(69, 10, 10, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-900);
  text-decoration: none;
}

.brand-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--primary-900);
}

.brand-text .sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-700);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-900);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary-700);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: var(--primary-600);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--primary-600);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: var(--surface-white);
  color: var(--primary-800) !important;
  border: 1px solid rgba(220, 38, 38, 0.2);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-900) !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================= */
.hero {
  padding: 80px 0 80px 0;
  position: relative;
  background-color: #fff5f5;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 24px;
}

.hero-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--primary-900);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-guarantee-badge {
  background-color: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guarantee-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #b45309;
}

.guarantee-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #92400e;
  margin-bottom: 2px;
}

.guarantee-desc {
  font-size: 0.875rem;
  color: #78350f;
  line-height: 1.45;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 38, 38, 0.15);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.2;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.35;
}

/* Hero Right Side - Interactive Transformation Visual */
.hero-card-preview {
  position: relative;
  background: var(--bg-dark-900);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
  padding: 20px 22px;
  color: #fff;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.window-dots {
  display: none;
}

.preview-engine-tag {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(248, 113, 113, 0.15);
  color: var(--primary-300);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.flow-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 18px;
}

.flow-box {
  background: var(--bg-dark-850);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.flow-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 22px;
}

.flow-tag {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.flow-tag.oracle {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.flow-tag.tableau {
  background: rgba(235, 106, 53, 0.2);
  color: #fb923c;
  border: 1px solid rgba(235, 106, 53, 0.3);
}

.flow-tag.powerbi {
  background: rgba(242, 200, 17, 0.2);
  color: #facc15;
  border: 1px solid rgba(242, 200, 17, 0.3);
}

.code-snippet {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  line-height: 1.45;
  color: #cbd5e1;
  border-left: 2px solid var(--primary-400);
  min-height: 64px;
  flex: 1;
  display: flex;
  align-items: center;
  word-break: normal;
  overflow-wrap: anywhere;
}

.flow-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  align-items: center;
}

.flow-meta-list span {
  font-size: 0.67rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.flow-arrow-center {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.convert-circle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--primary-700);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.preview-status-card {
  background: rgba(220, 38, 38, 0.3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.status-sub {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Key Capabilities Grid
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.capability-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-xl);
}

.card-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.capability-card:hover .card-icon-wrapper {
  background: var(--primary-700);
  color: #ffffff;
  transform: scale(1.05);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.card-highlight-tag {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-700);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

/* ==========================================================================
   Why Migrate Section
   ========================================================================== */
.why-migrate-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 18px;
  background: var(--surface-card);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.benefit-item:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.benefit-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 6px;
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.why-migrate-visual-card {
  background: var(--bg-dark-900);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(248, 113, 113, 0.2);
  color: var(--primary-300);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.ecosystem-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.eco-pill {
  background: var(--bg-dark-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff !important;
}

.eco-pill-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-300);
}

/* ==========================================================================
   Tableau vs Power BI Comparison Table
   ========================================================================== */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--surface-white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.comparison-table thead {
  background-color: var(--primary-900);
  color: #ffffff;
}

.comparison-table th {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.comparison-table th:first-child {
  width: 25%;
}

.comparison-table th:nth-child(2) {
  width: 37.5%;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table th:nth-child(3) {
  width: 37.5%;
  background: rgba(248, 113, 113, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table tbody tr {
  border-bottom: 1px solid rgba(220, 38, 38, 0.08);
  transition: background-color var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background-color: var(--primary-light);
}

.comparison-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--primary-900);
}

.comparison-table td:nth-child(3) {
  background-color: rgba(224, 247, 250, 0.35);
  font-weight: 600;
  color: var(--primary-900);
}

.tag-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-price-tab {
  background: #fee2e2;
  color: #991b1b;
}

.tag-price-pbi {
  background: #dcfce7;
  color: #166534;
}

/* ==========================================================================
   5-Step Migration Architecture Timeline
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36px;
  width: 4px;
  background-color: var(--primary-500);
  border-radius: 2px;
}

.timeline-step {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-dark-900);
  border: 4px solid var(--primary-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.3);
}

.step-marker .num {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary-300);
}

.step-marker .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light-muted);
}

.step-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateX(6px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-md);
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-700);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive UI Modal Step Showcase (Images Viewer)
   ========================================================================== */
.modal-showcase-section {
  background-color: var(--bg-dark-950);
  color: #fff;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.showcase-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--bg-dark-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-light-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.showcase-tab-btn .tab-step-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
}

.showcase-tab-btn:hover {
  background: var(--bg-dark-800);
  color: #fff;
  border-color: var(--primary-400);
}

.showcase-tab-btn.active {
  background-color: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-300);
  box-shadow: 0 4px 16px rgba(248, 113, 113, 0.3);
}

.showcase-tab-btn.active .tab-step-tag {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* Showcase Display Window */
.showcase-content-area {
  position: relative;
}

.showcase-panel {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.showcase-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-window {
  background: var(--bg-dark-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.mock-window-header {
  grid-column: 1 / -1;
  background: var(--bg-dark-950);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.window-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--primary-300);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.mock-image-container {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark-850);
  border-right: 1px solid var(--border-dark);
}

.modal-img-frame {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-normal);
}

.modal-img-frame:hover {
  transform: scale(1.02);
}

.mock-details-container {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.mock-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.mock-desc {
  font-size: 1rem;
  color: var(--text-light-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.mock-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.mock-feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   Technical Mapping & Code Explorer
   ========================================================================== */
.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tech-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition-normal);
  min-width: 0;
}

.tech-card:hover {
  border-color: var(--primary-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-content {
  min-width: 0;
}

.tech-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 6px;
  word-break: break-word;
}

.tech-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.code-tabs-wrapper {
  background: var(--bg-dark-900);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.code-tabs-header {
  background: var(--bg-dark-950);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dark);
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
}

.code-tab-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.code-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-light-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.code-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.code-tab-btn.active {
  color: #fff;
  background: var(--primary-700);
  border-color: var(--primary-400);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.code-tabs-header-tag {
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.code-diff-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--border-dark);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.code-pane {
  background: var(--bg-dark-900);
  padding: 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.code-pane-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  min-width: 0;
}

.code-pane-title span:first-child {
  min-width: 0;
  word-break: break-word;
}

.code-pane-title span:last-child {
  font-size: 0.72rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.code-pane-title.source-title {
  color: var(--primary-400);
}

.code-pane-title.powerbi-title {
  color: #38bdf8;
}

.code-pane pre {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
}

.code-pane code {
  background: transparent;
  padding: 0;
  font-family: inherit;
  color: inherit;
}
/* ==========================================================================
   Proof of Concept (POC) Banner Section
   ========================================================================== */
.poc-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 60%, #dc2626 100%);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35);
}

.poc-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.poc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fca5a5;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.poc-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.poc-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin-bottom: 28px;
}

.poc-card-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.poc-card-box h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.poc-card-box p {
  font-size: 0.9rem;
  color: #fecaca;
  margin-bottom: 20px;
}

/* ==========================================================================
   End-to-End Enterprise Migration Ecosystem
   ========================================================================== */
.ecosystem-container {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.ecosystem-intro {
  max-width: 800px;
  margin-bottom: 32px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.eco-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.eco-cat-card {
  background: var(--primary-light);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.eco-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.eco-cat-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-900);
}

.eco-tag-cloud,
.cloud-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cloud-pill {
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-900);
  box-shadow: var(--shadow-sm);
}

.cloud-pill.target {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-migrate-layout {
    grid-template-columns: 1fr;
  }

  .mock-window {
    grid-template-columns: 1fr;
  }

  .mock-image-container {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }

  .poc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 40px 0 48px 0;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .hero-card-preview {
    padding: 16px;
  }

  .flow-compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-arrow-center {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .preview-status-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .preview-status-card .btn {
    text-align: center;
    width: 100%;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    padding: 24px;
  }

  .code-tabs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }

  .code-tab-buttons {
    flex-wrap: wrap;
    width: 100%;
  }

  .code-tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .code-diff-container {
    grid-template-columns: 1fr;
  }

  .code-pane {
    padding: 16px;
  }

  .timeline-container::before {
    left: 20px;
  }

  .timeline-step {
    gap: 16px;
  }

  .step-marker {
    width: 42px;
    height: 42px;
    border-width: 3px;
  }

  .step-marker .num {
    font-size: 0.95rem;
  }

  .step-marker .label {
    display: none;
  }

  .step-card {
    padding: 20px;
  }

  .step-card h4 {
    font-size: 1.05rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .showcase-tabs-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .showcase-tab-btn {
    justify-content: flex-start;
    padding: 10px 16px;
  }

  .mock-image-container {
    padding: 16px;
  }

  .mock-details-container {
    padding: 20px;
  }

  .mock-title {
    font-size: 1.35rem;
  }

  .poc-banner {
    padding: 28px 20px;
  }

  .poc-title {
    font-size: 1.65rem;
  }

  .ecosystem-container {
    padding: 24px 18px;
  }

  .eco-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ecosystem-pills-grid {
    grid-template-columns: 1fr;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem;
  }

  .preview-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .preview-engine-tag {
    align-self: flex-start;
  }

  .code-snippet {
    font-size: 0.7rem;
    padding: 8px;
    word-break: break-all;
  }
}
