/* ==========================================================================
   AI SOLUTIONS — PREMIUM STATIC STYLESHEET
   Colors: Deep Navy (#0B1220), Dark Blue (#111C35), Primary Blue (#2563EB),
           Bright Blue (#3B82F6), Cyan (#06B6D4), Light BG (#F8FAFC),
           Dark Text (#172033), Muted Text (#64748B), White (#FFFFFF)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --color-navy: #0B1220;
  --color-dark-blue: #111C35;
  --color-primary: #2563EB;
  --color-bright-blue: #3B82F6;
  --color-cyan: #06B6D4;
  --color-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-text-dark: #172033;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-border-dark: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-hero-text: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  --grad-surface-dark: linear-gradient(180deg, #111C35 0%, #0B1220 100%);
  --grad-card-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.04) 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 18, 32, 0.05), 0 1px 2px rgba(11, 18, 32, 0.03);
  --shadow-md: 0 4px 14px -1px rgba(11, 18, 32, 0.07), 0 2px 6px -1px rgba(11, 18, 32, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(11, 18, 32, 0.1), 0 4px 12px -2px rgba(11, 18, 32, 0.05);
  --shadow-xl: 0 20px 40px -10px rgba(11, 18, 32, 0.16);
  --shadow-card-dark: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.28);

  /* Transitions */
  --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max-w: 1240px;
  --nav-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Base & Reset
   -------------------------------------------------------------------------- */
