/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] { display: none !important; }

:root {
  --bg:        #0d1117;
  --surface:   #131d2e;
  --elevated:  #1a2540;
  --border:    rgba(255,255,255,0.08);
  --border-em: rgba(255,255,255,0.14);
  --text:      #e2e8f0;
  --muted:     #6b8098;
  --accent:    #22d3ee;
  --amber:     #fbbf24;
  --gray:      #6b7280;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'IBM Plex Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(13, 15, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-pint { color: var(--accent); }
.logo-tld  { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

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

.btn-nav {
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  color: var(--bg) !important;
  background-color: var(--accent);
  padding: 6px 14px;
  border-radius: 3px;
  font-weight: 500;
  transition: opacity 0.15s !important;
}

.btn-nav:hover {
  opacity: 0.88;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: opacity 0.15s;
}

.nav-mobile-menu {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-mobile-menu a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(34,211,238,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
}

#hero .container {
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background-color: var(--accent);
  padding: 11px 22px;
  border-radius: 3px;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  border: 1px solid var(--border-em);
  padding: 11px 22px;
  border-radius: 3px;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.meta-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  width: fit-content;
}

.meta-item {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  gap: 3px;
}

.meta-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.meta-divider {
  width: 1px;
  align-self: stretch;
  background-color: var(--border);
}

/* ============================================================
   SUITE
   ============================================================ */
#suite {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.suite-card {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--surface);
  position: relative;
}

.suite-card:nth-child(1),
.suite-card:nth-child(2) {
  border-bottom: 1px solid var(--border);
}

.suite-card:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.suite-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suite-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.suite-tool-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.suite-platform {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.suite-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.suite-card-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
  transition: opacity 0.15s;
  align-self: flex-start;
}

.suite-card-link:hover {
  opacity: 0.7;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-available {
  background-color: rgba(34,211,238,0.1);
  color: var(--accent);
}
.badge-available .badge-dot { background-color: var(--accent); }

.badge-early {
  background-color: rgba(251,191,36,0.1);
  color: var(--amber);
}
.badge-early .badge-dot { background-color: var(--amber); }

.badge-planned {
  background-color: rgba(107,114,128,0.12);
  color: var(--gray);
}
.badge-planned .badge-dot { background-color: var(--gray); }

/* ============================================================
   FEATURES
   ============================================================ */
#features {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.features-header {
  margin-bottom: 48px;
}

.features-headline {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}

.features-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px 24px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.feature-item:nth-child(even) {
  border-right: none;
}

.feature-item:nth-last-child(1),
.feature-item:nth-last-child(2) {
  border-bottom: none;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
  padding-top: 2px;
}

.feature-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

.version-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  flex-wrap: wrap;
}

.version-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background-color: rgba(34,211,238,0.08);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.version-detail {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}

.btn-small {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--bg);
  background-color: var(--accent);
  padding: 6px 14px;
  border-radius: 3px;
  transition: opacity 0.15s;
  white-space: nowrap;
  margin-left: auto;
}

.btn-small:hover {
  opacity: 0.88;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
#screenshots {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.screenshots-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
}

.screenshot-item img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshot-item figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .screenshots-scroll {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ROADMAP
   ============================================================ */
#roadmap {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.roadmap-table {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.roadmap-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s;
}

.roadmap-row:last-child {
  border-bottom: none;
}

.roadmap-row:hover {
  background-color: var(--elevated);
}

.roadmap-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 2px;
  text-align: center;
}

.tag-shipped { background: rgba(34,211,238,0.1); color: var(--accent); }
.tag-next    { background: rgba(251,191,36,0.1);  color: var(--amber); }
.tag-soon    { background: rgba(251,191,36,0.08); color: var(--amber); }
.tag-future  { background: rgba(107,114,128,0.1); color: var(--gray);  }

.roadmap-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.roadmap-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.status-shipped  { color: var(--accent); }
.status-progress { color: var(--amber); }
.status-early    { color: var(--amber); }
.status-planned  { color: var(--gray);  }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 680px;
}

.about-body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 2px;
  transition: border-color 0.15s, color 0.15s;
}

.tag:hover {
  border-color: var(--border-em);
  color: var(--text);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: lb-in 0.15s ease;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 3px;
  border: 1px solid var(--border-em);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  cursor: default;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid var(--border-em);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.15s;
}

#lightbox-close:hover {
  opacity: 1;
}

.screenshot-item img {
  cursor: zoom-in;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
}

.footer-accent { color: var(--accent); }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-email:hover {
  color: var(--text);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted);
  opacity: 0.6;
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  opacity: 0.4;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-sub .br-desktop {
    display: none;
  }

  .meta-strip {
    width: 100%;
    overflow-x: auto;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

  .suite-card:nth-child(odd) {
    border-right: none;
  }

  .suite-card:nth-child(1),
  .suite-card:nth-child(2),
  .suite-card:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }

  .suite-card:last-child {
    border-bottom: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none !important;
  }

  .feature-item:nth-last-child(2) {
    border-bottom: 1px solid var(--border) !important;
  }

  .roadmap-row {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }

  .roadmap-status {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-right {
    align-items: flex-start;
  }

  .version-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-small {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  #hero {
    padding: 64px 0 56px;
  }

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