/* ============================================================
   LIMRA MEDIA — Premium Light Docuro-Inspired Stylesheet
   Version: 1.2.0
   ============================================================ */

/* ------------------------------------------------------------
   0. GOOGLE FONTS
   Fonts are now loaded non-render-blocking from the HTML <head>
   (preconnect + async stylesheet + font-display:swap). The
   previous @import here was render-blocking and has been removed.
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   1. DESIGN SYSTEM & CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color System (Premium Light Docuro-inspired UI) */
  --bg-primary: #F4F6FD;
  --bg-secondary: #EEF2FF;
  --bg-tertiary: #EDEFFD;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-card: #E2E8F0;
  --border-card-hover: #5B7CFF;

  /* Brand Accents */
  --accent-blue: #3B5BFF;
  --accent-indigo: #5B7CFF;
  --accent-cyan: #5B7CFF;
  --accent-teal: #5B7CFF;
  --accent-purple: #5B7CFF;
  
  /* Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF; /* retained for white text on colored buttons */

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #3B5BFF, #5B7CFF);
  --gradient-accent-cyan: linear-gradient(135deg, #3B5BFF, #5B7CFF);
  --gradient-text: linear-gradient(135deg, #0F172A 30%, #64748B 100%);
  --gradient-text-accent: linear-gradient(135deg, #3B5BFF, #5B7CFF);
  --gradient-card: none;
  --gradient-hero-radial: radial-gradient(circle at 50% 30%, rgba(91, 124, 255, 0.06) 0%, rgba(244, 246, 253, 0) 70%);

  /* Spacing Tokens */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;

  /* Shadows (Very soft, Docuro-inspired) */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow-blue: 0 0 15px rgba(59, 91, 255, 0.1);
  --shadow-glow-indigo: 0 0 20px rgba(91, 124, 255, 0.12);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-round: 9999px;
}

/* ------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   ------------------------------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

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

/* Selection Color */
::selection {
  background-color: rgba(91, 124, 255, 0.15);
  color: var(--text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

/* Base Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section styling */
.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span.highlight {
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Reusable Glass Card Utility (Converted to clean light card) */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
}

/* ------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-white) !important;
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 91, 255, 0.3);
  opacity: 0.95;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

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

/* ------------------------------------------------------------
   4. LOADER & SPINNER OVERLAY
   ------------------------------------------------------------ */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(91, 124, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent-indigo);
  animation: spin 0.8s linear infinite;
}

/* ------------------------------------------------------------
   5. STICKY HEADER & NAVBAR
   ------------------------------------------------------------ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

#header.scrolled {
  background-color: rgba(244, 246, 253, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-card);
  height: 64px;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent-indigo);
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  background: var(--gradient-accent);
  color: var(--text-white) !important;
  text-decoration: none;
  box-shadow: var(--shadow-glow-blue);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 91, 255, 0.2);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin-bottom: 5px;
  transition: all var(--transition-base);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   6. HERO SECTION & BACKGROUND GLOWS
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: var(--gradient-hero-radial);
  position: relative;
  overflow: hidden;
}

/* Background glowing circles (Highly transparent in light theme) */
.hero-glow-1, .hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  top: 15%;
  right: -5%;
  width: 400px;
  height: 400px;
  background-color: rgba(91, 124, 255, 0.04);
}

.hero-glow-2 {
  bottom: 10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background-color: rgba(91, 124, 255, 0.03);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(91, 124, 255, 0.05);
  border: 1px solid rgba(91, 124, 255, 0.15);
  border-radius: var(--radius-round);
  padding: 6px 16px;
  margin-bottom: var(--space-md);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-indigo);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 10px var(--accent-indigo);
  animation: pulse 2s infinite;
}

.hero-badge span.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-indigo);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-circle-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(91, 124, 255, 0.06) 0%, rgba(244, 246, 253, 0) 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

/* Glass panel hero visual card (Converted to premium white UI) */
.hero-visual-card {
  width: 100%;
  max-width: 440px;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-card);
  padding-bottom: var(--space-sm);
}

.dot-red, .dot-yellow, .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.visual-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
}

