/**
 * hero.css — Hero section para ARK
 */

#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  padding-bottom: 3rem;
}

/* Background layers */
.ark-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ark-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(100%) contrast(1.2);
}

.ark-hero__gradient-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.8) 0%,
    transparent 40%,
    transparent 60%,
    #0a0a0a 100%
  );
}

.ark-hero__gradient-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.5) 0%,
    transparent 50%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

/* Scanline subtle effect */
.ark-hero__scanline {
  position: absolute;
  inset: 0;
  z-index: var(--z-scanline);
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━ HERO VISUAL (STUDIO GROUP) ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ark-hero__visual {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: clamp(340px, 68vw, 1200px);
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.ark-hero__group-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 25px rgba(0, 0, 0, 0.65));
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 72%,
    rgba(0, 0, 0, 0.4) 86%,
    transparent 98%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 72%,
    rgba(0, 0, 0, 0.4) 86%,
    transparent 98%
  );
  transform-origin: bottom right;
  transition: transform 0.6s var(--ease-ark);
}

.ark-hero__visual-glow {
  position: absolute;
  width: 90%;
  height: 80%;
  bottom: 10%;
  right: 5%;
  background: radial-gradient(
    ellipse at 60% 50%,
    rgba(152, 254, 152, 0.15) 0%,
    rgba(204, 255, 0, 0.05) 40%,
    transparent 75%
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

/* Lookbook Micro-Tag */
.ark-hero__tag {
  position: absolute;
  bottom: clamp(20%, 28%, 34%);
  left: clamp(4%, 10%, 16%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg);
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition:
    border-color 0.3s var(--ease-ark),
    transform 0.3s var(--ease-ark),
    box-shadow 0.3s var(--ease-ark);
  z-index: 10;
}

.ark-hero__tag:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.85),
    0 0 16px var(--accent-glow);
}

.ark-hero__tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-green 2.5s infinite;
}

/* Content */
.ark-hero__content {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(5rem, 10vh, 7rem);
  pointer-events: none;
}

.ark-hero__content a,
.ark-hero__content button {
  pointer-events: auto;
}

.ark-hero__headline-box {
  overflow: hidden;
}

.ark-hero__strikethrough {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: line-through;
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.ark-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-size: clamp(4.5rem, 12vw, 17rem);
}

.ark-hero__title span {
  display: block;
}

.ark-hero__accent-word {
  color: var(--accent);
  font-size: clamp(5.2rem, 16vw, 24rem);
}

.ark-hero__subtext {
  font-family: var(--font-body);
  font-weight: 300;
  color: #cfd4dc;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 28rem;
  line-height: 1.6;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
}

.ark-hero__cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.philosophy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition:
    color 0.3s var(--ease-ark),
    gap 0.3s var(--ease-ark);
}

.philosophy-link:hover {
  color: var(--fg);
  gap: 14px;
}

.philosophy-link svg {
  transition: transform 0.3s var(--ease-ark);
}

/* Floating stat */
.ark-hero__stat {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  top: clamp(5.5rem, 12vh, 8.5rem);
  transform: none;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  z-index: 15;
}

@media (min-width: 1024px) {
  .ark-hero__stat {
    display: flex;
  }
}

.ark-hero__stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4rem;
  color: var(--fg);
  opacity: 0.25;
  line-height: 1;
}

.ark-hero__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

/* Scroll indicator */
.ark-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.ark-hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━ RESPONSIVE VISUAL ADAPTATIONS ━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 767px) {
  .ark-hero__visual {
    width: 95vw;
    right: -12%;
    bottom: 1.5rem;
    opacity: 0.38;
    z-index: 2;
  }

  .ark-hero__tag {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ark-hero__visual {
    width: 62vw;
    right: -6%;
    bottom: 0;
    opacity: 0.8;
    z-index: 3;
  }

  .ark-hero__tag {
    bottom: 22%;
    left: 4%;
  }
}
