.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--spacing-lg)) 0 var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 100%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 184, 212, 0.1) 0%, transparent 60%);
  filter: blur(80px);
  animation: pulse 10s ease-in-out infinite reverse;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  opacity: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-line span {
  display: inline-block;
  transform: translateY(100%);
  animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title-line:nth-child(2) span {
  animation-delay: 0.1s;
}

.hero-title-line:nth-child(3) span {
  animation-delay: 0.2s;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
}

.hero-card-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 184, 212, 0.05));
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.hero-card-icon {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--color-cyan-primary), var(--color-cyan-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-bg);
  box-shadow:
    0 0 50px rgba(0, 212, 255, 0.4),
    inset 0 0 40px rgba(255, 255, 255, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

.hero-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-cyan-primary);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--color-cyan-primary);
}

.hero-orbit-dot:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-dot:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.hero-orbit-dot:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-orbit-dot:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-glass-border);
}

.stat-item {
  text-align: center;
  opacity: 0;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-cyan-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .hero-content {
    gap: var(--spacing-md);
  }

  .hero-card {
    max-width: 380px;
  }

  .hero-card-icon {
    width: 130px;
    height: 130px;
    font-size: 2.5rem;
  }
}

@media (max-width: 968px) {
  .hero {
    padding: calc(var(--nav-height) + var(--spacing-md)) 0 var(--spacing-md);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-card-icon {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--spacing-sm)) 0 var(--spacing-sm);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-card {
    max-width: 280px;
  }

  .hero-card-icon {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
  }

  .hero-orbit-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-card {
    max-width: 240px;
  }

  .hero-card-icon {
    width: 90px;
    height: 90px;
    font-size: 1.75rem;
  }
}
