:root {
  --bg: #110417;
  --bg-2: #1a0826;
  --card: rgba(255,255,255,0.08);
  --card-2: rgba(255,255,255,0.05);
  --stroke: rgba(255,255,255,0.12);
  --text: #f9f2ff;
  --muted: rgba(249,242,255,0.72);
  --pink: #f4b1ff;
  --gold: #f4d38f;
  --purple: #8245ff;
  --accent: linear-gradient(135deg, #f4b1ff, #f4d38f);
  --accent-strong: linear-gradient(135deg, #b665ff, #f4d38f);
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --shadow-soft: 0 14px 40px rgba(0,0,0,.2);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(130,69,255,.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(244,211,143,.11), transparent 24%),
    linear-gradient(180deg, #130419 0%, #0d0412 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.container.wide { width: min(1460px, calc(100% - 32px)); }

.bg-orb {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(100px);
  opacity: .22;
  z-index: -3;
}
.orb-1 { left: -80px; top: 70px; background: #8738ea; }
.orb-2 { right: -120px; top: 180px; background: #d4a14e; }
.bg-stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.18) 1px, transparent 1px),
    radial-gradient(circle at 40% 65%, rgba(255,255,255,.12) 1px, transparent 1px),
    radial-gradient(circle at 76% 14%, rgba(255,255,255,.18) 1px, transparent 1px),
    radial-gradient(circle at 87% 80%, rgba(255,255,255,.15) 1px, transparent 1px),
    radial-gradient(circle at 32% 34%, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 230px 230px;
  opacity: .18;
  z-index: -4;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 4, 23, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #2a0b2e;
  box-shadow: var(--shadow-soft);
  font-size: 20px;
  flex: 0 0 auto;
}
.brand strong { display: block; font-size: 1.1rem; }
.brand small, .muted { color: var(--muted); }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.desktop-nav a:not(.btn) {
  color: var(--muted);
  font-weight: 700;
}
.desktop-nav a.active,
.desktop-nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.05);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--stroke);
  background: rgba(17, 4, 23, .92);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  display: grid;
  gap: 10px;
  padding: 14px 0 18px;
}
.mobile-menu a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--stroke);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
}
.btn:hover { transform: translateY(-1px) scale(1.01); }
.btn-primary { background: var(--accent); color: #240b27; box-shadow: 0 16px 44px rgba(244,177,255,.22); }
.btn-soft { background: rgba(255,255,255,.07); border: 1px solid var(--stroke); }
.btn-block { width: 100%; }

.kicker, .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--stroke);
  color: #f7d9ff;
  font-size: .92rem;
  width: fit-content;
}
.badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #250b29;
  font-weight: 900;
  font-size: .78rem;
}
.card, .glass {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 28px; }
.glass { backdrop-filter: blur(18px); }
.card-mini {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
  padding: 72px 0 34px;
}
.hero-copy h1,
.section h2,
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -.02em;
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .93;
  margin: 14px 0 16px;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 760px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.trust-pill {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-weight: 700;
}
.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 28px;
  overflow: hidden;
}
.celestial-ring {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
  opacity: .7;
}
.crystal-ball {
  position: absolute;
  top: 56px;
  right: 54px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), rgba(143,85,255,.24), rgba(17,4,23,.2));
  box-shadow: inset 0 0 40px rgba(255,255,255,.12), 0 0 60px rgba(143,85,255,.22);
}
.ball-glow {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.ball-stars {
  position: relative;
  font-size: 1.7rem;
  letter-spacing: 10px;
  color: rgba(255,255,255,.9);
}
.tarot-stack {
  position: absolute;
  left: 36px;
  bottom: 108px;
  width: 290px;
  height: 360px;
}
.tarot-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
}
.tarot-card-back {
  transform: rotate(-9deg) translate(-18px, 14px);
  background: linear-gradient(135deg, rgba(130,69,255,.35), rgba(244,177,255,.18));
}
.tarot-card-main {
  transform: rotate(4deg);
  background: linear-gradient(180deg, rgba(32,12,45,.95), rgba(20,8,29,.96));
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke);
  color: #f7d8ff;
  font-size: .85rem;
  margin-bottom: auto;
}
.tarot-card-main strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  margin-bottom: 6px;
}
.tarot-card-main p,
.mini-reading p { color: var(--muted); line-height: 1.75; }
.mini-reading {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 250px;
}
.section { padding: 64px 0; }
.section h2 { font-size: clamp(2.4rem, 4vw, 4rem); margin: 0 0 10px; }
.lead { color: var(--muted); line-height: 1.8; max-width: 840px; }
.section-head { margin-bottom: 26px; }
.center { text-align: center; }
.grid-3, .grid-4, .split, .dashboard-grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { margin-top: 26px; }
.feature-card { min-height: 240px; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.feature-card h3, .step-card h3, .plan h3 { margin: 6px 0 10px; font-size: 1.32rem; }
.how-section .split-how {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.steps-grid { display: grid; gap: 16px; }
.step-card { position: relative; padding-left: 76px; min-height: 120px; }
.step-num {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #250b29;
  font-weight: 900;
}
.testimonial-card { padding: 40px; }
.pricing-grid { margin-top: 24px; }
.plan { position: relative; }
.plan.popular { background: linear-gradient(180deg, rgba(242,167,255,.18), rgba(247,214,143,.09)); }
.plan-price { font-size: 2.8rem; font-weight: 900; margin: 12px 0 8px; }
.list { display: grid; gap: 12px; margin: 18px 0 24px; }
.list-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--stroke);
  color: var(--muted);
}
.check-list { display: grid; gap: 12px; padding-left: 20px; color: var(--muted); line-height: 1.7; }

