/* ContentMixer landing — dark neon theme */

:root {
  --bg: #07071a;
  --bg-2: #0d0d24;
  --bg-3: #11112e;
  --surface: rgba(20, 20, 48, 0.55);
  --surface-2: rgba(30, 30, 70, 0.55);
  --border: rgba(123, 92, 255, 0.25);
  --border-2: rgba(0, 224, 255, 0.18);
  --text: #e9eaff;
  --muted: #9aa0c7;
  --purple: #7b5cff;
  --blue: #3aa1ff;
  --cyan: #00e0ff;
  --green: #00ff9d;
  --pink: #ff4fd8;
  --warn: #ffb454;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --shadow-glow: 0 10px 50px rgba(123, 92, 255, 0.18), 0 0 0 1px var(--border);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Background layers ---------- */

.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(123, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(0, 224, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 50% 110%, rgba(255, 79, 216, 0.12), transparent 55%),
    linear-gradient(180deg, #06061a 0%, #0a0a22 100%);
}
.bg-grid::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123, 92, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 92, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.bg-glow {
  position: fixed; z-index: -2;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.bg-glow--a { top: -120px; left: -120px; background: radial-gradient(circle, rgba(123,92,255,0.55), transparent 60%); animation: float 18s ease-in-out infinite; }
.bg-glow--b { bottom: -160px; right: -160px; background: radial-gradient(circle, rgba(0,224,255,0.45), transparent 60%); animation: float 22s ease-in-out infinite reverse; }

@keyframes float {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(40px, 30px); }
}

/* ---------- Layout ---------- */

.container { width: min(1180px, 92%); margin: 0 auto; }

.section { padding: 96px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(123,92,255,0.05), transparent); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-head .muted { font-size: 17px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, 4vw);
  background: rgba(7,7,26,0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 18px;
}
.logo-mark { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(123,92,255,0.35);
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding: 56px 0 80px; }
.hero-grid {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(123,92,255,0.1);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  margin-bottom: 20px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.25); opacity: .65; }
}

.hero-text h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  font-weight: 800;
}
.grad {
  background: linear-gradient(120deg, var(--cyan), var(--purple) 50%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(16px, 2vw, 19px);
  color: #c8caea;
  max-width: 560px;
  margin: 0 0 28px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 60%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(123,92,255,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(123,92,255,0.55); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--cyan); }
.btn--lg { padding: 18px 28px; font-size: 17px; border-radius: 14px; }

.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  color: var(--muted); font-size: 14px;
}
.hero-bullets li {
  position: relative; padding-left: 18px;
}
.hero-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 10px rgba(0,224,255,0.7);
}

.banner-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
  background: #0a0a1a;
}
.banner-wrap img { width: 100%; height: auto; display: block; }
.banner-glow {
  position: absolute; inset: -2px; pointer-events: none;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(123,92,255,0.4), transparent 40%, rgba(0,224,255,0.3));
  opacity: 0.35; mix-blend-mode: screen;
}

/* ---------- Cards ---------- */

.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,92,255,0.0), rgba(0,224,255,0.0));
  transition: background .3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,224,255,0.4);
  box-shadow: 0 12px 40px rgba(123,92,255,0.18);
}
.card:hover::before {
  background: linear-gradient(135deg, rgba(123,92,255,0.08), rgba(0,224,255,0.06));
}
.card h3 { font-size: 18px; margin: 8px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card-num {
  font-size: 13px; color: var(--cyan);
  font-weight: 700; letter-spacing: 0.1em;
}
.card-icon { font-size: 26px; margin-bottom: 8px; }

/* ---------- Examples ---------- */

.example {
  background: linear-gradient(180deg, rgba(20,20,48,0.7), rgba(20,20,48,0.4));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow);
}
.example-source {
  background: rgba(0,0,0,0.25);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 22px;
}
.example-source p { margin: 8px 0 0; font-size: 16px; }

.variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .variants { grid-template-columns: 1fr; } }

.variant {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: transform .15s ease, border-color .2s ease;
}
.variant:hover { transform: translateY(-3px); }
.variant h4 {
  font-size: 16px; margin: 10px 0 8px; letter-spacing: -0.01em;
}
.variant p { color: #d3d6f1; margin: 0; font-size: 15px; }

.tag {
  display: inline-block;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
}
.tag--src { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--border-2); }
.tag--biz { background: rgba(58,161,255,0.12);  color: var(--blue);  border: 1px solid rgba(58,161,255,0.35); }
.tag--lit { background: rgba(0,255,157,0.10);   color: var(--green); border: 1px solid rgba(0,255,157,0.35); }
.tag--bold{ background: rgba(255,79,216,0.12);  color: var(--pink);  border: 1px solid rgba(255,79,216,0.35); }
.tag--talk{ background: rgba(255,180,84,0.12);  color: var(--warn);  border: 1px solid rgba(255,180,84,0.35); }
.variant .tag { border-color: currentColor; }

