/* Hero Section */
.hero {
  background: var(--hero-gradient);
  padding: 60px 20px;
  text-align: center;
  margin: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="50" cy="10" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="10" cy="60" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="90" cy="40" r="1" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Typed.js cursor */
.typed-cursor {
  opacity: 1;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Hero variants */
.hero-minimal {
  padding: 40px 20px;
  margin: 20px;
}

.hero-large {
  padding: 100px 20px;
  margin: 40px;
}

@media (max-width: 768px) {
  .hero {
    margin: 15px;
    padding: 40px 15px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}
