/* ==========================================================================
   YEK Endüstriyel - 3D Printing Services
   Design: layer-by-layer metaphor, workshop dark + neon accent, system fonts
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens (CSS variables)
   -------------------------------------------------------------------------- */
:root {
  /* Workshop dark base */
  --bg-base: #0d0f12;
  --bg-surface: #14171c;
  --bg-elevated: #1a1e24;
  --bg-card: #161a20;

  /* Neon accents */
  --accent-cyan: #00e5cc;
  --accent-green: #b8ff3c;
  --accent-dim: rgba(0, 229, 204, 0.6);

  /* Text */
  --text-primary: #e8eaed;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  /* Borders & grid */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --grid-line: rgba(0, 229, 204, 0.04);
  --grid-gap: 24px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography - system font stack */
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Consolas", "Monaco", "Courier New", monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 400ms;

  /* Print progress bar */
  --progress-height: 3px;
}

/* Light theme */
[data-theme="light"] {
  --bg-base: #e8eaed;
  --bg-surface: #f0f2f5;
  --bg-elevated: #f5f6f8;
  --bg-card: #f0f2f5;
  --text-primary: #2d3748;
  --text-secondary: #5a6578;
  --text-muted: #718096;
  --border-subtle: rgba(0, 0, 0, 0.1);
  --grid-line: rgba(0, 160, 140, 0.06);
  --accent-cyan: #00b3a0;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  padding-top: 64px; /* space for fixed site-header */
  padding-bottom: 28px; /* space for site-status-bar */
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background grid (slicing / G-code vibe) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-gap) var(--grid-gap);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Print progress bar (top, fills on scroll)
   -------------------------------------------------------------------------- */
.print-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--progress-height);
  background: var(--border-subtle);
  z-index: 1000;
  transform-origin: left;
}
.print-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  transition: width var(--duration-normal) var(--ease-out);
}

