/**
 * SHREE DURGA DIGITAL SOLUTIONS — Official Design System (2026 Redesign)
 * Direction: Premium Light Software Engineering Studio
 * Primary Accent: Electric Blue (#3867F5) | Secondary Accent: Violet (#7658E8)
 * Headings: Manrope | Body: Inter
 * Zero framework bloat — 100% pure modern CSS3
 */

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
  /* Surface & Backgrounds (Premium Light Palette Only) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F7FB;
  --bg-tertiary: #EDF2F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFCFF;

  /* Typography Colors */
  --text-heading: #172554; /* Deep Navy */
  --text-body: #475569;    /* Slate */
  --text-muted: #64748B;   /* Grey Slate */
  --text-light: #94A3B8;   /* Light Slate */

  /* Brand Accents */
  --accent-primary: #3867F5; /* Electric Blue */
  --accent-hover: #2350DE;   /* Deep Electric Blue */
  --accent-subtle: #EFF4FE;  /* Ultra Light Electric Blue */
  --accent-secondary: #7658E8; /* Violet */
  --accent-violet-subtle: #F3F0FF;

  /* Borders & Dividers */
  --border-color: #E2E8F0;   /* Light Slate Border */
  --border-subtle: #EEF2F6;
  --border-hover: #CBD5E1;
  --border-focus: #3867F5;

  /* Status Colors */
  --color-success: #059669;
  --color-success-bg: #ECFDF5;
  --color-success-border: #A7F3D0;
  --color-error: #DC2626;
  --color-error-bg: #FEF2F2;
  --color-error-border: #FECACA;
  --color-warning: #D97706;
  --color-warning-bg: #FFFBEB;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.06), 0 3px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.08), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px rgba(56, 103, 245, 0.12);

  /* Typography Stacks */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace;

  /* Layout & Sizing */
  --container-max: 1200px;
  --container-narrow: 840px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #FFFFFF;
}

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

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
}

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

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

a:hover {
  color: var(--accent-hover);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Sections */
.section {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: radial-gradient(circle at top right, rgba(56, 103, 245, 0.04) 0%, transparent 60%);
}

.section-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background-color: var(--accent-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   3. HEADER & NAVIGATION (PREMIUM LIGHT)
   ========================================================================== */
/* Header Topbar */
.header-topbar {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.header-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-links a {
  color: var(--text-heading);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.topbar-links a:hover {
  color: var(--accent-primary);
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-hover);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

/* Brand Identity */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: var(--radius-pill);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-body);
  background: none;
  border: none;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-dropdown-btn:hover, .nav-dropdown:hover .nav-dropdown-btn {
  color: var(--accent-primary);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  width: 320px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1010;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link-item {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

.dropdown-link-item:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9125rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.dropdown-item-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background-color: var(--bg-secondary);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}

.mobile-nav-link.active {
  color: var(--accent-primary);
}

.mobile-nav-group-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.mobile-nav-sublinks {
  margin-left: 0.5rem;
  border-left: 2px solid var(--border-color);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.mobile-nav-sublink {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-body);
  padding: 0.45rem 0;
  text-decoration: none;
}

.mobile-nav-sublink:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.3;
}

.btn:focus-visible {
  outline: 3px solid rgba(56, 103, 245, 0.4);
  outline-offset: 2px;
}

/* Primary Electric Blue Button */
.btn-primary {
  background-color: var(--accent-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(56, 103, 245, 0.25);
  transform: translateY(-1px);
}

.btn-electric {
  background-color: var(--accent-primary);
  color: #FFFFFF;
}

.btn-electric:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(56, 103, 245, 0.25);
  transform: translateY(-1px);
}

/* Secondary Button (Neutral Light Surface) */
.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-heading);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-heading);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--accent-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--accent-subtle);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Sizes */
.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-md);
}

/* Disabled */
.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.badge-blue {
  background-color: var(--accent-subtle);
  color: var(--accent-primary);
}

.badge-violet {
  background-color: var(--accent-violet-subtle);
  color: var(--accent-secondary);
}

.badge-electric {
  background-color: var(--accent-subtle);
  color: var(--accent-primary);
}

.badge-navy {
  background-color: var(--bg-secondary);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
}

