/* ─────────────────────────────────────────
   HERO.CSS — full-screen hero section
   IronHaul Landing Page
───────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(10,10,10,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 0% 50%, rgba(10,10,10,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 72% 48%, rgba(196,92,26,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 65% 52%, rgba(232,160,32,0.2) 0%, transparent 50%),
    linear-gradient(155deg, #0f1012 0%, #1a1c1e 35%, #141618 65%, #0a0b0c 100%);
}

/* If a real background image is added:
   .hero-bg { background-image: url('../images/hero-bg.jpg'); background-size: cover; background-position: center; }
*/

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -48deg,
    transparent,
    transparent 42px,
    rgba(255,255,255,0.012) 42px,
    rgba(255,255,255,0.012) 43px
  );
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; right: 20%;
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(232,160,32,0.4), transparent);
  box-shadow: 0 0 40px 8px rgba(232,160,32,0.08);
}

/* Sparks */
.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: spark-fly var(--dur, 2.4s) var(--delay, 0s) ease-out infinite;
}

@keyframes spark-fly {
  0%   { opacity: 0; transform: translate(0,0) scale(1); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx, 30px), var(--ty, -80px)) scale(0); }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 2rem 9rem;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.6s 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.7s 0.5s forwards;
}

.hero-title .accent-word {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .accent-word::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform: skewX(-8deg);
  opacity: 0.7;
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 2.6rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.6s 0.75s forwards;
}

.hero-sub strong {
  color: var(--white);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.6s 0.95s forwards;
  position: relative;
  z-index: 5;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #f0b030;
  transform: translateY(-2px);
}

.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid rgba(240,237,232,0.25);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(240,237,232,0.6);
  color: #fff;
}

/* Trust bar */
.trust-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fade-up 0.6s 1.2s forwards;
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child { border-right: none; }

.trust-number {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.trust-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  right: 3rem;
  bottom: 90px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.6s 1.4s forwards;
}

.scroll-hint span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content  { padding: 0 1.5rem 130px; }
  .scroll-hint   { display: none; }
  .trust-item    { flex-direction: column; gap: 4px; text-align: center; }
  .trust-number  { font-size: 1.5rem; }
}