/* --------------------------------------------------------------------------
   Layout & container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 15, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
[data-theme="light"] .site-header {
  background: rgba(232, 234, 237, 0.95);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo span { color: var(--accent-cyan); }

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  transition: color var(--duration-fast), background var(--duration-fast);
}
.nav-main a:hover, .nav-main a[aria-current="page"] {
  color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.production-mode-btn, .command-palette-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.production-mode-btn:hover, .command-palette-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.06);
}
.production-mode-btn__label { color: var(--accent-cyan); }
.command-palette-btn { font-size: 1rem; }
.lang-toggle, .theme-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}
.lang-toggle:hover, .theme-toggle:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.06);
}
.lang-toggle:focus-visible, .theme-toggle:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: var(--space-md);
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-surface);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--duration-normal), opacity var(--duration-normal), visibility var(--duration-normal);
  }
  .nav-main.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* --------------------------------------------------------------------------
   Hero (live printer feel: extrusion lines, nozzle vibe)
   -------------------------------------------------------------------------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-base), transparent);
  pointer-events: none;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line span {
  display: inline-block;
  transform: translateY(100%);
  animation: heroLineIn 0.8s var(--ease-out) forwards;
}
.hero__title .line:nth-child(2) span { animation-delay: 0.1s; }
.hero__title .line:nth-child(3) span { animation-delay: 0.2s; }

@keyframes heroLineIn {
  to { transform: translateY(0); }
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 36ch;
  margin: 0 auto var(--space-xl);
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent-cyan);
  color: var(--bg-base);
  padding: var(--space-md) var(--space-xl);
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 204, 0.35);
}
.hero__cta:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 2px; }

/* Extrusion line decoration under hero */
.hero__extrusion {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-green), transparent);
  opacity: 0.5;
  animation: extrusionPulse 2s ease-in-out infinite;
}
@keyframes extrusionPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Nozzle cursor (kaldırıldı - sadece trail dots FDM'de)
   -------------------------------------------------------------------------- */
.nozzle-cursor {
  display: none !important;
}

/* Filament trail dots (sadece FDM modunda) */
.trail-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(1);
  animation: trailFade 0.8s var(--ease-out) forwards;
}
@keyframes trailFade {
  to { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

/* Process cursor modes kaldırıldı */

/* --------------------------------------------------------------------------
   Site status bar (process-aware: logger + params)
   -------------------------------------------------------------------------- */
.site-status-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  z-index: 99;
}
.site-status-bar__logger { color: var(--accent-cyan); }
.site-status-bar__logger-value { font-weight: 700; }
.site-status-bar__params {
  display: flex;
  gap: var(--space-xl);
}
.site-status-bar__param-label { color: var(--text-muted); margin-right: var(--space-xs); }
.site-status-bar__param-value { color: var(--text-primary); }

/* --------------------------------------------------------------------------
   Command palette (Production Mode + nav)
   -------------------------------------------------------------------------- */
.command-palette {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}
.command-palette.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.command-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.command-palette__panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: var(--space-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}
.command-palette__section { margin-bottom: var(--space-lg); }
.command-palette__section:last-child { margin-bottom: 0; }
.command-palette__heading {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.command-palette__item {
  display: block;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  background: none;
  border: none;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--duration-fast);
}
.command-palette__item:hover,
.command-palette__item:focus {
  background: rgba(0, 229, 204, 0.1);
  outline: none;
}
.command-palette__item:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.command-palette a.command-palette__item {
  text-decoration: none;
  color: var(--text-secondary);
}
.command-palette a.command-palette__item:hover { color: var(--accent-cyan); }

/* Quote waitlist (MJF / Injection) */
.quote-waitlist { padding: var(--space-2xl) 0; }
.quote-waitlist__title { margin: 0 0 var(--space-sm); }
.quote-waitlist__desc { color: var(--text-secondary); margin: 0 0 var(--space-lg); }

/* --------------------------------------------------------------------------
   Section titles
   -------------------------------------------------------------------------- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.01em;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0 0 var(--space-xl);
  max-width: 50ch;
}

/* --------------------------------------------------------------------------
   Slicer Timeline (layers stack on scroll)
   -------------------------------------------------------------------------- */
.slicer-timeline {
  padding: var(--space-3xl) 0;
}
.slicer-timeline .container {
  max-width: 700px;
}

/* Timeline process selector (scoped) */
.layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: var(--space-xl);
  margin-bottom: var(--space-md);
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow), box-shadow var(--duration-normal), padding var(--duration-normal);
  cursor: pointer;
  position: relative;
}
.layer-card.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.layer-card:hover {
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.08);
  border-color: rgba(0, 229, 204, 0.2);
}
.layer-card--highlight {
  border-color: rgba(0, 229, 204, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 229, 204, 0.1), 0 4px 16px rgba(0, 229, 204, 0.08);
}
.layer-card--highlight:hover {
  box-shadow: 0 0 0 1px rgba(0, 229, 204, 0.15), 0 8px 32px rgba(0, 229, 204, 0.12);
  border-color: rgba(0, 229, 204, 0.3);
}
.layer-card--highlight .layer-card__number {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 204, 0.3);
}
.layer-card.is-expanded {
  padding-bottom: var(--space-xl);
}
.timeline-photo-panel {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
}
.timeline-photo-panel__status {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-photo-panel__label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  opacity: 0.7;
}
.timeline-photo-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.timeline-photo-frame {
  aspect-ratio: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.timeline-photo-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 204, 0.15);
}
.timeline-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: filter var(--duration-fast);
}
.timeline-photo-frame:hover .timeline-photo {
  filter: drop-shadow(0 4px 12px rgba(0, 229, 204, 0.2));
}
.timeline-photo-placeholder {
  aspect-ratio: 1;
  background: var(--bg-base);
  border: 1px dashed var(--border-subtle);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.timeline-photo-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: var(--grid-line);
  border-radius: 2px;
  opacity: 0.4;
}
.timeline-photo-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 2px;
  height: 20px;
  background: var(--grid-line);
  opacity: 0.3;
}
.timeline-photo-panel__caption {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xs);
  font-style: italic;
}
.timeline-photo-panel__trust {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: var(--space-xs) 0 0;
  font-family: var(--font-mono);
  opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) {
  .timeline-photo-frame {
    transition: none;
  }
  .timeline-photo-frame:hover {
    transform: none;
    box-shadow: none;
  }
  .timeline-photo {
    transition: none;
  }
  .timeline-photo-frame:hover .timeline-photo {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  }
}
.timeline-card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  border-top: 1px solid transparent;
  padding-top: 0;
  transition: max-height var(--duration-normal) var(--ease-out), opacity var(--duration-normal), padding-top var(--duration-normal), border-color var(--duration-normal);
}
.layer-card.is-expanded .timeline-card-details {
  max-height: 200px;
  opacity: 1;
  padding-top: var(--space-md);
  border-top-color: var(--border-subtle);
}
@media (prefers-reduced-motion: reduce) {
  .timeline-card-details {
    max-height: none;
    opacity: 1;
    padding-top: var(--space-md);
    border-top-color: var(--border-subtle);
  }
}
.timeline-card-details li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
}
.timeline-card-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  opacity: 0.6;
}
@media (prefers-reduced-motion: reduce) {
  .layer-card {
    transform: none;
    opacity: 1;
  }
}

