/* ==========================================================================
   KGKV LLC — shared detail-page stylesheet (kgkv-detail.css)
   One stylesheet for every app detail page. Elevated to match the homepage.
   Link in each page <head>:  <link rel="stylesheet" href="/kgkv-detail.css">
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0B0B12;
  --ink2:   #12121F;
  --slate:  #424A5C;
  --muted:  #6B7384;
  --border: #E8ECF2;
  --bg:     #FBFCFE;
  --bg2:    #F4F6FA;
  --white:  #FFFFFF;
  --accent: #6C63FF;
  --accent2:#4F46E5;
  --green:  #16A34A;
  --amber:  #D97706;
  --teal:   #0EA5E9;
  --shadow: 0 1px 3px rgba(16,24,40,.04), 0 1px 2px rgba(16,24,40,.03);
  --shadow-lg: 0 20px 48px -12px rgba(16,24,40,.16);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,252,254,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 15px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.3px; }
.nav-brand span { color: var(--accent); }
.nav-cta { font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); padding: 9px 17px; border-radius: 9px; text-decoration: none; transition: background .15s, transform .1s; }
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--slate); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* ── HERO ── */
.hero { max-width: 820px; margin: 0 auto; padding: 80px 24px 56px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px;
  background: rgba(108,99,255,.08); padding: 6px 14px; border-radius: 20px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 22px; color: var(--ink); }
.hero-desc { font-size: 18px; color: var(--slate); line-height: 1.7; margin: 0 auto 32px; max-width: 620px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 14px 28px; border-radius: 11px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background .15s, transform .12s, box-shadow .15s; box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); border: 1px solid var(--border);
  padding: 14px 26px; border-radius: 11px; font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-shot { display: block; max-width: 280px; width: 100%; margin: 44px auto 0; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ── SECTIONS ── */
section { padding: 64px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; text-align: center; }
.section-label::before { content: '// '; opacity: .5; }
.section-title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin-bottom: 36px; text-align: center; }
.section-desc { font-size: 16px; color: var(--slate); max-width: 580px; line-height: 1.7; margin: 0 auto 36px; text-align: center; }

/* ── VALUE LIST ── */
.value-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.value-list li { font-size: 16px; color: var(--slate); line-height: 1.7; padding: 18px 20px 18px 48px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; position: relative; box-shadow: var(--shadow); }
.value-list li::before { content: '✓'; position: absolute; left: 18px; top: 18px; color: var(--green); font-weight: 800; }
.value-list strong { color: var(--ink); font-weight: 700; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.step-desc { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* ── FEATURES ── */
.feat-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px; transition: box-shadow .18s, transform .18s, border-color .18s; }
.feat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(108,99,255,.28); }
.feat-icon { font-size: 26px; margin-bottom: 12px; }
.feat-title { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: -.01em; }
.feat-desc { font-size: 13.5px; color: var(--slate); line-height: 1.6; }

/* ── SCREENSHOT STRIP ── */
.shots-strip { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.shots-strip img { width: 230px; max-width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ── COMPARE TABLE ── */
.compare-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-weight: 700; color: var(--ink); font-size: 13px; background: var(--bg2); }
.compare-table td:first-child { color: var(--slate); font-weight: 500; }
.compare-table .rp-col, .compare-table .fp-col, .compare-table .wp-col, .compare-table .hcp-col,
.compare-table .pp-col, .compare-table .lp-col, .compare-table .hp-col, .compare-table .ps-col,
.compare-table .bb-col, .compare-table .cp-col {
  background: rgba(108,99,255,.05); color: var(--ink); font-weight: 600;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-foot { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; text-align: center; }
.compare-honest { font-size: 13.5px; color: var(--slate); margin-top: 14px; line-height: 1.7; max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; font-style: italic; }

/* ── PRICING ── */
.pricing-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 720px; margin: 0 auto; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.price-card.pro { border-color: var(--accent); border-width: 2px; position: relative; }
.price-card.pro::before { content: 'Most popular'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 20px; }
.price-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.price-val { font-size: 40px; font-weight: 900; color: var(--ink); letter-spacing: -.03em; margin-bottom: 4px; }
.price-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.price-list li { font-size: 14px; color: var(--slate); padding-left: 26px; position: relative; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ── FAQ ── */
.faq-section { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq-q { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.faq-a { font-size: 14.5px; color: var(--slate); line-height: 1.7; }

/* ── CTA ── */
.cta-section { background: var(--ink2); position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content:''; position:absolute; top:-50%; left:50%; transform:translateX(-50%); width:600px; height:600px; background: radial-gradient(circle, rgba(108,99,255,.18), transparent 70%); pointer-events:none; }
.cta-section h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: #fff; letter-spacing: -.025em; margin-bottom: 14px; position: relative; }
.cta-section p { font-size: 16.5px; color: rgba(255,255,255,.6); margin-bottom: 28px; position: relative; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--accent); position: relative; }
.cta-section .btn-primary:hover { background: var(--accent2); }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 34px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-brand span { color: var(--accent); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,.75); }

/* ── COMING SOON pill (for not-yet-live apps' CTAs) ── */
.btn-soon { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,119,6,.1); color: var(--amber); padding: 14px 28px; border-radius: 11px; font-size: 14.5px; font-weight: 700; border: 1px solid rgba(217,119,6,.25); cursor: default; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 56px 20px 40px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav { padding: 14px 18px; }
}
