/* ── Zodiqo shared styles ─────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a1a;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #c4b5fd; text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #7c3aed; outline-offset: 3px; border-radius: 4px; }

/* ── Background ───────────────────────────────────── */
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star {
  position: absolute; background: #fff; border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min-opacity); transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.shooting-star {
  position: fixed; width: 2px; height: 2px; background: #fff;
  border-radius: 50%; opacity: 0; z-index: 0; pointer-events: none;
}
.shooting-star::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 60px; height: 1px;
  background: linear-gradient(to left, rgba(255,255,255,0.8), transparent);
  transform-origin: right center;
}
.shooting-star.active { animation: shoot 1.2s ease-out forwards; }
@keyframes shoot {
  0% { opacity: 1; transform: translate(0, 0) rotate(-35deg); }
  100% { opacity: 0; transform: translate(-400px, 250px) rotate(-35deg); }
}

.orb { position: fixed; border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none; z-index: 0; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #6c3ce0, transparent); top: -100px; right: -100px; animation: float 20s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #1e6ce0, transparent); bottom: -100px; left: -100px; animation: float 25s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* ── Page wrappers ────────────────────────────────── */
.page-wrap {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ── Site header ──────────────────────────────────── */
.site-header {
  position: relative; z-index: 2;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; width: 100%; margin: 0 auto;
}
.brand {
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); text-decoration: none;
}
.brand:hover { color: #fff; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.nav-links a:hover { color: #fff; }

@media (max-width: 600px) {
  .site-header { padding: 1.25rem 1.25rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.78rem; }
}

/* ── Legal / content page layout ──────────────────── */
.content-page {
  flex: 1;
  padding: 2rem 1.5rem 4rem;
}
.content-inner {
  max-width: 780px; margin: 0 auto;
}

.page-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 60%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.page-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.prose { color: rgba(255,255,255,0.82); font-size: 1rem; }
.prose h2 {
  font-size: 1.4rem; font-weight: 600;
  color: #fff; margin-top: 2.5rem; margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 1.1rem; font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-top: 1.5rem; margin-bottom: 0.5rem;
}
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0.5rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: #c4b5fd; text-decoration: underline; text-decoration-color: rgba(196,181,253,0.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #c4b5fd; }

.prose .notice {
  padding: 1rem 1.25rem;
  background: rgba(124, 58, 237, 0.08);
  border-left: 3px solid #7c3aed;
  border-radius: 6px;
  margin: 1.25rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* ── Site footer (business info) ──────────────────── */
.site-footer {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 1.5rem 2rem;
  margin-top: auto;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}
.footer-business {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer-business .biz-name {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.9rem;
}
.footer-links ul { list-style: none; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px; margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Reduce motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .star, .shooting-star, .orb, .avatar-ring { animation: none !important; }
}