.layer-card__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: var(--space-sm);
}
.layer-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
}
.layer-card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Material Lab (process-first: FDM / SLA / MJF / Plastik Enjeksiyon)
   -------------------------------------------------------------------------- */
.material-lab {
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
}

/* Process selector row (neon, industrial, layered cards) */
.material-lab-process-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.material-lab-process-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: var(--space-sm);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-fast), background var(--duration-fast), color var(--duration-fast), opacity var(--duration-normal), box-shadow var(--duration-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  position: relative;
}
.material-lab-process-tab:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.08);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 229, 204, 0.2), 0 0 24px rgba(0, 229, 204, 0.12);
}
.material-lab-process-tab.is-active {
  background: rgba(0, 229, 204, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(0, 229, 204, 0.2);
}
.material-lab-process-tab.is-active .material-lab-process-visual,
.material-lab-process-tab.is-active .material-lab-process-tab__label {
  opacity: 1;
}
.material-lab-process-tab:not(.is-active) {
  opacity: 0.5;
}
.material-lab-process-tab:not(.is-active) .material-lab-process-visual,
.material-lab-process-tab:not(.is-active) .material-lab-process-tab__label {
  opacity: 0.7;
}
.material-lab-process-tab:not(.is-active):hover {
  opacity: 0.85;
}
.material-lab-process-tab:not(.is-active):hover .material-lab-process-visual,
.material-lab-process-tab:not(.is-active):hover .material-lab-process-tab__label {
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .material-lab-process-tab:hover {
    transform: translateY(0) scale(1);
  }
}
.material-lab-process-visual {
  width: 262px;
  height: 120px;
  flex-shrink: 0;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-base);
}
.material-lab-process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.material-lab-process-tab__label {
  font-weight: 600;
  display: block;
}

/* Material Lab Process Tabs - Responsive */
@media (max-width: 1024px) {
  .material-lab-process-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .material-lab-process-visual {
    width: 100%;
    max-width: 200px;
    height: 100px;
  }
}
@media (max-width: 600px) {
  .material-lab-process-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }
  .material-lab-process-tab {
    padding: var(--space-xs);
    gap: var(--space-sm);
    font-size: 0.8rem;
  }
  .material-lab-process-visual {
    width: 100%;
    max-width: 140px;
    height: 70px;
  }
  .material-lab-process-tab__label {
    font-size: 0.75rem;
  }
}
@media (max-width: 400px) {
  .material-lab-process-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .material-lab-process-visual {
    max-width: 100%;
    height: 60px;
  }
  .material-lab-process-tab__label {
    font-size: 0.7rem;
  }
}
.material-lab-tab-badge {
  font-size: 0.7rem;
  opacity: 0.9;
  margin-left: var(--space-xs);
  color: var(--accent-green);
}

/* Compare mode toggle */
.material-lab-compare-wrap {
  margin-bottom: var(--space-lg);
}
.material-lab-compare-toggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--duration-fast);
}
.material-lab-compare-toggle:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}
.material-lab-compare-toggle.is-active {
  background: rgba(0, 229, 204, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Grid: smooth process switch (respect prefers-reduced-motion in main.js) */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-lg);
}
.material-grid.is-switching .material-card {
  opacity: 0;
  transform: translateY(8px);
}
@media (min-width: 600px) {
  .material-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .material-grid.is-switching .material-card {
    opacity: 1;
    transform: none;
  }
}

.material-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-fast), box-shadow var(--duration-normal), opacity var(--duration-normal);
  position: relative;
}
.material-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 229, 204, 0.08);
}
.material-card:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.material-card.is-pinned {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.material-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 var(--space-md);
}
.material-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-green);
}
/* 2x2 metric boxes inside each card */
.material-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.material-card__metric {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: var(--space-sm) var(--space-xs);
  text-align: center;
}
.material-card__metric-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}
.material-card__metric-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin: 0;
}
.material-card__metric--primary {
  opacity: 1;
}
.material-card__metric--primary .material-card__metric-label {
  color: var(--text-secondary);
  opacity: 1;
  font-weight: 600;
}
.material-card__metric--primary .material-card__metric-value {
  color: var(--accent-cyan);
  opacity: 1;
  font-weight: 700;
}
.material-card__metric--subdued {
  opacity: 0.55;
}
.material-card__metric--subdued .material-card__metric-label {
  color: var(--text-muted);
  opacity: 0.75;
  font-weight: 500;
}
.material-card__metric--subdued .material-card__metric-value {
  color: var(--text-secondary);
  opacity: 0.65;
  font-weight: 500;
}
.material-card__example {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
}

