:root {
  --hero-bg-1: #0f172a;
  --hero-bg-2: #071033;
  --hero-accent: #f8b400;
  --muted: #9aa7bf;
}

/* Container level style (if you want to add an overall background to the section) */
#hero {
  background: linear-gradient(
    180deg,
    var(--hero-bg-1) 0%,
    var(--hero-bg-2) 100%
  );
  color: #e6eef8;
}

/* Card that holds text */
.hero-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(6, 10, 24, 0.6);
  border-radius: 18px;
}

/* Headline */
.hero-heading {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

/* dynamic typed text */
.typed-text {
  color: #fff;
  display: inline-block;
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  padding-right: 6px;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
}

/* blink animation (opt out with prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes blink-caret {
    50% {
      border-color: transparent;
    }
  }
  .typed-text {
    animation: blink-caret 0.8s step-end infinite;
  }
}

/* subtitle and CTAs */
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* CTAs */
.hero-ctas .btn {
  border-radius: 12px;
  padding: 0.65rem 1.05rem;
  font-weight: 600;
}

/* small gold accent dot */
.accent-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ffd166, #f8b400);
  margin-right: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 6px 18px rgba(248, 180, 0, 0.16);
}

/* image */
.hero-image {
  max-width: 680px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(3, 7, 18, 0.7);
  transform: translateY(0);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* gentle hover motion for large screens */
@media (hover: hover) and (pointer: fine) {
  .hero-image:hover {
    transform: translateY(-8px);
  }
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .hero-card {
    padding: 1.25rem;
  }
  .hero-image {
    box-shadow: 0 18px 48px rgba(3, 7, 18, 0.6);
  }
}

/* reduce motion respects user pref */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-card,
  .typed-text {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
