/* ===== STEP YAZILIM — CSS ===== */
/* Kurumsal Kimlik v3.0 Tabanlı */

:root {
  /* Ana Renkler */
  --midnight: #0A1628;
  --navy: #0F2847;
  --steel: #1B3A5C;
  --azure: #2563EB;
  --electric: #3B82F6;
  --ice: #60A5FA;

  /* Aksan Renkler */
  --signal-orange: #F97316;
  --signal-amber: #FBBF24;
  --success: #10B981;
  --danger: #EF4444;

  /* Nötr Tonlar */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  /* Tipografi */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Boyutlar */
  --header-height: 72px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Geçişler */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: linear-gradient(180deg, var(--slate-100) 0%, var(--slate-50) 50%, var(--white) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 1000;
  transition: all var(--transition-base);
}

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

.header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-text .highlight {
  color: var(--azure);
}

/* Navigation */
.nav {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-300);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

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

.nav-link.cta {
  background: var(--azure);
  color: var(--white);
  margin-left: 8px;
}

.nav-link.cta:hover {
  background: var(--electric);
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--midnight);
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 8px;
}

.nav.mobile-open .nav-link {
  width: 100%;
  padding: 12px 16px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.97) 0%, rgba(15, 40, 71, 0.95) 50%, rgba(27, 58, 92, 0.93) 100%);
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ===== SPACE LINES (Uzay Çizgileri) ===== */
.hero-space-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.space-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  animation: spaceLine 4s linear infinite;
  opacity: 0;
}

.space-line:nth-child(1) { top: 15%; left: -20%; width: 40%; animation-delay: 0s; }
.space-line:nth-child(2) { top: 25%; left: -15%; width: 35%; animation-delay: 0.8s; }
.space-line:nth-child(3) { top: 40%; left: -25%; width: 50%; animation-delay: 1.6s; }
.space-line:nth-child(4) { top: 55%; left: -10%; width: 30%; animation-delay: 2.4s; }
.space-line:nth-child(5) { top: 70%; left: -30%; width: 45%; animation-delay: 3.2s; }
.space-line:nth-child(6) { top: 85%; left: -20%; width: 40%; animation-delay: 0.4s; }
.space-line:nth-child(7) { top: 35%; left: -15%; width: 35%; animation-delay: 1.2s; }
.space-line:nth-child(8) { top: 60%; left: -25%; width: 55%; animation-delay: 2s; }

@keyframes spaceLine {
  0% {
    transform: translateX(0) scaleX(0.3);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(250vw) scaleX(1);
    opacity: 0;
  }
}

/* ===== FLOATING CUBES (Uçuşan Kutular) ===== */
.hero-floating-cubes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  perspective: 1000px;
}

.floating-cube {
  position: absolute;
  width: 60px;
  height: 60px;
  transform-style: preserve-3d;
  animation: floatCube 20s ease-in-out infinite;
}

.floating-cube .cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
  backdrop-filter: blur(2px);
}

.floating-cube .cube-face.front  { transform: translateZ(30px); }
.floating-cube .cube-face.back   { transform: rotateY(180deg) translateZ(30px); }
.floating-cube .cube-face.right  { transform: rotateY(90deg) translateZ(30px); }
.floating-cube .cube-face.left   { transform: rotateY(-90deg) translateZ(30px); }
.floating-cube .cube-face.top    { transform: rotateX(90deg) translateZ(30px); }
.floating-cube .cube-face.bottom { transform: rotateX(-90deg) translateZ(30px); }

.floating-cube:nth-child(1) {
  top: 10%; left: 5%;
  width: 50px; height: 50px;
  animation-duration: 25s;
  animation-delay: 0s;
}
.floating-cube:nth-child(1) .cube-face { border-color: rgba(249, 115, 22, 0.3); background: rgba(249, 115, 22, 0.05); }
.floating-cube:nth-child(1) .cube-face.front,
.floating-cube:nth-child(1) .cube-face.back { transform: translateZ(25px); }
.floating-cube:nth-child(1) .cube-face.right,
.floating-cube:nth-child(1) .cube-face.left { transform: rotateY(90deg) translateZ(25px); }
.floating-cube:nth-child(1) .cube-face.left { transform: rotateY(-90deg) translateZ(25px); }
.floating-cube:nth-child(1) .cube-face.top { transform: rotateX(90deg) translateZ(25px); }
.floating-cube:nth-child(1) .cube-face.bottom { transform: rotateX(-90deg) translateZ(25px); }