.visual-code-lines {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.code-keyword { color: var(--accent-blue); font-weight: 600; }
.code-class { color: var(--text-primary); font-weight: 600; }
.code-string { color: #0284c7; }
.code-comment { color: var(--text-muted); }

/* ------------------------------------------------------------
   7. STATISTICS COUNTER SECTION
   ------------------------------------------------------------ */
.stats-section {
  padding: 60px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------
   8. SERVICES GRID SECTION
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(91, 124, 255, 0.07);
  border: 1px solid rgba(91, 124, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-indigo);
  margin-bottom: var(--space-md);
  transition: all var(--transition-spring);
}

.service-card:hover .service-icon-wrapper {
  background: var(--gradient-accent);
  color: var(--text-white);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-indigo);
  background: rgba(91, 124, 255, 0.04);
  border: 1px solid rgba(91, 124, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------
   9. ABOUT SECTION (2 Columns + 2x2 Features)
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.about-feature-card {
  padding: var(--space-md);
}

.about-feature-icon {
  font-size: 20px;
  color: var(--accent-indigo);
  margin-bottom: 10px;
  background: rgba(91, 124, 255, 0.07);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.about-feature-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.about-feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   10. WHY CHOOSE SECTION
   ------------------------------------------------------------ */
.why-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.why-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(91, 124, 255, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  font-size: 18px;
  flex-shrink: 0;
}

.why-card-content h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-card-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   11. ESTIMATOR WIDGET SECTION (Multi-step wizard)
   ------------------------------------------------------------ */
.estimator-container {
  max-width: 840px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-card);
  transform: translateY(-50%);
  z-index: 0;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.step-dot.active {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  background: var(--bg-card);
  box-shadow: var(--shadow-glow-indigo);
}

.step-dot.completed {
  background-color: var(--accent-indigo);
  border-color: var(--accent-indigo);
  color: var(--text-white);
}

.estimator-step h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.estimator-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.estimator-option {
  padding: var(--space-md);
  text-align: center;
  cursor: pointer;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
}

.estimator-option:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
}

.estimator-option.selected {
  background: rgba(91, 124, 255, 0.05);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow-indigo);
}

.option-icon {
  font-size: 28px;
  margin-bottom: var(--space-xs);
  display: block;
}

.estimator-option h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.estimator-option p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Nav inside estimator */
.estimator-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-card);
  padding-top: var(--space-md);
}

/* Result panel */
.estimator-result {
  text-align: center;
}

.result-icon {
  font-size: 44px;
  margin-bottom: var(--space-sm);
  display: block;
}

.estimator-result h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.result-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: left;
}

.result-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.result-recommendation {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   12. PROCESS TIMELINE SECTION (Vertical Timeline)
   ------------------------------------------------------------ */
.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: var(--border-card);
  z-index: 0;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-indigo);
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .step-number {
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow-indigo);
  transform: scale(1.05);
  background-color: var(--bg-card);
}

