/* Global reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f5f1ff;
  background: radial-gradient(circle at top left, #4c1d95, #020617 55%);
}

a {
  color: #a855f7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
  padding: 4rem 1.25rem 3rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.9));
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: conic-gradient(from 180deg, #a855f7, #22d3ee, #4f46e5, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3),
    0 18px 45px rgba(15, 23, 42, 0.9);
}

.logo-mark span {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b1120;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  font-size: 0.9rem;
  color: #e5e7eb;
  opacity: 0.8;
}

.main-nav a.active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.lang-switcher span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #9ca3af;
}

.lang-switcher a {
  font-size: 0.8rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: #e5e7eb;
}

.lang-switcher a.is-current {
  background: linear-gradient(135deg, #a855f7, #4f46e5);
  color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(248, 250, 252, 0.1);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(129, 140, 248, 0.6);
  color: #c7d2fe;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

.hero-title {
  font-size: clamp(2.2rem, 2.4rem + 1vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #f9fafb;
}

.hero-title span {
  background: linear-gradient(135deg, #a855f7, #e879f9, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 34rem;
  color: #cbd5f5;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
  color: #c4b5fd;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(135deg, #a855f7, #7c3aed, #22d3ee);
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(88, 28, 135, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-primary span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #bbf7d0;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.88rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-secondary-note {
  font-size: 0.78rem;
  color: #9ca3af;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.35), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
}

.hero-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.hero-card-heading span {
  font-weight: 600;
}

.hero-chip {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metric {
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-metric-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.hero-metric-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.2rem;
  color: #e5e7eb;
}

.hero-metric-tag {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #a5b4fc;
}

.hero-image-wrapper {
  margin-top: 1.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-image-wrapper img {
  display: block;
}

.hero-orbit {
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  border: 1px dashed rgba(129, 140, 248, 0.4);
  opacity: 0.6;
}

.hero-orbit-glow {
  position: absolute;
  inset: 40px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.45);
  opacity: 0.3;
}

/* Sections */
.section {
  margin-top: 4rem;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: #e5e7eb;
}

.section-lead {
  font-size: 0.95rem;
  color: #c7d2fe;
  max-width: 40rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.prose {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.prose h2,
.prose h3 {
  color: #e9d5ff;
  margin-top: 1.7rem;
  margin-bottom: 0.5rem;
}

.prose h2 {
  font-size: 1.25rem;
}

.prose h3 {
  font-size: 1rem;
}

.prose p {
  margin: 0.65rem 0;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin: 0.35rem 0;
}

.image-card {
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: radial-gradient(circle at top, rgba(88, 28, 135, 0.6), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.image-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #c4b5fd;
}

/* Comparison / cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 1.1rem;
  padding: 1.25rem 1.4rem;
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.9), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #e0e7ff;
}

.card p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(129, 140, 248, 0.7);
  color: #c4b5fd;
  background: rgba(15, 23, 42, 0.95);
  margin-bottom: 0.45rem;
}

.badge-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #a855f7;
}

/* FAQ */
.faq {
  margin-top: 3rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.96);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
  text-align: left;
}

.faq-toggle {
  margin-left: 0.75rem;
  font-size: 1.1rem;
  color: #a855f7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  font-size: 0.9rem;
  color: #cbd5f5;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-answer.open {
  padding-bottom: 0.9rem;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  color: #e5e7eb;
}

thead {
  background: rgba(15, 23, 42, 0.95);
}

th,
td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

th {
  text-align: left;
  font-weight: 600;
  color: #c7d2fe;
}

tbody tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.7);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 1.25rem 2rem;
  background: radial-gradient(circle at bottom, #020617, #111827 55%);
  color: #9ca3af;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Layout: other pages simple hero */
.page-hero {
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.4rem);
  margin: 0 0 0.6rem;
  color: #f9fafb;
}

.page-hero p {
  margin: 0;
  color: #c7d2fe;
  max-width: 42rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .main-nav {
    display: none;
  }

  main {
    padding-top: 3.25rem;
  }

  .hero-card {
    padding: 1.25rem 1.3rem;
  }

  .card-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}


