@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #0f1115;
  --panel: rgba(255, 255, 255, 0.04);
  --text: #e7e7e7;
  --muted: rgba(231, 231, 231, 0.65);
  --border: rgba(231, 231, 231, 0.12);
  --link: rgba(180, 211, 255, 0.9);
  --linkHover: #ffffff;
  --accent: #5ea1ff;
  --max: 900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--linkHover);
  text-decoration: underline;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px 48px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 22px 60px rgba(0, 0, 0, 0.75);
}

.hero {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.hero-text {
  min-width: 0;
}

.name {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 38px;
  line-height: 1.05;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  background: linear-gradient(120deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.tagline {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.blurb {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 70ch;
}

.block {
  padding-top: 22px;
}

.block h2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.about-text {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text);
  max-width: 70ch;
}

.item {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  margin: 0 0 12px;
}

.item-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.strong {
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.exp-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.exp-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  background: #0b0d11;
  padding: 2px;
  border: 1px solid var(--border);
}

.exp-company {
  display: block;
  font-size: 13px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.bullets li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color: var(--text);
}

.bullets li::before {
  content: "↳";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
}

details.item {
  padding: 0;
}

details.item > .summary {
  cursor: pointer;
  list-style: none;
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

details.item > .summary::-webkit-details-marker {
  display: none;
}

details.item[open] > .summary {
  margin-bottom: 4px;
}

details.item .bullets {
  padding: 0;
}

.meta {
  margin-top: 2px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0 0;
}

.action {
  font-size: 14px;
  border: 1px solid rgba(94, 161, 255, 0.5);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 161, 255, 0.08);
}

/* Text-first look: subtle separators */
.block .item:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.08);
}

/* Make demo look like a button */
.action[href^="?demo="] {
  background: rgba(94, 161, 255, 0.16);
  border-color: rgba(94, 161, 255, 0.7);
}

.action[href^="?demo="]:hover {
  background: rgba(94, 161, 255, 0.25);
  border-color: rgba(94, 161, 255, 0.9);
  text-decoration: none;
}

.footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* particles background */
#particles-js {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(920px, 100%);
  border: 1px solid var(--border);
  background: #0b0d11;
  border-radius: 16px;
  padding: 12px;
}

.modal-close {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
}

.modal-close:hover {
  border-color: rgba(231, 231, 231, 0.24);
}

.video {
  margin-top: 10px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: black;
}

@media (max-width: 520px) {
  .name {
    font-size: 30px;
  }
  .avatar {
    width: 56px;
    height: 56px;
  }
}