.step-content {
  padding: var(--space-md);
  flex-grow: 1;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   13. TECHNOLOGIES TABS SECTION
   ------------------------------------------------------------ */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.tech-tab {
  padding: 8px 18px;
  border-radius: var(--radius-round);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tech-tab:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.tech-tab.active {
  background: var(--gradient-accent);
  color: var(--text-white) !important;
  border-color: transparent;
  box-shadow: var(--shadow-glow-indigo);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.tech-card {
  padding: var(--space-md);
  text-align: center;
}

.tech-icon {
  font-size: 30px;
  margin-bottom: var(--space-xs);
  display: block;
}

.tech-card h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ------------------------------------------------------------
   14. PORTFOLIO SHOWCASE SECTION
   ------------------------------------------------------------ */
.portfolio-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.portfolio-filter {
  padding: 8px 18px;
  border-radius: var(--radius-round);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.portfolio-filter:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.portfolio-filter.active {
  background: var(--gradient-accent);
  color: var(--text-white) !important;
  border-color: transparent;
  box-shadow: var(--shadow-glow-indigo);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-card);
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  padding: 8px 18px;
  border: 1px solid var(--text-white);
  border-radius: var(--radius-md);
}

.portfolio-info {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.portfolio-info p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.portfolio-metrics {
  margin-top: auto;
  border-top: 1px solid var(--border-card);
  padding-top: 12px;
}

.metric-badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-indigo);
  background-color: rgba(91, 124, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(91, 124, 255, 0.15);
}

/* ------------------------------------------------------------
   15. TESTIMONIALS GRID SECTION (Premium 3-Column Grid)
   ------------------------------------------------------------ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.stars {
  font-size: 14px;
  color: #fbbf24;
  display: flex;
  gap: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-indigo);
  background: rgba(91, 124, 255, 0.06);
  border: 1px solid rgba(91, 124, 255, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-round);
}

.verified-badge .badge-icon {
  font-size: 11px;
}

.quote {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  text-align: left;
  flex-grow: 1; /* Stretch to fill available height */
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(91, 124, 255, 0.08);
  border: 1px solid rgba(91, 124, 255, 0.15);
  color: var(--accent-indigo);
  display: flex !important; /* Overwrite old none !important */
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.client-details {
  text-align: left;
}

.client-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.client-company {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .testimonial-card {
    padding: 24px;
  }
  .quote {
    font-size: 14.5px;
  }
}

/* ------------------------------------------------------------
   16. CONTACT SECTION (Form + Details)
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.contact-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  font-size: 18px;
  transition: all var(--transition-base);
}

.contact-info-item:hover .info-icon {
  background-color: var(--accent-indigo);
  color: var(--text-white);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow-indigo);
}

.info-text h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.info-text p {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Contact Form CSS styles */
.contact-form-wrapper {
  padding: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px var(--space-sm);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-indigo);
  background: var(--bg-card);
  box-shadow: 0 0 15px rgba(91, 124, 255, 0.1);
}

.form-group select option {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

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

.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

input.error, select.error, textarea.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.05) !important;
}

.form-success {
  text-align: center;
  padding: var(--space-lg) 0;
}

.success-icon {
  font-size: 48px;
  color: var(--accent-indigo);
  margin-bottom: var(--space-sm);
  display: block;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-success p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   17. FOOTER SECTION
   ------------------------------------------------------------ */
#footer {
  background-color: var(--bg-tertiary);
  border-top: 1px solid var(--border-card);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .nav-logo {
  font-size: 22px;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: var(--accent-indigo);
  color: var(--text-white) !important;
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow-indigo);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-hours {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   18. UTILITY ELEMENTS (WhatsApp & Back to Top)
   ------------------------------------------------------------ */
#whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25d366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}

#whatsapp-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(244, 246, 253, 0.8);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--accent-indigo);
  color: var(--text-white) !important;
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-glow-indigo);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   19. KEYFRAME ANIMATIONS
   ------------------------------------------------------------ */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(91, 124, 255, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(91, 124, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(91, 124, 255, 0); }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   20. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  .hero-badge, .hero-buttons {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content {
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-card);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-cta {
    display: none; /* Hide top CTA on mobile */
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .estimator-options {
    grid-template-columns: 1fr;
  }
  
  .result-summary {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }
  .services-grid, .portfolio-grid, .tech-grid, .footer-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .estimator-container {
    padding: var(--space-sm);
  }
  .process-timeline::before {
    left: 20px;
  }
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .process-step {
    gap: var(--space-sm);
  }
}

/* Accessibility settings */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* ────────────────────────────────────────────────────────────
   PREMIUM REDESIGN UTILITIES & AUDIT STYLE EXTENSIONS
   ──────────────────────────────────────────────────────────── */

/* Navigation Logo Dot & Sub */
.logo-dot {
  color: var(--accent-indigo) !important;
  font-weight: 800;
}
.logo-sub {
  font-weight: 500;
  color: var(--text-secondary) !important;
  text-transform: lowercase;
}
.nav-cta-arrow {
  margin-left: 6px;
  transition: transform var(--transition-fast);
  display: inline-block;
}
.nav-cta:hover .nav-cta-arrow {
  transform: translateX(4px);
}

/* Hero Trusted Logos Strip */
.hero-trusted {
  margin-top: 36px;
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  text-align: left;
}
.trusted-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.trusted-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.trusted-logo {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trusted-logo:hover {
  opacity: 0.9;
}

/* Hero Workflow Canvas */
.workflow-canvas {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 12px;
}
.canvas-dots {
  display: flex;
  gap: 6px;
}
.canvas-title {
  font-family: monospace;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}
.canvas-status {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.06);
  padding: 2px 8px;
  border-radius: 999px;
}
.status-pulse {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}
.canvas-nodes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.canvas-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}
.node-icon {
  font-size: 20px;
}
.node-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.node-sub {
  font-size: 11px;
  color: var(--text-secondary);
}
.canvas-line {
  height: 20px;
  width: 2px;
  background: var(--border-card);
  margin-left: 21px;
  position: relative;
}
.line-pulse {
  width: 2px;
  height: 10px;
  background: var(--accent-indigo);
  position: absolute;
  top: 0;
  left: 0;
  animation: lineMove 2s infinite linear;
}
@keyframes lineMove {
  0% { top: -10px; }
  100% { top: 20px; }
}
.canvas-console {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: monospace;
  font-size: 11px;
  color: #f1f5f9;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.console-line {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.console-tag {
  font-weight: bold;
  margin-right: 4px;
}
.console-tag.info { color: #3b82f6; }
.console-tag.success { color: #10b981; }
.console-tag.action { color: #a855f7; }

/* Bento Grid Services */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.bento-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  height: 100%;
}
.bento-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
}
.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.bento-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.bento-card.bento-hero {
  flex-direction: row;
  gap: 24px;
  overflow: hidden;
  align-items: center;
}
.bento-content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.bento-visual {
  flex: 0.9;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.mock-chat-container {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 6px;
  font-weight: 600;
  color: var(--text-primary);
}
.chat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.chat-dot.green { background: #10b981; }
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-msg {
  padding: 6px 10px;
  border-radius: 6px;
  max-width: 90%;
  line-height: 1.3;
}
.chat-msg.user {
  background: var(--bg-secondary);
  color: var(--text-primary);
  align-self: flex-start;
}
.chat-msg.agent {
  background: var(--accent-indigo);
  color: var(--text-white);
  align-self: flex-end;
}
.chat-status {
  font-size: 9px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-card);
  padding-top: 6px;
  text-align: center;
}
.mock-saas-metrics {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.metric-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.metric-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}
.metric-val .trend {
  font-size: 11px;
  color: #10b981;
  margin-left: 4px;
}
.metric-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 4px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(91, 124, 255, 0.4), var(--accent-indigo));
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
}

/* Portfolio CSS Mockups */
.portfolio-mockup {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.mockup-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indigo);
}
.mockup-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: monospace;
}
.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  height: 100%;
}
.body-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-card);
  padding-bottom: 4px;
}
.mockup-healthcare .body-cell.font-bold {
  color: var(--text-primary);
}
.mockup-healthcare .body-cell.text-muted {
  color: var(--text-secondary);
}
.chat-bubble {
  padding: 6px 10px;
  border-radius: 8px;
  max-width: 85%;
  line-height: 1.4;
}
.chat-bubble.user {
  background: var(--bg-secondary);
  color: var(--text-primary);
  align-self: flex-start;
}
.chat-bubble.bot {
  background: var(--accent-indigo);
  color: var(--text-white);
  align-self: flex-end;
}
.crm-pipeline {
  flex-direction: row !important;
  gap: 8px;
}
.crm-column {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-col-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.crm-deal {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 3px;
  padding: 4px;
  font-size: 10px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.rest-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}
.rest-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-card);
  padding-top: 6px;
  margin-top: auto;
  color: var(--text-primary);
}