.page-hero { padding: 40px 0 12px; }
.page-hero h1 { margin: 10px 0; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.compact-hero { max-width: 920px; margin-inline: auto; }
.form-wrap { max-width: 880px; margin: 0 auto; }
.form-card { padding: 34px; }
.form-grid { display: grid; gap: 14px; }
.input, textarea, select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  outline: none;
}
.input::placeholder, textarea::placeholder { color: rgba(255,255,255,.38); }
textarea { min-height: 120px; resize: vertical; }
.label { font-size: .95rem; color: #f5d6ff; margin-bottom: 8px; font-weight: 700; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

.flash { margin-top: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--stroke); }
.flash-success { background: rgba(28, 194, 125, .12); }
.flash-error { background: rgba(255, 98, 134, .12); }
.flash-info { background: rgba(130, 163, 255, .12); }

.dashboard-page { padding: 20px 0 60px; }
.dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.compact-actions { margin-top: 0; }
.stats-grid { margin-bottom: 20px; }
.kpi { padding: 20px; }
.kpi strong { display: block; font-size: 1.85rem; margin-top: 8px; }
.enhanced-grid { grid-template-columns: 1.08fr .92fr; }
.stack { display: grid; gap: 20px; }
.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.reading-symbol {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  font-size: 1.2rem;
}
.reading { white-space: pre-wrap; line-height: 1.9; color: #f7edff; }
.chat-window {
  display: grid;
  gap: 14px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}
.chat-form { display: grid; gap: 14px; margin-top: 16px; }
.chat-bubble {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 20px;
  line-height: 1.65;
}
.chat-user { background: linear-gradient(135deg, #f2a7ff, #f7d68f); color: #230c27; margin-left: auto; }
.chat-ai { background: rgba(255,255,255,.08); border: 1px solid var(--stroke); }
.sidebar-card p { line-height: 1.75; }
.highlight-card {
  background: linear-gradient(180deg, rgba(242,167,255,.14), rgba(247,214,143,.07));
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--stroke);
  border-radius: 22px;
}
.site-footer { margin-top: 42px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px 0 38px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { font-weight: 700; }

code {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--stroke);
  padding: 2px 8px;
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #ffe3ff;
}

@media (max-width: 1180px) {
  .hero-grid,
  .how-section .split-how,
  .enhanced-grid,
  .grid-3,
  .grid-4,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 500px; }
}

@media (max-width: 760px) {
  .container, .container.wide { width: calc(100% - 20px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { padding: 40px 0 24px; gap: 24px; }
  .hero-copy h1 { font-size: 3rem; }
  .card, .glass, .form-card { padding: 22px; border-radius: 24px; }
  .hero-visual { min-height: 430px; padding: 22px; }
  .crystal-ball { width: 160px; height: 160px; top: 24px; right: 20px; }
  .tarot-stack { left: 14px; bottom: 88px; width: 210px; height: 278px; }
  .tarot-card-main strong { font-size: 2rem; }
  .mini-reading { right: 16px; bottom: 18px; width: 208px; }
  .dashboard-hero,
  .footer-inner { flex-direction: column; align-items: stretch; }
  .hero-actions,
  .form-actions,
  .trust-row { flex-direction: column; }
  .btn, .trust-pill { width: 100%; }
  .plan-price { font-size: 2.4rem; }
}
