/* ==========================================================================
   9EXO — Premium Men's Clothing — Coming Soon
   ========================================================================== */

:root {
  --bg-primary: #FAFAF7;
  --bg-secondary: #F2F0EA;
  --bg-card: #FFFFFF;
  --text-primary: #111111;
  --text-secondary: #6B6B6B;
  --accent: #D4AF37;
  --accent-text: #8C6D1F;
  --accent-soft: rgba(212, 175, 55, 0.35);
  --border: rgba(0, 0, 0, 0.08);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', 'Manrope', sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 100%; height: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #050505;
  padding: 12px 18px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.9;
  animation: pulseMark 1.4s ease-in-out infinite;
}
@keyframes pulseMark {
  0%, 100% { opacity: 0.5; letter-spacing: 0.12em; }
  50% { opacity: 1; letter-spacing: 0.18em; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  border: 1px solid var(--accent-soft);
  background: rgba(212, 175, 55, 0.08);
  padding: 8px 16px;
  border-radius: 999px;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px var(--accent-soft);
  animation: dotBlink 1.8s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.badge--nav { font-size: 0.62rem; padding: 6px 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: #050505;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(212, 175, 55, 0.55);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.18);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-3px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #FAFAF7 0%, #F2F0EA 60%, #FAFAF7 100%);
  padding-top: 90px;
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.02) 0px, rgba(0,0,0,0.02) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.016) 0px, rgba(0,0,0,0.016) 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(24rem, 60vw, 60rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.06);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(60vw, 700px);
  height: min(60vw, 700px);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0) 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero__floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.floater {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.5;
}
.floater--1 {
  width: 280px; height: 280px;
  top: 15%; left: 8%;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
  animation: floatY 9s ease-in-out infinite;
}
.floater--2 {
  width: 340px; height: 340px;
  bottom: 8%; right: 6%;
  background: radial-gradient(circle, rgba(17,17,17,0.035), transparent 70%);
  animation: floatY 11s ease-in-out infinite reverse;
}
.floater--3 {
  width: 200px; height: 200px;
  bottom: 30%; left: 45%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 70%);
  animation: floatY 7.5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(15px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 15vw, 10rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  background: linear-gradient(180deg, #161616 0%, #3a3a3a 55%, #6e6e6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.hero__desc {
  max-width: 560px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-secondary);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}

.hero__scroll {
  margin-top: 40px;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Section basics ---------- */
section { position: relative; padding: 120px 0; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 18px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 60px;
  font-weight: 300;
}

/* ---------- Brand Story ---------- */
.story { background: var(--bg-secondary); }
.story__inner { max-width: 780px; }
.story__text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
}

.story__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 6px;
}
.stat__label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* ---------- Social ---------- */
.social { background: var(--bg-secondary); }
.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 34px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.social-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
  background: var(--bg-secondary);
}

.social-card__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 6px;
  transition: transform 0.4s var(--ease);
}
.social-card:hover .social-card__icon { transform: scale(1.1); }

.social-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.social-card__handle {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ---------- Contact ---------- */
.contact__inner { display: flex; justify-content: center; }
.contact__text { max-width: 560px; width: 100%; text-align: center; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 36px 0 32px;
  text-align: left;
}
.contact-card__avatar {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8a6d1f);
  color: #050505;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.contact-card__info { display: flex; flex-direction: column; gap: 2px; }
.contact-card__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }
.contact-card__role { color: var(--accent-text); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-card__phone { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.logo--footer { font-size: 1.3rem; }

.site-footer__social {
  display: flex;
  gap: 18px;
}
.site-footer__social a {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-footer__social a:hover {
  color: var(--accent-text);
  transform: translateY(-3px);
}

.site-footer__copy {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 400;
  box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.6);
  animation: fabPulse 2.6s ease-in-out infinite;
  transition: transform 0.3s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(212, 175, 55, 0.6); }
  50% { box-shadow: 0 10px 30px -4px rgba(212, 175, 55, 0.9); }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero reveals animate immediately without waiting on scroll */
.hero .reveal { transition-delay: calc(var(--i, 0) * 0.09s); }
.hero .reveal:nth-child(1) { --i: 0; }
.hero .reveal:nth-child(2) { --i: 1; }
.hero .reveal:nth-child(3) { --i: 2; }
.hero .reveal:nth-child(4) { --i: 3; }
.hero .reveal:nth-child(5) { --i: 4; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .social__grid { grid-template-columns: repeat(2, 1fr); }
  .story__stats { gap: 16px; }
  section { padding: 90px 0; }
}

@media (max-width: 640px) {
  .social__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .social-card { padding: 22px 12px; gap: 8px; }
  .social-card__icon { width: 28px; height: 28px; }
  .social-card__name { font-size: 0.85rem; }
  .social-card__handle { font-size: 0.74rem; }
  .story__stats { grid-template-columns: 1fr; gap: 22px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .contact__actions { flex-direction: column; width: 100%; }
  .contact__actions .btn { width: 100%; }
  .contact-card { flex-direction: column; text-align: center; }
  .contact-card__info { align-items: center; }
  section { padding: 72px 0; }
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
