/* =============================================
   HERO SECTION (Mobile-First)
   ============================================= */
.hero {
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(253, 234, 7, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

/* On mobile, show the image first, then the text content */
.hero__visual {
  order: -1;
}

.hero__content {
  order: 0;
}

.hero__eyebrow {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray);
}

.hero__title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.05rem);
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.hero__actions .btn {
  flex: 1;
  min-width: 200px;
}

/* Stats */
.hero__stats {
  display: flex;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.hero__stat-value {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.hero__stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Platforms */
.hero__platforms {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero__platforms-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

.hero__platform-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.hero__platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-gray-light);
  transition: border-color var(--transition), color var(--transition);
}

.hero__platform-icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Hero Visual */
.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__placeholder-icon {
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.3;
}

/* Floating card */
.hero__float-card {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  min-width: 220px;
  backdrop-filter: blur(8px);
}

.hero__float-icon {
  font-size: 1.5rem;
}

.hero__float-title {
  font-size: var(--font-size-sm);
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__float-sub {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-white);
}

/* Audio wave animation */
.hero__float-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.hero__float-wave span {
  display: block;
  width: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}

.hero__float-wave span:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}

.hero__float-wave span:nth-child(2) {
  height: 16px;
  animation-delay: 0.15s;
}

.hero__float-wave span:nth-child(3) {
  height: 12px;
  animation-delay: 0.3s;
}

.hero__float-wave span:nth-child(4) {
  height: 20px;
  animation-delay: 0.45s;
}

.hero__float-wave span:nth-child(5) {
  height: 10px;
  animation-delay: 0.6s;
}

@keyframes wave-bar {
  0%, 100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1.2);
  }
}

/* =============================================
   VALUE PROPOSITION (Mobile-First)
   ============================================= */
.value-prop__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.value-prop__title {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.value-prop__highlight {
  color: var(--color-accent) !important;
  font-weight: 600;
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.value-prop__img-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.value-prop__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   CERT CARDS (Mobile-First)
   ============================================= */
.card--dashed {
  border-style: dashed;
  border-color: var(--color-border);
  opacity: 0.7;
}

.card--dashed:hover {
  opacity: 1;
}

.cert-price {
  color: var(--color-accent);
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* =============================================
   CARD HIGHLIGHT VARIANT (Mobile-First)
   ============================================= */
.card--highlight {
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(253, 234, 7, 0.04) 100%);
  border-color: rgba(253, 234, 7, 0.15);
}

.card--highlight .card__title {
  color: var(--color-accent);
}

/* =============================================
   RESPONSIVE: TABLET (min-width: 640px)
   ============================================= */
@media (min-width: 640px) {
  .hero {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
  }

  .hero__actions {
    gap: var(--spacing-lg);
  }

  .hero__actions .btn {
    flex: none;
    min-width: auto;
  }

  .hero__stats {
    gap: var(--spacing-2xl);
  }

  .value-prop__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }
}

/* =============================================
   RESPONSIVE: DESKTOP (min-width: 1024px)
   ============================================= */
@media (min-width: 1024px) {
  .hero {
    padding: 140px 0 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
  }

  /* On desktop, restore natural order: content left, image right */
  .hero__visual {
    order: 2;
  }

  .hero__content {
    order: 1;
  }

  .hero__float-card {
    left: -24px;
  }

  .value-prop__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   RESPONSIVE: LARGE DESKTOP (min-width: 1440px)
   ============================================= */
@media (min-width: 1440px) {
  .hero {
    padding: 160px 0 100px;
  }

  .hero__title {
    font-size: 4rem;
  }

  .hero__float-card {
    min-width: 240px;
  }
}


/* =============================================
   HERO VIDEO CONTAINER
   ============================================= */
.hero__video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video-container iframe,
.hero__video-container video {
  width: 100% !important;
  height: 100% !important;
  border: none;
  border-radius: var(--radius-lg);
}

.hero__video-container video {
  object-fit: cover;
}
