/* ==========================================================================
   MAYU INFOTECH - ULTRA-MODERN CORPORATE DESIGN SYSTEM (2026)
   Theme: Pristine White Background + Royal Midnight Purple (#21133F) + Warm Gold (#F59E0B)
   Fully Responsive for All Devices (Mobile 320px - 480px, Tablet 768px - 1024px, Desktop 1280px+)
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Default Clean White & Logo-Harmonized Color Palette */
  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F8FAFC;
  --bg-surface-brand: #FAF7FF;
  --bg-surface-gold: #FFFDF7;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.94);
  
  --border-subtle: #E2E8F0;
  --border-brand: rgba(33, 19, 63, 0.12);
  --border-brand-hover: rgba(33, 19, 63, 0.35);
  --border-card: #E2E8F0;
  --border-card-hover: rgba(33, 19, 63, 0.28);
  --border-gold: rgba(245, 158, 11, 0.4);
  --border-highlight: #F59E0B;
  
  --text-primary: #180D2E;         /* Deepest Royal Purple-Black for ultra-crisp readability */
  --text-secondary: #475569;       /* Slate neutral */
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  /* Authentic Mayu Infotech Brand Colors (From Official Logo SVG) */
  --brand-royal: #21133F;          /* Official Logo Base Circle */
  --brand-royal-light: #371D64;    /* Mid Royal Purple */
  --brand-royal-subtle: rgba(33, 19, 63, 0.06);
  --brand-royal-glow: rgba(33, 19, 63, 0.16);

  --brand-gold: #F59E0B;           /* Official Logo 'M' Monogram Gold */
  --brand-gold-dark: #D97706;      /* Rich Amber */
  --brand-gold-light: #FBBF24;     /* Bright Golden Yellow */
  --brand-gold-subtle: rgba(245, 158, 11, 0.1);
  --brand-gold-glow: rgba(245, 158, 11, 0.3);

  --accent-primary: #21133F;       /* Primary CTA & Brand Accent */
  --accent-primary-light: #371D64;
  --accent-primary-glow: rgba(33, 19, 63, 0.16);

  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);

  --accent-emerald: #10B981;       /* 99.99% Uptime / 100/100 Lighthouse */
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);

  --gradient-brand: linear-gradient(135deg, #21133F 0%, #4E2582 55%, #F59E0B 100%);
  --gradient-primary: linear-gradient(135deg, #21133F 0%, #351C66 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FAF7FF 100%);
  --gradient-hero: radial-gradient(circle at 50% 12%, rgba(33, 19, 63, 0.04), transparent 60%),
                   radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.05), transparent 50%),
                   radial-gradient(circle at 15% 65%, rgba(33, 19, 63, 0.03), transparent 50%);

  --shadow-sm: 0 2px 6px rgba(33, 19, 63, 0.04);
  --shadow-md: 0 6px 20px rgba(33, 19, 63, 0.06);
  --shadow-lg: 0 16px 36px rgba(33, 19, 63, 0.08);
  --shadow-hover: 0 20px 45px rgba(33, 19, 63, 0.12);
  --shadow-gold-glow: 0 6px 24px rgba(245, 158, 11, 0.35);

  --font-heading: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 80px;
}