/* Comparison tray (max 3 pinned) */
.material-lab-tray {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: none;
}
.material-lab-tray.is-visible {
  display: block;
}
.material-lab-tray__title {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--space-md);
}
.material-lab-tray__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.material-lab-tray__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: var(--space-md);
  min-width: 140px;
}
.material-lab-tray__name {
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--accent-cyan);
}
.material-lab-tray__metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.material-lab-disclaimer {
  margin-top: var(--space-xl);
}

/* Coming soon message overlay */
.material-lab-coming-soon-msg {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  border-radius: 6px;
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(184, 255, 60, 0.15);
}
.material-lab-coming-soon-msg.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.material-lab-coming-soon-msg__icon {
  font-size: 1rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(184, 255, 60, 0.4));
}
.material-lab-coming-soon-msg__text {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  .material-lab-coming-soon-msg {
    transition: opacity var(--duration-fast);
  }
  .material-lab-coming-soon-msg.is-visible {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Quality & Tolerance (gauge + checklist)
   -------------------------------------------------------------------------- */
.quality-section {
  padding: var(--space-3xl) 0;
}

.tolerance-gauge {
  max-width: 280px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}
.tolerance-gauge__ring {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: conic-gradient(var(--accent-cyan) 0% var(--gauge-value, 75%), var(--border-subtle) var(--gauge-value, 75%) 100%);
  padding: 8px;
  animation: gaugeIn 1s var(--ease-out) forwards;
}
.tolerance-gauge__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
@keyframes gaugeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.quality-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 480px;
  margin: 0 auto;
}
.quality-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.quality-checklist li:last-child { border-bottom: none; }
.quality-checklist .check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--space-3xl);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}
.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xs);
}
/* Newsletter Form */
.footer-newsletter-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 150px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.875rem;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}
.newsletter-input::placeholder {
  color: var(--text-muted);
}
.newsletter-btn {
  padding: var(--space-xs) var(--space-md);
  background: var(--accent-cyan);
  color: var(--bg-base);
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--duration-fast);
  white-space: nowrap;
}
.newsletter-btn:hover {
  opacity: 0.9;
}
.newsletter-success {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-top: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Page heading (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: var(--space-2xl) 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}
.page-hero p {
  color: var(--text-secondary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.services-list {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
.service-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0, 229, 204, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
}
.service-item__title { font-size: 1.25rem; margin: 0 0 var(--space-sm); }
.service-item__desc { color: var(--text-secondary); margin: 0; }
.service-item--coming-soon { opacity: 0.9; }
.badge-coming-soon {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-green);
  margin-left: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Quote form
   -------------------------------------------------------------------------- */
.quote-form {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.quote-form .container {
  padding: 0;
}
.form-group {
  margin-bottom: var(--space-xl);
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
  background: var(--bg-elevated);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300e5cc' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option:disabled {
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.form-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--bg-elevated);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 600px) { 
  .quote-form {
    margin: 0 var(--space-md);
    padding: var(--space-lg);
  }
  .form-row { 
    grid-template-columns: 1fr; 
  } 
}

/* File upload mock */
.file-upload-mock {
  border: 2px dashed var(--accent-cyan);
  border-radius: 8px;
  padding: var(--space-xl);
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--duration-fast), background var(--duration-fast);
  background: rgba(0, 229, 204, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.file-upload-mock:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 204, 0.04);
}
.file-upload-mock input { display: none; }
.file-upload-mock:hover {
  background: rgba(0, 229, 204, 0.08);
  border-color: var(--accent-cyan);
}
.file-upload-icon {
  font-size: 2rem;
  opacity: 0.8;
}

/* File list */
.file-list {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.file-list:empty {
  display: none;
}
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.file-item__name {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-item__icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.file-item__size {
  color: var(--text-muted);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: var(--space-sm);
}
.file-item__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-xs);
  font-size: 1rem;
  line-height: 1;
  transition: color var(--duration-fast);
}
.file-item__remove:hover {
  color: var(--accent-magenta);
}

.btn-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--accent-cyan);
  color: var(--bg-base);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 204, 0.35);
}