/* FAQ Accordion */
.faq-container {
  margin-top: 36px;
  text-align: left;
}
.faq-container h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.faq-item {
  border-bottom: 1px solid var(--border-card);
  padding: 14px 0;
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
  font-family: var(--font-heading);
}
.faq-icon {
  font-size: 16px;
  color: var(--accent-indigo);
  transition: transform var(--transition-base);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease;
}
.faq-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px 0 4px;
}

/* Stripe Style Form Inputs */
.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-wrapper .form-group input, 
.contact-form-wrapper .form-group select, 
.contact-form-wrapper .form-group textarea {
  border: none !important;
  border-bottom: 1.5px solid var(--border-card) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
  font-size: 14.5px !important;
  color: var(--text-primary) !important;
  transition: border-color var(--transition-base), box-shadow var(--transition-base) !important;
}
.contact-form-wrapper .form-group input:focus, 
.contact-form-wrapper .form-group select:focus, 
.contact-form-wrapper .form-group textarea:focus {
  border-bottom-color: var(--accent-indigo) !important;
  box-shadow: none !important;
  outline: none !important;
}
.contact-form-wrapper .form-group label {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted) !important;
  margin-bottom: 2px !important;
  font-weight: 700 !important;
  display: block;
}

/* Footer Operational Status Dot */
.footer-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.12);
  width: fit-content;
  margin: 0 auto var(--space-md);
}
.footer-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

