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

:root {
  color-scheme: dark;
  --bg: #05060f;
  --surface: #0b1020;
  --surface-strong: #101833;
  --border: rgba(124, 58, 237, 0.3);
  --text: #f1f5ff;
  --muted: #a3b5d1;
  --primary: #7c3aed;
  --primary-2: #22d3ee;
  --accent: #f472b6;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
}

.card-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-2);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
}

.cta-box-h {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 4rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 32px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
}

.cta-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.cta-image-wrapper:hover .cta-image {
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .cta-box-h {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    text-align: center;
  }

  .cta-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.25), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.22), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(244, 114, 182, 0.18), transparent 50%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-2);
}

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 6, 15, 0.7);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  transition: background 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 4px;
  /* Adapt original black logo to dark theme: invert to white and add neon glow */
  filter: invert(1) brightness(1.5) drop-shadow(0 0 8px var(--primary-2));
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: invert(1) brightness(2) drop-shadow(0 0 12px var(--primary-2));
}

/* Tooltip for footer logo */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 0;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  width: max-content;
  max-width: 250px;
  line-height: 1.4;
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.25), 0 0 48px rgba(124, 58, 237, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.4), 0 0 64px rgba(124, 58, 237, 0.35);
  filter: brightness(1.1);
}

.btn-ghost {
  background: rgba(11, 16, 32, 0.6);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--text);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--primary);
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}

.hero-bg-graphic {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(1.2);
  animation: hero-zoom 10s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, var(--bg) 90%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #fff;
}

.highlight-ai {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-2), var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
}

.hero-copy {
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #a5f3fc;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.2rem);
  background: linear-gradient(to right, #fff, #c4b5fd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.2));
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.microcopy {
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}

.highlight-card {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.25);
  font-size: 0.9rem;
  color: #cffafe;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-card::before {
  content: "✓";
  color: var(--primary-2);
  font-weight: bold;
}

/* Visual Panel */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.panel {
  width: 100%;
  background: linear-gradient(180deg, rgba(9, 12, 28, 0.9), rgba(7, 10, 24, 0.8));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease;
}

.panel:hover {
  transform: translateY(-5px) rotateX(2deg);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.status {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #67e8f9;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.95rem;
}

.panel-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 8px var(--primary-2);
}

.panel-footer {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
  opacity: 0.7;
}

/* Sections */
.section {
  padding: 8rem 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.2rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(13, 18, 38, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: #fff;
  margin-bottom: 0.75rem;
}

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

/* List with checks */
.list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.list li {
  position: relative;
  padding-left: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--primary-2);
  font-weight: bold;
}

/* Process Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  gap: 0.5rem;
  background: rgba(11, 16, 32, 0.5);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  transition: transform 0.3s ease;
}

.steps li:hover {
  transform: translateX(10px);
  border-color: var(--primary-2);
}

.steps li strong {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: 1.1rem;
}

.steps li strong::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

/* FAQ */
.faq {
  display: grid;
  gap: 1rem;
  max-width: 800px;
}

details {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  background: rgba(11, 16, 32, 0.5);
  transition: all 0.2s ease;
  overflow: hidden;
}

details[open] {
  background: rgba(13, 18, 38, 0.8);
  border-color: var(--primary);
}

details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 20px;
  color: #fff;
}

details summary::marker {
  display: none;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--primary-2);
  font-weight: bold;
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.cta {
  padding-bottom: 8rem;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 32px;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.2), transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  z-index: 2;
}

/* Footer */
.site-footer {
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #02040a;
}

.footer-grid {
  display: grid;
  gap: 4rem;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary-2);
  padding-left: 5px;
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-2);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-contact-item {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: var(--muted);
  transition: all 0.3s ease;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  color: var(--primary-2);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 211, 238, 0.2);
}

.copyright {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  opacity: 0.5;
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {

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

  .hero {
    padding-top: 6rem;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-grid {
    gap: 3rem;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-highlights {
    justify-content: center;
  }

  .cta-box {
    padding: 2.5rem;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    /* simple mobile hide for now, could add burger */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}