/* Optional Dark Mode Fallback */
[data-theme="dark"] {
  --bg-main: #0B0716;
  --bg-surface: #120C22;
  --bg-surface-elevated: #1A1230;
  --bg-surface-brand: #18102C;
  --bg-surface-gold: #1A1320;
  --bg-card: #140E26;
  --bg-card-hover: #1D1438;
  --bg-glass: rgba(18, 12, 34, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-brand: rgba(245, 158, 11, 0.25);
  --border-brand-hover: rgba(245, 158, 11, 0.5);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-card-hover: rgba(245, 158, 11, 0.4);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0B0716;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.7);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

::selection {
  background: var(--brand-royal);
  color: var(--brand-gold-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border: 2px solid #F8FAFC;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-royal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility Badges & Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #21133F 0%, #4E2582 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #B45309 0%, #D97706 40%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(33, 19, 63, 0.06);
  border: 1px solid rgba(33, 19, 63, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-royal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(33, 19, 63, 0.05);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.badge-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-gold);
  animation: pulseGlow 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 46px;
}

/* Primary Button: Royal Midnight Purple with Gold Hover */
.btn-primary {
  background: linear-gradient(135deg, #21133F 0%, #351C66 100%);
  color: #FFFFFF;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 18px rgba(33, 19, 63, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 19, 63, 0.35);
  border-color: var(--brand-gold);
  color: #FFFFFF;
}

/* Gold Button: Vibrant Amber with Deep Royal Text */
.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  color: #21133F;
  font-weight: 700;
  border: 1px solid rgba(217, 119, 6, 0.4);
  box-shadow: var(--shadow-gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);
}

/* Secondary Button: Crisp White with Royal Border */
.btn-secondary {
  background: #FFFFFF;
  color: var(--brand-royal);
  border: 1.5px solid rgba(33, 19, 63, 0.2);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--brand-royal);
  background: var(--bg-surface-brand);
  transform: translateY(-2px);
  color: var(--brand-royal);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--brand-royal);
  border: 1.5px solid var(--border-subtle);
}
.btn-outline:hover {
  background: rgba(33, 19, 63, 0.05);
  border-color: var(--brand-royal);
  color: var(--brand-royal);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  min-height: 38px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(33, 19, 63, 0.08);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 68px;
  background: #FFFFFF;
  border-bottom-color: rgba(33, 19, 63, 0.14);
  box-shadow: 0 4px 20px rgba(33, 19, 63, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-bounce);
  flex-shrink: 0;
}
.brand-logo-icon svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(33, 19, 63, 0.2);
}
.brand-logo:hover .brand-logo-icon {
  transform: rotate(6deg) scale(1.08);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  line-height: 1;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-royal);
  line-height: 1.1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  display: block;
  margin: 0;
  padding: 0;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
  white-space: nowrap;
  display: block;
  padding: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-royal);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #21133F, #F59E0B);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Switcher */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--brand-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  border-color: var(--brand-gold);
  transform: rotate(20deg);
}

.status-indicator-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brand-royal);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: #FFFFFF;
  padding: 24px 20px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}
.mobile-nav-drawer.active {
  display: flex;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav-links .nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 8px 0;
  color: var(--brand-royal);
}

/* ==========================================================================
   HERO SECTION WITH WHITE BACKGROUND & PARTICLE CANVAS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  background: var(--gradient-hero), #FFFFFF;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-lead {
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-lead strong {
  color: var(--brand-royal);
  font-weight: 600;
}

.hero-features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(33, 19, 63, 0.04);
  max-width: 100%;
}

.hero-feat-item svg {
  color: #059669;
  flex-shrink: 0;
}

.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
  width: 100%;
}

/* Hero Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-royal);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual: Terminal Card (Modern Light High-Tech) */
.hero-visual-container {
  position: relative;
  width: 100%;
}

.hero-terminal-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 19, 63, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(33, 19, 63, 0.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  width: 100%;
}
.hero-terminal-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-4px);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface-brand);
  border-bottom: 1px solid #EDE9FE;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-royal);
  font-weight: 600;
}

.terminal-body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  background: #FFFFFF;
  overflow-x: auto;
}

