/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; min-height: 100vh; background: var(--white);
  display: flex; align-items: center; overflow: hidden; padding-top: 68px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,77,155,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,77,155,0.04) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: -10%; right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(91,154,240,0.12) 0%, rgba(30,77,155,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto;
  padding: var(--space-20) var(--space-8);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-16);
}
.hero-copy { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 6px 14px; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 600;
  color: var(--blue-700); letter-spacing: 0.02em; width: fit-content;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--blue-500); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }
.hero-headline { font-size: clamp(2.4rem,5vw,3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--gray-900); }
.hero-headline .highlight { background: linear-gradient(135deg, var(--blue-700) 0%, var(--steel-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; max-width: 42ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.75rem 1.625rem; background: var(--blue-700); color: var(--white);
  font-size: 0.9375rem; font-weight: 600; border-radius: var(--radius-sm);
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-800); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(30,77,155,0.28); }
.btn-primary svg { width: 16px; height: 16px; transition: transform var(--duration-fast); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.75rem 1.375rem; color: var(--gray-700); font-size: 0.9375rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}
.btn-ghost:hover { border-color: var(--blue-300); color: var(--primary); background: var(--blue-50); }

/* Cube */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.cube-scene { width: 320px; height: 320px; perspective: 900px; perspective-origin: 50% 40%; }
.cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: cube-rotate 14s linear infinite; }
@keyframes cube-rotate { 0%{transform:rotateX(18deg) rotateY(0deg)} 100%{transform:rotateX(18deg) rotateY(360deg)} }
.cube-face {
  position: absolute; width: 180px; height: 180px;
  left: 50%; top: 50%; margin-left: -90px; margin-top: -90px;
  border: 1.5px solid rgba(30,77,155,0.25); background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  border-radius: 8px; overflow: hidden;
}
.cube-face::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(91,154,240,0.15) 0%, rgba(30,77,155,0.08) 100%);
}
.cube-face-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cube-face-icon { width: 48px; height: 48px; color: var(--blue-600); }
.cube-face-label { font-size: 0.7rem; font-weight: 700; color: var(--blue-800); letter-spacing: 0.08em; text-transform: uppercase; }
.cube-face.front  { transform: translateZ(90px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(90px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(90px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(90px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(90px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(90px); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; animation: glow-float 6s ease-in-out infinite alternate; }
.hero-glow-1 { width: 220px; height: 220px; background: rgba(37,99,200,0.12); top: 10%; right: 5%; }
.hero-glow-2 { width: 160px; height: 160px; background: rgba(91,154,240,0.10); bottom: 15%; left: 5%; animation-delay: -3s; }
@keyframes glow-float { 0%{transform:translateY(0) scale(1)} 100%{transform:translateY(-20px) scale(1.08)} }
.hero-stat-card {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: var(--space-3);
  animation: card-float 5s ease-in-out infinite alternate; pointer-events: none;
}
.hero-stat-card-1 { top: 8%; left: -20px; }
.hero-stat-card-2 { bottom: 10%; right: -20px; animation-delay: -2.5s; }
@keyframes card-float { 0%{transform:translateY(0)} 100%{transform:translateY(-10px)} }
.hero-stat-icon { width: 36px; height: 36px; background: var(--blue-50); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--blue-600); flex-shrink: 0; }
.hero-stat-icon svg { width: 18px; height: 18px; }
.hero-stat-value { font-size: 1.125rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.hero-stat-label { font-size: 0.6875rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.hero-scroll { position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); color: var(--text-muted); font-size: 0.75rem; animation: scroll-hint 2s ease-in-out infinite; }
.hero-scroll-bar { width: 1.5px; height: 40px; background: linear-gradient(to bottom, var(--border), transparent); }
@keyframes scroll-hint { 0%,100%{opacity:0.5;transform:translateX(-50%) translateY(0)} 50%{opacity:1;transform:translateX(-50%) translateY(6px)} }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-12); padding: var(--space-16) var(--space-5); }
  .hero-badge { margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .cube-scene { width: 260px; height: 260px; }
  .cube-face { width: 140px; height: 140px; margin-left: -70px; margin-top: -70px; }
  .cube-face.front  { transform: translateZ(70px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(70px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(70px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(70px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(70px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(70px); }
  .hero-stat-card-1, .hero-stat-card-2 { display: none; }
}
