/* ============================================================
   DJ WREXX — GLOBAL STYLES
   Deep black / Rich gold / Warm amber
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #181818;
  --text:      #f0ebe0;
  --muted:     #7a7065;
  --gold:      #c9a84c;
  --gold-light:#e8c76a;
  --amber:     #d97b30;
  --amber-dark:#a0561f;
  --white:     #ffffff;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
}

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

* { cursor: none !important; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── GRAIN OVERLAY ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  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='1'/%3E%3C/svg%3E");
  opacity: 0.032;
  pointer-events: none;
  z-index: 9998;
  animation: grain 0.5s steps(2) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  20% { transform: translate(2%, 2%); }
  30% { transform: translate(-1%, 1%); }
  40% { transform: translate(1%, -1%); }
  50% { transform: translate(-2%, 1%); }
  60% { transform: translate(2%, -2%); }
  70% { transform: translate(-1%, -1%); }
  80% { transform: translate(1%, 2%); }
  90% { transform: translate(-2%, 2%); }
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out);
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
  will-change: left, top;
}

.cursor-dot.expanded  { width: 14px; height: 14px; }
.cursor-ring.expanded { width: 60px; height: 60px; border-color: var(--gold); }

/* ── SCROLL WRAPPER ─────────────────────────────────────────── */
#smooth-wrapper { }
#smooth-content { }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4vw;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(24px);
  padding: 1rem 4vw;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
}

.nav-logo span { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.25s, transform 0.25s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: scale(1.03) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── SECTIONS — BASE ────────────────────────────────────────── */
section { position: relative; overflow: hidden; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 0 rgba(201, 168, 76, 0);
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 40px rgba(201, 168, 76, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0);
}

.btn-whatsapp:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.4);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 0 0 rgba(220, 39, 67, 0);
}

.btn-instagram:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 40px rgba(220, 39, 67, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
  transform: scale(1.03);
}

.btn svg, .btn img {
  width: 1.1em;
  height: 1.1em;
}

/* ── GOLD DIVIDER ────────────────────────────────────────────── */
.gold-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  margin: 1.4rem 0 2rem;
  border-radius: 2px;
}

/* ── STAT PILLS ─────────────────────────────────────────────── */
.stat-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat-pill {
  background: var(--surface2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  text-align: center;
}

.stat-pill-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-pill-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 600px) {
  /* Stat pills: 2-col on mobile to prevent horizontal overflow */
  .stat-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .stat-pill {
    padding: 0.65rem 0.8rem;
  }
  .stat-pill-number {
    font-size: 1.4rem;
  }

  /* Section padding tighter on small screens */
  .section-title {
    font-size: clamp(2rem, 8vw, 3.8rem);
  }

  /* Buttons full-width in CTA bands */
  .covers-cta-band,
  .testimonials-urgency,
  .faq-bottom,
  .gallery-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .covers-cta-band .btn,
  .testimonials-urgency .btn,
  .faq-bottom .btn,
  .gallery-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}