.code-line {
  margin-bottom: 5px;
  color: #334155;
  white-space: pre-wrap;
}
.code-keyword { color: #7C3AED; font-weight: 600; }
.code-fn { color: #0284C7; }
.code-str { color: #059669; }
.code-comment { color: #94A3B8; font-style: italic; }
.code-val { color: #D97706; font-weight: 600; }

/* Live Pulse Metrics HUD Widget */
.terminal-metrics-box {
  margin-top: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hud-metric {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(33, 19, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-royal);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.hud-metric-info {
  display: flex;
  flex-direction: column;
}
.hud-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-royal);
  line-height: 1.2;
}
.hud-lab {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Floating Status Tag */
.floating-badge-pulse {
  position: absolute;
  top: -12px;
  right: -8px;
  background: #FFFFFF;
  border: 1px solid #10B981;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
  animation: floatBounce 4s ease-in-out infinite;
  z-index: 5;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   MARQUEE TECH & TRUST STRIP
   ========================================================================== */
.tech-marquee-section {
  padding: 18px 0;
  background: var(--bg-surface-brand);
  border-top: 1px solid #EDE9FE;
  border-bottom: 1px solid #EDE9FE;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: inline-flex;
  gap: 24px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-royal);
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(33, 19, 63, 0.04);
  white-space: nowrap;
}

.marquee-item svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   INTERACTIVE CORE WEB VITALS SIMULATOR
   ========================================================================== */
.simulator-section {
  padding: 90px 0;
  background: #FFFFFF;
  position: relative;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px auto;
  width: 100%;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--brand-royal);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.simulator-card-wrapper {
  background: #FFFFFF;
  border: 1px solid rgba(33, 19, 63, 0.12);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  width: 100%;
}

.sim-toggle-control {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sim-btn-tab {
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  background: #F8FAFC;
  color: var(--text-secondary);
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-btn-tab.active {
  background: var(--brand-royal);
  color: #FFFFFF;
  border-color: var(--brand-royal);
  box-shadow: 0 4px 18px rgba(33, 19, 63, 0.25);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
}

.sim-comparison-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  transition: all var(--transition-smooth);
}

.sim-comparison-card.highlight-winner {
  background: #FFFFFF;
  border: 2px solid #10B981;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.sim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.sim-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  white-space: nowrap;
}
.sim-badge-win {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid #10B981;
}
.sim-badge-lose {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid #EF4444;
}

.lighthouse-circle-score {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  border: 5px solid;
  margin-bottom: 0;
  flex-shrink: 0;
}

.score-green {
  border-color: #10B981;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
}
.score-red {
  border-color: #EF4444;
  color: #DC2626;
  background: rgba(239, 68, 68, 0.08);
}

.lighthouse-circle-score span {
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
}

.sim-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  gap: 10px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fill-emerald { background: #10B981; }
.fill-red { background: #EF4444; }

/* ==========================================================================
   SERVICES & 3D SPOTLIGHT CARDS
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background: var(--bg-surface-elevated);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.service-card-spotlight {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #21133F 0%, #F59E0B 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card-spotlight:hover {
  transform: translateY(-6px);
  border-color: rgba(33, 19, 63, 0.3);
  box-shadow: var(--shadow-hover);
}

.service-card-spotlight:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-brand);
  border: 1.5px solid rgba(33, 19, 63, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-royal);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(33, 19, 63, 0.06);
}

.service-card-spotlight:nth-child(2) .service-icon-wrap {
  color: var(--brand-royal);
  border-color: rgba(33, 19, 63, 0.18);
  background: #FAF7FF;
}

.service-card-spotlight:nth-child(3) .service-icon-wrap {
  color: var(--brand-gold-dark);
  border-color: rgba(245, 158, 11, 0.3);
  background: #FFFDF5;
}

.service-num-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  margin-bottom: 8px;
  display: block;
}

.service-title {
  font-size: 1.38rem;
  margin-bottom: 12px;
  color: var(--brand-royal);
}

.service-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
}

.service-feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.service-feature-checklist li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   PHILOSOPHY & 6 PILLARS GRID
   ========================================================================== */
.philosophy-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  width: 100%;
}

.pillar-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface-brand);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-gold-dark);
  margin-bottom: 10px;
  display: inline-block;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--brand-royal);
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   AGENCY COMPARISON MATRIX
   ========================================================================== */
.comparison-section {
  padding: 90px 0;
  background: var(--bg-surface-elevated);
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid #E2E8F0;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  background: #F8FAFC;
  color: var(--brand-royal);
  white-space: nowrap;
}

.comparison-table th.col-mayu {
  background: var(--brand-royal);
  color: #FFFFFF;
  border-left: 2px solid var(--brand-royal);
  border-right: 2px solid var(--brand-royal);
}

.comparison-table td.col-mayu {
  background: rgba(33, 19, 63, 0.03);
  font-weight: 600;
  color: var(--brand-royal);
  border-left: 2px solid var(--brand-royal);
  border-right: 2px solid var(--brand-royal);
}

.check-icon-win {
  color: #059669;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-icon-lose {
  color: #DC2626;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   DYNAMIC PROJECT ESTIMATOR & ROI CALCULATOR
   ========================================================================== */
.estimator-section {
  padding: 90px 0;
  background: #FFFFFF;
  position: relative;
}

.estimator-container {
  background: #FFFFFF;
  border: 1px solid rgba(33, 19, 63, 0.12);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  width: 100%;
  align-items: start;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.estimator-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-royal);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step-label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-gold-dark);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.option-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.option-card-selector {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-fast);
  text-align: left;
}

.option-card-selector:hover {
  border-color: var(--brand-royal);
  background: #FFFFFF;
}

.option-card-selector.selected {
  background: #FAF7FF;
  border-color: var(--brand-royal);
  box-shadow: 0 4px 14px rgba(33, 19, 63, 0.12);
}

.opt-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-royal);
  line-height: 1.2;
}

.opt-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Checkbox Addons */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 680px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

.addon-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.addon-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.addon-checkbox-label input[type="checkbox"] {
  accent-color: var(--brand-royal);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}

.addon-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-royal);
  line-height: 1.3;
}