.floating-cube:nth-child(2) {
  top: 60%; left: 10%;
  width: 40px; height: 40px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.floating-cube:nth-child(3) {
  top: 30%; right: 15%;
  width: 70px; height: 70px;
  animation-duration: 28s;
  animation-delay: -10s;
}
.floating-cube:nth-child(3) .cube-face.front,
.floating-cube:nth-child(3) .cube-face.back { transform: translateZ(35px); }
.floating-cube:nth-child(3) .cube-face.right { transform: rotateY(90deg) translateZ(35px); }
.floating-cube:nth-child(3) .cube-face.left { transform: rotateY(-90deg) translateZ(35px); }
.floating-cube:nth-child(3) .cube-face.top { transform: rotateX(90deg) translateZ(35px); }
.floating-cube:nth-child(3) .cube-face.bottom { transform: rotateX(-90deg) translateZ(35px); }

.floating-cube:nth-child(4) {
  top: 75%; right: 8%;
  width: 45px; height: 45px;
  animation-duration: 20s;
  animation-delay: -15s;
}
.floating-cube:nth-child(4) .cube-face { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.05); }

.floating-cube:nth-child(5) {
  top: 20%; left: 40%;
  width: 35px; height: 35px;
  animation-duration: 24s;
  animation-delay: -8s;
}

.floating-cube:nth-child(6) {
  top: 50%; right: 25%;
  width: 55px; height: 55px;
  animation-duration: 26s;
  animation-delay: -12s;
}
.floating-cube:nth-child(6) .cube-face { border-color: rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.05); }

@keyframes floatCube {
  0%, 100% {
    transform: translateY(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-30px) rotateX(90deg) rotateY(45deg);
  }
  50% {
    transform: translateY(-15px) rotateX(180deg) rotateY(90deg);
  }
  75% {
    transform: translateY(-40px) rotateX(270deg) rotateY(135deg);
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: -3s; animation-duration: 18s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 35%; animation-delay: -6s; animation-duration: 22s; background: rgba(249, 115, 22, 0.5); }
.particle:nth-child(4) { left: 50%; animation-delay: -9s; animation-duration: 16s; width: 5px; height: 5px; }
.particle:nth-child(5) { left: 65%; animation-delay: -12s; animation-duration: 24s; }
.particle:nth-child(6) { left: 80%; animation-delay: -4s; animation-duration: 19s; background: rgba(16, 185, 129, 0.5); width: 3px; height: 3px; }
.particle:nth-child(7) { left: 90%; animation-delay: -7s; animation-duration: 21s; }
.particle:nth-child(8) { left: 5%; animation-delay: -10s; animation-duration: 17s; width: 2px; height: 2px; }
.particle:nth-child(9) { left: 45%; animation-delay: -2s; animation-duration: 23s; background: rgba(139, 92, 246, 0.5); }
.particle:nth-child(10) { left: 75%; animation-delay: -8s; animation-duration: 20s; width: 4px; height: 4px; }

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Global Background Canvas */
.global-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Ensure content is above canvas */
.header,
.hero,
.section,
.page-hero,
.footer,
.stepio-hero {
  position: relative;
  z-index: 1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--signal-orange);
  margin-bottom: 24px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--signal-orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--azure), var(--ice), var(--signal-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--slate-400);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual - Dashboard Preview */
.hero-visual {
  display: none;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(37, 99, 235, 0.15);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateX(60px) scale(1.5);
  transform-origin: center center;
  transition: transform 0.5s ease;
  max-width: 700px;
  margin-left: auto;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateX(60px) scale(1.55);
}

