/* Konduit landing page — Sprint 10 SS-B1
   Brand colors: --green = #53FC18 (Konduit primary, matches Kick green
   in upsell-modal-cta). Dark theme. WCAG AA contrast on body text. */

:root {
  --bg: #0d0d14;
  --bg-elev: #14141d;
  --bg-card: #1a1a25;
  --fg: #f0f0f8;
  --fg-mute: rgba(240, 240, 248, 0.65);
  --fg-faint: rgba(240, 240, 248, 0.45);
  --green: #53FC18;
  --green-glow: rgba(83, 252, 24, 0.18);
  --divider: rgba(255, 255, 255, 0.08);
  --divider-strong: rgba(255, 255, 255, 0.18);
  --max-content: 1100px;
  --space: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--space);
}

/* Header ---------------------------------------------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand-mark {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.brand-word {
  font-size: 17px;
}

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

.nav a {
  color: var(--fg-mute);
  font-weight: 500;
  font-size: 15px;
}

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

/* Buttons -------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: #0a0a10;
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px var(--green-glow), 0 0 0 1px var(--green);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--fg);
  border: 1px solid var(--divider-strong);
}

.btn-secondary:hover {
  background: var(--bg-elev);
  border-color: var(--green);
  color: var(--green);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--divider-strong);
  padding: 8px 16px;
  font-size: 14px;
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* Hero ----------------------------------------------- */

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.accent {
  color: var(--green);
  text-shadow: 0 0 30px var(--green-glow);
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--fg-mute);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-cta-note {
  color: var(--fg-faint);
  font-size: 13px;
}

.hero-platforms {
  color: var(--fg-faint);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.hero-platforms strong {
  color: var(--fg-mute);
  font-weight: 600;
}

/* Sections ------------------------------------------- */

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 12px;
}

.section-sub {
  text-align: center;
  color: var(--fg-mute);
  font-size: 17px;
  margin: 0 auto 56px;
  max-width: 540px;
}

/* Features ------------------------------------------- */

.features {
  padding: 80px 0;
  background: var(--bg-elev);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--fg-mute);
  font-size: 15px;
  line-height: 1.55;
}

/* Pricing -------------------------------------------- */

.pricing { padding: 80px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 24px;
  justify-content: center;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--green);
  box-shadow: 0 0 40px var(--green-glow);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #0a0a10;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 6px;
}

.price-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fg);
}

.price-amount {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--fg);
}

.price-amount span {
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-mute);
}

.price-savings {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin: -10px 0 16px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--fg-mute);
  line-height: 1.85;
  flex-grow: 1;
}

.price-features li {
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  position: absolute;
  left: 0;
}

.pricing-fineprint {
  text-align: center;
  color: var(--fg-faint);
  font-size: 13px;
  max-width: 600px;
  margin: 36px auto 0;
}

/* FAQ ------------------------------------------------ */

.faq {
  padding: 80px 0;
  background: var(--bg-elev);
}

.faq-item {
  border-bottom: 1px solid var(--divider);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--fg);
}

.faq-item p {
  margin: 0;
  color: var(--fg-mute);
  font-size: 15px;
  line-height: 1.65;
}

/* CTA-final ------------------------------------------ */

.cta-final {
  padding: 80px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.cta-final-note {
  color: var(--fg-faint);
  font-size: 13px;
  margin-top: 12px;
}

/* Footer --------------------------------------------- */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--divider);
  padding: 40px 0 32px;
  margin-top: auto;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-footer {
  font-size: 14px;
}

.footer-tagline {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--fg-faint);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  color: var(--fg-mute);
  font-size: 14px;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--fg-faint);
}

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { padding: 8px 14px; }
  .hero { padding: 60px 0 48px; }
  .features, .pricing, .faq, .cta-final { padding: 56px 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
