/* ==========================================================================
   INNOX-ENGINEERING — DESIGN SYSTEM & MASTER STYLESHEET
   High-Precision European B2B Manufacturing & Industrial Service
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800;900&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color System */
  --bg-deep: #07090C;
  --bg-surface: #0E1218;
  --bg-card: #151A22;
  --bg-card-hover: #1C232E;
  --bg-glass: rgba(14, 18, 24, 0.85);

  --border-subtle: #1F2734;
  --border-medium: #2B3547;
  --border-focus: #E08736;

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #8492A6;
  --text-dim: #53627A;

  /* Accents */
  --accent-amber: #E08736;
  --accent-amber-light: #F59E0B;
  --accent-amber-glow: rgba(224, 135, 54, 0.18);
  --accent-amber-dark: #B4621C;

  --accent-cyan: #0EA5E9;
  --accent-cyan-glow: rgba(14, 165, 233, 0.16);

  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.16);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px -2px rgba(0,0,0,0.6), 0 2px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 36px -6px rgba(0,0,0,0.7), 0 4px 12px -2px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 24px -2px var(--accent-amber-glow);

  /* Sizing & Radius */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1280px;
  --header-height: 80px;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection & Scrollbar */
::selection {
  background: var(--accent-amber);
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
}

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.mono {
  font-family: var(--font-mono);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 36px);
  padding-right: clamp(16px, 4vw, 36px);
}

.section {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 110px);
  position: relative;
}

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

.section-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--accent-amber);
}

.eyebrow.cyan {
  color: var(--accent-cyan);
}
.eyebrow.cyan::before {
  background-color: var(--accent-cyan);
}

.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 65ch;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-notice {
  background: #0B0E14;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-badge-item svg {
  color: var(--accent-amber);
  width: 14px;
  height: 14px;
}

.top-contact-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-contact-links a:hover {
  color: var(--accent-amber);
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1C232E 0%, #0E1218 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  box-shadow: inset 0 0 10px rgba(224, 135, 54, 0.15);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-title .accent {
  color: var(--accent-amber);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Nav Menu */
nav.nav-desktop {
  display: none;
}

@media (min-width: 1080px) {
  nav.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Nav Dropdown for Services */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 120;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(224, 135, 54, 0.08);
}

.nav-dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.nav-dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-amber);
  color: #FFFFFF;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

@media (min-width: 1080px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-deep);
  display: none;
  flex-direction: column;
  padding: 24px clamp(16px, 5vw, 32px);
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.mobile-drawer nav a:hover {
  color: var(--accent-amber);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-amber);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(224, 135, 54, 0.35);
}

.btn-primary:hover {
  background: var(--accent-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 135, 54, 0.5);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  background: #128C7E;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.96rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 10vw, 120px);
  background: radial-gradient(circle at 80% 20%, rgba(224, 135, 54, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
              var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  z-index: 2;
}

.hero-title-highlight {
  color: var(--accent-amber);
  display: inline-block;
  position: relative;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.metric-val .accent {
  color: var(--accent-amber);
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero Interactive Terminal / RFQ Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-card-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.bridge-nodes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  margin-bottom: 20px;
}

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

.bridge-flag {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.bridge-city {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bridge-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.bridge-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--accent-amber);
}

.bridge-connector svg {
  width: 20px;
  height: 20px;
  animation: pulseBridge 2s infinite ease-in-out;
}

@keyframes pulseBridge {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.bridge-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 6px;
  background: rgba(224, 135, 54, 0.15);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--accent-amber);
  white-space: nowrap;
}

/* ==========================================================================
   THE 3 PILLARS SHOWCASE (CNC, COATING, INDUSTRIAL SERVICE)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pillar-color, var(--accent-amber));
  opacity: 0.7;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 20px;
  right: 24px;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pillar-color, var(--accent-amber));
  margin-bottom: 24px;
}

.pillar-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pillar-feature-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-feature-list li svg {
  color: var(--pillar-color, var(--accent-amber));
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pillar-card .btn {
  width: 100%;
}

/* ==========================================================================
   IMAGE SHOWCASE & FILTERABLE GALLERY
   ========================================================================== */
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #FFFFFF;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
}

.gallery-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0B0E14;
  position: relative;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb-wrap img {
  transform: scale(1.06);
}

.gallery-item-caption {
  padding: 16px 18px;
}

.gallery-item-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.gallery-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gallery-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TECHNICAL PROCESS & WORKFLOW
   ========================================================================== */
.stepper-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .stepper-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   MATERIAL DATABASE & INTERACTIVE TABLE
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.86rem;
}