.addon-price-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.addon-checkbox-label:hover {
  border-color: var(--brand-royal);
  background: #FFFFFF;
}

.addon-checkbox-label.selected {
  background: #FAF7FF;
  border-color: var(--brand-royal);
  box-shadow: 0 2px 10px rgba(33, 19, 63, 0.08);
}

.badge-mini-gold {
  color: var(--brand-gold-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.price-subnote {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 4px;
}
.price-subnote strong {
  color: var(--brand-royal);
}

/* Estimator Live Output Card */
.estimator-summary-card {
  background: var(--bg-surface-brand);
  border: 1.5px solid rgba(33, 19, 63, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-md);
}

.summary-header {
  margin-bottom: 18px;
  border-bottom: 1px solid #EDE9FE;
  padding-bottom: 12px;
}

.summary-title {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--brand-royal);
}

.estimate-price-box {
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.price-main {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-royal);
  line-height: 1.1;
}

.price-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.scope-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  margin-bottom: 22px;
  color: var(--text-secondary);
}

.scope-breakdown-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.scope-breakdown-list li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   PORTFOLIO & CASE STUDIES
   ========================================================================== */
.portfolio-section {
  padding: 90px 0;
  background: var(--bg-surface-elevated);
}

.portfolio-filter-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.port-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
  background: #FFFFFF;
  color: var(--text-secondary);
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(33, 19, 63, 0.04);
}

.port-filter-btn.active, .port-filter-btn:hover {
  background: var(--brand-royal);
  color: #FFFFFF;
  border-color: var(--brand-royal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.portfolio-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.portfolio-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.portfolio-img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

.portfolio-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-title {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--brand-royal);
}

.portfolio-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.portfolio-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  max-width: 100%;
}

/* ==========================================================================
   TESTIMONIALS & REVIEWS
   ========================================================================== */
.testimonials-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars-rating {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--brand-gold-light);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
  color: var(--brand-royal);
}

.author-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   INTERACTIVE BLOG & KNOWLEDGE HUB
   ========================================================================== */
.blog-section {
  padding: 90px 0;
  background: var(--bg-surface-elevated);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.blog-post-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.blog-post-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-post-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.blog-post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-post-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  margin-bottom: 6px;
}

.blog-post-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--brand-royal);
}

.blog-post-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-royal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: 36px;
}

.blog-read-more-btn:hover {
  color: var(--brand-gold-dark);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.faq-search-box {
  margin-bottom: 20px;
}

.faq-search-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 13px 20px;
  font-size: 0.92rem;
  color: var(--brand-royal);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--brand-royal);
  box-shadow: 0 0 16px rgba(33, 19, 63, 0.12);
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(33, 19, 63, 0.03);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-royal);
  box-shadow: 0 6px 20px rgba(33, 19, 63, 0.08);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-royal);
  cursor: pointer;
  gap: 14px;
}

.faq-icon-arrow {
  width: 18px;
  height: 18px;
  color: var(--brand-gold);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer-pane {
  max-height: 800px;
  padding-bottom: 18px;
}

/* ==========================================================================
   SMART CONSULTATION & CONTACT WIZARD
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background: var(--bg-surface-elevated);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  width: 100%;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.contact-method-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-brand);
  border: 1px solid #EDE9FE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-royal);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-method-details h4 {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-method-details a, .contact-method-details p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-royal);
}

.contact-method-details a:hover {
  color: var(--brand-gold-dark);
}

/* Form Styling */
.consultation-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 19, 63, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-royal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 15px;
  color: var(--brand-royal);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  min-height: 46px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--brand-royal);
  box-shadow: 0 0 16px rgba(33, 19, 63, 0.12);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER (Deep Royal Midnight Purple Anchor)
   ========================================================================== */
.site-footer {
  background: #180D2E;
  border-top: 3px solid #F59E0B;
  padding: 60px 0 26px 0;
  color: #E2E8F0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
  width: 100%;
}

.footer-brand-info .brand-name {
  color: #FFFFFF !important;
}

.footer-brand-info p {
  font-size: 0.88rem;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 320px;
  color: #CBD5E1;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  font-size: 0.86rem;
  color: #CBD5E1;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: #F59E0B;
  transform: translateX(4px);
}

.footer-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 14px;
  color: #94A3B8;
}

.social-links-row {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: #F59E0B;
  color: #21133F;
  border-color: #F59E0B;
  transform: translateY(-3px);
}

/* Floating Widgets */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-smooth);
}
.floating-whatsapp-btn:hover {
  transform: scale(1.1);
}

