/* ==========================================================================
   KIOCONE Corporate Design System & Custom Utilities
   Engineering, Integration, Trust & Precision Aesthetics
   ========================================================================== */

:root {
  --brand-primary: #0284c7;
  --brand-primary-dark: #0369a1;
  --brand-secondary: #2563eb;
  --brand-accent: #06b6d4;
  --slate-dark: #0f172a;
  --slate-card: #1e293b;
  --slate-subtle: #334155;
}

/* Smooth Scrolling with Header Offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Subtle Engineering Grid Background Pattern */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
}

.bg-grid-pattern-dark {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(51, 65, 85, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 65, 85, 0.3) 1px, transparent 1px);
}

/* Glassmorphism Navigation */
.header-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Enterprise Interactive Card */
.corp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.corp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* Technical Accent Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-brand {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.badge-cyan {
  background-color: #ecfeff;
  color: #0e7490;
  border: 1px solid #cffafe;
}

/* Stepper & Methodology Timeline Elements */
.step-number {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Hero Abstract Graphic Node Connections */
@keyframes pulse-subtle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.node-pulse {
  animation: pulse-subtle 4s infinite ease-in-out;
}

/* Focus states for high accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

/* Print Optimization */
@media print {
  header, footer, .no-print {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
