/* ═══════════════════════════════════════════════════════════════
   Z BRANDER — Global Design System
   ═══════════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  --gold:        #C9A646;
  --gold-light:  #dfc06e;
  --gold-dim:    rgba(201,166,70,.12);
  --gold-border: rgba(201,166,70,.25);
  --bg:          #0B0B0B;
  --bg2:         #0f0f0f;
  --bg3:         #141414;
  --surface:     #1a1a1a;
  --surface2:    #222;
  --border:      rgba(255,255,255,.07);
  --border2:     rgba(255,255,255,.13);
  --text:        #f0f0f0;
  --muted:       #888;
  --dim:         #555;
  --green:       #4ade80;
  --font:        'Inter', sans-serif;
  --r:           16px;
  --r-sm:        10px;
  --r-lg:        24px;
  --trans:       .35s cubic-bezier(.4,0,.2,1);
  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:   0 20px 64px rgba(0,0,0,.5);
}

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

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

/* ─── Noise overlay ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .35;
}

/* ─── Utilities ──────────────────────────────────────────────── */
.gold          { color: var(--gold); }
.muted         { color: var(--muted); }
.container     { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section       { padding: 100px 0; }
.section-alt   { background: var(--bg2); }
.text-center   { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold), #e8c96e 50%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Tag ────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:.4; transform:scale(1.5); }
}

/* ─── Section Header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 16px; line-height: 1.15;
}
.section-header p {
  font-size: 17px; color: var(--muted);
  max-width: 540px; margin: 0 auto; line-height: 1.75;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; font-family: var(--font);
  cursor: pointer; border: none; white-space: nowrap;
  transition: var(--trans);
}
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,166,70,.35);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04);
  transform: translateY(-2px);
}
.btn-wa { background: #1a1a1a; color: #25D366; border: 1px solid rgba(37,211,102,.2); }
.btn-wa:hover {
  background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.4);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.15);
}
.btn-ghost { background: transparent; color: var(--gold); padding-left: 0; }
.btn-ghost:hover { gap: 14px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px; transition: var(--trans);
}
.card:hover {
  border-color: var(--gold-border); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── Divider ────────────────────────────────────────────────── */
.divider {
  height: 1px; background: var(--border); margin: 48px 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(11,11,11,.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}
.nav-logo {
  font-size: 20px; font-weight: 900; letter-spacing: -.04em;
  display: flex; align-items: center; gap: 1px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; gap: 10px; align-items: center; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--trans); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(11,11,11,.98); backdrop-filter: blur(24px);
  border-top: 1px solid var(--border); padding: 24px; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--muted);
  padding: 12px 0; border-bottom: 1px solid var(--border); transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,166,70,.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(36px, 6vw, 68px); font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 20px; position: relative; line-height: 1.1;
}
.page-hero p {
  font-size: 18px; color: var(--muted); max-width: 580px;
  margin: 0 auto 36px; line-height: 1.75; position: relative;
}
.page-hero .hero-ctas {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: #050505; border-top: 1px solid var(--border); padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-logo { font-size: 22px; font-weight: 900; letter-spacing: -.04em; display: block; margin-bottom: 16px; }
.footer-brand-logo span { color: var(--gold); }
.footer-brand p {
  font-size: 14px; color: var(--muted); line-height: 1.75;
  margin-bottom: 24px; max-width: 270px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: var(--trans);
}
.social-link:hover { border-color: var(--gold-border); background: var(--gold-dim); transform: translateY(-3px); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 20px; color: var(--text);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted); margin-bottom: 12px;
}
.footer-contact-item .fc-icon { color: var(--gold); width: 18px; flex-shrink: 0; }
.footer-contact-item a { color: var(--muted); transition: color .2s; }
.footer-contact-item a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: #444; }
.footer-bottom a { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════════════════════════ */
#wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 16px;
  background: #25D366; color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  z-index: 900; box-shadow: 0 8px 32px rgba(37,211,102,.35);
  transition: var(--trans); cursor: pointer; text-decoration: none;
}
#wa-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,.5); }
.wa-tooltip {
  position: absolute; right: 66px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: var(--trans); pointer-events: none;
}
#wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

#btt {
  position: fixed; bottom: 90px; right: 26px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 18px; display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(12px);
  transition: var(--trans); z-index: 899;
}
#btt.show { opacity: 1; transform: translateY(0); }
#btt:hover { border-color: var(--gold-border); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   CTA BAND (shared across pages)
   ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,166,70,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box {
  background: var(--surface); border: 1px solid var(--gold-border);
  border-radius: 28px; padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -1px; left: 20%; width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-box h2 {
  font-size: clamp(28px, 5vw, 54px); font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 16px; line-height: 1.1;
}
.cta-box p { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: var(--dim); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transition: opacity .8s ease; }
.fade-in.visible { opacity: 1; }

.stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay:.04s; }
.stagger.visible > *:nth-child(2) { transition-delay:.10s; }
.stagger.visible > *:nth-child(3) { transition-delay:.16s; }
.stagger.visible > *:nth-child(4) { transition-delay:.22s; }
.stagger.visible > *:nth-child(5) { transition-delay:.28s; }
.stagger.visible > *:nth-child(6) { transition-delay:.34s; }
.stagger.visible > *:nth-child(7) { transition-delay:.40s; }
.stagger.visible > *:nth-child(8) { transition-delay:.46s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 72px 0; }
  .cta-box { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .page-hero .hero-ctas { flex-direction: column; }
  .page-hero .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}