/* Bento Grid Responsive Layouts */
@media (max-width: 992px) {
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.bento-hero {
    grid-column: span 2 !important;
  }
}
@media (max-width: 768px) {
  .hero-trusted {
    margin-top: 32px;
  }
  .trusted-logos {
    gap: 16px;
  }
  .footer-status {
    margin: 0 0 var(--space-md) 0;
  }
}
@media (max-width: 600px) {
  .services-bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .bento-card.bento-hero {
    grid-column: span 1 !important;
    flex-direction: column;
    align-items: stretch;
  }
  .bento-visual {
    min-height: 140px;
    margin-top: 12px;
  }
  .mock-saas-metrics {
    margin-top: 8px;
  }
}

/* ────────────────────────────────────────────────────────────
   PORTFOLIO ENHANCEMENTS & CASE STUDY MODAL STYLES
   ──────────────────────────────────────────────────────────── */

/* Portfolio Card Enhancements */
.portfolio-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-indigo);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

.portfolio-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
  text-align: left;
}

.tech-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.btn-case-study {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-indigo);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin-top: auto; /* Push to the bottom of card info */
  transition: color var(--transition-fast);
  width: fit-content;
}

.btn-case-study:hover {
  color: var(--accent-blue);
}

.btn-case-study .arrow {
  transition: transform var(--transition-fast);
  display: inline-block;
}

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

/* Modal Popup Framework */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 2001;
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px;
  box-sizing: border-box;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  text-align: left;
}

.modal-left, .modal-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-indigo);
  letter-spacing: 0.08em;
  display: block;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-section h4 {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-section p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-mock-wrapper {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 160px;
  box-shadow: var(--shadow-sm);
}

.modal-mock {
  height: 160px !important;
  min-height: 160px !important;
}

.modal-metrics-card {
  background: rgba(91, 124, 255, 0.04);
  border: 1px solid rgba(91, 124, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.metrics-card-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.metrics-card-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-indigo);
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

.modal-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.feat-bullet {
  color: var(--accent-indigo);
  font-weight: bold;
}

.res-bullet {
  color: #10b981;
  font-weight: bold;
}

/* Modal Responsive overrides */
@media (max-width: 768px) {
  .modal {
    padding: 12px;
  }
  .modal-content {
    padding: 24px;
    max-height: calc(100vh - 24px);
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modal-title {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------
   19. FOOTER & CONTACT CTA BUTTONS
   ------------------------------------------------------------ */
.contact-cta-btn {
  font-family: var(--font-heading) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
}

.contact-cta-btn svg {
  transition: transform var(--transition-fast);
}

.contact-cta-btn:hover svg {
  transform: scale(1.15) translate(-1px, -1px);
}

.footer-contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 240px;
}

.footer-cta-btn svg {
  margin-right: 10px;
  color: var(--accent-indigo);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.footer-cta-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-md), var(--shadow-glow-indigo);
}

.footer-cta-btn:hover svg {
  color: var(--accent-blue);
}

.footer-wa-btn {
  background: #25d366;
  border-color: #25d366;
  color: #FFFFFF;
}

.footer-wa-btn svg {
  color: #FFFFFF;
}

.footer-wa-btn:hover {
  background: #128c7e !important;
  border-color: #128c7e !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
}

.footer-wa-btn:hover svg {
  color: #FFFFFF !important;
}

#whatsapp-btn svg {
  display: block;
  margin: auto;
}

/* ================= SVG ICON STYLING FOR REPLACED EMOJIS ================= */
.service-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 2;
  display: block;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 2;
  display: block;
}

.canvas-node .node-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  display: block;
}

