/* Nodeporter marketing site — shared styles */

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #2C2C2A;
  background: #f4f2eb;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Layout ---- */
.page { max-width: 1200px; margin: 0 auto; background: #fff; }

/* ---- Top banner ---- */
.top-banner {
  background: #185FA5;
  color: #fff;
  padding: 11px 40px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.top-banner .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FAC775;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---- Nav ---- */
.nav {
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #14215A;
  color: #fff;
}
.logo {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.current { color: #fff; font-weight: 500; }
.nav-cta {
  background: #fff;
  color: #14215A !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.nav-cta:hover { background: #F4F2EB; }

/* ---- Hero ---- */
.hero {
  background: #14215A;
  color: #fff;
  padding: 70px 50px 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #B5D4F4;
  font-weight: 600;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -1.2px;
  color: #fff;
}
.hero p {
  font-size: 17px;
  line-height: 1.55;
  color: #C9D2EA;
  margin: 0 0 28px;
}

/* ---- Waitlist form ---- */
.waitlist-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
  max-width: 480px;
  margin: 0 0 14px;
}
.waitlist-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.waitlist-form input::placeholder { color: rgba(201, 210, 234, 0.6); }
.waitlist-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
}
.waitlist-form button {
  background: #185FA5;
  color: #fff;
  border: 1px solid #185FA5;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.waitlist-form button:hover { background: #1d6fb8; border-color: #1d6fb8; }
.waitlist-form.success input,
.waitlist-form.success button { display: none; }
.waitlist-form .success-msg {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  width: 100%;
}
.waitlist-form.success .success-msg { display: block; }

.hero-fineprint {
  font-size: 12px;
  color: #B5D4F4;
  margin: 6px 0 0;
}

/* ---- Product preview card ---- */
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  color: #2C2C2A;
}
.prow {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0.5px solid #ececec;
  font-size: 13px;
}
.prow:last-child { border-bottom: 0; }
.prow-head {
  padding-bottom: 10px;
  border-bottom: 0.5px solid #ececec;
  font-size: 12px;
  color: #5F5E5A;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  min-width: 22px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.chip-cp { background: #185FA5; color: #fff; }
.chip-sp { background: #0F6E56; color: #fff; }
.status {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #E1F5EE;
  color: #0F6E56;
  font-weight: 500;
}
.status-warn { background: #FAEEDA; color: #854F0B; }

/* ---- Trust strip ---- */
.trust {
  padding: 36px 50px;
  background: #F4F2EB;
  text-align: center;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #888780;
  margin: 0 0 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.trust-row {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 15px;
  color: #5F5E5A;
}
.trust-sep { color: #C9D2EA; }

/* ---- Sections ---- */
.section { padding: 70px 50px; }
.section.alt { background: #F7F6F1; }
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #185FA5;
  font-weight: 600;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.section h2 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 12px;
  max-width: 620px;
  letter-spacing: -0.6px;
  color: #2C2C2A;
}
.section-lead {
  font-size: 16px;
  color: #5F5E5A;
  max-width: 620px;
  line-height: 1.6;
  margin: 0;
}

/* ---- How-it-works steps ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 38px;
}
.step {
  padding: 22px;
  border-left: 3px solid #185FA5;
  background: #F7F6F1;
  border-radius: 0 8px 8px 0;
}
.step-num {
  font-size: 12px;
  color: #185FA5;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.step-t {
  font-size: 17px;
  font-weight: 500;
  margin: 6px 0 6px;
  color: #2C2C2A;
}
.step-d {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.55;
  margin: 0;
}

/* ---- Feature grid ---- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 38px;
}
.features.cols-2 { grid-template-columns: 1fr 1fr; }
.feature {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  border: 0.5px solid #E3E1DA;
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #E6F1FB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #185FA5;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 14px;
}
.feature-t {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #2C2C2A;
}
.feature-d {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.6;
  margin: 0;
}
.feature-d ul { padding-left: 18px; margin: 8px 0 0; }
.feature-d li { margin: 4px 0; }

/* ---- Pricing ---- */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 38px;
}
.tier {
  background: #fff;
  border: 0.5px solid #E3E1DA;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  border: 2px solid #185FA5;
  background: #F8FBFE;
}
.tier-name {
  font-size: 11px;
  color: #5F5E5A;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.tier.featured .tier-name { color: #185FA5; }
.tier-price {
  font-size: 32px;
  color: #2C2C2A;
  font-weight: 500;
  margin: 0;
}
.tier-price small {
  font-size: 14px;
  color: #8C8B85;
  font-weight: 400;
}
.tier-d {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.55;
  margin: 6px 0 16px;
}
.tier-features {
  font-size: 13px;
  color: #2C2C2A;
  line-height: 1.85;
  margin: 0 0 18px;
  flex: 1;
}
.tier-features div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tier-bullet { color: #185FA5; font-weight: 600; }
.tier-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #E3E1DA;
  color: #2C2C2A;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}
.tier-cta:hover { background: #F7F6F1; }
.tier.featured .tier-cta {
  background: #185FA5;
  color: #fff;
  border-color: #185FA5;
}
.tier.featured .tier-cta:hover { background: #1d6fb8; }

/* ---- CTA band ---- */
.cta-band {
  background: #14215A;
  padding: 70px 50px;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
  color: #fff;
}
.cta-band p {
  font-size: 16px;
  color: #C9D2EA;
  max-width: 540px;
  margin: 0 auto 24px;
}
.cta-band .waitlist-form { margin: 0 auto; }

/* ---- Footer ---- */
.foot {
  padding: 30px 50px;
  background: #1B2748;
  color: #B5D4F4;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-cols {
  display: flex;
  gap: 24px;
}
.foot-cols a {
  color: #B5D4F4;
  transition: color 0.15s ease;
}
.foot-cols a:hover { color: #fff; }
.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8DA1D0;
}
.foot-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FAC775;
  display: inline-block;
}

/* ---- Sub-page header ---- */
.page-header {
  background: #14215A;
  color: #fff;
  padding: 60px 50px 70px;
}
.page-header .hero-eyebrow { color: #B5D4F4; }
.page-header h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -1px;
}
.page-header p {
  font-size: 17px;
  color: #C9D2EA;
  max-width: 660px;
  margin: 0;
  line-height: 1.55;
}

/* ---- Template gallery ---- */
.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.template-tile {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  border: 0.5px solid #E3E1DA;
}
.template-direction {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.template-direction .arrow {
  color: #8C8B85;
  font-size: 14px;
}
.template-name {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 6px;
  color: #2C2C2A;
}
.template-desc {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.55;
  margin: 0;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.filter-pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #E3E1DA;
  color: #5F5E5A;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
}
.filter-pill:hover {
  border-color: #B5D4F4;
  color: #2C2C2A;
}
.filter-pill.active {
  background: #E6F1FB;
  color: #185FA5;
  border-color: transparent;
  font-weight: 500;
}
.filter-pill.active:hover {
  background: #D5E5F5;
  color: #185FA5;
}

/* ---- FAQ ---- */
.faq { margin-top: 38px; max-width: 760px; }
.faq-item {
  padding: 22px 0;
  border-bottom: 0.5px solid #E3E1DA;
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #2C2C2A;
}
.faq-a {
  font-size: 14px;
  color: #5F5E5A;
  line-height: 1.65;
  margin: 0;
}

/* ---- Screenshot showcase ---- */
.screenshots {
  margin-top: 40px;
}
.screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
}
.screenshot-row + .screenshot-row {
  border-top: 0.5px solid #E3E1DA;
}
.screenshot-row.reverse .screenshot-img-col {
  order: 2;
}
.screenshot-row.reverse .screenshot-text-col {
  order: 1;
}
.screenshot-img-col img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 0.5px solid #E3E1DA;
  display: block;
}
.screenshot-num {
  font-size: 12px;
  color: #185FA5;
  font-weight: 600;
  letter-spacing: 1.6px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.screenshot-t {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #2C2C2A;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.screenshot-d {
  font-size: 15px;
  color: #5F5E5A;
  line-height: 1.65;
  margin: 0 0 14px;
}
.screenshot-d:last-child { margin-bottom: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .features,
  .features.cols-2,
  .pricing-row,
  .template-grid,
  .screenshot-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .screenshot-row.reverse .screenshot-img-col { order: 1; }
  .screenshot-row.reverse .screenshot-text-col { order: 2; }
  .screenshot-row { padding: 30px 0; }
  .screenshot-t { font-size: 22px; }
  .hero h1 { font-size: 36px; }
  .section h2 { font-size: 28px; }
  .page-header h1 { font-size: 30px; }
  .nav,
  .hero,
  .section,
  .cta-band,
  .foot,
  .top-banner,
  .trust,
  .page-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav-links { display: none; }
  .top-banner { font-size: 12px; padding: 9px 16px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
}
