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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { line-height: 1.7; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6); }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(7,7,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-8);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links a {
  color: var(--text-2); font-size: 0.9rem; font-weight: 500;
  transition: color var(--ease-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: var(--sp-10) 0 var(--sp-8);
  margin-top: var(--sp-16);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: var(--sp-5); text-align: center;
}
.footer-links { display: flex; gap: var(--sp-8); flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-3); font-size: 0.875rem; transition: color var(--ease-fast); }
.footer-links a:hover { color: var(--text-2); }
.footer-copy { color: var(--text-3); font-size: 0.8rem; }
.footer-disclaimer { color: var(--text-3); font-size: 0.75rem; opacity: 0.7; }

/* ===== UTILITIES ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-muted { color: var(--text-2); }
.mt-auto { margin-top: auto; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-25px) scale(1.04); }
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50%      { box-shadow: 0 0 0 5px rgba(239,68,68,0.18); }
}

.fade-up { animation: fadeInUp 0.5s ease both; }
.fade-up-d1 { animation-delay: 80ms; }
.fade-up-d2 { animation-delay: 160ms; }
.fade-up-d3 { animation-delay: 240ms; }
.fade-up-d4 { animation-delay: 320ms; }

/* ===== VISUAL REFINEMENT ===== */
body { background-image: radial-gradient(circle at 50% 0, rgba(139,92,246,0.08), transparent 30rem); }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -0.04em; }
.nav { background: rgba(10,10,11,0.78); }
.nav-logo-icon { box-shadow: 0 6px 20px var(--purple-glow); }
.nav-links { gap: var(--sp-6); }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content: ''; position: absolute; height: 2px; border-radius: var(--r-full); background: var(--purple-light); left: 0; right: 0; bottom: -9px; }
.footer { background: linear-gradient(180deg, var(--bg-secondary), #0c0c0d); }

/* ===== LIGHT BUSINESS DIRECTORY LAYOUT ===== */
body { background: var(--bg-primary); color: var(--text-1); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; }
h1 { letter-spacing: -0.035em; }
.container { max-width: 1228px; }
.nav { background: rgba(255,255,255,.96); border-bottom-color: var(--border); box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.nav-logo { color: var(--text-1); font-size: .95rem; font-weight: 500; gap: .55rem; }
.nav-logo-icon { width: 40px; height: 40px; border-radius: 11px; background: #2563eb; box-shadow: none; }
.nav-links { gap: 2rem; }
.nav-links a { color: #334155; font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; }
.nav-links a.active::after { display: none; }
.footer { background: #f8fafc; border-color: var(--border); }
.footer-copy, .footer-disclaimer, .footer-links a { color: var(--text-2); }
