/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

/* Animated Grid Background */
.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(0,212,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

/* Shapes Container */
.shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Central Holographic Sphere */
.sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  transform: translate(-50%, -50%);
}

.sphere-ring {
  position: absolute;
  border-radius: 50%;
}

.ring-1 {
  inset: 0;
  border: 2px solid rgba(34, 211, 238, 0.3);
  animation: spin 15s linear infinite;
}

.ring-2 {
  inset: 1rem;
  border: 2px solid rgba(168, 85, 247, 0.3);
  animation: spin 12s linear infinite reverse;
}

.ring-3 {
  inset: 2rem;
  border: 2px solid rgba(20, 184, 166, 0.3);
  animation: spin 18s linear infinite;
}

.sphere-core {
  inset: 3rem;
  background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(168,85,247,0.1));
  filter: blur(2rem);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Orbiting Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 1rem currentColor;
}

.p1 {
  top: 25%;
  left: 25%;
  width: 0.75rem;
  height: 0.75rem;
  background: #22d3ee;
  animation: float 6s ease-in-out infinite;
}

.p2 {
  top: 33%;
  right: 25%;
  width: 0.5rem;
  height: 0.5rem;
  background: #a855f7;
  animation: float 8s ease-in-out infinite 1s;
}

.p3 {
  bottom: 25%;
  left: 33%;
  width: 0.625rem;
  height: 0.625rem;
  background: #14b8a6;
  animation: float 7s ease-in-out infinite 2s;
}

.p4 {
  bottom: 33%;
  right: 33%;
  width: 0.5rem;
  height: 0.5rem;
  background: #f472b6;
  animation: float 9s ease-in-out infinite 1.5s;
}

/* Wireframe Cubes */
.cube {
  position: absolute;
  border: 2px solid;
  box-shadow: 0 0 2rem;
}

.c1 {
  top: 25%;
  right: 25%;
  width: 8rem;
  height: 8rem;
  border-color: rgba(34,211,238,0.4);
  animation: rotate3d 10s linear infinite;
  transform: perspective(500px) rotateX(45deg) rotateY(45deg);
  box-shadow: 0 0 30px rgba(0,212,255,0.3);
}

.c2 {
  bottom: 25%;
  left: 25%;
  width: 6rem;
  height: 6rem;
  border-color: rgba(168,85,247,0.4);
  animation: rotate3d 12s linear infinite reverse;
  transform: perspective(500px) rotateX(-45deg) rotateY(-45deg);
  box-shadow: 0 0 25px rgba(168,85,247,0.3);
}

/* Digital Lines */
.line {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, currentColor 50%, transparent 100%);
}

.l1 {
  left: 25%;
  background-color: #81e8d9;
  animation: slideDown 3s ease-in-out infinite;
}

.l2 {
  right: 33%;
  background-color: #c084fc;
  animation: slideDown 4s ease-in-out infinite 1s;
}

/* Glowing Dots */
.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #22d3ee;
  border-radius: 50%;
  opacity: 0.3;
  box-shadow: 0 0 10px rgba(0,212,255,0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

.d1 { top: 5%; left: 10%; animation-delay: 0s; }
.d2 { top: 15%; left: 40%; animation-delay: 0.1s; }
.d3 { top: 25%; left: 70%; animation-delay: 0.2s; }
.d4 { top: 35%; left: 20%; animation-delay: 0.3s; }
.d5 { top: 45%; left: 60%; animation-delay: 0.4s; }
.d6 { top: 55%; left: 80%; animation-delay: 0.5s; }
.d7 { top: 65%; left: 30%; animation-delay: 0.6s; }
.d8 { top: 75%; left: 50%; animation-delay: 0.7s; }
.d9 { top: 85%; left: 15%; animation-delay: 0.8s; }
.d10 { top: 10%; left: 85%; animation-delay: 0.9s; }
.d11 { top: 20%; left: 55%; animation-delay: 1s; }
.d12 { top: 30%; left: 5%; animation-delay: 1.1s; }
.d13 { top: 40%; left: 45%; animation-delay: 1.2s; }
.d14 { top: 50%; left: 75%; animation-delay: 1.3s; }
.d15 { top: 60%; left: 10%; animation-delay: 1.4s; }
.d16 { top: 70%; left: 65%; animation-delay: 1.5s; }
.d17 { top: 80%; left: 35%; animation-delay: 1.6s; }
.d18 { top: 90%; left: 90%; animation-delay: 1.7s; }
.d19 { top: 12%; left: 25%; animation-delay: 1.8s; }
.d20 { top: 88%; left: 55%; animation-delay: 1.9s; }

/* Content */
.content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(34,211,238,0.2);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  color: #67e8f9;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid rgba(34,211,238,0.6);
  box-shadow: 0 0 1.25rem rgba(34,211,238,0.3);
  animation: glow 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 2.5rem rgba(34,211,238,0.4);
  margin-bottom: 1rem;
}

.gradient-text {
  display: block;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, #a5f3fc, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 3.75rem rgba(34,211,238,0.6);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.subtitle {
  font-size: 1.25rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: #ecfeff;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .buttons {
    flex-direction: row;
  }
}

.btn-primary,
.btn-outline {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: #fff;
  box-shadow: 0 0 1.5rem rgba(34,211,238,0.5);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  box-shadow: 0 0 2rem rgba(34,211,238,0.6);
}

.btn-outline {
  background: rgba(8,47,73,0.3);
  border: 2px solid rgba(34,211,238,0.6);
  color: #67e8f9;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  transform: scale(1.05);
  background: rgba(34,211,238,0.2);
  border-color: #a5f3fc;
}

.arrow {
  width: 1.25rem;
  height: 1.25rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, transparent 30%, transparent 100%);
  pointer-events: none;
}

/* Animations */
@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-10px); }
  75% { transform: translateY(-25px) translateX(5px); }
}

@keyframes rotate3d {
  0% { transform: perspective(500px) rotateX(45deg) rotateY(45deg); }
  100% { transform: perspective(500px) rotateX(405deg) rotateY(405deg); }
}

@keyframes slideDown {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
  50% { box-shadow: 0 0 30px rgba(0,212,255,0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.5); opacity: 0.9; }
}