.hero-image-wrapper:active {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateX(0) scale(1.875);
  z-index: 100;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(37, 99, 235, 0.3);
}

.hero-image-wrapper:active .hero-image {
  filter: brightness(1.1) contrast(1.05);
}

.hero-image-wrapper:active .hero-image-glow {
  opacity: 1;
  filter: blur(30px);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.hero-image-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(249, 115, 22, 0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(20px);
}

.hero-image-wrapper:hover .hero-image-glow {
  opacity: 1;
}

/* Frame decoration */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: 8px;
  left: 8px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: all 0.5s ease;
}

.hero-image-wrapper:hover::before {
  top: -12px;
  right: -12px;
  border-color: rgba(59, 130, 246, 0.4);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.3) 100%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.dashboard-preview {
  background: var(--midnight);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dots span:nth-child(1) { background: #EF4444; }
.dots span:nth-child(2) { background: #FBBF24; }
.dots span:nth-child(3) { background: #10B981; }

.dashboard-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
  letter-spacing: 1px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
}

.widget {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 16px;
}

.widget-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.widget-chart {
  grid-column: span 2;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--azure), var(--ice));
  border-radius: 4px 4px 0 0;
  transition: all var(--transition-base);
}

.bar.active {
  background: linear-gradient(to top, var(--signal-orange), var(--signal-amber));
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 11px;
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.status-item:last-child {
  border-bottom: none;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-item.online .status-dot { background: var(--success); }
.status-item.warning .status-dot { background: var(--signal-amber); }
.status-item.offline .status-dot { background: var(--danger); }

.status-value {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-500);
}

.widget-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge {
  width: 100%;
  max-width: 100px;
}

.gauge-fill {
  stroke-dasharray: 126;
  stroke-dashoffset: 30;
  animation: gaugeAnim 2s ease-out forwards;
}

@keyframes gaugeAnim {
  from { stroke-dashoffset: 126; }
  to { stroke-dashoffset: 30; }
}

.gauge-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-top: -10px;
}

.gauge-label {
  font-size: 10px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--azure);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  background: var(--electric);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--azure);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label.orange {
  color: var(--signal-orange);
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
}

.section-desc.light {
  color: var(--slate-400);
}

/* ===== SERVICES ===== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--electric));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

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

.service-card.featured {
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  border-color: transparent;
}

.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.service-card.featured p {
  color: var(--slate-400);
}

.service-card.featured .service-link {
  color: var(--ice);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--signal-orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon.crm {
  background: linear-gradient(135deg, #EEF2FF, #C7D2FE);
  color: #4F46E5;
}

.service-icon.erp {
  background: linear-gradient(135deg, #ECFDF5, #A7F3D0);
  color: #059669;
}

.service-icon.iot {
  background: linear-gradient(135deg, #FFF7ED, #FED7AA);
  color: #EA580C;
}

.service-icon.auto {
  background: linear-gradient(135deg, #EFF6FF, #BFDBFE);
  color: #2563EB;
}

.service-card.featured .service-icon {
  background: rgba(255,255,255,0.1);
  color: var(--signal-orange);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--azure);
  margin-top: auto;
}

/* ===== STEPIO SHOWCASE ===== */
.stepio-showcase {
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  position: relative;
  overflow: hidden;
}

.stepio-showcase .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .stepio-showcase .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }
}

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

.stepio-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 640px) {
  .stepio-features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
}

.feature-icon {
  font-size: 24px;
}

.feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.feature span {
  font-size: 12px;
  color: var(--slate-500);
}

.stepio-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.model-tag {
  padding: 6px 14px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 1px;
}

/* StepIO Visual */
.stepio-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-3d {
  width: 100%;
  max-width: 400px;
}

