@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");
/* Quant Manager marketing site styles */
:root {
  --bg: #0b0f14;
  --bg-soft: #0f141c;
  --panel: rgba(255, 255, 255, 0.04);
  --text: #eef2f7;
  --muted: #9ba6b3;
  --accent: #6b7bff;
  --accent-2: #38e0c4;
  --accent-3: #f6c94c;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 15% 10%, rgba(107, 123, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 85% 20%, rgba(56, 224, 196, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f14;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn.hover-accent {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn.hover-accent:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #0b0f14;
  box-shadow: var(--shadow);
}

.hero {
  padding: 88px 0 40px;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 0 0 14px;
}

.hero p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 22px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(107, 123, 255, 0.18), rgba(56, 224, 196, 0.12));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-card small {
  color: var(--muted);
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.features-heading {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
  text-align: center;
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 520px;
  position: relative;
}

.feature-split::before {
  content: "";
  position: absolute;
  inset: -200px -160px;
  background: radial-gradient(560px 260px at 20% 40%, rgba(107, 123, 255, 0.16), transparent 75%),
    radial-gradient(560px 260px at 80% 55%, rgba(56, 224, 196, 0.12), transparent 75%);
  filter: blur(24px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.feature-image {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.feature-image.is-compact img {
  max-height: 280px;
  object-fit: contain;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.feature-item {
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  padding: 24px 6px 24px 20px;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.feature-item.is-active {
  color: #ffffff;
}

.feature-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(107, 123, 255, 0.9);
  box-shadow: 0 0 0 8px rgba(107, 123, 255, 0.15);
}

.feature-title {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-description {
  display: none;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

.feature-item.is-active .feature-description {
  display: block;
}

.fade-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.enforcement-section {
  margin-top: 20px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0;
  position: relative;
  overflow: visible;
}

.enforcement-section::before {
  content: "";
  position: absolute;
  inset: -260px -220px;
  background: radial-gradient(660px 320px at 20% 45%, rgba(107, 123, 255, 0.12), transparent 80%),
    radial-gradient(660px 320px at 80% 50%, rgba(56, 224, 196, 0.1), transparent 80%);
  filter: blur(28px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.enforcement-section > * {
  position: relative;
  z-index: 1;
}

.enforcement-heading {
  text-align: center;
  font-size: clamp(32px, 4.2vw, 56px);
  margin: -12px 0 32px;
}

.section-toggle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
  padding-bottom: 28px;
  position: relative;
}

.section-toggle::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  opacity: 0.6;
}

.toggle-btn {
  border-radius: 999px;
  padding: 18px 26px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(107, 123, 255, 0.4);
}

.toggle-btn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f14;
  box-shadow: var(--shadow);
}

.toggle-panel {
  display: none;
  position: relative;
  z-index: 1;
}

.toggle-panel.is-active {
  display: block;
}

.toggle-panel::before {
  content: "";
  position: absolute;
  inset: -140px -120px;
  background: radial-gradient(480px 240px at 20% 30%, rgba(107, 123, 255, 0.12), transparent 75%),
    radial-gradient(480px 240px at 80% 35%, rgba(56, 224, 196, 0.1), transparent 75%);
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.toggle-panel > * {
  position: relative;
  z-index: 1;
}

.feature-grid {
  margin-top: 30px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.mini-feature {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mini-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 123, 255, 0.45);
  background: rgba(107, 123, 255, 0.08);
}

.mini-feature strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.mini-feature span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.feature-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 18, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.feature-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.feature-modal-card {
  width: min(620px, 92vw);
  background: linear-gradient(145deg, rgba(38, 52, 77, 0.95), rgba(20, 28, 44, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative;
}

.feature-modal-card h3 {
  margin-top: 0;
  font-size: 24px;
}

.feature-modal-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.modal-open {
  overflow: hidden;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.callout {
  border-radius: 20px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(107, 123, 255, 0.2), rgba(56, 224, 196, 0.12));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  inset: -180px -150px;
  background: radial-gradient(480px 240px at 25% 45%, rgba(107, 123, 255, 0.14), transparent 75%),
    radial-gradient(480px 240px at 75% 55%, rgba(56, 224, 196, 0.11), transparent 75%);
  filter: blur(20px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.callout > * {
  position: relative;
  z-index: 1;
}

.pricing {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-pills {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.pricing-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pill-price {
  min-width: 86px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
}

.pill-meta strong {
  font-size: 18px;
  color: #ffffff;
}

.price-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 120px at 20% 0%, rgba(107, 123, 255, 0.18), transparent 60%),
    radial-gradient(240px 120px at 90% 10%, rgba(56, 224, 196, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-card:hover::before {
  opacity: 1;
}

.price {
  font-size: 32px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 64px 0 12px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item h4 {
  margin: 0 0 6px;
}

.setup-step {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item,
.setup-step {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 16px 18px;
}

.faq-item + .faq-item,
.setup-step + .setup-step {
  margin-top: 12px;
}

.pricing .price-card h3 {
  margin: 0 0 6px;
}

.pricing .price-card .muted {
  margin-bottom: 10px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 14px;
}

.metric strong {
  display: block;
  font-size: 16px;
}

.feature-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.feature-pill {
  flex: 1 1 180px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 180px;
}

.feature-pill strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.accent-section {
  margin: 48px 0;
  padding: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(107, 123, 255, 0.18), rgba(246, 201, 76, 0.12));
  border: 1px solid var(--border);
}

.accent-section h2 {
  margin-top: 0;
}

.feature-showcase {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.showcase-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.showcase-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.showcase-media img {
  border-radius: 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .feature-split {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }
}

