/* Base */
:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-alt: #0f172a;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --accent-2: #a855f7;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

*,
*::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 left, #1e293b 0, #020617 45%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.4), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.logo img {
  height: 40px;
}

.main-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  display: flex;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.nav-list a:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  display: block;
}

/* Hero */
.hero {
  padding: 32px 0 16px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-text p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1120;
  box-shadow: 0 14px 35px rgba(59, 130, 246, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.7);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
}

.hero-side {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.95);
  border-radius: 24px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  color: #4ade80;
  margin-right: 6px;
}

/* Sections */
.section {
  padding: 24px 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.95));
}

.section h2 {
  font-size: 22px;
  margin: 0 0 14px;
}

.section p {
  color: var(--text-muted);
  font-size: 15px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 18px;
}

.section-grid .section-header {
  margin-bottom: 22px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.card h4 {
  margin: 10px 0 8px;
  font-size: 14px;
  color: #e5e7eb;
}

.dot-list,
.numbered-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.dot-list li + li,
.numbered-list li + li {
  margin-top: 4px;
}

.highlight-box {
  margin-top: 18px;
  padding: 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.6);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.4);
}

.highlight-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.table-wrapper {
  margin-top: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.9);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.info-table th,
.info-table td {
  padding: 10px 12px;
}

.info-table th {
  text-align: left;
  color: #e5e7eb;
  white-space: nowrap;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.98);
}

.info-table td {
  color: var(--text-muted);
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.mini-table {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.mini-table li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.mini-table li:first-child {
  border-top: none;
}

.mini-table span:first-child {
  color: #e5e7eb;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.faq details {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "▾";
  float: right;
  color: var(--text-muted);
  font-size: 12px;
}

.faq details[open] summary::after {
  content: "▴";
}

.faq p {
  margin-top: 6px;
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  padding: 16px 0 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-brand img {
  height: 32px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.85;
}

/* Generic layout helpers for inner pages */
.page {
  padding: 32px 0 24px;
}

.page-header {
  margin-bottom: 18px;
}

.page-header h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
}

.page-cta {
  margin: 12px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-grid {
  display: grid;
  gap: 16px;
}

.page-grid.two {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.7);
  color: #bfdbfe;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 11px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    justify-content: flex-start;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 10px 10px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    min-width: 210px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-list.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-inner {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 24px;
  }

  .site-footer {
    padding-top: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 14px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .card {
    padding: 14px 14px 12px;
  }

  .highlight-box {
    padding: 14px 14px 12px;
  }
}