.device-svg {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.led-blink {
  animation: ledBlink 1s infinite;
}

.led-pulse {
  animation: ledPulse 2s infinite;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes ledPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== REFERENCES ===== */
.references {
  background: var(--slate-100);
}

.references-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.reference-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 4px solid var(--azure);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reference-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--azure);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reference-sector.orange { color: var(--signal-orange); }
.reference-sector.green { color: var(--success); }
.reference-sector.blue { color: var(--electric); }
.reference-sector.amber { color: var(--signal-amber); }

.reference-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 8px;
}

.reference-card p {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reference-tags span {
  padding: 4px 10px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-600);
}

.reference-card.cta {
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  border-left-color: var(--signal-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-content {
  text-align: center;
}

.cta-number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.cta-text {
  display: block;
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-orange);
}

/* ===== WHY US ===== */
.why-us {
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--azure), var(--electric));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.why-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 4px;
}

.why-item span {
  font-size: 13px;
  color: var(--slate-500);
}

/* Tech Stack */
.why-us-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 320px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--azure);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  font-size: 28px;
}

.tech-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--slate-100);
  padding: 80px 0;
}

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding: 60px 40px;
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .cta-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 60px 80px;
  }
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: var(--slate-400);
  max-width: 400px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-actions {
    flex-shrink: 0;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--midnight);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 32px;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  color: var(--slate-500);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--azure);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color var(--transition-fast);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-500);
}

.footer-contact a:hover {
  color: var(--azure);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--slate-600);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--slate-400);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }

@media (max-width: 1023px) {
  .lg-hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg-visible { display: block; }
}

/* ===== ELITE REFERENCES SECTION ===== */
.references-elite {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.references-elite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
}

/* Elite Header */
.elite-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .elite-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.elite-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--signal-orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.elite-title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -2px;
  line-height: 1.1;
}

.elite-title span {
  background: linear-gradient(135deg, var(--azure), var(--electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.elite-header-stats {
  display: flex;
  gap: 40px;
}

.elite-stat {
  text-align: center;
}

.elite-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -1px;
  line-height: 1;
}

.elite-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Elite Clients Strip */
.elite-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .elite-clients {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
}

.elite-client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
}

.elite-client-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--midnight);
  white-space: nowrap;
}

.elite-client-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.elite-divider {
  display: none;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--slate-200), transparent);
}

@media (min-width: 1024px) {
  .elite-divider {
    display: block;
  }
}

/* Elite Expertise */
.elite-expertise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .elite-expertise {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.elite-expertise-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.elite-expertise-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.elite-expertise-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--azure), var(--electric));
  border-radius: var(--radius-md);
  color: var(--white);
}

.elite-expertise-icon svg {
  width: 24px;
  height: 24px;
}

.elite-expertise-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 6px;
}

.elite-expertise-content p {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Elite CTA */
.elite-cta {
  text-align: center;
}

.elite-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--azure);
  padding: 16px 32px;
  border: 2px solid var(--azure);
  border-radius: 100px;
  transition: all var(--transition-base);
}

.elite-cta-link:hover {
  background: var(--azure);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.elite-cta-link svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.elite-cta-link:hover svg {
  transform: translateX(4px);
}

/* ===== PRIME WHY SECTION ===== */
.prime-why {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  padding: 120px 0;
  position: relative;
}

/* Prime Header */
.prime-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.prime-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--signal-orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 100px;
}

.prime-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--midnight);
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.prime-title span {
  display: block;
  background: linear-gradient(135deg, var(--azure) 0%, var(--signal-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prime-subtitle {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* Prime Features */
.prime-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .prime-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prime-feature {
  position: relative;
  padding: 48px;
  border: 1px solid var(--slate-100);
  background: var(--white);
  transition: all var(--transition-base);
}

.prime-feature:hover {
  background: var(--slate-50);
  border-color: var(--slate-200);
}

@media (min-width: 1024px) {
  .prime-feature:nth-child(1) { border-radius: var(--radius-xl) 0 0 0; }
  .prime-feature:nth-child(2) { border-radius: 0 var(--radius-xl) 0 0; }
  .prime-feature:nth-child(3) { border-radius: 0 0 0 var(--radius-xl); }
  .prime-feature:nth-child(4) { border-radius: 0 0 var(--radius-xl) 0; }
}

.prime-feature-number {
  position: absolute;
  top: 40px;
  right: 40px;
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 800;
  color: var(--slate-100);
  line-height: 1;
  user-select: none;
  transition: color var(--transition-base);
}

.prime-feature:hover .prime-feature-number {
  color: rgba(37, 99, 235, 0.1);
}

.prime-feature-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--signal-orange));
  border-radius: 2px;
  margin-bottom: 24px;
}

.prime-feature-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.prime-feature-content p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 400px;
}