.tech-table th {
  background: #0E1218;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.tech-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

.tech-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.tech-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.tech-badge.amber {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(224, 135, 54, 0.1);
}

.tech-badge.cyan {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.1);
}

/* ==========================================================================
   QUALITY LAB & MEASUREMENT SECTION
   ========================================================================== */
.lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) {
  .lab-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.lab-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.lab-card-title svg {
  color: var(--accent-amber);
  width: 24px;
  height: 24px;
}

.lab-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.lab-spec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
}

.lab-spec-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.lab-spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

/* ==========================================================================
   RFQ DROPZONE & B2B QUOTE BUILDER
   ========================================================================== */
.rfq-container {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.rfq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 960px) {
  .rfq-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(224, 135, 54, 0.15);
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
  margin-top: 14px;
}

.form-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-amber);
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

/* CAD Dropzone */
.dropzone {
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 36px 20px;
  text-align: center;
  background: rgba(14, 18, 24, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent-amber);
  background: rgba(224, 135, 54, 0.05);
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: var(--accent-amber);
}

.dropzone-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.dropzone-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.file-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

.file-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-amber);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer {
  background: #06080B;
  border-top: 1px solid var(--border-subtle);
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: 32px;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-amber);
}

.footer-hub-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .footer-hub-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-hub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}

.footer-hub-title {
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   STICKY MOBILE QUICK ACTION BAR
   ========================================================================== */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(14, 18, 24, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-medium);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

@media (min-width: 820px) {
  .mobile-action-bar {
    display: none;
  }
}

.mobile-act-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.mobile-act-btn svg {
  width: 18px;
  height: 18px;
}

.mobile-act-btn.whatsapp {
  color: #25D366;
}

.mobile-act-btn.rfq {
  color: var(--accent-amber);
}

@media (max-width: 819px) {
  body {
    padding-bottom: 64px;
  }
}

/* ==========================================================================
   ADVANCED INDUSTRIAL DESIGN SYSTEM & 2026 TREND ENHANCEMENTS
   Precision Metrology, Metrology Badges, Interactive Inspector, Laser Sweeps
   ========================================================================== */

/* Technical Blueprint Grid Background */
.bg-grid-blueprint {
  background-image: 
    linear-gradient(rgba(224, 135, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 135, 54, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center center;
}

.bg-grid-cyan {
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
}

/* Atmospheric Glow & Laser Sweep Keyframes */
@keyframes laserSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateX(200%); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(224, 135, 54, 0.2); }
  50% { box-shadow: 0 0 30px rgba(224, 135, 54, 0.45); }
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Card Glow Hover */
.card-tech {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.card-tech::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-tech:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 20px -4px var(--accent-amber-glow);
}

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

/* Precision Corner Marks */
.has-crosshairs {
  position: relative;
}
.has-crosshairs::after {
  content: '+';
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  opacity: 0.5;
  pointer-events: none;
}

/* ==========================================================================
   TRUST SEALS & ASSURANCE RIBBON
   ========================================================================== */
.trust-seals-ribbon {
  background: #0A0D12;
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 24px 0;
  position: relative;
  z-index: 10;
}

.trust-seals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: center;
}

.trust-seal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(14, 18, 24, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.trust-seal-item:hover {
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  background: rgba(22, 28, 38, 0.7);
}

.trust-seal-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(224, 135, 54, 0.12);
  color: var(--accent-amber);
}

.trust-seal-icon.cyan {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-cyan);
}

.trust-seal-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}

.trust-seal-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.2;
}

.trust-seal-text p {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0;
}

/* ==========================================================================
   INTERACTIVE SURFACE FINISHING INSPECTOR (VORHER / NACHHER)
   ========================================================================== */
.coating-inspector-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 36px;
  position: relative;
  overflow: hidden;
}

