/* Black + purple UI */
:root,
[data-theme="light"] {
  --primary: #9333ea;
  --primary-hover: #a855f7;
  --primary-muted: rgba(147, 51, 234, 0.18);
  --accent: #c084fc;
  --danger: #f87171;
  --success: #34d399;

  --bg: #0c0c0f;
  --surface: #141418;
  --surface-elevated: #1a1a21;
  --text: #fafafa;
  --text-secondary: #b4b4bd;
  --text-muted: #8b8b96;
  --border: #2a2a32;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 6px 20px rgba(0, 0, 0, 0.35);
  --glow: 0 0 40px rgba(147, 51, 234, 0.08);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --primary: #c084fc;
  --primary-hover: #d8b4fe;
  --primary-muted: rgba(192, 132, 252, 0.14);
  --accent: #e9d5ff;

  --bg: #050506;
  --surface: #0e0e12;
  --surface-elevated: #13131a;
  --text: #ffffff;
  --text-secondary: #c4c4cc;
  --text-muted: #90909c;
  --border: #25252d;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 12px 32px rgba(0, 0, 0, 0.5);
  --glow: 0 0 48px rgba(192, 132, 252, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(147, 51, 234, 0.12), transparent 55%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] body {
  background-image: radial-gradient(ellipse 120% 80% at 50% -25%, rgba(192, 132, 252, 0.14), transparent 50%);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #0a0a0c;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

/* Put your file at: images/logo.png or images/logo.svg (update src in index.html if .svg) */
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--primary-muted);
  color: var(--primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.15s, border-color 0.15s;
}

.theme-toggle:hover {
  background: var(--primary-muted);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

.mobile-nav-toggle {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

@media (min-width: 768px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 5, 8, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.mobile-drawer.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.mobile-drawer a:hover {
  color: var(--primary);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  padding: 2rem 0 2.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .hero h1 {
    color: var(--text);
    background: none;
  }
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow), var(--glow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  text-decoration: none;
  color: inherit;
}

.metric-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-card .value {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.section {
  margin-top: 2.5rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card p + p {
  margin-top: 0.65rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary-muted);
  color: var(--primary);
  border: 1px solid transparent;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-card {
  background: linear-gradient(135deg, var(--primary-muted) 0%, transparent 55%);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border));
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 75%, #1e0030) 100%);
  color: #0a0a0c !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(147, 51, 234, 0.35);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.45);
}

[data-theme="dark"] .btn-primary {
  color: #0a0a0c !important;
  box-shadow: 0 2px 20px rgba(192, 132, 252, 0.35);
}

[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 4px 28px rgba(192, 132, 252, 0.45);
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--primary);
}

.site-footer a:hover {
  color: var(--primary-hover);
}