.example-foot { text-align: center; margin: 20px 0 0; font-size: 14px; }

/* ---------- Pricing ---------- */

.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .pricing-row { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.price-card--accent {
  border-color: rgba(0,224,255,0.4);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(123,92,255,0.18), transparent 55%),
    radial-gradient(120% 100% at 100% 100%, rgba(0,224,255,0.14), transparent 55%),
    var(--surface);
  box-shadow: 0 12px 40px rgba(123,92,255,0.18);
}
.price-head h3 { margin: 0 0 6px; font-size: 20px; }
.price { font-size: 18px; color: var(--cyan); font-weight: 600; }
.price span { font-size: 32px; color: #fff; margin-right: 6px; }
.price-note { color: var(--muted); font-size: 14px; }

.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.price-card ul li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
  color: #d3d6f1; font-size: 15px;
}
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li b { color: #fff; }
.price-card ul li span { color: var(--cyan); font-weight: 700; }

.price-list li b { font-size: 16px; }
.price-list li span { font-size: 16px; }

.limits {
  margin-top: 30px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 22px;
}
.limits h4 { margin: 0 0 14px; font-size: 16px; color: var(--cyan); }
.limits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  font-size: 15px;
}
.limits-grid > div { display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.limits-grid b { color: #fff; }
.limits-grid span { color: var(--muted); }
@media (max-width: 700px) { .limits-grid { grid-template-columns: 1fr; } }

/* ---------- Docs / final CTA ---------- */

.docs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: center;
}
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; } }

.docs-list {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.docs-list a {
  color: #d3d6f1; border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
  font-size: 15px;
}
.docs-list a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.cta-block {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(123,92,255,0.22), transparent 55%),
    radial-gradient(120% 100% at 100% 100%, rgba(0,224,255,0.16), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.cta-block h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.cta-block p { color: var(--muted); margin: 0 0 20px; }
.fineprint { font-size: 12px; color: var(--muted); margin-top: 18px; }
.fineprint a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); }
.fineprint a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 40px;
  background: rgba(0,0,0,0.3);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h5 { margin: 0 0 12px; font-size: 14px; color: var(--cyan); letter-spacing: 0.05em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer ul a { color: #c8caea; font-size: 14px; }
.footer ul a:hover { color: var(--cyan); }
.footer .small { font-size: 13px; color: #c8caea; line-height: 1.6; margin: 8px 0 0; }
.footer a { color: #c8caea; }
.footer a:hover { color: var(--cyan); }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-glow { animation: none; }
  .dot { animation: none; }
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 60px 0 80px;
}
.legal-page .container { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-page .legal-meta {
  color: var(--muted); font-size: 14px;
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: 20px; margin: 32px 0 12px;
  color: #fff;
}
.legal-page h3 { font-size: 17px; margin: 22px 0 8px; color: var(--cyan); }
.legal-page p, .legal-page li { color: #d3d6f1; font-size: 15px; line-height: 1.65; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: #fff; }
.legal-page .legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 20px; color: var(--cyan); font-size: 14px;
}
.legal-page .legal-disclaimer {
  margin-top: 40px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(255,180,84,0.08);
  border: 1px solid rgba(255,180,84,0.25);
  color: #ffd9a8;
  font-size: 13px;
}
/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 100;
  display: none;
  background: rgba(13, 13, 36, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 224, 255, 0.08);
  padding: 16px 18px;
  color: #d3d6f1;
  font-size: 14px;
  line-height: 1.55;
  max-width: 980px;
  margin: 0 auto;
  animation: cookie-in 0.35s ease both;
}
.cookie-banner.is-visible { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text { flex: 1 1 320px; min-width: 0; }
.cookie-banner__text a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0,224,255,0.4); }
.cookie-banner__text a:hover { text-decoration-color: var(--cyan); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
@media (max-width: 560px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

.legal-page table {
  width: 100%; border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.legal-page th, .legal-page td {
  border: 1px solid var(--border);
  padding: 8px 12px; text-align: left;
}
.legal-page th { background: rgba(123,92,255,0.1); color: #fff; }
