/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: var(--surface);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    var(--surface-variant) 100%
  );
  z-index: 1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(33, 150, 243, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(33, 150, 243, 0.05) 0%,
      transparent 50%
    );
  animation: float 6s ease-in-out infinite;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(33, 150, 243, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(33, 150, 243, 0.08) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(33, 150, 243, 0.06) 1px,
      transparent 1px
    );
  background-size: 100px 100px, 150px 150px, 200px 200px;
  animation: float-particles 15s ease-in-out infinite;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 0 auto;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-family: "Courgette", cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  color: #00bfff;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    #00bfff 0%,
    var(--seed-color) 50%,
    #00d4ff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 32px rgba(0, 191, 255, 0.3);
  animation: fadeInUp 0.8s ease-out;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 3rem;
  color: var(--on-surface-variant);
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-banner {
  position: relative;
  background: rgba(14, 17, 23, 0.95);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(33, 150, 243, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.2);
  backdrop-filter: blur(20px);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.editor-mockup {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #0e1117 0%, #1c1f24 100%);
  position: relative;
  display: flex;
  border-radius: 24px;
  overflow: hidden;
}

.editor-main {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.editor-grid {
  width: 400px;
  height: 400px;
  background: linear-gradient(rgba(33, 150, 243, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 150, 243, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 2px solid rgba(33, 150, 243, 0.3);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(33, 150, 243, 0.1);
}

.editor-grid::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffa500, transparent);
  transform: translateY(-50%);
  opacity: 0.6;
}

.editor-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #ffa500, transparent);
  transform: translateX(-50%);
  opacity: 0.6;
}

.dancer {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seed-color), var(--seed-variant));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

.dancer-1 {
  top: 45%;
  left: 20%;
  animation-delay: 0s;
}
.dancer-2 {
  top: 65%;
  left: 20%;
  animation-delay: 0.2s;
}
.dancer-3 {
  top: 35%;
  left: 40%;
  animation-delay: 0.4s;
}
.dancer-4 {
  top: 55%;
  left: 40%;
  animation-delay: 0.6s;
}
.dancer-5 {
  top: 45%;
  left: 60%;
  animation-delay: 0.8s;
}
.dancer-6 {
  top: 65%;
  left: 60%;
  animation-delay: 1s;
}
.dancer-7 {
  top: 35%;
  left: 80%;
  animation-delay: 1.2s;
}
.dancer-8 {
  top: 55%;
  left: 80%;
  animation-delay: 1.4s;
}

.editor-sidebar {
  width: 200px;
  background: rgba(42, 47, 58, 0.8);
  border-left: 1px solid rgba(33, 150, 243, 0.2);
  backdrop-filter: blur(10px);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.editor-header {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 150, 243, 0.2);
}

.editor-title {
  color: var(--seed-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.editor-subtitle {
  color: var(--on-surface-variant);
  font-size: 0.8rem;
}

.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-label {
  color: var(--on-surface);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.sidebar-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--on-surface-variant);
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.sidebar-item:hover {
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.3);
}

.animation-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-btn {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.3);
  color: var(--seed-color);
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(33, 150, 243, 0.2);
  transform: translateY(-1px);
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(33, 150, 243, 0.6), 0 3px 9px rgba(0, 0, 0, 0.4);
  }
}

@keyframes float-particles {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--seed-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--elevation-2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--elevation-3);
  background: var(--seed-variant);
}
