:root {
  --bg: #0f172a;
  --surface: #0b1223;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #7c9cff;
  --primary-600: #6188ff;
  --accent: #22d3ee;
  --ring: rgba(124, 156, 255, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 10% 0%,
      rgba(124, 156, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at 90% 10%,
      rgba(34, 211, 238, 0.12),
      transparent 60%
    ),
    var(--bg);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: linear-gradient(
    180deg,
    rgba(11, 18, 35, 0.9),
    rgba(11, 18, 35, 0.65) 60%,
    transparent
  );
  border-bottom: 1px solid rgba(124, 156, 255, 0.08);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(124, 156, 255, 0.35);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(124, 156, 255, 0.08);
}

.hero {
  display: grid;
  place-items: center;
  padding: 96px 20px 56px;
  min-height: 60vh;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.3px;
}

.hero-subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-ctas {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  border: 1px solid rgba(124, 156, 255, 0.35);
  color: var(--text);
  background: linear-gradient(
    180deg,
    rgba(13, 20, 41, 0.9),
    rgba(13, 20, 41, 0.6)
  );
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
  box-shadow: 0 0 0 0 rgba(124, 156, 255, 0);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  border-color: transparent;
}

.btn-secondary {
  border-color: rgba(34, 211, 238, 0.45);
}

.btn-ghost {
  background: transparent;
}

.btn-small {
  padding: 8px 10px;
  font-size: 0.95rem;
}

.section {
  padding: 56px 20px;
}

.section.alt {
  background: linear-gradient(
    180deg,
    rgba(124, 156, 255, 0.06),
    rgba(34, 211, 238, 0.04)
  );
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 12px;
}
.lead {
  color: var(--muted);
  max-width: 72ch;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tag {
  color: var(--text);
  border: 1px dashed rgba(124, 156, 255, 0.35);
  background: rgba(124, 156, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.timeline-item {
  border: 1px solid rgba(124, 156, 255, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 35, 0.8),
    rgba(11, 18, 35, 0.5)
  );
}
.timeline-item .meta {
  color: var(--muted);
  font-size: 0.95rem;
  display: block;
  margin: 2px 0 6px;
}
.timeline-item ul {
  margin-left: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.card {
  border: 1px solid rgba(124, 156, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 35, 0.8),
    rgba(11, 18, 35, 0.5)
  );
}
.card p {
  color: var(--muted);
  margin: 6px 0 10px;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-list {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-list a {
  color: var(--primary);
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(124, 156, 255, 0.08);
  padding: 22px 20px 40px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    right: 20px;
    top: 56px;
    background: rgba(11, 18, 35, 0.95);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(124, 156, 255, 0.2);
    flex-direction: column;
  }
  .nav-links.show {
    display: flex;
  }
}