/* Quote summary (after submit) */
.quote-summary {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-top: var(--space-xl);
}
.quote-summary.is-visible { display: block; }
.quote-summary h3 { margin: 0 0 var(--space-md); }
.quote-summary dl {
  display: grid;
  gap: var(--space-sm);
  margin: 0 0 var(--space-lg);
}
.quote-summary dt { color: var(--text-muted); font-size: 0.85rem; }
.quote-summary dd { margin: 0; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.contact-layout--centered {
  align-items: center;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: border-color var(--duration-fast), transform var(--duration-fast);
  position: relative;
  z-index: 1;
}
.contact-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 204, 0.1);
  border-radius: 10px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.contact-card__content h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-card__content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-card__content a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity var(--duration-fast);
}
.contact-card__content a:hover {
  opacity: 0.8;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
}
.contact-form-wrapper h2 {
  margin: 0 0 var(--space-lg);
  font-size: 1.25rem;
  font-weight: 600;
}
.contact-form .form-group {
  margin-bottom: var(--space-lg);
}
.contact-form .btn-submit {
  margin-top: var(--space-sm);
}

/* Contact Map */
.contact-map {
  position: relative;
  z-index: 1;
}
.map-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-base);
}
.map-container iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
}
.map-placeholder-inner {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.map-placeholder-inner svg {
  opacity: 0.4;
}
.map-placeholder-inner span {
  font-size: 1rem;
}
.map-placeholder-inner small {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Gallery page
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}
.gallery-filter {
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.gallery-filter:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}
.gallery-filter.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-base);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
/* Gallery Item - Base */
.gallery-item {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 229, 204, 0.1);
}
.gallery-item__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-item__image img {
  transform: scale(1.05);
}
.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-muted);
  min-height: 200px;
}
.gallery-item__info {
  padding: var(--space-md);
}
.gallery-item__info h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  font-weight: 600;
}
.gallery-item__tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Gallery Note */
.gallery-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-2xl);
}

/* --------------------------------------------------------------------------
   Gallery Modal
   -------------------------------------------------------------------------- */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}
.gallery-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.gallery-modal__container {
  position: relative;
  width: 70%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  margin: 0 80px;
}
.gallery-modal.active .gallery-modal__container {
  transform: scale(1) translateY(0);
}

/* Modal Close Button */
.gallery-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
  z-index: 10;
}
.gallery-modal__close:hover {
  background: var(--accent-magenta);
  color: #fff;
  border-color: var(--accent-magenta);
  transform: rotate(90deg);
}

/* Modal Navigation Arrows - Outside the box */
.gallery-modal__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s ease;
  z-index: 10000;
  backdrop-filter: blur(4px);
}
.gallery-modal__nav:hover {
  background: var(--accent-cyan);
  color: var(--bg-base);
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}
.gallery-modal__nav--prev {
  left: 24px;
}
.gallery-modal__nav--next {
  right: 24px;
}
.gallery-modal__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.gallery-modal__nav:disabled:hover {
  background: rgba(30, 30, 30, 0.8);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  transform: translateY(-50%) scale(1);
}

/* Modal Content */
.gallery-modal__content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  max-height: 90vh;
  overflow-y: auto;
}

