/* ═══════════════════════════════════════════════════════════════
   KAIROS ANIME CLOTHING — styles.css
   Dark-mode streetwear landing page
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ───────────────────────────────────────────────────── */
:root {
  --bg:          #0a0a0a;
  --bg-card:     #111111;
  --bg-section:  #0f0f0f;
  --red:         #e8150a;
  --red-dim:     #a00f08;
  --red-glow:    rgba(232, 21, 10, 0.15);
  --white:       #d4d4d4;
  --white-dim:   #888888;
  --border:      #222222;
  --border-red:  rgba(232, 21, 10, 0.4);

  --font-head:   'Bebas Neue', sans-serif;
  --font-body:   'Inter', sans-serif;

  --radius:      2px;
  --transition:  0.2s ease;

  --container:   1200px;
  --nav-h:       64px;
}

/* ─── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input { font-family: var(--font-body); }

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────────── */
.heading--xl {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.heading--lg {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.text--red { color: var(--red); }

/* ─── LAYOUT ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-bottom: 48px;
}
.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn--red:hover {
  background: var(--red-dim);
  border-color: var(--red-dim);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn--ghost {
  background: transparent;
  color: var(--white-dim);
  border: 1px solid transparent;
}
.btn--ghost:hover {
  color: var(--white);
  border-color: var(--border);
}
.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav__brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 32px 32px 40px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--white); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Noise texture overlay */
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Diagonal accent lines */
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__lines span {
  position: absolute;
  display: block;
  background: linear-gradient(to bottom, transparent, var(--red-glow), transparent);
  width: 1px;
  height: 100%;
  opacity: 0.6;
}
.hero__lines span:nth-child(1) { left: 15%; transform: rotate(15deg) scaleY(1.5); }
.hero__lines span:nth-child(2) { left: 50%; transform: rotate(-8deg) scaleY(2); opacity: 0.3; }
.hero__lines span:nth-child(3) { right: 20%; transform: rotate(22deg) scaleY(1.8); }

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 720px;
}
.hero__logo {
  width: clamp(100px, 20vw, 160px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(232, 21, 10, 0.3));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero__tagline {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 420px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.6); }
}

/* ─── NOSOTROS ───────────────────────────────────────────────────── */
.nosotros { background: var(--bg-section); }
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros__text h2 { margin-bottom: 24px; }
.nosotros__text p {
  color: var(--white-dim);
  margin-bottom: 16px;
  max-width: 440px;
  line-height: 1.75;
}
.nosotros__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  text-transform: uppercase;
}

/* K visual block */
.nosotros__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.k-block {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.k-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-glow) 0%, transparent 60%);
}
.k-block__img {
  width: 65%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(232, 21, 10, 0.2));
}
.nosotros__tag {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nosotros__tag span {
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white-dim);
  transition: all var(--transition);
}
.nosotros__tag span:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── DROPS ──────────────────────────────────────────────────────── */
.drops { background: var(--bg); }
.drops__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
  flex-wrap: wrap;
}
.drops__season {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--white-dim);
  text-transform: uppercase;
  padding-bottom: 4px;
}

/* Product grid */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Product card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.product-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.product-card--featured {
  border-color: var(--border-red);
  box-shadow: 0 0 0 1px var(--border-red), 0 8px 40px rgba(232, 21, 10, 0.08);
}