*, *::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-body);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Focus outline for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.375rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.text-gradient {
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.0625rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--trans-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Sticky Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgb(11, 18, 32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 1000;
  transition: all var(--trans-base);
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(11, 18, 32, 0.96);
  border-bottom-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.logo-symbol {
  width: 100%;
  height: 100%;
}

.brand-name-accent {
  color: var(--color-cyan);
  font-weight: 700;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #94A3B8;
  position: relative;
  padding: 6px 0;
  transition: color var(--trans-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width var(--trans-base);
}

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

.nav-link.active {
  color: var(--color-white);
  font-weight: 600;
}

/* Header Action & Mobile Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  z-index: 1001;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--trans-base);
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: 120px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-ambient-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content,
.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  max-width: 100%;
}

.pulse-indicator {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  word-wrap: break-word;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 540px;
  margin-bottom: 36px;
  word-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-capabilities-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #64748B;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-label {
  font-weight: 600;
  color: #94A3B8;
  font-family: var(--font-heading);
}

.strip-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #CBD5E1;
}

.separator {
  color: var(--color-cyan);
  font-size: 0.75rem;
}

/* Hero SVG Illustration Floating Animations */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.illustration-canvas {
  width: 100%;
  max-width: 580px;
  min-width: 0;
  perspective: 1000px;
}

.hero-svg-scene {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-window {
  animation: floatSlow 6s ease-in-out infinite;
  transform-origin: center;
}

.hero-mobile-card {
  animation: floatCard 5s ease-in-out infinite 0.8s;
  transform-origin: center;
}

.hero-cloud-badge {
  animation: floatBadge 4.5s ease-in-out infinite 1.5s;
}

.hero-metric-pill {
  animation: floatPill 5.5s ease-in-out infinite 0.4s;
}

.node-pulse {
  animation: pulseDot 2s infinite ease-in-out;
  transform-origin: 280px 120px;
}

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

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

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

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

@keyframes pulseDot {
  0%, 100% { r: 3.5; opacity: 1; }
  50% { r: 5.5; opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   7. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.about-content,
.about-visual {
  min-width: 0;
  width: 100%;
}

.about-lead {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.about-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all var(--trans-base);
}

.about-card:hover {
  transform: translateY(-3px);
  background-color: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.about-card-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
}

.about-card:hover .about-card-icon-box {
  background: var(--grad-primary);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.about-card-icon {
  width: 24px;
  height: 24px;
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.about-card-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-illustration-wrapper {
  width: 100%;
  max-width: 480px;
}

.about-svg {
  width: 100%;
  height: auto;
}

.ab-layer {
  transition: transform var(--trans-smooth);
}

.about-card:hover ~ .about-visual .ab-layer-mid {
  transform: translate(80px, 195px);
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
}

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

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--trans-base);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-xl);
}

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

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: -0.02em;
}

.service-card:hover .service-number {
  color: var(--color-primary);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-base);
}

.service-card:hover .service-icon-wrap {
  background: var(--grad-primary);
  color: var(--color-white);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.service-icon {
  width: 26px;
  height: 26px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.service-lead {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-capabilities {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.capability-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
  background-color: var(--color-bg-light);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  transition: all var(--trans-fast);
}

.service-card:hover .capability-tag {
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--color-text-dark);
}

/* --------------------------------------------------------------------------
   9. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--color-navy);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.why-us-content,
.why-us-visual {
  min-width: 0;
  width: 100%;
}

.why-us-section .section-title {
  color: var(--color-white);
}

.why-us-lead {
  font-size: 1.1875rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 36px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 14px;
  background-color: rgba(17, 28, 53, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--trans-base);
}

.benefit-item:hover {
  background-color: rgba(17, 28, 53, 0.95);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateX(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.benefit-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon {
  width: 22px;
  height: 22px;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.benefit-text {
  font-size: 0.9375rem;
  color: #94A3B8;
  line-height: 1.55;
}

.why-us-visual {
  display: flex;
  justify-content: center;
}

.why-us-illustration-wrapper {
  width: 100%;
  max-width: 500px;
}

.why-us-svg {
  width: 100%;
  height: auto;
}

.orbit-node {
  transition: transform var(--trans-base);
}

.benefit-item:hover ~ .why-us-visual .orbit-node {
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.5));
}

/* --------------------------------------------------------------------------
   10. Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
  background-color: var(--color-navy);
  padding-bottom: 80px;
}

.stats-banner {
  background: var(--color-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: var(--shadow-card-dark);
}

.stats-banner-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-caption-badge {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background-color: rgba(6, 182, 212, 0.15);
  color: var(--color-cyan);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.stats-note {
  font-size: 0.8125rem;
  color: #64748B;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -16px;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.08);
}

.stat-number-wrap {
  margin-bottom: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: inline-block;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Process Section
   -------------------------------------------------------------------------- */
.process-section {
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 40px;
}

.timeline-track {
  position: absolute;
  top: 44px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary), var(--color-cyan) 50%, var(--color-primary));
  opacity: 0.35;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-primary);
  background-color: rgba(37, 99, 235, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.step-icon-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transition: all var(--trans-base);
}

.process-step:hover .step-icon-bubble {
  background: var(--grad-primary);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.step-icon {
  width: 28px;
  height: 28px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 250px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   12. Capabilities Section
   -------------------------------------------------------------------------- */
.capabilities-section {
  background-color: var(--color-white);
}

.capabilities-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 14px 24px;
  border-radius: 999px;
  transition: all var(--trans-base);
  cursor: default;
}

.capability-pill:hover {
  background-color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform var(--trans-fast);
}

.pill-icon svg {
  width: 20px;
  height: 20px;
}

.capability-pill:hover .pill-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--color-cyan);
}

.pill-text {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

/* --------------------------------------------------------------------------
   13. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background-color: var(--color-navy);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-svg-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.1875rem;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   14. Contact Section & Form
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--color-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info-panel,
.contact-form-panel {
  min-width: 0;
  width: 100%;
}

.contact-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 22px 24px;
  border-radius: 16px;
  transition: all var(--trans-base);
}

.contact-method-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.contact-icon-bubble {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.contact-method-body {
  display: flex;
  flex-direction: column;
}

.contact-method-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-method-val {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: color var(--trans-fast);
}

.contact-method-val:hover {
  color: var(--color-primary);
}

.contact-method-sub {
  font-size: 0.8125rem;
  color: #64748B;
  margin-top: 4px;
}

.contact-address-text {
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-navy);
  line-height: 1.5;
}

/* Contact Form Card */
.form-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  margin-bottom: 28px;
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-card-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Demo Form Alert Box */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-out;
}

.alert-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #10B981;
}

.alert-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Controls */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.required-mark {
  color: #EF4444;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
  position: relative;
  width: 100%;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.9375rem;
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: all var(--trans-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background-color: #FFFFFF;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748B;
  pointer-events: none;
}

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

/* Form Validation States */
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.error-msg {
  display: none;
  font-size: 0.8125rem;
  color: #EF4444;
  margin-top: 6px;
}

.form-group.has-error .error-msg {
  display: block;
}

.btn-submit {
  padding: 15px 32px;
  font-size: 1rem;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: #94A3B8;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 12px;
}

.footer-bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748B;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-dark-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  font-size: 0.9375rem;
  color: #94A3B8;
  transition: color var(--trans-fast);
}

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

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-row-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-cyan);
  margin-top: 3px;
}

.footer-row-icon svg {
  width: 100%;
  height: 100%;
}