/* Modal Gallery (Left Side) */
.gallery-modal__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.gallery-modal__main-image {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
  position: relative;
}
.gallery-modal__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-modal__main-image:hover img {
  transform: scale(1.02);
}
.gallery-modal__main-image .gallery-item__placeholder {
  min-height: 100%;
  aspect-ratio: 4/3;
}
.gallery-modal__thumbs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.gallery-modal__thumb {
  width: 70px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-elevated);
  opacity: 0.6;
}
.gallery-modal__thumb:hover {
  opacity: 1;
}
.gallery-modal__thumb.active {
  border-color: var(--accent-cyan);
  opacity: 1;
}
.gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-modal__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Modal Specs (Right Side) */
.gallery-modal__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.gallery-modal__specs h3 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.3;
}
.gallery-modal__desc {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}
.gallery-modal__spec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-sm);
}
.gallery-modal__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.gallery-modal__spec:last-child {
  border-bottom: none;
}
.gallery-modal__spec-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.gallery-modal__spec-value {
  color: var(--accent-cyan);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

/* Modal Responsive */
@media (max-width: 1200px) {
  .gallery-modal__container {
    width: 75%;
    margin: 0 70px;
  }
  .gallery-modal__nav--prev {
    left: 12px;
  }
  .gallery-modal__nav--next {
    right: 12px;
  }
}
@media (max-width: 900px) {
  .gallery-modal__container {
    width: 80%;
    margin: 0 60px;
  }
  .gallery-modal__nav--prev {
    left: 8px;
  }
  .gallery-modal__nav--next {
    right: 8px;
  }
  .gallery-modal__nav {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 768px) {
  .gallery-modal__container {
    width: calc(100% - 100px);
    max-height: 95vh;
    margin: 0 50px;
  }
  .gallery-modal__content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  .gallery-modal__specs h3 {
    font-size: 1.5rem;
  }
  .gallery-modal__nav {
    width: 44px;
    height: 44px;
  }
  .gallery-modal__nav--prev {
    left: 4px;
  }
  .gallery-modal__nav--next {
    right: 4px;
  }
  .gallery-modal__thumb {
    width: 60px;
    height: 45px;
  }
}
@media (max-width: 480px) {
  .gallery-modal__container {
    width: calc(100% - 80px);
    margin: 0 40px;
  }
  .gallery-modal__content {
    padding: var(--space-md);
  }
  .gallery-modal__close {
    width: 40px;
    height: 40px;
  }
  .gallery-modal__nav {
    width: 36px;
    height: 36px;
  }
  .gallery-modal__nav--prev {
    left: 2px;
  }
  .gallery-modal__nav--next {
    right: 2px;
  }
  .gallery-modal__thumb {
    width: 50px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   FAQ page
   -------------------------------------------------------------------------- */
.faq-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.faq-item {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.faq-item[open] {
  border-color: var(--accent-cyan);
}
.faq-question {
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question span {
  flex: 1;
  padding-right: var(--space-md);
}
.faq-icon {
  color: var(--accent-cyan);
  transition: transform var(--duration-fast);
  flex-shrink: 0;
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Blog page
   -------------------------------------------------------------------------- */
.blog-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.blog-card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--duration-fast), border-color var(--duration-fast);
  position: relative;
  z-index: 1;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}
.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--text-muted);
}
.blog-card__content {
  padding: var(--space-lg);
}
.blog-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.blog-card__title {
  margin: var(--space-sm) 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}
.blog-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}
.blog-card__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 229, 204, 0.1);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  border-radius: 4px;
}
.blog-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-2xl);
}
a.blog-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --------------------------------------------------------------------------
   Blog Post (Detail Page)
   -------------------------------------------------------------------------- */
.blog-post {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.blog-post .container {
  max-width: 800px;
}

/* Breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.blog-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.blog-breadcrumb a:hover {
  color: var(--accent-cyan);
}
.blog-breadcrumb span {
  opacity: 0.5;
}

/* Header */
.blog-post__header {
  margin-bottom: var(--space-xl);
}
.blog-post__tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 229, 204, 0.1);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: var(--space-md);
}
.blog-post__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}
.blog-post__meta {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Featured Image */
.blog-post__featured {
  margin-bottom: var(--space-2xl);
  border-radius: 12px;
  overflow: hidden;
}
.blog-post__featured img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post__featured-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-muted);
}

/* Content */
.blog-post__content {
  line-height: 1.8;
  color: var(--text-secondary);
}
.blog-post__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-2xl) 0 var(--space-md);
}
.blog-post__content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}
.blog-post__content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-lg) 0 var(--space-sm);
}
.blog-post__content p {
  margin: 0 0 var(--space-lg);
}
.blog-post__content ul,
.blog-post__content ol {
  margin: 0 0 var(--space-lg);
  padding-left: var(--space-xl);
}
.blog-post__content li {
  margin-bottom: var(--space-sm);
}
.blog-post__content a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 204, 0.3);
  transition: text-decoration-color var(--duration-fast);
}
.blog-post__content a:hover {
  text-decoration-color: var(--accent-cyan);
}
.blog-post__intro {
  font-size: 1.1rem;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-cyan);
  padding-left: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

/* Image Block */
.blog-post__image-block {
  margin: var(--space-xl) 0;
  text-align: center;
}
.blog-post__image-block img {
  max-width: 100%;
  border-radius: 8px;
}
.blog-post__image-placeholder {
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.blog-post__image-caption {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Table */
.blog-post__table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}
.blog-post__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.blog-post__table th,
.blog-post__table td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-subtle);
  text-align: left;
}
.blog-post__table th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--text-primary);
}
.blog-post__table td {
  background: var(--bg-base);
}

