
:root {
  --bg: #020617;
  --bg-alt: #02081f;
  --card: #020b2a;
  --accent: #00d4ff;
  --accent-soft: rgba(0, 212, 255, 0.08);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border: #1f2937;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #02081f 0, #020617 40%, #020617 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

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

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.7));
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.5), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.5), transparent 55%),
              #020617;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 6px 20px rgba(15, 23, 42, 0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: var(--text-soft);
  transition: color 0.15s ease, opacity 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(31, 41, 55, 0.8);
  font-size: 0.75rem;
}

.language-switch a {
  opacity: 0.7;
}

.language-switch a.active {
  opacity: 1;
  color: var(--accent);
}

.chip {
  font-size: 0.7rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9));
}

/* Hero */

.section {
  padding: 2.75rem 1.25rem;
}

.section.alt {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.95));
  font-size: 0.7rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.hero-kicker span {
  font-weight: 500;
  color: #e5e7eb;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.hero-title span {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.4), rgba(59, 130, 246, 0.1));
  border-color: rgba(56, 189, 248, 0.6);
  color: #e5e7eb;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 10px 30px rgba(15, 23, 42, 0.95),
    0 0 25px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 15px 40px rgba(15, 23, 42, 0.95),
    0 0 30px rgba(56, 189, 248, 0.6);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
  color: var(--text-soft);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.hero-meta strong {
  color: #e5e7eb;
}

/* Hero card */

.hero-card {
  border-radius: 1.3rem;
  border: 1px solid rgba(37, 99, 235, 0.7);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 58%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.2), transparent 60%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.95),
    0 20px 60px rgba(15, 23, 42, 1),
    0 0 40px rgba(37, 99, 235, 0.45);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}

.hero-card-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card-body {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.metric {
  padding: 0.5rem 0.65rem;
  border-radius: 0.85rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
}

.metric-tag {
  font-size: 0.6rem;
  color: var(--accent);
}

/* Sections */

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 26rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  border-radius: 1rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 1));
  padding: 0.85rem 0.95rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.7);
}

.card h3 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.card ul li + li {
  margin-top: 0.2rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  border-radius: 0.95rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.75rem 0.85rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
}

.step-label {
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.15rem;
}

.step-title {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0.7rem 0.8rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
  margin-bottom: 0.6rem;
}

.faq-item h3 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at top, #02081f, #020617 55%, #020617 100%);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 1.6rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
  color: #e5e7eb;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-inline: 1rem;
  }
  .hero-grid {
    gap: 2rem;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-links {
    display: none;
  }
}
