/* Reset-ish */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background: #0b1020;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #4f46e5, #0b1020 55%);
  color: #fff;
  padding: 3rem 1.5rem 2.5rem;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3rem);
  line-height:1.2;
  margin: 0 0 0.5rem;
}

.hero-lead {
    display:inline-block;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.98rem;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(253, 188, 11, 0.3) , 0 1px 3px rgba(253, 188, 11, 0.3), 0 1px 3px rgba(253, 188, 11, 0.3);
  background-color:rgba(0,0,0,.5);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn.primary {
  background: #fff;
  color: #111827;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: #e5e7eb;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

.btn.primary:hover {
  background: #e5e7eb;
}

/* Main layout */

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  background: #050816;
  color: #e5e7eb;
}

.section {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.section:last-of-type {
  border-bottom: none;
}

#about.section {
}

.section h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #f9fafb;
}

.section h3 {
  font-size: 1.05rem;
  margin: 1rem 0 0.35rem;
  color: #e5e7eb;
}

p {
  margin: 0.4rem 0 0.5rem;
}

ul, ol {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.5rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
  background: rgba(15,23,42,0.95);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

pre.code-block {
  background: rgba(15,23,42,0.95);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

pre.code-block code {
  background: transparent;
  padding: 0;
}

/* Table */

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.35rem 0 0.7rem;
  font-size: 0.9rem;
}

.table th,
.table td {
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.4rem 0.6rem;
}

.table thead {
  background: rgba(30,64,175,0.65);
}

.table tbody tr:nth-child(even) {
  background: rgba(15,23,42,0.75);
}

/* Helpers */

.note {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Footer */

.footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.75rem;
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 640px) {
  main {
    padding-inline: 1rem;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .table {
    font-size: 0.82rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
