/* Social Genie — static marketing site */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --violet: #7c3aed;
  --pink: #db2777;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #db2777 100%);
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none !important; font-family: inherit;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(79, 70, 229, .38); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }
.nav-cta { display: flex; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; background:
  radial-gradient(800px 400px at 85% -10%, rgba(124,58,237,.14), transparent 60%),
  radial-gradient(700px 400px at 0% 10%, rgba(37,99,235,.12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-note { font-size: .9rem; color: var(--muted); }
.page-hero { padding: 80px 0 64px; text-align: center; background:
  radial-gradient(700px 300px at 50% -20%, rgba(124,58,237,.14), transparent 70%); }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.12rem; color: var(--muted); }

/* Mock dashboard card */
.mock { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(15,23,42,.14); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mock-row img { width: 28px; height: 28px; border-radius: 6px; }
.mock-row .meta { flex: 1; }
.mock-row strong { display: block; color: var(--ink); font-size: .92rem; }
.mock-row small { color: var(--muted); font-size: .8rem; }
.pill { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-blue { background: #dbeafe; color: #1e40af; }
.pill-amber { background: #fef3c7; color: #92400e; }
.mock-caption { background: var(--primary-light); border-radius: 12px; padding: 14px; font-size: .88rem; color: var(--ink); }
.mock-caption b { color: var(--primary); }

/* Logos strip */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.platform { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--ink); }
.platform img { width: 26px; height: 26px; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; background: var(--primary-light); margin-bottom: 18px; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.reverse .feature-media { order: -1; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.feature-media { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 44px; }
.billing-toggle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; font-size: .95rem; }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.billing-toggle .save { color: #16a34a; font-size: .78rem; margin-left: 6px; }
.price-card { position: relative; display: flex; flex-direction: column; text-align: left; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 20px 44px rgba(79,70,229,.18); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price { font-size: 3rem; font-weight: 800; color: var(--ink); margin: 14px 0 0; line-height: 1; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: .88rem; min-height: 1.4em; margin: 8px 0 22px; }
.price-card ul { flex: 1; margin-bottom: 26px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-soft); color: var(--ink); }
.compare .group td { background: var(--primary-light); color: var(--primary-dark); font-weight: 700; text-align: left; }
.yes { color: #16a34a; font-weight: 800; }
.no { color: #cbd5e1; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA */
.cta { background: var(--gradient); border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff; }
.cta h2 { color: #fff; }
.cta p { opacity: .9; font-size: 1.1rem; margin-bottom: 28px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .92rem; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; padding: 14px 16px; border-radius: 10px; background: #dcfce7; color: #166534; font-weight: 600; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { margin: 0; flex-shrink: 0; }
.contact-item strong { color: var(--ink); display: block; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: .9rem; }
.toc strong { display: block; color: var(--ink); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--text); }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.45rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { margin-top: 1.4em; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-meta { color: var(--muted); font-size: .95rem; }
.callout { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 10px; padding: 18px 20px; margin: 20px 0; color: var(--ink); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .92rem; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--bg-soft); color: var(--ink); }

/* Footer */
.site-footer { background: #0b1020; color: #a5b0c7; padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 32px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #a5b0c7; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .feature-row, .legal-layout { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
}

/* Neutral channel badge (no third-party logos, per platform brand rules) */
.ch { display: inline-grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: #e2e8f0; color: #334155; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.icon .ch { width: 34px; height: 34px; font-size: .85rem; background: #fff; }
.trust-note { font-size: .85rem; color: var(--muted); max-width: 760px; margin: 18px auto 0; }
