/* FoundByAI website - centrale stylesheet */
:root {
  --primary: #1E1B4B;
  --primary-hover: #2A267A;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --text: #0F172A;
  --muted: #475569;
  --border: #E5E7EB;
  --container: 1120px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; color: var(--text); display: inline-flex; align-items: baseline; gap: 6px; }
.brand .accent-dot { color: var(--accent); }
.brand .tagline { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 8px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 14px; color: var(--text); border-radius: 8px; font-weight: 500; transition: background 0.15s, color 0.15s; }
.nav a:hover { background: var(--surface); text-decoration: none; }
.nav a.active { color: var(--primary); background: rgba(30, 27, 75, 0.06); }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; font-size: 14px; font-weight: 600; line-height: 1; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s; text-decoration: none; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-ghost { color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; color: var(--text); }
.nav-toggle svg { display: block; }

/* Page header */
.page-header { padding: 56px 0 24px; }
.page-header h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.6px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.page-header .lede { font-size: 18px; color: var(--muted); max-width: 720px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }

/* Hero */
.hero { padding: 80px 0 56px; position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 60%, #f8fafc 100%); }
.hero::before { content: ""; position: absolute; top: -180px; right: -180px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%); pointer-events: none; z-index: 0; }
.hero::after { content: ""; position: absolute; bottom: -120px; left: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(30, 27, 75, 0.10) 0%, rgba(30, 27, 75, 0) 70%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.8px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.hero ul.bullet { list-style: none; padding: 0; margin: 28px 0; max-width: 780px; }
.hero ul.bullet li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text); }
.hero ul.bullet li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); opacity: 0.18; }
.hero ul.bullet li::after { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Headings inside content */
h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.4px; font-weight: 700; color: var(--primary); margin-bottom: 18px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--text); margin-bottom: 10px; }
p { margin-bottom: 14px; color: var(--text); }
.muted { color: var(--muted); }

/* Cards & grids */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow 0.15s, transform 0.15s; }
.card:hover { box-shadow: var(--shadow); }
.card.surface { background: var(--surface); }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Two-column promise / non-promise */
.promise-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
.promise-card.yes { border-left: 4px solid var(--accent); }
.promise-card.no { border-left: 4px solid #94a3b8; }
.promise-card h3 { margin-bottom: 14px; }
.promise-card ul { padding-left: 1.2em; color: var(--muted); }

/* Score block */
.score-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .score-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .score-grid { grid-template-columns: repeat(4, 1fr); } }
.score-card { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.score-card .pts { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.score-card h3 { font-size: 16px; margin-bottom: 6px; }
.score-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* Sector cards */
.sector-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); }
.sector-card h3 { color: var(--primary); margin-bottom: 8px; }

/* Steps - numbered */
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step .step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; }
.step h3 { margin-bottom: 6px; color: var(--primary); }
.step ul { color: var(--muted); margin-top: 6px; }

/* FAQ details/summary */
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; }
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary { font-weight: 600; font-size: 16px; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform 0.2s; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Bottom CTA section */
.bottom-cta { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.bottom-cta h2 { color: #fff; margin-bottom: 12px; }
.bottom-cta p { color: rgba(255, 255, 255, 0.85); max-width: 580px; margin-left: auto; margin-right: auto; margin-bottom: 22px; }
.bottom-cta .btn-primary { background: var(--accent); border-color: var(--accent); }
.bottom-cta .small { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; margin-top: 64px; color: var(--muted); font-size: 13px; }
.site-footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--primary); }
.site-footer .legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* Pricing teaser */
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 720px; margin: 0 auto; }
.pricing-card h3 { color: var(--primary); margin-bottom: 10px; }

/* Mobile */
@media (max-width: 800px) {
  .hero h1 { font-size: 34px; }
  .page-header h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; align-items: stretch; gap: 4px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin-top: 8px; text-align: center; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 40px 0; }
  .bottom-cta { padding: 32px 20px; }
}
