/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Line grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 200, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 200, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/noise-texture.png') repeat;
  opacity: 0.03;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--offwhite);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero__title span {
  color: var(--yellow);
  display: block;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 8px;
  box-shadow: var(--neu-shadow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 200, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--neu-inset);
}

.btn-outline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: transparent;
  color: var(--offwhite);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: var(--neu-shadow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: var(--neu-inset);
}

/* Waveform SVG */
.hero__waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: 0.15;
}

.hero__waveform svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(245, 200, 0, 0.08);
  border-bottom: 1px solid rgba(245, 200, 0, 0.08);
  background: var(--black);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 24px;
}

.marquee-track span.highlight {
  color: var(--yellow);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Features --- */
.features {
  padding: var(--section-padding);
  background: var(--black);
}

.features__header {
  margin-bottom: 60px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 200, 0, 0.3);
}

/* Left yellow bar */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--yellow);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- How It Works --- */
.how-it-works {
  padding: var(--section-padding);
  background: var(--black);
}

.how-it-works__header {
  margin-bottom: 60px;
}

.how-it-works__row {
  display: flex;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.step-card {
  flex: 1;
  padding: 32px 24px;
  border-top: 2px solid rgba(255,255,255,0.06);
  position: relative;
  transition: border-color 0.3s ease;
}

.step-card:hover {
  border-color: var(--yellow);
}

.step-card__number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(245, 200, 0, 0.07);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.step-card:hover .step-card__number {
  color: rgba(245, 200, 0, 0.15);
}

.step-card__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Testimonial Stats --- */
.testimonial-stats {
  background: var(--yellow);
  padding: 80px 40px;
}

.testimonial-stats__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.testimonial-stats__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
  text-transform: uppercase;
}

.testimonial-stats__quote::before {
  content: '"';
}
.testimonial-stats__quote::after {
  content: '"';
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-it-works__row {
    flex-wrap: wrap;
  }

  .step-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .how-it-works__row {
    flex-direction: column;
  }

  .step-card {
    flex: 1 1 100%;
  }

  .testimonial-stats__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
