/* ============================================================
   VIZBLU — global.css
   Shared variables, reset, header, footer, utilities
   ============================================================ */

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

:root {
  --cream:    #F5F3EE;
  --offwhite: #EDEAE3;
  --black:    #0E0E0C;
  --dark:     #161614;
  --mid:      #38382F;
  --muted:    #7A7A6E;
  --border:   #D5D1C8;
  --blue:     #2563EB;
  --blue-dk:  #1D4ED8;
  --gold:     #B8963E;
  --purple:   #7C3AED;
  --white:    #FFFFFF;

  --font-d: 'Playfair Display', Georgia, serif;
  --font-b: 'DM Sans', sans-serif;

  --header-h: 64px;
  --radius:   8px;
  --shadow:   0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; }

/* ── HEADER ────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(245,243,238,0.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: var(--header-h);
  max-width: 1400px; margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 9px;
}
.nav-logo-text {
  font-family: var(--font-d); font-size: 1.45rem;
  font-weight: 700; color: var(--black);
}

/* Nav links */
.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: .85rem; font-weight: 500;
  color: var(--mid); transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); }

/* Chevron */
.chevron { font-size: .7rem; margin-left: 3px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute; top: calc(100% + 12px); left: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  min-width: 260px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  z-index: 600;
}
.has-dropdown:hover .dropdown,
.dropdown:hover { display: flex; flex-direction: column; gap: 4px; }

.dropdown {
  padding-top: 12px;
  top: calc(100% + 0px);
}

.has-dropdown::after {
  content: '';
  position: absolute;
  height: 20px;
  left: 0;
  right: 0;
  bottom: -20px;
}

.dropdown-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 8px;
  color: var(--black); transition: background .15s;
}
.dropdown-item:hover { background: var(--offwhite); }
.dropdown-item.disabled { opacity: .45; pointer-events: none; }
.dropdown-item strong { display: block; font-size: .87rem; font-weight: 600; color: var(--black); }
.dropdown-item em { display: block; font-size: .75rem; font-style: normal; color: var(--muted); margin-top: 2px; }

.drop-icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.trust-icon { color: var(--blue); }
.brand-icon { color: var(--purple); }
.mind-icon  { color: var(--gold); }

/* CTA button */
.btn-nav {
  background: var(--black); color: var(--white);
  padding: 9px 20px; border-radius: 5px;
  font-size: .83rem; font-weight: 600;
  transition: background .2s;
}
.btn-nav:hover { background: var(--blue); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 0; font-size: .9rem; font-weight: 500;
  color: var(--mid); border-bottom: 1px solid var(--offwhite);
}
.mobile-menu a:hover { color: var(--black); }
.btn-mobile-demo {
  margin-top: 12px; text-align: center;
  background: var(--black); color: var(--white) !important;
  padding: 13px !important; border-radius: 6px;
  font-weight: 600 !important; border: none !important;
}
.btn-mobile-demo:hover { background: var(--blue) !important; }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 60px; padding: 64px 60px 48px;
  max-width: 1400px; margin: 0 auto;
}

.footer-logo {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
}
.footer-logo-name {
  font-family: var(--font-d); font-size: 1.3rem;
  font-weight: 700; color: var(--white);
}
.footer-tagline {
  font-size: .78rem; color: rgba(255,255,255,.35);
  line-height: 1.6; margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-nav-group {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.footer-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .83rem; color: rgba(255,255,255,.45); transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.coming-soon { display: flex; align-items: center; gap: 8px; }
.coming-soon span {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; background: rgba(184,150,62,.2);
  color: var(--gold); padding: 2px 6px; border-radius: 4px;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 60px;
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .75rem; color: rgba(255,255,255,.25);
}

/* ── SHARED UTILITIES ──────────────────────────────── */
.section-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block;
}
.btn-primary {
  display: inline-block; background: var(--black); color: var(--white);
  padding: 13px 26px; border-radius: 5px; font-size: .88rem; font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--blue); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--mid); font-size: .88rem; font-weight: 500; transition: color .2s;
}
.btn-ghost:hover { color: var(--black); }
.btn-ghost .arr { transition: transform .2s; }
.btn-ghost:hover .arr { transform: translateX(4px); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-size: .9rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 4px;
  transition: border-color .2s, color .2s;
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-cta-large {
  display: inline-block; background: var(--white); color: var(--black);
  padding: 16px 36px; border-radius: 6px;
  font-size: 1rem; font-weight: 700; transition: background .2s, color .2s;
}
.btn-cta-large:hover { background: var(--blue); color: var(--white); }

/* Page offset for fixed header */
main { padding-top: var(--header-h); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes spin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-container { padding: 0 24px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 32px; }
  .footer-nav-group { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .footer-nav-group { grid-template-columns: 1fr 1fr; }
}