.estimator-option .option-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 2;
  display: block;
  margin: 0 auto;
}

.estimator-result .result-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 2;
  display: block;
  margin: 0 auto;
}

.tech-card .tech-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 2;
  display: block;
  margin: 0 auto var(--space-xs);
  transition: transform var(--transition-base);
}

.tech-card:hover .tech-icon svg {
  transform: scale(1.1);
}

/* ============================================================
   21. BLOG AND INSIGHTS SECTION STYLING
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-indigo);
  box-shadow: var(--shadow-lg), var(--shadow-glow-indigo);
}

.blog-card-image-wrapper {
  height: 200px;
  background: rgba(91, 124, 255, 0.03);
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background var(--transition-base);
}

.blog-card:hover .blog-card-image-wrapper {
  background: rgba(91, 124, 255, 0.06);
}

.blog-card-icon {
  width: 48px;
  height: 48px;
  stroke: var(--accent-indigo);
  fill: none;
  stroke-width: 1.5;
  transition: transform var(--transition-spring);
}

.blog-card:hover .blog-card-icon {
  transform: scale(1.1) rotate(-3deg);
}

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

.blog-meta-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-indigo);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(91, 124, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.blog-dot-separator {
  color: var(--text-muted);
  font-size: 10px;
}

.blog-read-time {
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

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

.blog-card-title a:hover {
  color: var(--accent-indigo);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-card);
  padding-top: 16px;
  margin-top: auto;
}

.blog-date {
  font-size: 12px;
  color: var(--text-muted);
}

.blog-read-more {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-indigo);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.blog-read-more:hover {
  color: var(--accent-blue);
}

.blog-read-more .arrow {
  transition: transform var(--transition-fast);
}

.blog-read-more:hover .arrow {
  transform: translateX(3px);
}

.blog-section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Category Filter Bar (blog.html index page) */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.blog-filter {
  padding: 8px 18px;
  border-radius: var(--radius-round);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.blog-filter:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.blog-filter.active {
  background: var(--gradient-accent);
  color: var(--text-white) !important;
  border-color: transparent;
  box-shadow: var(--shadow-glow-indigo);
}

/* Breadcrumbs Component */
.breadcrumbs-container {
  padding: var(--space-md) 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-card);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 0;
  margin: 0;
}

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

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

.breadcrumbs-separator {
  color: var(--text-muted);
  font-size: 12px;
}

.breadcrumbs-current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Article Reading Layout */
.article-header {
  padding: var(--space-xl) 0;
  text-align: center;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-card);
}

.article-meta-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 24px;
}

.article-author-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.article-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-indigo);
  border: 1px solid var(--border-card);
}

.article-author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.article-container {
  max-width: 740px;
  margin: 0 auto;
  padding: var(--space-xl) 20px;
}