.footer-contact-row a:hover {
  color: var(--color-white);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-links a:hover {
  color: var(--color-white);
}

.legal-divider {
  color: #334155;
}

/* --------------------------------------------------------------------------
   16. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--trans-base);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   17. Scroll Reveal & Fade-up Animation
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* 1200px (Large Desktops) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }

  .services-grid {
    gap: 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 36px;
  }
}

/* 992px (Medium Desktops & Tablets Landscape) */
@media (max-width: 992px) {
  :root {
    --nav-height: 74px;
  }

  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-title {
    font-size: 2.125rem;
  }

  /* Header Mobile Menu */
  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-header,
  .header-actions .header-cta {
    display: none !important;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgba(11, 18, 32, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--trans-base);
  }

  .nav-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-link {
    font-size: 1.125rem;
    width: 100%;
    padding: 8px 0;
  }

  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-capabilities-strip {
    justify-content: center;
  }

  .hero-visual {
    order: 2;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: 2;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Us Grid */
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-us-visual {
    order: 2;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-card:nth-child(2)::after {
    display: none;
  }

  /* Process Timeline */
  .timeline-track {
    display: none;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* 768px (Tablets Portrait & Large Phones) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.0625rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-heading {
    font-size: 2.125rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .stats-banner {
    padding: 32px 20px;
  }
}

/* 480px & 375px (Mobile Phones) */
@media (max-width: 480px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .hero-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-badge {
    padding: 6px 14px;
    gap: 8px;
    max-width: 100%;
  }

  .badge-text {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  .hero-title {
    font-size: 2.125rem;
    line-height: 1.18;
  }

  .hero-description {
    font-size: 0.9375rem;
  }

  .hero-capabilities-strip {
    font-size: 0.8125rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-card::after {
    display: none !important;
  }

  .stat-number {
    font-size: 2.75rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capabilities-pills-wrap {
    gap: 8px;
  }

  .capability-pill {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .cta-heading {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* --------------------------------------------------------------------------
   19. Accessibility: Prefers Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-window,
  .hero-mobile-card,
  .hero-cloud-badge,
  .hero-metric-pill,
  .node-pulse {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   20. Legal Pages (Privacy Policy & Terms and Conditions)
   -------------------------------------------------------------------------- */
.legal-hero {
  position: relative;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding-top: 60px;
  padding-bottom: 70px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.legal-breadcrumbs a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans-fast);
}

.legal-breadcrumbs a:hover {
  color: var(--color-cyan);
}

.legal-breadcrumbs .breadcrumb-separator {
  color: #475569;
  font-size: 0.75rem;
}

.legal-breadcrumbs .current-crumb {
  color: var(--color-cyan);
  font-weight: 500;
}

.legal-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.legal-hero-desc {
  font-size: 1.125rem;
  color: #94A3B8;
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #CBD5E1;
}

.legal-meta-pill svg {
  width: 16px;
  height: 16px;
  color: var(--color-cyan);
}

/* Legal Body Layout */
.legal-body-section {
  background-color: var(--color-bg-light);
  padding-top: 60px;
  padding-bottom: 100px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sticky Sidebar Table of Contents */
.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-toc-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.legal-toc-header svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.legal-toc-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.legal-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 0.875rem;
  color: var(--color-text-dark);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all var(--trans-fast);
}

.legal-toc-link:hover {
  background-color: rgba(37, 99, 235, 0.06);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  padding-left: 14px;
}

.legal-toc-link .toc-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  width: 20px;
}

.legal-toc-link:hover .toc-num {
  color: var(--color-primary);
}

.legal-help-card {
  background: var(--grad-surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.legal-help-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-white);
}

.legal-help-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.legal-help-card .btn {
  width: 100%;
}

/* Main Legal Content Article */
.legal-article {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-section-block {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.legal-section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-heading-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.legal-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.legal-heading {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.015em;
}

.legal-subheading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-p {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.legal-p:last-child {
  margin-bottom: 0;
}

/* Callout Highlights */
.legal-callout {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-right: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.legal-callout-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-callout-title svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.legal-callout p {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Feature/Bullet List */
.legal-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.legal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.965rem;
  color: #334155;
  line-height: 1.65;
}

.legal-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--color-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.legal-check-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

/* Services Grid for Terms Page */
.legal-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.legal-service-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  transition: all var(--trans-fast);
}

.legal-service-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.legal-service-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.legal-service-card-header svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.legal-service-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.legal-service-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Contact Details Box in Legal Pages */
.legal-contact-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
  margin-top: 24px;
}

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

.legal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.legal-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-contact-icon svg {
  width: 18px;
  height: 18px;
}

.legal-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.legal-contact-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}

.legal-contact-val a:hover {
  color: var(--color-primary);
}

/* Responsive Rules for Legal */
@media (max-width: 992px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-article {
    padding: 36px 28px;
  }

  .legal-heading {
    font-size: 1.375rem;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .legal-body-section {
    padding-top: 36px;
    padding-bottom: 60px;
  }

  .legal-article {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .legal-section-block {
    margin-bottom: 36px;
    padding-bottom: 30px;
  }

  .legal-contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-services-grid {
    grid-template-columns: 1fr;
  }
}

