/* ==========================================================================
   VOIIE INC - DESIGN SYSTEM & STYLESHEET (LIGHT SKIN CORPORATE REBUILD)
   Brand: Enterprise Trust meets Cutting-Edge Innovation
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Root Variables --- */
:root {
  /* Color Palette - Premium Corporate Light Skin */
  --color-primary: #0F172A;         /* Slate 900 (Security & Authority) */
  --color-secondary: #334155;       /* Slate 700 (Subheaders & body text) */
  --color-bg-dark: #F8FAFC;         /* Slate 50 (Clean light layout) */
  --color-bg-light: #F8FAFC;        /* Slate 50 */
  --color-bg-white: #FFFFFF;        /* Pure White (Cards & backgrounds) */
  --color-accent-teal: #0EA5E9;     /* sky-500 (Vibrant active accents) */
  --color-accent-purple: #6366F1;   /* indigo-500 (Modern digital core) */
  --color-text-primary: #1E293B;    /* Slate 800 (High-contrast text) */
  --color-text-muted: #64748B;      /* Slate 500 (Muted subtext) */
  --color-text-light: #FFFFFF;      /* Absolute White */
  --color-text-dark-muted: #64748B; /* Secondary card descriptions */
  --color-border: #F1F5F9;          /* Slate 100 (Subtle borders) */
  --color-border-dark: #E2E8F0;     /* Slate 200 (Active elements) */

  /* Gradients */
  --gradient-tech: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-teal) 100%);
  --gradient-hero: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%); /* Soft sky-blue to white */
  --gradient-glass: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  
  /* Shadows & Blur */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 10px 30px -10px rgba(99, 102, 241, 0.25);

  /* Font Families */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout Headers */
  --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & GRIDS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

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

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.section-padding {
  padding: 5rem 0;
}
@media (min-width: 1024px) {
  .section-padding {
    padding: 7.5rem 0;
  }
}

/* ==========================================================================
   SHARED UI ELEMENTS / COMPONENTS
   ========================================================================== */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4F46E5; /* Premium corporate Indigo 600 on hover */
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #4F46E5;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent-purple);
  border-color: var(--color-accent-purple);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-2px);
}

.btn-light-outline {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-border-dark);
}

.btn-light-outline:hover {
  border-color: var(--color-accent-purple);
  color: var(--color-accent-purple);
  background: rgba(99, 102, 241, 0.02);
  transform: translateY(-2px);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header .badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-accent-purple);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.75rem;
  }
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --- Glassmorphic / Premium Cards --- */
.glass-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-premium);
}

.glass-card h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.glass-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Light Corporate Cards --- */
.corp-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.corp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-tech);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.corp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--color-border-dark);
}

.corp-card:hover::before {
  opacity: 1;
}

.corp-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.corp-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   NAVIGATION (STICKY HEADER & MEGA MENU)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.85); /* Frosted Glass light theme */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid var(--color-border-dark);
}

.header-wrapper.scrolled .nav-link {
  color: var(--color-secondary);
}

.header-wrapper.scrolled .logo-text {
  color: var(--color-primary);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* Essential relative anchor for centered mega menus */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast) ease, opacity var(--transition-fast) ease;
}

.logo-img:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

/* Desktop Nav Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  height: 100%;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item {
  position: static; /* Let absolute mega menus calculate offsets relative to the full navbar */
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent-purple);
}

.nav-link svg {
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-item.active > .nav-link {
  color: var(--color-accent-purple) !important;
}

/* Mega Menu Dropdown - Decoupled Centered Design */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px) scale(0.96);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  padding: 2.25rem;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 1010;
}

/* Specific Dropdown Widths */
.mega-menu-services {
  width: 1100px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mega-menu-solutions {
  width: 420px;
  grid-template-columns: 1fr;
  padding: 2rem;
}

.nav-item:hover .mega-menu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mega-column-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-purple);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column; /* Corrected typo to ensure clean vertical stacking */
  gap: 0.85rem;
}

