/* w.css - IMERGEA M&A Workflow Stylesheet */

:root {
  --imergea-purple: #4b2e83;
  --gold: #d4af37;
  --ink: #0f172a;
  --bg: #0b0d1a;
  --card: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
  --bg: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --border: rgba(0, 0, 0, 0.1);
  --surface: rgba(0, 0, 0, 0.02);
  --surface-hover: rgba(0, 0, 0, 0.05);
  --card: #ffffff;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  border-radius: 50px;
  padding: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
}

/* Dark theme - make it much more visible */
[data-theme="dark"] .theme-toggle {
  background: rgba(30, 41, 59, 0.95) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  color: #e5e7eb !important;
}

/* Light theme */
[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  color: #374151 !important;
}

.theme-toggle:hover {
  transform: scale(1.1) !important;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(51, 65, 85, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 1) !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.theme-icon {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.theme-icon.hidden {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.25s ease-out;
}

[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-top-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.85rem;
}

[data-theme="light"] .header-top-bar {
  background: #f8fafc;
  color: #64748b;
}

.header-top-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 16px;
}

.contact-info a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease-out;
}

[data-theme="light"] .contact-info a {
  color: #64748b;
}

.contact-info a:hover {
  color: var(--gold);
}

.header-main {
  padding: 12px 0;
  background: var(--card);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease-out;
}

.nav-link:hover {
  color: #2563eb;
}

.cta-button {
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease-out;
}

.cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #0f172a;
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background: var(--surface-hover);
}

[data-theme="dark"] .mobile-menu-toggle {
  color: #ffffff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  backdrop-filter: blur(10px);
}

.mobile-menu.show {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  color: #0f172a;
  text-decoration: none;
  padding: 15px 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #2563eb;
}

.mobile-menu .cta-button {
  display: inline-block;
  margin-top: 10px;
}

/* ===== SPACING ===== */
.spacer {
  height: 96px;
}

/* ===== CLEAN RIGHT MENU - NO BOXES ===== */
.right-menu {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  transition: all 0.3s ease;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 12px 16px;
  margin: 4px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  z-index: -1;
}

.menu-item:hover {
  color: var(--text-primary);
  transform: translateX(-8px);
}

.menu-item:hover::before {
  width: 4px;
}

.menu-item.active {
  color: #60a5fa;
  transform: translateX(-12px);
  border-left: 4px solid #3b82f6;
}

.menu-number {
  font-size: 16px;
  font-weight: 800;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition: all 0.3s ease;
}

.menu-item:hover .menu-number {
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.1);
}

.menu-item.active .menu-number {
  background: #3b82f6;
  color: white;
  transform: scale(1.1);
}