.article-body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-primary);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 12px;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--accent-indigo);
  padding: 16px 24px;
  margin: 32px 0;
  background-color: rgba(91, 124, 255, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-body blockquote p {
  margin-bottom: 0;
}

/* Article Author Bio Box */
.article-author-bio {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(91, 124, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-indigo);
  border: 1.5px solid rgba(91, 124, 255, 0.15);
  flex-shrink: 0;
}

.bio-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.bio-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Search bar on blog.html */
.blog-search-container {
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: var(--radius-round);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: all var(--transition-base);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 15px rgba(91, 124, 255, 0.1);
}

.blog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .article-title {
    font-size: 26px;
  }
  .article-meta-info {
    flex-wrap: wrap;
    gap: 8px;
  }
  .article-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================================
   22. RESPONSIVE AUDIT & MOBILE-FIRST HARDENING (v1.3.0)
   Override layer — fluid typography, ≥44px touch targets,
   overflow guards, and full-range coverage (320px → 1920px+).
   Appended last so equal-specificity rules win intentionally.
   ============================================================ */

/* ---- 22.1 Global overflow & media safeguards ---- */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
/* Stop flex/grid children from forcing horizontal scroll */
*, *::before, *::after { min-width: 0; }
img, svg, video, canvas, iframe, picture { max-width: 100%; }
img, video { height: auto; }
/* 100vw includes the scrollbar and can cause overflow — use 100% */
#loader, .modal { width: 100%; }
.container { max-width: min(1200px, 100%); }
/* Break long unbroken strings instead of overflowing */
.hero-title, .section-title, .blog-card-title, .modal-title,
.article-title, .article-body, .bento-card h3, .service-card h3,
p, h1, h2, h3, h4 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ---- 22.2 Fluid typography (clamp) ---- */
.section-title   { font-size: clamp(26px, 5vw, 38px); }
.hero-title      { font-size: clamp(28px, 7vw, 56px); }
.hero-description{ font-size: clamp(15px, 2.4vw, 18px); }
.section-subtitle{ font-size: clamp(15px, 2.2vw, 17px); }
.about-content h2{ font-size: clamp(24px, 4vw, 34px); }
.contact-info h3 { font-size: clamp(22px, 3.6vw, 26px); }
.modal-title     { font-size: clamp(20px, 4vw, 26px); }
.article-title   { font-size: clamp(24px, 5vw, 36px); }
.article-body    { font-size: clamp(15.5px, 2vw, 16.5px); }
.stat-number     { font-size: clamp(30px, 6vw, 44px); }
.estimator-step h3, .form-success h3 { font-size: clamp(19px, 3.2vw, 22px); }
.step-content h3 { font-size: clamp(17px, 2.6vw, 19px); }

/* ---- 22.3 Accessibility: visible focus + ≥44px touch targets ---- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible,
.btn:focus-visible, .hamburger:focus-visible {
  outline: 2px solid var(--accent-indigo);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.btn { min-height: 44px; }
.social-link { width: 40px; height: 40px; }
@media (pointer: coarse) {
  .social-link { width: 44px; height: 44px; }
  .blog-filter, .portfolio-filter, .tech-tab,
  .footer-cta-btn, .faq-trigger, .nav-cta { min-height: 44px; }
  .nav-links a { padding: 6px 4px; }
}

/* ---- 22.4 Tablet / large-phone (≤1024px) ---- */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 22.5 Tablet (≤768px) ---- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .stats-section { padding: 44px 0; }
  /* Reduce hero whitespace & avoid 100vh URL-bar jump */
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 48px; }
  /* Full-screen mobile menu with no gap under the sticky header */
  .nav-links {
    top: 0;
    height: 100vh;
    height: 100dvh;
    padding: 88px 24px 32px;
    justify-content: center;
    overflow-y: auto;
  }
  /* Guarantee 44px tap targets for mobile menu links */
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 8px;
  }
  /* Hamburger as a proper 44px tap target */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -8px;
  }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid  { grid-template-columns: 1fr; }
  /* Guarantee ≥44px touch targets on mobile regardless of pointer type */
  .social-link { width: 44px; height: 44px; }
  .blog-filter, .portfolio-filter, .tech-tab,
  .footer-cta-btn, .nav-cta { min-height: 44px; }
  .blog-filter, .portfolio-filter, .tech-tab {
    display: inline-flex; align-items: center;
  }
  /* Modal close as a 44px tap target */
  .modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: 8px;
  }
}

/* ---- 22.6 Phone (≤480px) ---- */
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
  /* Buttons stack full-width */
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .estimator-nav .btn { flex: 1; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  /* Keep trusted logos tidy */
  .trusted-logos { gap: 14px 20px; }
}

/* ---- 22.7 Small phone (≤360px) ---- */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .nav-logo { font-size: 21px; }
  .stat-number { font-size: clamp(26px, 9vw, 32px); }
}

/* ---- 22.8 Responsive blog article table ---- */
.article-body table { width: 100%; }
.article-body table td, .article-body table th { word-break: break-word; }
@media (max-width: 600px) {
  .article-body table { font-size: 12.5px; }
  .article-body th, .article-body td { padding: 8px !important; }
}

/* ---- 22.9 Large desktop (≥1440px) — widen container, avoid stranded whitespace ---- */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
}

