/* Core palette */
:root {
  --bg: #05030c;
  --bg-alt: #0f172a;
  --panel: #111827;
  --panel-alt: #1f2937;
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --text: #f8fafc;
  --muted: #cbd5f5;
  --gradient: linear-gradient(135deg, #7c3aed, #22d3ee 70%);
  --success: #10b981;
  --danger: #ef4444;
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

p {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: rgba(5, 3, 12, 0.8);
  border-bottom: 1px solid rgba(124, 58, 237, 0.4);
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(124, 58, 237, 0.2);
}

main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #03010a;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--primary-light);
}

.hero-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
}

.btn-primary {
  background: var(--gradient);
  box-shadow: 0 12px 24px rgba(15, 118, 255, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.image-feature {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.image-feature img {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.image-feature figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.info-split figure {
  margin: 0;
}

.info-split img {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.info-split figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.preset-card {
  background: var(--panel-alt);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border 0.2s ease;
}

.preset-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.6);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  margin-bottom: 0.8rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
}

.testimonial {
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.15), transparent 60%),
    var(--panel);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--primary-light);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.page-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-section {
  margin-bottom: 2.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: border 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.dropzone.is-dragover {
  border-color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
}

.dropzone input {
  display: none;
}

.preset-select {
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel-alt);
  color: var(--text);
  margin-top: 1rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.result-card {
  background: var(--panel-alt);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.input {
  width: 100%;
  padding: 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel-alt);
  color: var(--text);
  font-size: 1rem;
}

textarea.input {
  min-height: 140px;
  resize: vertical;
}

.notice {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.error {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alt-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--panel-alt);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.alt-card strong {
  font-size: 1.1rem;
}

.tag {
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--panel-alt);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card span {
  color: var(--primary-light);
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 120%);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 50;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.9rem;
  color: var(--primary-light);
}

.footer-social a:hover {
  text-decoration: underline;
}

footer p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .alt-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    transform: translateY(120%);
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }
}
