/* public/css/home.css */

:root {
  --bg: #050816;
  --bg-alt: #060b1b;
  --bg-soft: #0b1120;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-strong: #0ea5e9;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;
  --danger: #f97373;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

/* Header / footer */

header,
footer {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: none;
  color: var(--text-muted);
  text-align: center;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.75),
    transparent
  );
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f9fafb, #38bdf8 35%, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 25px rgba(56, 189, 248, 0.55);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 18px;
}

.brand-text-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

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

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.nav-spacer {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-main);
  cursor: pointer;
  gap: 6px;
  transition: background 0.16s ease, border-color 0.16s ease,
    transform 0.06s ease;
}

.btn:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.8);
  transform: translateY(-0.5px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #0b1120;
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
}

/* Main layout */

.home-main {
  padding: 32px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-copy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.45);
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--accent);
}

.hero-pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    #fefce8,
    #22c55e 40%,
    #0f172a
  );
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.75);
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero-gradient-text {
  background: linear-gradient(120deg, #fbbf24, #f97316, #38bdf8);
  background-clip: text; /* standard property */
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 470px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-footnote {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-footnote strong {
  color: #e5e7eb;
}

/* AI / Ethics band */

.ai-banner {
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.7);
  background: radial-gradient(
      circle at 0 0,
      rgba(16, 185, 129, 0.35),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.ai-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.86);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ai-text {
  color: #d1fae5;
}

/* Hero right panel */

.hero-panel {
  border-radius: 24px;
  padding: 16px;
  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.25),
      transparent 55%
    ),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), #020617);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.pill-mini {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 11px;
}

.cards-row {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.hero-metric-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 10px 11px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hero-metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-metric-value {
  font-size: 20px;
  font-weight: 600;
}

.hero-metric-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
}

.mini-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Sections */

.section {
  margin-top: 40px;
}

.section-heading {
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 540px;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .grid-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
}

.feature-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 6px;
}

.feature-title {
  font-size: 15px;
  margin: 0 0 6px;
}

.feature-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.feature-list li {
  margin-bottom: 4px;
}

/* How it works */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 840px) {
  .how-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.how-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(55, 65, 81, 0.9);
  padding: 14px;
  font-size: 13px;
}

.how-step {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.how-title {
  margin: 0 0 4px;
  font-size: 14px;
}

.how-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Upgrade card (for unpaid actors) */

.upgrade-card {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: radial-gradient(
      circle at top left,
      rgba(251, 191, 36, 0.25),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.95);
  padding: 16px 16px 14px;
}

.upgrade-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.upgrade-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.badge-unpaid {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(248, 250, 252, 0.06);
  color: #facc15;
  margin-bottom: 6px;
}

/* CTA strip */

.cta-strip {
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.28),
    rgba(8, 47, 73, 0.98)
  );
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.cta-strip strong {
  color: #f9fafb;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer */

footer {
  padding: 16px 20px 22px;
  font-size: 12px;
}

.footer-links {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
}

.footer-link:hover {
  color: #e5e7eb;
}

/* Pricing section helpers */
.pricing-grid { margin-top: 1rem; }
.pricing-actions { margin-top: 1rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.pricing-addons { margin-top: 1.25rem; }
.section-miniheading { margin: 0 0 .75rem; font-size: 1.1rem; opacity: .92; }
.pricing-fineprint { margin: .9rem 0 0; opacity: .78; font-size: .95rem; line-height: 1.4; }