/* Callout */
.blog-post__callout {
  background: var(--bg-elevated);
  border-left: 4px solid var(--accent-cyan);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: 0 8px 8px 0;
}
.blog-post__callout h4 {
  margin: 0 0 var(--space-sm) !important;
  color: var(--accent-cyan);
}
.blog-post__callout p,
.blog-post__callout ul {
  margin-bottom: 0;
}
.blog-post__callout--fdm {
  border-left-color: #00b894;
}
.blog-post__callout--fdm h4 {
  color: #00b894;
}
.blog-post__callout--sla {
  border-left-color: #6c5ce7;
}
.blog-post__callout--sla h4 {
  color: #6c5ce7;
}
.blog-post__callout--warning {
  border-left-color: #fdcb6e;
}
.blog-post__callout--warning h4 {
  color: #fdcb6e;
}

/* Checklist */
.blog-post__checklist {
  background: var(--bg-elevated);
  padding: var(--space-lg);
  border-radius: 8px;
  margin: var(--space-lg) 0;
}
.blog-post__checklist label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  cursor: pointer;
}
.blog-post__checklist input[type="checkbox"] {
  accent-color: var(--accent-cyan);
}

/* Timeline */
.blog-post__timeline {
  margin: var(--space-xl) 0;
  padding-left: var(--space-lg);
  border-left: 2px solid var(--border-subtle);
}
.blog-post__timeline-item {
  position: relative;
  padding-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}
.blog-post__timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-lg) - 14px);
  width: 28px;
  height: 28px;
  background: var(--accent-cyan);
  color: var(--bg-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-post__timeline-content h4 {
  margin: 0 0 var(--space-xs) !important;
}
.blog-post__timeline-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Section Title - Ana Bölüm Başlıkları */
.blog-post__section-title {
  margin-top: var(--space-3xl) !important;
  margin-bottom: var(--space-xl) !important;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-md);
  border-top: 2px solid var(--accent-cyan);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 1.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.blog-post__section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 2px;
}

/* Author */
.blog-post__author {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-elevated);
  border-radius: 12px;
  margin-top: var(--space-2xl);
}
.blog-post__author-avatar {
  width: 56px;
  height: 56px;
  background: var(--accent-cyan);
  color: var(--bg-base);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.blog-post__author-avatar--img {
  width: 80px;
  height: 80px;
  background: var(--bg-elevated);
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--border-subtle);
}
.blog-post__author-name {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
}
.blog-post__author-bio {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* PDF Viewer */
.blog-post__pdf-viewer {
  margin: var(--space-xl) 0;
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.1);
}
.blog-post__pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-elevated) 100%);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.blog-post__pdf-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.blog-post__pdf-title svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.blog-post__pdf-download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent-cyan);
  color: var(--bg-base);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--duration-fast);
}
.blog-post__pdf-download:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 229, 204, 0.3);
}
.blog-post__pdf-download svg {
  flex-shrink: 0;
}
.blog-post__pdf-embed {
  width: 100%;
  background: var(--bg-base);
  overflow: hidden;
}
.blog-post__pdf-embed iframe {
  display: block;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  border: none;
}
@media (max-width: 768px) {
  .blog-post__pdf-viewer {
    margin: var(--space-lg) 0;
    border-radius: 8px;
  }
  .blog-post__pdf-embed iframe {
    min-height: 400px;
  }
  .blog-post__pdf-header {
    padding: var(--space-sm) var(--space-md);
  }
  .blog-post__pdf-title {
    font-size: 0.9rem;
  }
  .blog-post__pdf-title svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .blog-post__pdf-embed iframe {
    min-height: 350px;
  }
  .blog-post__pdf-header {
    padding: var(--space-xs) var(--space-sm);
  }
  .blog-post__pdf-title {
    font-size: 0.8rem;
    gap: var(--space-xs);
  }
}

