/* Taroly landing — palette: base #171139 · cream #F6EBD2 · gold #E8B54A · violet #5A4DB8 */

:root {
  --base: #171139;
  --surface: #201A4A;
  --surface-2: #2C2560;
  --violet: #5A4DB8;
  --violet-lt: #7B5FD0;
  --gold: #E8B54A;
  --cream: #F6EBD2;
  --cream-2: #CDC2A6;
  --muted: #938BB0;
  --border: #332A66;
  --radius: 18px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--cream);
  background: radial-gradient(1200px 700px at 70% -5%, #241a5c 0%, var(--base) 55%) no-repeat, var(--base);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name { font-family: "Lora", Georgia, serif; letter-spacing: 0.01em; }

.gold { color: var(--gold); }
.dim { color: var(--muted); }

/* Starfield */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stars span {
  position: absolute; background: var(--cream); border-radius: 50%;
  opacity: 0.5; animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.8; } }

/* Layout helpers */
.section { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px;
  font-weight: 600; color: var(--muted); margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.section-head { text-align: center; margin-bottom: 48px; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.15; }
.lede { color: var(--cream-2); font-size: 18px; max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #2a2007; box-shadow: 0 8px 26px rgba(232,181,74,.28); }
.btn-gold:hover { box-shadow: 0 10px 32px rgba(232,181,74,.42); }
.btn-ghost { color: var(--cream); border-color: var(--border); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--violet-lt); }
.btn-small { padding: 9px 18px; background: var(--violet); color: #fff; font-size: 14px; }
.btn-small:hover { background: var(--violet-lt); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-mark { color: var(--gold); font-size: 20px; }
.brand-name { font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--cream-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--cream); }
.nav-links a.btn { color: #fff; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 700; line-height: 1.05; margin: 6px 0 18px; }
.hero .lede { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }
.hero-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-meta i { color: var(--violet); font-style: normal; }

/* Hero art: globe + floating cards */
.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.globe { position: relative; width: min(360px, 80vw); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.globe-svg { width: 100%; height: auto; display: block; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.globe-label {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: rgba(23,17,57,.8); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
}

.float-card {
  position: absolute; width: 96px; height: 148px; border-radius: 12px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0,0,0,.5);
  padding: 8px; animation: bob 6s ease-in-out infinite;
}
.card-a { top: 6%; right: 2%; transform: rotate(9deg); }
.card-b { bottom: 4%; left: 0%; transform: rotate(-11deg); animation-delay: 1.5s; }
.tc-frame {
  height: 100%; border: 1px solid var(--gold); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 12px 6px; color: var(--cream);
}
.tc-num { font-family: "Lora", serif; color: var(--gold); font-size: 15px; }
.tc-name { font-family: "Lora", serif; font-size: 13px; text-align: center; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--surface), rgba(32,26,74,.6));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--violet-lt); }
.f-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: rgba(90,77,184,.18); border: 1px solid var(--border); margin-bottom: 16px;
}
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.feature p { color: var(--cream-2); font-size: 15px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { margin: 6px 0 18px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--cream-2); }
.ticks li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold);
}

/* Chat mock */
.chat {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 22px; padding: 20px;
  display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.bubble { padding: 12px 16px; border-radius: 16px; font-size: 15px; max-width: 88%; }
.bubble.bot { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--cream); border-bottom-left-radius: 5px; }
.bubble.me { background: var(--violet); color: #fff; justify-self: end; border-bottom-right-radius: 5px; }
.spread { display: flex; gap: 8px; justify-content: center; padding: 6px 0; }
.mini-card {
  font-family: "Lora", serif; font-size: 12px; color: var(--cream);
  border: 1px solid var(--border); border-radius: 8px; padding: 16px 8px;
  background: rgba(23,17,57,.6); min-width: 68px; text-align: center;
}
.mini-card.gold-edge { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 18px rgba(232,181,74,.25); }

/* Zodiac band */
.zodiac { text-align: center; }
.signs { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: 34px; color: var(--gold); }
.signs span {
  width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); transition: transform .2s, color .2s, border-color .2s;
  cursor: default;
}
.signs span:hover { transform: translateY(-4px) scale(1.05); color: var(--cream); border-color: var(--gold); }

/* CTA */
.cta { text-align: center; }
.cta-inner {
  background: linear-gradient(135deg, rgba(90,77,184,.25), rgba(232,181,74,.12));
  border: 1px solid var(--border); border-radius: 28px; padding: 64px 28px;
}
.cta .lede { margin: 12px auto 26px; }

/* Footer */
.footer {
  position: relative; z-index: 1; text-align: center; padding: 48px 24px;
  border-top: 1px solid var(--border); color: var(--muted); display: grid; gap: 8px; justify-items: center;
}
.footer .brand { margin-bottom: 4px; }
.footer p { font-size: 14px; }

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

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 320px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
}