.mega-link {
  display: flex;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.mega-link:hover {
  background: var(--color-bg-light);
  transform: translateY(-1px);
}

.mega-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.mega-link:hover .mega-link-icon {
  background: var(--gradient-tech);
  color: var(--color-text-light);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.mega-link-text h4 {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mega-link-text p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Premium Interactive Sub-Footer for Mega Menu */
.mega-menu-footer {
  grid-column: 1 / -1;
  background: var(--color-bg-light);
  margin: 1.75rem -2.25rem -2.25rem -2.25rem;
  padding: 1.25rem 2.25rem;
  border-top: 1px solid var(--color-border-dark);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-menu-footer-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-purple);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mega-menu-footer-link:hover {
  color: var(--color-accent-teal);
  transform: translateX(2px);
}

.mega-menu-footer-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Hamburger Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Sidebar Drawer - Refactored in Premium Light Skin */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background-color: var(--color-bg-white);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.1);
  padding: 6rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 999;
  transition: right var(--transition-normal);
  overflow-y: auto;
  border-left: 1px solid var(--color-border-dark);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  padding: 0.6rem 0;
}

.mobile-submenu-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0.6rem 0;
}

.mobile-submenu-trigger svg {
  transition: transform var(--transition-fast);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 0 0.5rem 1rem;
  list-style: none;
  border-left: 2px solid var(--color-border-dark);
  margin-left: 0.25rem;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu-link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: block;
  padding: 0.35rem 0;
}

.mobile-submenu-link:hover {
  color: var(--color-accent-purple);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-sec {
  background: var(--gradient-hero);
  color: var(--color-text-primary);
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-sec {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 8rem;
  }
}

.hero-sec::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-sec::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

.hero-content h1 span {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero UI Mockup Illustration in pristine Light Skin */
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-container {
  width: 100%;
  max-width: 450px;
  height: 380px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 20px;
  position: relative;
  box-shadow: var(--shadow-premium);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border-dark);
}

.dot:nth-child(1) { background-color: #FF5F56; }
.dot:nth-child(2) { background-color: #FFBD2E; }
.dot:nth-child(3) { background-color: #27C93F; }

.mockup-title {
  color: var(--color-accent-purple);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mockup-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.mockup-row {
  height: 12px;
  background: var(--color-border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.mockup-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--gradient-tech);
}

.mockup-row:nth-child(1)::after { width: 75%; }
.mockup-row:nth-child(2)::after { width: 40%; }
.mockup-row:nth-child(3)::after { width: 90%; }
.mockup-row:nth-child(4)::after { width: 60%; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.stat-value {
  color: var(--color-accent-purple);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.floating-badge {
  position: absolute;
  background: var(--color-bg-white);
  border: 1px solid var(--color-accent-purple);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-premium);
  z-index: 10;
}

.floating-badge.badge-top {
  top: 20px;
  right: -20px;
}

.floating-badge.badge-bottom {
  bottom: 20px;
  left: -20px;
  border-color: var(--color-accent-teal);
}

.floating-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.floating-badge.badge-bottom .floating-badge-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-accent-teal);
}

.floating-badge-text h5 {
  font-size: 0.8rem;
  color: var(--color-primary);
}

.floating-badge-text p {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   INSURANCE FOCUS (LIFE, P&C, HEALTH, REINSURANCE)
   ========================================================================== */
.focus-section {
  background-color: var(--color-bg-light);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.focus-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.focus-item:hover {
  background: var(--color-bg-white);
  border-color: var(--color-accent-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-premium);
}

.focus-item-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.focus-item:hover .focus-item-icon {
  background: var(--gradient-tech);
  color: var(--color-text-light);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.focus-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.focus-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   THE M&A SPOTLIGHT (SPLIT VIEW WITH DIAGRAM)
   ========================================================================== */
.ma-spotlight {
  background: var(--color-bg-white);
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
}

.ma-spotlight-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ma-spotlight-grid {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

.ma-spotlight-content h2 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .ma-spotlight-content h2 {
    font-size: 2.5rem;
  }
}

.ma-spotlight-content h2 span {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ma-spotlight-content p {
  color: var(--color-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.ma-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ma-step {
  display: flex;
  gap: 1rem;
}

.ma-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.ma-step-text h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.ma-step-text p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Interactive flow diagram in Premium Light Mode */
.flow-diagram-container {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
}

.diagram-nodes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.diagram-node {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.diagram-node.active {
  border-color: var(--color-accent-purple);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.diagram-node-icon {
  width: 32px;
  height: 32px;
  background: var(--color-bg-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-purple);
}

.diagram-node.active .diagram-node-icon {
  background: var(--gradient-tech);
  color: var(--color-text-light);
}

.diagram-node-info h5 {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.diagram-node-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.diagram-connector {
  width: 2px;
  height: 1.5rem;
  background: var(--color-border-dark);
  margin-left: 1.5rem;
  position: relative;
}

.diagram-connector.active {
  background: var(--color-accent-purple);
}

/* ==========================================================================
   SOCIAL PROOF & SECURITY COMPLIANCE BADGES
   ========================================================================== */
.compliance-sec {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 3rem 0;
}

.compliance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}

.comp-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.comp-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-purple);
}

.comp-badge-icon {
  font-size: 1.5rem;
  color: var(--color-accent-purple);
}

.comp-badge-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.comp-badge-text p {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   TESTIMONIAL CAROUSEL
   ========================================================================== */
.testimonial-sec {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-dark);
}

.carousel-container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-family: var(--font-sans);
  color: var(--color-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(99, 102, 241, 0.1);
  position: absolute;
  top: -2.5rem;
  left: -2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-light);
  font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
}

.testimonial-info {
  text-align: left;
}

.testimonial-info h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--color-accent-purple);
  transform: scale(1.2);
}

/* ==========================================================================
   INNER PAGES LAYOUTS
   ========================================================================== */
.inner-hero {
  background: var(--gradient-hero);
  color: var(--color-text-primary);
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  text-align: center;
}

.inner-hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .inner-hero h1 {
    font-size: 3.25rem;
  }
}

.inner-hero p {
  color: var(--color-secondary);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto;
}

/* Legacy Migration Flow */
.legacy-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .legacy-flow {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .legacy-flow::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--color-border-dark);
    z-index: 1;
  }
}

.legacy-flow-step {
  flex: 1;
  text-align: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.legacy-flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-purple);
}

.legacy-flow-step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-tech);
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: -3.5rem auto 1.5rem auto;
  box-shadow: var(--shadow-md);
}

.legacy-flow-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.legacy-flow-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ACORD Drag & Drop parser simulation */
.parser-demo {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-premium);
  margin-top: 3rem;
}