.back-to-top-btn {
  position: fixed;
  bottom: 84px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(33, 19, 63, 0.2);
  color: var(--brand-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  background: var(--brand-royal);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL COMPONENT
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 13, 46, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  border: 1px solid rgba(33, 19, 63, 0.15);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  padding: 30px 24px;
  position: relative;
  box-shadow: 0 24px 60px rgba(33, 19, 63, 0.2);
  transform: scale(0.92);
  transition: transform var(--transition-bounce);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 4px;
  line-height: 1;
}
.modal-close-btn:hover {
  color: var(--brand-royal);
}

/* ==========================================================================
   INNER PAGES ENHANCEMENTS & SEO RICH CONTENT COMPONENTS
   ========================================================================== */
.inner-page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FAF7FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid #EDE9FE;
  overflow: hidden;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb-trail a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumb-trail a:hover {
  color: var(--brand-royal);
}

.breadcrumb-separator {
  color: #CBD5E1;
}

.breadcrumb-current {
  color: var(--brand-royal);
  font-weight: 700;
}

.inner-hero-content {
  max-width: 900px;
}

.inner-hero-title {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--brand-royal);
}

.inner-hero-lead {
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.inner-hero-lead strong {
  color: var(--brand-royal);
}

.inner-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-section {
  padding: 70px 0;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.seo-rich-block {
  background: #FFFFFF;
  border: 1px solid #EDE9FE;
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.seo-rich-block:hover {
  border-color: var(--brand-royal);
  box-shadow: var(--shadow-md);
}

.seo-rich-block h2, .seo-rich-block h3 {
  color: var(--brand-royal);
  margin-bottom: 16px;
}

.seo-rich-block p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.seo-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.seo-feature-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--brand-royal);
  font-weight: 500;
}

.seo-feature-item svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 4px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #FAF7FF 0%, #FFFDF7 100%);
  border: 2px solid rgba(33, 19, 63, 0.15);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
  color: var(--brand-royal);
}

.cta-banner-card p {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.process-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.process-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-gold-dark);
  margin-bottom: 12px;
  display: block;
}

.tech-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--brand-royal);
  box-shadow: 0 2px 6px rgba(33, 19, 63, 0.04);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.contact-quick-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.contact-quick-card:hover {
  border-color: var(--brand-royal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ADVANCED RESPONSIVE MEDIA QUERIES (320px to 1440px)
   ========================================================================== */

/* Laptop & Tablet Landscape (1024px to 1180px) */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-container {
    max-width: 680px;
    margin: 0 auto;
  }
  .services-grid, .pillars-grid, .portfolio-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estimator-container, .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptop & Tablet Portrait (768px to 1180px) */
@media (max-width: 1180px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Small Tablets & Large Phones (640px to 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  .container {
    padding: 0 18px;
  }
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 50px;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  }
  .simulator-section, .services-section, .philosophy-section, .comparison-section, .estimator-section, .portfolio-section, .testimonials-section, .blog-section, .faq-section, .contact-section {
    padding: 65px 0;
  }
  .simulator-grid {
    grid-template-columns: 1fr;
  }
  .simulator-card-wrapper {
    padding: 22px 18px;
  }
  .estimator-container {
    padding: 24px 18px;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .status-indicator-pill {
    display: none;
  }
}

/* Standard Mobile Phones (480px to 640px) */
@media (max-width: 640px) {
  .services-grid, .pillars-grid, .portfolio-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .floating-badge-pulse {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
    animation: none;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Compact Mobile Phones (320px to 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
  .header-actions .btn {
    display: none !important;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo-icon {
    width: 36px;
    height: 36px;
  }
  .brand-logo-icon svg {
    width: 30px;
    height: 30px;
  }
  .brand-name {
    font-size: 1.15rem;
    line-height: 1.1;
  }
  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 1.2px;
    margin-top: 2px;
  }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
  }
  .hero-lead {
    font-size: 0.94rem;
  }
  .hero-actions-group {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions-group .btn {
    width: 100%;
  }
  .sim-toggle-control {
    flex-direction: column;
    width: 100%;
  }
  .sim-btn-tab {
    width: 100%;
    text-align: center;
  }
  .option-cards-row {
    grid-template-columns: 1fr;
  }
  .price-main {
    font-size: 1.7rem;
  }
  .consultation-form-card {
    padding: 22px 14px;
  }
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .back-to-top-btn {
    bottom: 74px;
    right: 20px;
    width: 38px;
    height: 38px;
  }
  .modal-container {
    padding: 24px 16px;
  }
}
