/* ============================================================================
   Soundverse marketing pages — shared design system.
   Mirrors the tokens/components from landing/index.html so secondary pages
   (pricing, education, business, enterprise, tool pages) stay on-brand without
   duplicating the full landing CSS. Loaded by sv-pages.js consumers.
   ============================================================================ */
:root {
  --bg-0: #07060c;
  --ink: #f4f1ff;
  --ink-2: rgba(244, 241, 255, 0.74);
  --ink-3: rgba(244, 241, 255, 0.50);
  --ink-4: rgba(244, 241, 255, 0.28);
  --violet: #8b5cf6; --indigo: #6366f1; --cyan: #22d3ee; --lime: #a3e635;
  --magenta: #f472b6; --gold: #fbbf24; --orange: #fb923c; --rose: #fb7185;
  --glass-bg: rgba(255,255,255,0.035);
  --glass-bg-2: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.09);
  --glass-border-2: rgba(255,255,255,0.16);
  --glass-highlight: rgba(255,255,255,0.14);
  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 22px; --radius-xl: 32px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent; }
/* Thin dark scrollbar — matches the /welcome (index.html) landing so secondary pages
   (pricing, business, education, terms, privacy, acceptable-use, tool pages, …) don't
   fall back to the white browser default. */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.12); }