.parser-dropzone {
  border: 2px dashed var(--color-accent-purple);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  text-align: center;
  background: rgba(99, 102, 241, 0.01);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.parser-dropzone:hover {
  background: rgba(99, 102, 241, 0.03);
}

.parser-dropzone-icon {
  font-size: 3rem;
  color: var(--color-accent-purple);
  margin-bottom: 1rem;
}

.parser-dropzone h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.parser-dropzone p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.parser-output-box {
  display: none;
  margin-top: 2rem;
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
}

.parser-output-box.active {
  display: block;
}

.parser-output-grid {
  display: grid;
  gap: 1.5rem;
}

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

.parser-meta {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 1.5rem;
}

.parser-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.parser-meta-item:last-child {
  border-bottom: none;
}

.parser-meta-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.parser-meta-val {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.parser-json {
  background: var(--color-primary); /* Keep dark for readable terminal syntax styling */
  border-radius: 10px;
  padding: 1.5rem;
  color: #a9ffb2;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  max-height: 250px;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   CONTACT PAGE (MULTI-STEP FORM)
   ========================================================================== */
.contact-layout {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.form-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.form-steps-indicator::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-border-dark);
  z-index: 1;
}

.form-step-dot {
  width: 32px;
  height: 32px;
  background: var(--color-bg-white);
  border: 2px solid var(--color-border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.form-step-dot.active {
  border-color: var(--color-accent-purple);
  color: var(--color-accent-purple);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.form-step-dot.completed {
  border-color: var(--color-accent-teal);
  background: var(--color-accent-teal);
  color: var(--color-text-light);
}

.form-step-panel {
  display: none;
}

.form-step-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  background-color: var(--color-bg-white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  color: var(--color-text-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-purple);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.contact-sidebar {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-block h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-icon {
  color: var(--color-accent-purple);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-info-text p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.footer-sec {
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border-dark);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  }
}

.footer-logo {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.footer-column h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-tech);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent-purple);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent-purple);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.footer-legal-links a:hover {
  color: var(--color-accent-purple);
}
