/* ═══════════════════════════════════════
   GOOD AI — Shared Styles
   ═══════════════════════════════════════ */

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

:root {
  --ink:    #242424;
  --deep:   #39352C;
  --purple: #56385D;
  --lilac:  #A181B7;
  --cream:  #F2EFEB;
  --warm:   #F8F4EB;
  --muted:  #736E77;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor ── */
#cur, #cur-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
}
#cur {
  width: 10px; height: 10px;
  background: var(--lilac);
  mix-blend-mode: screen;
  transition: width .2s, height .2s;
}
#cur-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(161,129,183,.4);
  z-index: 9998;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 28px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(36,36,36,.97) 55%, transparent);
}
.logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.35rem; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cream);
}
.logo-ai { color: var(--lilac); }
.logo-pill {
  font-family: 'DM Mono', monospace; font-size: .52rem;
  border: 1px solid rgba(161,129,183,.4); color: var(--lilac);
  padding: 3px 8px; letter-spacing: .1em; opacity: .75;
}
.nav-links {
  display: flex; align-items: center; gap: 40px; list-style: none;
}
.nav-links a {
  color: rgba(242,239,235,.5); text-decoration: none;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  transition: color .3s; cursor: none;
}
.nav-links a:hover { color: var(--lilac); }
.nav-cta {
  border: 1px solid var(--lilac) !important;
  color: var(--lilac) !important;
  padding: 8px 22px;
  transition: background .3s, color .3s !important;
}
.nav-cta:hover {
  background: var(--lilac) !important;
  color: var(--ink) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream); transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  background: rgba(36,36,36,.98);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 24px 0; }
.mobile-menu ul a {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--cream); text-decoration: none;
  letter-spacing: -.01em; transition: color .2s;
}
.mobile-menu ul a:hover { color: var(--lilac); }
.mobile-menu .mobile-cta {
  border: 1px solid var(--lilac) !important;
  color: var(--lilac) !important;
  padding: 12px 36px; font-size: 1rem !important;
}

/* ── Ticker ── */
.ticker {
  background: var(--purple); padding: 13px 0;
  overflow: hidden; white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-family: 'Syne', sans-serif; font-size: .68rem;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream); padding: 0 44px;
}
.ticker-dot { color: rgba(242,239,235,.4); padding: 0 8px; }

/* ── Shared section tag ── */
.section-tag {
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lilac); margin-bottom: 18px; display: block;
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Buttons ── */
.btn-primary {
  background: var(--purple); color: var(--cream);
  padding: 16px 40px; border: none; cursor: none;
  font-family: 'DM Mono', monospace; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  position: relative; overflow: hidden; transition: color .3s;
  display: inline-block;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--lilac); transform: translateX(-100%);
  transition: transform .4s ease;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  color: rgba(242,239,235,.6); font-size: .7rem;
  letter-spacing: .12em; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: color .3s;
  cursor: none;
}
.btn-outline:hover { color: var(--cream); }
.btn-outline svg { transition: transform .3s; }
.btn-outline:hover svg { transform: translateX(5px); }

/* ── Footer ── */
footer {
  background: #191919; padding: 60px 64px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.2rem; letter-spacing: -.02em;
}
.footer-ai { color: var(--lilac); }
.footer-sub { font-size: .6rem; letter-spacing: .12em; color: rgba(242,239,235,.28); margin-top: 6px; }
.footer-wef { text-align: right; }
.footer-wef-name { font-size: .62rem; letter-spacing: .1em; color: rgba(242,239,235,.38); text-transform: uppercase; }
.footer-wef-sub { font-size: .58rem; color: rgba(242,239,235,.22); line-height: 1.85; margin-top: 5px; }

/* ── Keyframes ── */
@keyframes up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-45px,55px) scale(1.08); }
  66%     { transform: translate(35px,-35px) scale(.94); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(55px,-65px) scale(1.12); }
  70%     { transform: translate(-35px,35px) scale(.92); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(25px,-55px) scale(1.07); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { flex-direction: column; gap: 32px; padding: 48px 24px; text-align: center; }
  .footer-wef { text-align: center; }
}