body {
  background:
    radial-gradient(ellipse 75% 55% at 50% 8%, rgba(124, 92, 255, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 85% 22%, rgba(34, 211, 238, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 15% 28%, rgba(244, 114, 182, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 70%, rgba(99, 102, 241, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, #0b0914 0%, #07060c 45%, #040307 100%) !important;
  background-attachment: fixed !important;
  color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
::selection { background: var(--violet); color: white; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }
.bg-orbs i:nth-child(1) { width: 620px; height: 620px; top: -140px; left: 15%; background: radial-gradient(circle, var(--violet), transparent 70%); }
.bg-orbs i:nth-child(2) { width: 520px; height: 520px; top: 32%; right: -120px; background: radial-gradient(circle, var(--cyan), transparent 70%); opacity: 0.32; }
.bg-orbs i:nth-child(3) { width: 500px; height: 500px; bottom: -100px; left: 18%; background: radial-gradient(circle, var(--magenta), transparent 70%); opacity: 0.28; }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nav, #toolMain, footer { position: relative; z-index: 1; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.glass { position: relative; background: rgba(18, 18, 25, 0.65); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 24px 60px -24px rgba(0,0,0,0.6); }
.eyebrow { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.display { font-family: var(--serif); font-weight: 400; line-height: 0.98; letter-spacing: -0.025em; }
.display em { font-style: italic; color: var(--violet); }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
/* ---- top nav ---- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(7,6,12,0.7); border-bottom: 1px solid var(--glass-border); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 60px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.nav-logo img { height: 30px; width: auto; display: block; }
/* Horizontal brand lockup (same asset as the app sidebar) */
.nav-logo img.brand-horizontal { width: auto; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---- mobile nav: hamburger + slide-in drawer (mirrors landing/index.html) ---- */
.nav-burger { display: none; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--glass-bg-2); border: 1px solid var(--glass-border);
  align-items: center; justify-content: center; transition: background .2s; }
.nav-burger:hover { background: rgba(255,255,255,0.12); }
.nav-burger svg { width: 16px; height: 16px; color: var(--ink); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; left: 0; z-index: 100; width: min(86vw, 320px);
  height: 100vh; height: 100dvh; padding: 16px 14px 22px; overflow-y: auto;
  display: flex; flex-direction: column;
  background: rgba(12,10,20,0.92); backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  border-right: 1px solid var(--glass-border-2);
  transform: translateX(-100%); transition: transform .38s cubic-bezier(0.2,0.7,0.2,1); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; }
.drawer-head img { height: 26px; width: auto; }
.drawer-close { width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255,255,255,0.06);
  display: inline-flex; align-items: center; justify-content: center; }
.drawer-close:hover { background: rgba(255,255,255,0.12); }
.drawer-close svg { width: 13px; height: 13px; color: var(--ink); }
.drawer-section { display: flex; flex-direction: column; padding: 8px 0; }
.drawer-section.drawer-cta { gap: 10px; padding-top: 14px; }
.drawer-section.drawer-cta .btn { width: 100%; justify-content: center; }
.drawer a.dr-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  border-radius: 10px; font-size: 14.5px; color: var(--ink-2); }
.drawer a.dr-item:hover, .drawer a.dr-item:active { background: rgba(255,255,255,0.05); color: var(--ink); }
.drawer-divider { height: 1px; background: var(--glass-border); margin: 8px 10px; }
.drawer-foot { margin-top: auto; padding: 16px 12px 0; display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--glass-border); }
.drawer-foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .nav-inner { gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-logo .tag { display: none; }
  .nav-logo img.brand-horizontal { height: 26px; }
  .nav-burger { display: inline-flex; }
}
@media (min-width: 761px) {
  .nav-burger, .drawer, .drawer-backdrop { display: none !important; }
}
/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 10px 18px; border-radius: 999px; transition: transform .15s, filter .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(120deg, var(--violet), var(--magenta)); color: #fff; box-shadow: 0 8px 28px -10px var(--violet); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--glass-bg-2); border: 1px solid var(--glass-border-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { font-size: 15px; padding: 13px 26px; }
/* ---- hero ---- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(36px, 5vw, 64px); text-align: center; }
.page-hero h1 { font-size: clamp(38px, 7vw, 76px); margin: 16px auto 18px; max-width: 14ch; }
.page-hero p.lead { font-size: clamp(15px, 2vw, 19px); color: var(--ink-2); max-width: 60ch; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* ---- sections / grids ---- */
.section { padding: clamp(36px, 6vw, 72px) 0; }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 36px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin: 12px 0 10px; }
.section-head p { color: var(--ink-2); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { padding: 24px; border-radius: var(--radius-lg); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 13.5px; }
.card-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(244,114,182,0.2)); border: 1px solid var(--glass-border-2); }
/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price { padding: 26px 22px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.price.featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 24px 60px -24px var(--violet); }
.price-badge { align-self: flex-start; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet); background: rgba(139,92,246,0.16); border: 1px solid rgba(139,92,246,0.4); border-radius: 999px; padding: 3px 9px; margin-bottom: 12px; }
.price-name { font-size: 16px; font-weight: 600; }
.price-amt { font-family: var(--serif); font-size: 40px; margin: 8px 0 2px; }
.price-amt span { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.price-desc { color: var(--ink-3); font-size: 12.5px; min-height: 34px; margin-bottom: 14px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 18px; }
.price li { font-size: 12.5px; color: var(--ink-2); padding-left: 22px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
/* ---- forms ---- */
.form { max-width: 560px; margin: 0 auto; padding: 30px; border-radius: var(--radius-lg); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea { background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border-2); border-radius: 10px;
  padding: 11px 13px; color: var(--ink); font-size: 14px; font-family: inherit; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
@media (max-width: 560px) { .field-row { flex-direction: column; } }
.form-note { font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: center; }
.form-ok { text-align: center; padding: 30px; }
.form-ok .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 26px;
  background: linear-gradient(135deg, var(--lime), var(--cyan)); color: #07060c; }
.hide { display: none !important; }
.pill-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass-bg-2); border: 1px solid var(--glass-border); }
.pill-toggle a, .pill-toggle button { font-size: 12.5px; padding: 7px 16px; border-radius: 999px; color: var(--ink-2); }
.pill-toggle .on { background: var(--ink); color: #07060c; font-weight: 600; }
/* ---- footer ---- */
.foot { border-top: 1px solid var(--glass-border); padding: 36px 0; margin-top: 40px; color: var(--ink-3); font-size: 12.5px; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
/* badges + misc */
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); background: var(--glass-bg-2); border: 1px solid var(--glass-border); border-radius: 999px; padding: 5px 12px; }
.stat-row { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.stat-row .s b { font-family: var(--serif); font-size: 34px; display: block; }
.stat-row .s span { color: var(--ink-3); font-size: 12px; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* Mobile drawer and burger from sv-pages.js */
@media (min-width: 761px) {
  .nav-burger, .drawer, .drawer-backdrop { display: none !important; }
}
@media (max-width: 760px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: none; background: transparent; color: inherit; cursor: pointer; border-radius: 8px; margin-right: 8px; }
  .nav-burger svg { width: 22px; height: 22px; stroke: currentColor; }
  .drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
  .drawer { position: fixed; top: 0; left: 0; width: 280px; max-width: 85vw; height: 100vh; height: 100dvh; background: #0c0a14; color: #fff; z-index: 9999; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1); display: flex; flex-direction: column; padding: 18px 16px 24px; box-sizing: border-box; overflow-y: auto; box-shadow: 20px 0 50px rgba(0,0,0,0.5); border-right: 1px solid rgba(255,255,255,0.1); }
  .drawer.open { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 8px; }
  .drawer-head img { height: 24px; width: auto; max-width: 140px; object-fit: contain; }
  .drawer-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; }
  .drawer-close svg { width: 14px; height: 14px; stroke: currentColor; }
  .drawer-section { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; }
  .drawer a.dr-item { display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: rgba(255,255,255,0.85); text-decoration: none; }
  .drawer a.dr-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .drawer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 12px 0; }
  .drawer-cta { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
  .drawer-cta .btn { width: 100%; text-align: center; justify-content: center; min-height: 40px; }
  .drawer-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.6); }
  .drawer-foot a { color: inherit; text-decoration: none; }
  .drawer-foot a:hover { color: #fff; }
}