.badge-green {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

/* ==========================================================================
   5. HERO SECTION & EDITORIAL LAYOUTS
   ========================================================================== */
.hero-editorial {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  background: radial-gradient(circle at 85% 15%, rgba(56, 103, 245, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(118, 88, 232, 0.04) 0%, transparent 40%);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-primary);
  background-color: var(--accent-subtle);
  border: 1px solid rgba(56, 103, 245, 0.2);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-editorial-headline {
  margin-bottom: 1.5rem;
}

.hero-editorial-headline .highlight {
  color: var(--accent-primary);
  position: relative;
}

.hero-editorial-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

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

.hero-media-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-media-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero-media-card img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

/* Page Header for Inner Pages */
.editorial-page-header {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.page-breadcrumbs a:hover {
  color: var(--accent-primary);
}

.editorial-page-title {
  margin-bottom: 0.85rem;
}

.editorial-page-lead {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   6. BENTO GRIDS & CAPABILITY CARDS
   ========================================================================== */
.bento-grid {
  display: grid;
  gap: 1.5rem;
}

.bento-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.bento-cell {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.bento-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

/* Bento Cell Light Accent Variant (Replacing any dark cells) */
.bento-cell-alt {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
}

.bento-cell-dark {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.bento-icon-violet {
  background-color: var(--accent-violet-subtle);
  color: var(--accent-secondary);
}

.bento-cell h3 {
  margin-bottom: 0.75rem;
}

.bento-cell p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Story Split Grid for Service & About Pages */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-split-reverse {
  direction: rtl;
}

.story-split-reverse > * {
  direction: ltr;
}

.story-media {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.story-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   7. COREVIA LABS PRODUCT SHOWCASE
   ========================================================================== */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

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

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  object-fit: cover;
}

.product-title-group h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-desc {
  font-size: 0.9125rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.product-feature-list {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.product-feature-item svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Product Detail Screenshot Pair */
.product-screenshot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-screenshot-pair img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  width: 100%;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   8. PROCESS & CAPABILITIES
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-subtle);
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-block;
}

.process-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Tech Stack Badges */
.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-heading);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   9. CONTACT FORM & INTERACTIVE WORKFLOW
   ========================================================================== */
.contact-surface {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--color-error);
}

.form-label .opt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-heading);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(56, 103, 245, 0.15);
}

.form-input.has-error, .form-select.has-error, .form-textarea.has-error {
  border-color: var(--color-error);
  background-color: #FFFDFD;
}

.field-error-msg {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* Status Alert Banner */
.form-status-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.form-status-alert.success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success-border);
}

.form-status-alert.error {
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid var(--color-error-border);
}

/* Loading Spinner */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   10. LEGAL TYPOGRAPHY & EDITORIAL TABLES
   ========================================================================== */
.editorial-article {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-sm);
}

.editorial-article h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-article h2:first-of-type {
  margin-top: 0;
}

.editorial-article h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.editorial-article ul, .editorial-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.editorial-article ul {
  list-style: disc;
}

.editorial-article ol {
  list-style: decimal;
}

.editorial-article li {
  margin-bottom: 0.5rem;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9125rem;
  margin: 1.5rem 0;
}

.editorial-table th, .editorial-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border-color);
}

.editorial-table th {
  background-color: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  width: 35%;
}

.editorial-table td {
  color: var(--text-body);
}

/* ==========================================================================
   11. PROJECT CTA SECTION (LIGHT THEMED)
   ========================================================================== */
.section-cta {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  text-align: center;
}

.section-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-cta p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   12. SITE FOOTER (PREMIUM LIGHT)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: 2.5rem;
  font-size: 0.9125rem;
  color: var(--text-body);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-brand-col h4, .footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-nav-list li {
  margin-bottom: 0.65rem;
}

.footer-nav-list a {
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--accent-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ==========================================================================
   13. UTILITY CLASSES
   ========================================================================== */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ==========================================================================
   14. RESPONSIVE DESIGN (320px to 1920px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .bento-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .product-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

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

  .mobile-nav-toggle {
    display: block;
  }

  .story-split {
    grid-template-columns: 1fr;
  }

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

  .col-span-2, .col-span-3 {
    grid-column: span 1;
  }

  .product-showcase-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .hero-editorial-actions {
    flex-direction: column;
  }

  .hero-editorial-actions .btn {
    width: 100%;
  }

  .section-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-screenshot-pair {
    grid-template-columns: 1fr;
  }

  .contact-surface {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   15. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
