:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: rgba(8, 12, 27, 0.95);
  --surface: rgba(11, 17, 37, 0.94);
  --surface-soft: rgba(15, 23, 42, 0.8);
  --border: rgba(148, 163, 184, 0.12);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #60a5fa;
  --accent: #7c3aed;
  --success: #22c55e;
  --warning: #f59e0b;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 26%),
              radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.16), transparent 20%),
              linear-gradient(180deg, #050816 0%, #090e22 100%);
}

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

a, button {
  font: inherit;
}

button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

button:hover, a.button:hover {
  transform: translateY(-2px);
}

button.primary, a.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.25);
}

button.secondary, a.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

button.ghost, a.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 21, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header .header-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-brand span {
  color: var(--primary);
}

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

.site-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
  color: var(--text);
}

.page-content {
  flex: 1;
}

.page-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 720px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

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

.card {
  background: rgba(14, 20, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.25);
}

.card h2,
.card h3,
.card h4 {
  margin-top: 0;
}

.card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p,
.card li {
  color: var(--text-muted);
}

.section-surface {
  position: relative;
  background: rgba(8, 14, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 25%),
              radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.12), transparent 25%);
  opacity: 0.8;
  pointer-events: none;
}

.section-surface > * {
  position: relative;
  z-index: 1;
}

.section-surface strong {
  color: #fff;
}

.feature-list {
  display: grid;
  gap: 1rem;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-list li span {
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(96, 165, 250, 0.12);
  color: var(--primary);
}

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

.faq-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 10, 21, 0.95);
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1.5rem;
}

.footer p {
  margin: 0.25rem 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.9s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .page-section { padding: 2rem 1.25rem; }
  .site-header .header-content { flex-wrap: wrap; }
  .site-nav { width: 100%; justify-content: center; }
}

@media (max-width: 720px) {
  .hero { text-align: center; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; width: 100%; gap: 0.75rem; }
  .mobile-nav-toggle { display: inline-flex; }
}
