/* Feedjot marketing site — www.feedjot.com
 * Stand-alone stylesheet; no shared dependency on /auth-assets or /app-assets.
 * Color tokens kept aligned with public/auth/styles.css and public/app/styles.css. */

:root {
  --accent:        #2563eb;
  --accent-hover:  #1d4ed8;
  --accent-soft:   #dbeafe;
  --highlight:     #f59e0b;
  --text:          #111827;
  --text-muted:    #6b7280;
  --text-faint:    #9ca3af;
  --border:        #e5e7eb;
  --bg:            #f9fafb;
  --bg-white:      #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ── Nav ──────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { display: block; flex-shrink: 0; }

.nav-spacer { flex: 1; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--accent-hover); color: white; text-decoration: none; }

/* ── Shared layout ────────────────────────────────────────────── */

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

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  padding: 96px 24px 88px;
  text-align: center;
  background: var(--bg-white);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 auto 20px;
  max-width: 700px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin: 0 auto 40px;
  max-width: 540px;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); color: white; text-decoration: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text); text-decoration: none; }

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ── Product preview / screenshot area ───────────────────────── */

.preview-band {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
}

.preview-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.preview-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.preview-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.mock-composer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-post {
  display: flex;
  gap: 10px;
}

.mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.mock-bubble {
  flex: 1;
  min-height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mock-connector {
  width: 2px;
  height: 14px;
  background: var(--border);
  margin-left: 16px;
}

.mock-schedule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 8px;
}

.mock-clock {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-schedule-label {
  font-size: 12px;
  color: var(--text-muted);
}

.mock-schedule-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-left: auto;
}

.mock-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.mock-pill.scheduled { background: #fef3c7; color: #d97706; }
.mock-pill.posted    { background: #d1fae5; color: #059669; }
.mock-pill.draft     { background: var(--bg); color: var(--text-faint); border: 1px solid var(--border); }

.mock-thread-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-thread-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
}
.mock-thread-row:last-child { border-bottom: none; }

.mock-thread-title {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Features ─────────────────────────────────────────────────── */

.features {
  padding: 80px 24px;
  background: var(--bg-white);
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 auto 16px;
  max-width: 640px;
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 26px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}
.feature-icon.blue   { background: var(--accent-soft); }
.feature-icon.amber  { background: #fef3c7; }
.feature-icon.green  { background: #d1fae5; }
.feature-icon.purple { background: #ede9fe; }
.feature-icon.rose   { background: #ffe4e6; }
.feature-icon.sky    { background: #e0f2fe; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Pricing ──────────────────────────────────────────────────── */

.pricing {
  padding: 80px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}

.pricing-price sup {
  font-size: 22px;
  font-weight: 700;
  vertical-align: top;
  padding-top: 8px;
}

.pricing-cadence {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 1px;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.pricing-cta.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.pricing-cta.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: white;
  text-decoration: none;
}

.pricing-cta.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--border);
}
.pricing-cta.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* ── Testimonial / trust strip ────────────────────────────────── */

.trust-band {
  padding: 64px 24px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  text-align: center;
}

.trust-heading {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.trust-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 36px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.trust-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Closing CTA ──────────────────────────────────────────────── */

.cta-band {
  padding: 96px 24px;
  background: var(--accent);
  text-align: center;
}

.cta-band h2 {
  margin: 0 auto 16px;
  max-width: 560px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: white;
}

.cta-band p {
  margin: 0 auto 36px;
  max-width: 400px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: var(--accent);
  background: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background: #f0f6ff;
  color: var(--accent-hover);
  text-decoration: none;
}

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--text);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-brand:hover { color: white; text-decoration: none; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
  margin-top: 4px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.9); }

.footer-copy {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero { padding: 64px 20px 56px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }

  .preview-inner {
    grid-template-columns: 1fr;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .site-nav { padding: 0 16px; }
  .hero { padding: 52px 16px 44px; }
  .features { padding: 56px 16px; }
  .pricing { padding: 56px 16px; }
  .cta-band { padding: 72px 16px; }
  .hero h1 { font-size: 30px; }
  .section-heading { font-size: 26px; }
  .preview-band { padding: 44px 16px; }
}