/* Mobile PDF Card */
.blog-post__pdf-mobile {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  margin: var(--space-xl) 0;
}
.blog-post__pdf-mobile-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 204, 0.1);
  border-radius: 50%;
  color: var(--accent-cyan);
}
.blog-post__pdf-mobile h4 {
  margin: 0 0 var(--space-sm);
  color: var(--text-primary);
  font-size: 1.1rem;
}
.blog-post__pdf-mobile p {
  margin: 0 0 var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.blog-post__pdf-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--accent-cyan);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--duration-fast);
}
.blog-post__pdf-mobile-btn svg {
  stroke: #ffffff;
}
.blog-post__pdf-mobile-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 204, 0.4);
  color: #ffffff !important;
}

/* Desktop/Mobile visibility */
@media (max-width: 768px) {
  .blog-post__pdf-desktop {
    display: none;
  }
  .blog-post__pdf-mobile {
    display: block;
  }
}

/* Navigation */
/* Summary Card */
.blog-post__summary-card {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.05) 0%, rgba(233, 48, 255, 0.05) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: 16px;
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
  box-shadow: 0 0 30px rgba(0, 229, 204, 0.1);
}
.blog-post__summary-card h3 {
  margin: 0 0 var(--space-lg);
  font-size: 1.5rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.blog-post__summary-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.blog-post__summary-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: rgba(10, 15, 20, 0.6);
  border-radius: 12px;
  border-left: 3px solid var(--accent-cyan);
}
.blog-post__summary-item:nth-child(2) {
  border-left-color: var(--accent-magenta);
}
.blog-post__summary-item:nth-child(3) {
  border-left-color: #fbbf24;
}
.blog-post__summary-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00e5cc;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
}
.blog-post__summary-item:nth-child(2) .blog-post__summary-number {
  background: #e930ff;
  color: #ffffff;
}
.blog-post__summary-item:nth-child(3) .blog-post__summary-number {
  background: #fbbf24;
  color: #1a1a1a;
}
.blog-post__summary-item strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  font-size: 1.1rem;
}
.blog-post__summary-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
.blog-post__summary-item p strong {
  display: inline;
  font-size: inherit;
  color: var(--accent-cyan);
}
.blog-post__summary-item:nth-child(2) p strong {
  color: var(--accent-magenta);
}
.blog-post__summary-item:nth-child(3) p strong {
  color: #fbbf24;
}

/* Callout Warning Variant */
.blog-post__callout--warning {
  border-left-color: #fbbf24;
}
.blog-post__callout--warning h4 {
  color: #fbbf24;
}

@media (max-width: 600px) {
  .blog-post__summary-item {
    flex-direction: column;
    gap: var(--space-md);
  }
  .blog-post__summary-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* Summary Card - Light Mode */
[data-theme="light"] .blog-post__summary-card {
  background: linear-gradient(135deg, rgba(0, 180, 160, 0.08) 0%, rgba(180, 30, 200, 0.08) 100%);
  box-shadow: 0 0 30px rgba(0, 180, 160, 0.15);
}
[data-theme="light"] .blog-post__summary-item {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .blog-post__summary-number {
  background: #00c4b0;
  color: #ffffff;
}
[data-theme="light"] .blog-post__summary-item:nth-child(2) .blog-post__summary-number {
  background: #d020e0;
  color: #ffffff;
}
[data-theme="light"] .blog-post__summary-item:nth-child(3) .blog-post__summary-number {
  background: #f59e0b;
  color: #1a1a1a;
}
[data-theme="light"] .blog-post__summary-item p strong {
  color: #00a896;
}
[data-theme="light"] .blog-post__summary-item:nth-child(2) p strong {
  color: #c026d3;
}
[data-theme="light"] .blog-post__summary-item:nth-child(3) p strong {
  color: #d97706;
}

.blog-post__nav {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}
.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--duration-fast);
}
.blog-post__back:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Why Us & Stats sections (Homepage)
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: var(--space-3xl) 0;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}
.why-us-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color var(--duration-fast), transform var(--duration-fast);
  position: relative;
  z-index: 1;
}
.why-us-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}
.why-us-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 204, 0.1);
  border-radius: 12px;
  color: var(--accent-cyan);
}
.why-us-card__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.1rem;
  font-weight: 600;
}
.why-us-card__text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.stats-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}
.stat-item__number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  line-height: 1;
}
.stat-item__label {
  margin-top: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* --------------------------------------------------------------------------
   Cookie Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform var(--duration-normal);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--accent-cyan);
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
}
.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.cookie-btn--accept {
  background: var(--accent-cyan);
  color: var(--bg-base);
  border: none;
}
.cookie-btn--accept:hover {
  opacity: 0.9;
}
.cookie-btn--decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.cookie-btn--decline:hover {
  border-color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