.menu-text {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== ENHANCED SECTIONS ===== */
.step-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 96px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-inner {
  width: min(1200px, 95vw);
  padding: min(4vw, 40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  transform: translateY(20px);
}

.step-inner.active {
  opacity: 1;
  transform: translateY(0);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.badge {
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  color: #fff;
  min-width: 64px;
  height: 64px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-inner.active .badge {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 45px rgba(59, 130, 246, 0.6);
}

.step-inner.active .badge::before {
  opacity: 1;
}

.step-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-description {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  margin: 20px 0 32px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  transition: all 0.3s ease;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 900px;
  margin-bottom: 40px;
}

/* ===== ENHANCED TIMELINE ===== */
.timeline {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.timeline-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 30px;
  text-align: center;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    #10b981 0%, 
    #3b82f6 25%, 
    #6366f1 50%, 
    #8b5cf6 75%, 
    #d946ef 100%);
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 15px 8px;
  border-radius: 15px;
  flex: 1;
  min-width: 80px;
}

.timeline-step:hover {
  background: var(--surface-hover);
  transform: translateY(-8px);
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border: 3px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.timeline-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-step:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.timeline-step:hover .timeline-dot::before {
  opacity: 1;
}

.timeline-number {
  font-size: 11px;
  font-weight: 800;
  color: white;
}

.timeline-label {
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-label {
  color: var(--text-primary);
  transform: scale(1.05);
}

.timeline-step.active .timeline-dot {
  background: linear-gradient(135deg, #10b981, #059669);
  transform: scale(1.4);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.timeline-step.active .timeline-label {
  color: #10b981;
  font-weight: 700;
  transform: scale(1.1);
}

/* ===== ENHANCED TAGS ===== */
.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 14px);
  padding: 16px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 25px;
}

.tag:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.2),
    0 0 25px rgba(147, 197, 253, 0.3);
  border-color: #60a5fa;
  background: rgba(59, 130, 246, 0.05);
}

.tag:hover::before {
  opacity: 1;
}

.tag:active {
  transform: translateY(-3px) scale(1.01);
}

/* ===== ENHANCED FAQ SECTION ===== */
.faq-question {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary) !important;
  margin: 24px 0 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.faq-answer {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary) !important;
  margin: 0 0 20px;
  padding-left: 16px;
}

.faq-answer a,
.faq-question a {
  color: var(--gold) !important;
  text-decoration: none;
  border-bottom: 1px dashed rgba(212,175,55,.5);
  transition: all 0.3s ease;
}

.faq-answer a:hover,
.faq-question a:hover {
  border-bottom-color: var(--gold);
  color: #f59e0b !important;
}

/* ===== ENHANCED POPUP SYSTEM ===== */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-backdrop.show {
  display: flex;
  opacity: 1;
}

.overlay-card {
  width: min(800px, 95vw);
  max-height: 90vh;
  background: var(--card);
  color: #1f2937;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow-y: auto;
  transform: scale(0.8) translateY(40px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .overlay-card {
  color: #1f2937;
}

.overlay-backdrop.show .overlay-card {
  transform: scale(1) translateY(0);
}

.overlay-title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 20px;
  color: #93c5fd;
  padding-right: 50px;
  background: linear-gradient(135deg, #3b82f6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overlay-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: #374151;
}

.overlay-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.overlay-body th,
.overlay-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: #374151;
  word-wrap: break-word;
}

.overlay-body th {
  background: var(--surface);
  font-weight: 600;
  color: #1f2937;
}

.overlay-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.overlay-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: var(--surface);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: scale(1.1);
}

/* ===== ENHANCED DARK THEME BACKGROUNDS ===== */
.bg-0 { 
  background: 
    radial-gradient(400px circle at 85% 15%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(600px circle at 80% 20%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(500px circle at 25% 85%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(800px circle at 20% 80%, rgba(168, 85, 247, 0.08), transparent),
    radial-gradient(350px circle at 60% 45%, rgba(16, 185, 129, 0.1), transparent),
    radial-gradient(450px circle at 65% 40%, rgba(6, 182, 212, 0.06), transparent),
    radial-gradient(1400px 800px at 20% 50%, rgba(26, 13, 46, 0.45) 0%, rgba(20, 18, 42, 0.35) 25%, rgba(15, 15, 35, 0.3) 50%, var(--bg) 80%);
  transition: background 0.6s ease;
}

.bg-1 { 
  background: 
    radial-gradient(450px circle at 92% 28%, rgba(99, 102, 241, 0.16), transparent),
    radial-gradient(500px circle at 90% 30%, rgba(124, 58, 237, 0.10), transparent),
    radial-gradient(650px circle at 12% 72%, rgba(168, 85, 247, 0.12), transparent),
    radial-gradient(700px circle at 10% 70%, rgba(147, 51, 234, 0.08), transparent),
    radial-gradient(350px circle at 55% 50%, rgba(59, 130, 246, 0.07), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(45, 27, 105, 0.40) 0%, rgba(35, 22, 85, 0.30) 30%, rgba(26, 16, 64, 0.2) 50%, var(--bg) 80%); 
}

.bg-2 { 
  background: 
    radial-gradient(550px circle at 72% 8%, rgba(147, 51, 234, 0.18), transparent),
    radial-gradient(600px circle at 70% 10%, rgba(168, 85, 247, 0.12), transparent),
    radial-gradient(450px circle at 32% 92%, rgba(59, 130, 246, 0.14), transparent),
    radial-gradient(400px circle at 30% 90%, rgba(99, 102, 241, 0.09), transparent),
    radial-gradient(380px circle at 88% 55%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(1400px 800px at 18% 50%, rgba(74, 29, 122, 0.38) 0%, rgba(58, 25, 98, 0.28) 30%, rgba(42, 21, 85, 0.2) 50%, var(--bg) 80%); 
}

.bg-3 { 
  background: 
    radial-gradient(750px circle at 87% 87%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(800px circle at 85% 85%, rgba(147, 51, 234, 0.10), transparent),
    radial-gradient(480px circle at 13% 13%, rgba(236, 72, 153, 0.12), transparent),
    radial-gradient(500px circle at 15% 15%, rgba(219, 39, 119, 0.08), transparent),
    radial-gradient(420px circle at 50% 60%, rgba(139, 92, 246, 0.09), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(95, 44, 145, 0.42) 0%, rgba(75, 36, 120, 0.32) 30%, rgba(58, 31, 102, 0.22) 50%, var(--bg) 80%); 
}

.bg-4 { 
  background: 
    radial-gradient(650px circle at 27% 23%, rgba(219, 39, 119, 0.14), transparent),
    radial-gradient(700px circle at 25% 25%, rgba(236, 72, 153, 0.09), transparent),
    radial-gradient(580px circle at 77% 77%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(600px circle at 75% 75%, rgba(168, 85, 247, 0.10), transparent),
    radial-gradient(400px circle at 50% 35%, rgba(147, 51, 234, 0.08), transparent),
    radial-gradient(1400px 800px at 20% 50%, rgba(114, 56, 168, 0.38) 0%, rgba(92, 45, 140, 0.28) 30%, rgba(75, 46, 131, 0.2) 50%, var(--bg) 80%); 
}

.bg-5 { 
  background: 
    radial-gradient(480px circle at 42% 58%, rgba(244, 63, 94, 0.12), transparent),
    radial-gradient(500px circle at 40% 60%, rgba(236, 72, 153, 0.08), transparent),
    radial-gradient(750px circle at 62% 38%, rgba(168, 85, 247, 0.14), transparent),
    radial-gradient(800px circle at 60% 40%, rgba(147, 51, 234, 0.09), transparent),
    radial-gradient(420px circle at 80% 20%, rgba(139, 92, 246, 0.10), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(133, 68, 191, 0.40) 0%, rgba(110, 56, 162, 0.30) 30%, rgba(90, 55, 161, 0.22) 50%, var(--bg) 80%); 
}

.bg-6 { 
  background: 
    radial-gradient(580px circle at 92% 48%, rgba(59, 130, 246, 0.16), transparent),
    radial-gradient(600px circle at 90% 50%, rgba(99, 102, 241, 0.11), transparent),
    radial-gradient(450px circle at 8% 52%, rgba(236, 72, 153, 0.14), transparent),
    radial-gradient(400px circle at 10% 50%, rgba(219, 39, 119, 0.09), transparent),
    radial-gradient(520px circle at 50% 75%, rgba(168, 85, 247, 0.10), transparent),
    radial-gradient(1400px 800px at 18% 50%, rgba(152, 85, 212, 0.36) 0%, rgba(128, 72, 185, 0.26) 30%, rgba(107, 66, 184, 0.20) 50%, var(--bg) 80%); 
}

.bg-7 { 
  background: 
    radial-gradient(680px circle at 22% 82%, rgba(139, 92, 246, 0.17), transparent),
    radial-gradient(700px circle at 20% 80%, rgba(168, 85, 247, 0.12), transparent),
    radial-gradient(480px circle at 82% 18%, rgba(16, 185, 129, 0.13), transparent),
    radial-gradient(500px circle at 80% 20%, rgba(34, 197, 94, 0.08), transparent),
    radial-gradient(550px circle at 55% 45%, rgba(99, 102, 241, 0.09), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(171, 102, 233, 0.42) 0%, rgba(145, 85, 205, 0.32) 30%, rgba(124, 77, 206, 0.22) 50%, var(--bg) 80%); 
}

.bg-8 { 
  background: 
    radial-gradient(580px circle at 52% 8%, rgba(34, 197, 94, 0.14), transparent),
    radial-gradient(600px circle at 50% 10%, rgba(16, 185, 129, 0.09), transparent),
    radial-gradient(750px circle at 48% 92%, rgba(168, 85, 247, 0.16), transparent),
    radial-gradient(800px circle at 50% 90%, rgba(147, 51, 234, 0.11), transparent),
    radial-gradient(450px circle at 15% 50%, rgba(99, 102, 241, 0.10), transparent),
    radial-gradient(1400px 800px at 20% 50%, rgba(190, 119, 255, 0.38) 0%, rgba(162, 98, 230, 0.28) 30%, rgba(142, 88, 229, 0.20) 50%, var(--bg) 80%); 
}

.bg-9 { 
  background: 
    radial-gradient(420px circle at 72% 28%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(400px circle at 70% 30%, rgba(99, 102, 241, 0.13), transparent),
    radial-gradient(680px circle at 32% 72%, rgba(34, 197, 94, 0.15), transparent),
    radial-gradient(700px circle at 30% 70%, rgba(16, 185, 129, 0.10), transparent),
    radial-gradient(520px circle at 88% 88%, rgba(168, 85, 247, 0.11), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(209, 136, 255, 0.40) 0%, rgba(180, 115, 240, 0.30) 30%, rgba(160, 99, 252, 0.22) 50%, var(--bg) 80%); 
}

.bg-10 { 
  background: 
    radial-gradient(780px circle at 8% 42%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(800px circle at 10% 40%, rgba(147, 51, 234, 0.10), transparent),
    radial-gradient(480px circle at 92% 58%, rgba(6, 182, 212, 0.16), transparent),
    radial-gradient(500px circle at 90% 60%, rgba(34, 211, 238, 0.11), transparent),
    radial-gradient(420px circle at 45% 25%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(1400px 800px at 18% 50%, rgba(228, 153, 255, 0.36) 0%, rgba(200, 125, 240, 0.26) 30%, rgba(178, 110, 255, 0.20) 50%, var(--bg) 80%); 
}

.bg-11 { 
  background: 
    radial-gradient(580px circle at 62% 82%, rgba(99, 102, 241, 0.16), transparent),
    radial-gradient(600px circle at 60% 80%, rgba(139, 92, 246, 0.11), transparent),
    radial-gradient(680px circle at 38% 18%, rgba(6, 182, 212, 0.14), transparent),
    radial-gradient(700px circle at 40% 20%, rgba(34, 211, 238, 0.09), transparent),
    radial-gradient(420px circle at 82% 58%, rgba(16, 185, 129, 0.13), transparent),
    radial-gradient(400px circle at 80% 60%, rgba(34, 197, 94, 0.08), transparent),
    radial-gradient(500px circle at 15% 45%, rgba(168, 85, 247, 0.10), transparent),
    radial-gradient(1400px 800px at 15% 50%, rgba(243, 168, 255, 0.42) 0%, rgba(215, 145, 245, 0.32) 30%, rgba(192, 132, 252, 0.24) 50%, var(--bg) 80%); 
}

/* ===== ENHANCED LIGHT THEME BACKGROUNDS ===== */
[data-theme="light"] .bg-0,
[data-theme="light"] .bg-1,
[data-theme="light"] .bg-2,
[data-theme="light"] .bg-3,
[data-theme="light"] .bg-4,
[data-theme="light"] .bg-5,
[data-theme="light"] .bg-6,
[data-theme="light"] .bg-7,
[data-theme="light"] .bg-8,
[data-theme="light"] .bg-9,
[data-theme="light"] .bg-10,
[data-theme="light"] .bg-11 {
  background: 
    radial-gradient(500px circle at 90% 10%, rgba(139, 92, 246, 0.12), transparent),
    radial-gradient(600px circle at 100% 0%, rgba(120, 119, 198, 0.25), transparent),
    radial-gradient(450px circle at 10% 90%, rgba(236, 72, 153, 0.10), transparent),
    radial-gradient(700px circle at 0% 100%, rgba(255, 180, 180, 0.12), transparent),
    radial-gradient(380px circle at 50% 50%, rgba(34, 197, 94, 0.08), transparent),
    radial-gradient(400px circle at 50% 50%, rgba(180, 255, 180, 0.08), transparent),
    radial-gradient(520px circle at 0% 0%, rgba(99, 102, 241, 0.14), transparent),
    radial-gradient(600px circle at 0% 0%, rgba(180, 180, 255, 0.16), transparent),
    radial-gradient(750px circle at 100% 100%, rgba(251, 191, 36, 0.10), transparent),
    radial-gradient(800px circle at 100% 100%, rgba(255, 255, 180, 0.12), transparent),
    conic-gradient(from 45deg at 50% 50%, 
      #f8fafc 0deg, 
      #f1f5f9 60deg, 
      #f8fafc 120deg,
      #e2e8f0 180deg, 
      #f1f5f9 240deg,
      #f8fafc 300deg, 
      #f8fafc 360deg),
    linear-gradient(135deg, 
      #ffffff 0%, 
      #f8fafc 20%, 
      #f1f5f9 40%, 
      #e2e8f0 60%, 
      #f1f5f9 80%, 
      #f8fafc 100%);
}
/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: #cbd5e1;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

[data-theme="light"] footer {
  background: #0f172a;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 16px;
}

.footer-about p {
  margin: 12px 0;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease-out;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 20px;
  color: #94a3b8;
  text-align: center;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  margin-right: 20px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #d4af37;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .right-menu {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .right-menu {
    display: none;
  }

  .theme-toggle {
    top: 15px;
    right: 70px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  .theme-icon {
    width: 20px;
    height: 20px;
  }

  .nav-menu {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  [data-theme="light"] .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .mobile-menu-toggle:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
  }

  [data-theme="light"] .mobile-menu-toggle:hover {
    background: rgba(248, 250, 252, 1) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
  }

  .header-content {
    padding-right: 120px;
  }

  .overlay-body table {
    font-size: 12px;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  .overlay-body th,
  .overlay-body td {
    padding: 8px 12px;
    min-width: 100px;
  }

  .overlay-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .step-section {
    padding: 100px 16px 80px;
  }

  .step-inner {
    padding: 20px;
  }

  .step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .badge {
    align-self: flex-start;
  }

  .footer-container {
    padding: 32px 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo img {
    width: 100px;
    margin-bottom: 12px;
  }

  .footer-about p {
    font-size: 0.9rem;
    margin: 8px 0;
  }

  .footer-contact-item {
    margin: 4px 0;
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding-top: 16px;
    font-size: 0.8rem;
  }

  .header-top-bar {
    display: none;
  }

  .timeline {
    margin-top: 40px;
    padding-top: 30px;
  }

  .timeline-container {
    overflow-x: auto;
    padding: 0 10px 20px;
  }

  .timeline-steps {
    min-width: 800px;
    padding: 0 20px;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .theme-toggle {
    top: 12px;
    right: 65px;
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .theme-icon {
    width: 18px;
    height: 18px;
  }

  .overlay-body table {
    font-size: 11px;
  }

  .overlay-body th,
  .overlay-body td {
    padding: 6px 8px;
    min-width: 80px;
  }

  .step-section {
    padding: 80px 12px 60px;
  }

  .step-inner {
    padding: 16px;
  }

  .tags {
    gap: 12px;
  }

  .tag {
    font-size: 12px;
    padding: 12px 18px;
  }

  .timeline-steps {
    min-width: 600px;
    gap: 2px;
  }

  .timeline-step {
    padding: 10px 4px;
    min-width: 60px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
  }

  .timeline-number {
    font-size: 9px;
  }

  .overlay-card {
    padding: 25px 16px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ===== PROGRESS INDICATOR ===== */
.progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(59, 130, 246, 0.1);
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
  width: 0%;
  transition: width 0.1s ease;
}

/* ===== ADDITIONAL STYLES ===== */
.modal-open { 
  overflow: hidden; 
}

.clicked { 
  transform: scale(0.95) !important; 
}

.fade-in-up { 
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; 
}
/* ===== SELF-ASSESSMENT SECTION ===== */
.self-assessment-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(59, 130, 246, 0.2);
  padding: 2.5rem;
  border-radius: 16px;
  margin: 3rem 0;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
  position: relative;
  overflow: hidden;
}

.self-assessment-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #7c3aed, #3b82f6);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

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

.readiness-checklist {
  display: block !important;
  width: 100%;
  margin-top: 1.5rem;
}

.checkbox-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(59, 130, 246, 0.08);
  border: 2px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
  clear: both;
}

[data-theme="light"] .checkbox-item {
  background: var(--card);
  border: 2px solid transparent;
}

.checkbox-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #7c3aed);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.checkbox-item:hover {
  background: var(--surface-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.checkbox-item:hover::before {
  transform: scaleY(1);
}

.checkbox-item input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #3b82f6;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked {
  transform: scale(1.1);
}

.checkbox-item span {
  flex: 1;
  line-height: 1.65;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.assessment-result {
  margin-top: 2rem;
  padding: 1.75rem;
  border-left: 5px solid #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
  border-radius: 12px;
  animation: fadeInUp 0.5s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.assessment-result p {
  margin: 0.75rem 0;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 1rem;
}

.assessment-result p:first-child {
  font-size: 1.15rem;
  font-weight: 600;
}

.assessment-result b {
  color: #3b82f6;
  font-weight: 700;
}

/* ===== RESPONSIVE FOR SELF-ASSESSMENT ===== */
@media (max-width: 768px) {
  .self-assessment-box {
    padding: 1.75rem;
    margin: 2rem 0;
  }

  .readiness-checklist {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .checkbox-item {
    padding: 0.875rem 1rem;
  }

  .checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }

  .checkbox-item span {
    font-size: 0.9rem;
  }

  .assessment-result {
    padding: 1.25rem;
    margin-top: 1.5rem;
  }

  .assessment-result p {
    font-size: 0.95rem;
  }

  .assessment-result p:first-child {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .self-assessment-box {
    padding: 1.5rem;
  }

  .checkbox-item {
    padding: 0.75rem;
  }

  .checkbox-item:hover {
    transform: translateX(4px);
  }
}