.prime-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prime-feature-tags span {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.prime-feature:hover .prime-feature-tags span {
  background: var(--white);
  color: var(--azure);
}

/* Prime Bottom Stats */
.prime-bottom {
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.prime-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.prime-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .prime-stat-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }
}

.prime-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.prime-stat-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--signal-orange);
}

.prime-stat-icon svg {
  width: 24px;
  height: 24px;
}

.prime-stat-text {
  display: flex;
  flex-direction: column;
}

.prime-stat-text strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.prime-stat-text span {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 2px;
}

/* ===== STEPIO PRIME SHOWCASE ===== */
.stepio-prime {
  position: relative;
  background: linear-gradient(145deg, var(--midnight) 0%, var(--navy) 100%);
  padding: 80px 0;
  overflow: hidden;
}

.stepio-prime-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse 60% 60% at 20% 50%, rgba(37, 99, 235, 0.08), transparent);
  pointer-events: none;
}

/* Main Grid */
.stepio-prime-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .stepio-prime-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}

/* Device Visual - Left */
.stepio-prime-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.device-frame {
  position: relative;
}

.device-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.device-render {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
}

/* StepIO Device Image in index.html */
.device-frame .stepio-image-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
}

.stepio-device-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
}

.device-frame .stepio-image-gradient {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.device-frame .stepio-gradient-left {
  top: 0;
  left: 0;
  width: 35px;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.5), transparent);
}

.device-frame .stepio-gradient-right {
  top: 0;
  right: 0;
  width: 35px;
  height: 100%;
  background: linear-gradient(to left, rgba(10, 22, 40, 0.5), transparent);
}

.device-frame .stepio-gradient-top {
  top: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.4), transparent);
}

.device-frame .stepio-gradient-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4), transparent);
}

.led-active {
  animation: ledGlow 2s ease-in-out infinite;
}

.led-pulse {
  animation: ledPulse 1.5s ease-in-out infinite;
}

@keyframes ledGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Models Inline - Under Device */
.stepio-models-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.stepio-models-inline span {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
}

.stepio-models-inline span:hover {
  color: var(--signal-orange);
  border-color: rgba(249, 115, 22, 0.3);
}

/* Content - Right */
.stepio-prime-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1023px) {
  .stepio-prime-content {
    text-align: center;
    align-items: center;
  }
}

.stepio-prime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 100px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--signal-orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.stepio-prime-badge span:last-child {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--signal-orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stepio-prime-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.stepio-prime-title span {
  color: var(--signal-orange);
  font-size: 0.6em;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
}

.stepio-prime-desc {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 420px;
}

/* Specs Inline */
.stepio-specs-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 8px 0;
  flex-wrap: wrap;
}

@media (max-width: 1023px) {
  .stepio-specs-inline {
    justify-content: center;
  }
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.spec-item strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.spec-item span {
  font-size: 11px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .spec-divider {
    display: none;
  }
  .stepio-specs-inline {
    gap: 24px;
  }
}

/* CTA Buttons */
.stepio-prime-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

@media (max-width: 1023px) {
  .stepio-prime-cta {
    justify-content: center;
  }
}

.btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--azure), var(--electric));
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-prime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.btn-prime svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-prime:hover svg {
  transform: translateX(3px);
}

.btn-prime-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-400);
  background: transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-prime-ghost:hover {
  color: var(--white);
}
