:root {
  --bg: #0f172a;
  --bg-alt: #020617;
  --card-bg: #020617;
  --accent: #38bdf8;
  --accent-soft: rgba(56,189,248,0.12);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #f97373;
  --radius: 10px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.75);
  --shadow-card: 0 14px 35px rgba(15,23,42,0.85);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.96), rgba(15,23,42,0.88), transparent);
  border-bottom: 1px solid rgba(148,163,184,0.18);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

    /*
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #e0f2fe 0, #38bdf8 35%, #0f172a 100%);
  box-shadow: 0 0 0 1px rgba(148,163,184,0.4), 0 12px 30px rgba(15,23,42,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b1120;
}*/

.logo-mark {
 height: 48px;
 width: auto;
 margin-right: 12px;
 display: block;
}

/*
            .logo-mark {
              width: 40px;
              height: 40px;
              vertical-align: middle;
              display: inline-block;
              background: none;
              border-radius: 0;
            }
  */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

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

.nav-links a {
  color: #cbd5f5;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #38bdf8, #22c55e);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.btn {
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out,
    transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn:hover {
  background: rgba(15,23,42,0.95);
  border-color: rgba(148,163,184,0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15,23,42,0.9);
}

.btn-primary {
  border: none;
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(34,197,94,0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9, #16a34a);
  box-shadow: 0 18px 45px rgba(34,197,94,0.6);
}

.btn-outline {
  background: rgba(15,23,42,0.7);
}

.mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  margin: 4px 0;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid rgba(148,163,184,0.2);
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #000 100%);
}

.mobile-nav a {
  color: #e5e7eb;
  font-size: 0.95rem;
}

.mobile-nav .btn {
  width: fit-content;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.hero-left {
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem 0.2rem 0.25rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  color: #e5e7eb;
  font-size: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #e0f2fe 0, #38bdf8 40%, #0f172a 100%);
  box-shadow: 0 0 0 1px rgba(148,163,184,0.5);
  font-size: 0.7rem;
  color: #0b1120;
}

.hero-title {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
  color: orange;
}

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

.hero-subtitle {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 34rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 1.6rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.4);
}

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

.hero-footnote {
  font-size: 0.78rem;
  color: #6b7280;
}

.hero-right {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18) 0, rgba(15,23,42,0.98) 40%, #020617 100%);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

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

.hero-card-title {
  font-size: 0.9rem;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-card-title span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
}

.hero-card-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  color: #9ca3af;
}

.hero-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(15,23,42,0.92);
  border-radius: 12px;
  padding: 0.9rem 0.9rem 0.8rem;
  border: 1px solid rgba(15,23,42,0.9);
  color: #e5e7eb;
  overflow-x: auto;
  line-height: 1.5;
  box-shadow: var(--shadow-card);
}

.hero-code pre {
  margin: 0;
  white-space: pre;
}

.hero-code .comment {
  color: #6b7280;
}

.hero-code .kw {
  color: #38bdf8;
}

.hero-code .fn {
  color: #a5b4fc;
}

.hero-code .str {
  color: #facc15;
}

.hero-code .type {
  color: #4ade80;
}

.hero-card-footer {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #9ca3af;
}

.hero-card-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.85rem;
  color: #9ca3af;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9) 0, #020617 55%, #020617 100%);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.9rem;
  border: 1px solid rgba(31,41,55,0.9);
  box-shadow: 0 14px 35px rgba(15,23,42,0.9);
}

.card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.card p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0 0 0.5rem;
}

.card small {
  font-size: 0.75rem;
  color: #6b7280;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  color: #9ca3af;
  background: rgba(15,23,42,0.9);
}

.pill-accent {
  border-color: rgba(56,189,248,0.7);
  color: #e0f2fe;
  background: rgba(15,23,42,0.95);
}

.download-section .card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.download-meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

.download-meta span {
  display: inline-block;
  margin-right: 0.75rem;
}

.contact-card {
  max-width: 520px;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-form label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(31,41,55,0.9);
  background: rgba(15,23,42,0.95);
  color: #e5e7eb;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(56,189,248,0.8);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.5);
}

footer {
  border-top: 1px solid rgba(31,41,55,0.9);
  padding: 1.2rem 1.5rem 1.5rem;
  margin-top: 1rem;
  background: radial-gradient(circle at bottom, #020617 0, #020617 60%, #000 100%);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  main {
    padding-inline: 1.1rem;
  }

  .hero {
    margin-top: 1rem;
  }		
}