/* Image placeholder */
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.product-card__placeholder {
  width: 100%;
  height: 100%;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.product-card:hover .product-card__placeholder { background: #161616; }

.placeholder__watermark {
  width: 45%;
  height: auto;
  opacity: 0.12;
  filter: grayscale(1);
  transition: opacity var(--transition);
  position: relative;
  z-index: 1;
}
.product-card:hover .placeholder__watermark { opacity: 0.18; }

/* Geometric decorators */
.placeholder__geo {
  position: absolute;
  pointer-events: none;
}
.geo--1 {
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(232, 21, 10, 0.12);
  transform: rotate(45deg);
}
.geo--2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
  width: 80%;
  height: 80%;
  border: 1px solid rgba(212, 212, 212, 0.04);
}
.geo--3 {
  top: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(232, 21, 10, 0.08);
  transform: rotate(30deg);
}

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.badge--disponible {
  background: rgba(232, 21, 10, 0.15);
  color: var(--red);
  border: 1px solid var(--border-red);
}
.badge--agotado {
  background: rgba(100, 100, 100, 0.15);
  color: var(--white-dim);
  border: 1px solid var(--border);
}
.badge--new {
  top: 12px;
  left: auto;
  right: 12px;
  background: var(--red);
  color: #fff;
  border: none;
}

/* Card info */
.product-card__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.product-card__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.product-card__price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.product-card__desc {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.5;
}
.product-card__btn {
  width: 100%;
  margin-top: auto;
}

/* Drops footer note */
.drops__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.drops__note {
  font-size: 0.78rem;
  color: var(--white-dim);
  letter-spacing: 0.06em;
}

/* ─── COMUNIDAD ──────────────────────────────────────────────────── */
.comunidad { background: var(--bg-section); }
.comunidad__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.comunidad__ig-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.06em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.comunidad__ig-link:hover {
  color: var(--white);
  border-bottom-color: var(--red);
}

/* Instagram grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}
.ig-cell { overflow: hidden; }
.ig-cell--tall { grid-row: span 2; }
.ig-cell--wide { grid-column: span 2; }

.ig-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: filter var(--transition), transform var(--transition);
  cursor: pointer;
}
.ig-placeholder:hover { filter: brightness(1.15); transform: scale(1.01); }
.ig-placeholder--dark { background: #0d0d0d; }
.ig-placeholder--accent { background: linear-gradient(135deg, #1a0404, #0a0a0a); }

.ig-placeholder__logo {
  width: 40%;
  height: auto;
  opacity: 0.15;
  filter: grayscale(1);
}
.ig-placeholder__logo--sm { width: 30%; }
.ig-placeholder__text {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 212, 212, 0.25);
  text-align: center;
  padding: 16px;
}

.comunidad__cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ─── NEWSLETTER ─────────────────────────────────────────────────── */
.newsletter {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.newsletter__copy h2 { margin-bottom: 8px; }
.newsletter__copy p { font-size: 0.88rem; color: var(--white-dim); }
.newsletter__form { flex: 1; max-width: 480px; }
.newsletter__input-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.newsletter__input-wrap:focus-within { border-color: var(--red); }
.newsletter__input {
  flex: 1;
  background: var(--bg-card);
  color: var(--white);
  font-size: 0.88rem;
  padding: 12px 16px;
  border: none;
  outline: none;
  min-width: 0;
}
.newsletter__input::placeholder { color: var(--white-dim); }
.newsletter__input-wrap .btn--red {
  border-radius: 0;
  border: none;
}
.newsletter__msg {
  margin-top: 8px;
  font-size: 0.78rem;
  min-height: 1.4em;
  color: var(--red);
  letter-spacing: 0.04em;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__logo {
  width: 48px;
  height: auto;
  margin-bottom: 12px;
}
.footer__tagline {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  margin-bottom: 10px;
}
.footer__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--white-dim);
}
.footer__links h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.84rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__social h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--white-dim);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.social-link:hover { color: var(--red); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(136, 136, 136, 0.6);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nosotros__grid { grid-template-columns: 1fr; gap: 48px; }
  .nosotros__visual { align-items: flex-start; }
  .k-block { max-width: 280px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 0 20px; }
  .products__grid { grid-template-columns: 1fr; gap: 2px; }
  .drops__header { flex-direction: column; align-items: flex-start; }
  .comunidad__header { flex-direction: column; align-items: flex-start; }
  .ig-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ig-cell--tall { grid-row: span 1; }
  .ig-cell--wide { grid-column: span 2; }
  .newsletter__inner { flex-direction: column; }
  .newsletter__form { width: 100%; max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .nosotros__stats { gap: 24px; }
  .newsletter__input-wrap { flex-direction: column; border: none; gap: 8px; }
  .newsletter__input {
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .newsletter__input-wrap .btn--red {
    border-radius: var(--radius);
    width: 100%;
  }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── SCROLL REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