.coating-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.coating-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coating-tab-btn:hover {
  border-color: var(--accent-amber);
  color: var(--text-primary);
  background: #1C232E;
}

.coating-tab-btn.active {
  background: var(--accent-amber);
  color: #FFFFFF;
  border-color: var(--accent-amber);
  box-shadow: 0 0 16px var(--accent-amber-glow);
}

.coating-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .coating-panel-grid {
    grid-template-columns: 1fr;
  }
}

.coating-image-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
  background: #000;
}

.coating-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.coating-image-wrapper:hover img {
  transform: scale(1.03);
}

.coating-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-amber);
  color: #FFF;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.coating-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.coating-metric-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
}

.coating-metric-card .key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.coating-metric-card .val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-amber-light);
  margin-top: 4px;
}

.coating-metric-card .val.cyan {
  color: var(--accent-cyan);
}

/* ==========================================================================
   INTERACTIVE TOLERANCES & FITS CALCULATOR (ISO 2768 / DIN 7157)
   ========================================================================== */
.tolerance-calc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 36px;
}

.tolerance-calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 820px) {
  .tolerance-calc-grid {
    grid-template-columns: 1fr;
  }
}

.tolerance-display-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 600px) {
  .tolerance-display-panel {
    grid-template-columns: 1fr;
  }
}

.tol-val-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 14px;
  text-align: center;
}

.tol-val-card .tol-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.tol-val-card .tol-result {
  font-size: 1.25rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald);
}

/* ==========================================================================
   MULTI-CHANNEL ZERO-LOSS RFQ MODAL & CONFIRMATION
   ========================================================================== */
.innox-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 9, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.innox-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.innox-modal-content {
  background: #0E1218;
  border: 1px solid var(--border-medium);
  box-shadow: 0 24px 64px rgba(0,0,0,0.9), 0 0 32px var(--accent-amber-glow);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.innox-modal-overlay.open .innox-modal-content {
  transform: translateY(0);
}

.innox-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.innox-modal-close:hover {
  color: #FFF;
  background: rgba(255,255,255,0.1);
}

.modal-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 135, 54, 0.12);
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber-light);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.modal-actions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.channel-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.channel-btn.email {
  background: #1C232E;
  border-color: var(--border-medium);
  color: #F8FAFC;
}

.channel-btn.email:hover {
  background: #252F3E;
  border-color: var(--accent-cyan);
}

.channel-btn.whatsapp {
  background: #0F3822;
  border-color: #10B981;
  color: #A7F3D0;
}

.channel-btn.whatsapp:hover {
  background: #134E2E;
  color: #FFFFFF;
}

.channel-btn.copy {
  background: var(--bg-deep);
  border-color: var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
}

.channel-btn.copy:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

/* ==========================================================================
   INNOX APEX OS — Admin Login Navigation & Modal
   ========================================================================== */
.btn-apex-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.btn-apex-admin:hover {
  background: #F59E0B;
  color: #05070A !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}
.btn-apex-admin svg {
  transition: transform 0.2s ease;
}
.btn-apex-admin:hover svg {
  transform: rotate(15deg);
}

.apex-login-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.apex-login-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.apex-login-card {
  background: #090D13;
  border: 1px solid #27354A;
  border-radius: 14px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 45px rgba(245, 158, 11, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apex-login-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.apex-login-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.apex-login-badge {
  display: inline-block;
  align-self: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
}

.apex-login-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.apex-login-close:hover {
  color: #F59E0B;
}

.apex-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apex-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.apex-input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apex-input {
  width: 100%;
  padding: 12px 14px;
  background: #05070A;
  border: 1px solid #1C2636;
  border-radius: 6px;
  color: #F8FAFC;
  font-size: 0.92rem;
  font-family: var(--font-sans, sans-serif);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apex-input:focus {
  outline: none;
  border-color: #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.apex-btn-submit {
  width: 100%;
  padding: 13px;
  background: #F59E0B;
  color: #05070A;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
  letter-spacing: 0.03em;
}
.apex-btn-submit:hover {
  background: #D97706;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.apex-login-error {
  display: none;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 6px;
  color: #FCA5A5;
  font-size: 0.82rem;
  text-align: center;
}
