/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad);
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 72px var(--container-pad) 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Section ── */
.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Card ── */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  text-decoration: none;
  color: inherit;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-icon);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Badges ── */
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-badge);
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-live {
  background: rgba(34, 197, 94, 0.12);
  color: var(--badge-live);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-wip {
  background: rgba(107, 114, 128, 0.12);
  color: var(--badge-wip);
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.badge-service {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ── About Strip ── */
.about-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.about-strip h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-strip p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.about-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* ── Placeholder Page ── */
.placeholder-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--container-pad);
  min-height: calc(100vh - var(--nav-height) - 80px);
}

.placeholder-page h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.placeholder-page p {
  color: var(--muted);
  font-size: 15px;
  max-width: 400px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn-outline {
  padding: 8px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  color: var(--text);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer p {
  font-size: 13px;
  color: var(--muted2);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--muted);
  text-decoration: none;
}

/* ── Page wrapper ── */
.page-main {
  padding: 48px 0 80px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-strip {
    grid-template-columns: 1fr;
  }

  .about-actions {
    align-items: flex-start;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px var(--container-pad) 36px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
