/* Validex — Space Grotesk, navy/teal, minimal */
:root {
  --navy: #0F2B46;
  --teal: #0FA3A3;
  --teal-dark: #0d8f8f;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FA;
  --text: #0B1220;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(15, 43, 70, 0.06);
  --shadow-hover: 0 4px 16px rgba(15, 43, 70, 0.1);
  --max-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 560px; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo-link { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--teal); }
.nav-cta { padding: 0.5rem 1rem; border-radius: 8px; }
.nav-cta-primary { background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff !important; }
.nav-cta-primary:hover { opacity: 0.9; color: #fff !important; }
.menu-toggle { display: none; width: 32px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F2B46'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center no-repeat; border: none; cursor: pointer; }

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F2B46'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E"); }
  .mobile-nav.open { display: flex; }
}
.mobile-nav { display: none; flex-direction: column; padding: 1.5rem; gap: 0.75rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.mobile-nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 0.5rem 0; }

/* Hero */
.hero { padding: 5rem 0 4rem; text-align: center; background: var(--bg-alt); }
.hero-slogan { font-size: 1rem; font-weight: 600; color: var(--teal); letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 0.5rem; }
.hero-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; color: var(--navy); margin: 0 0 1rem; line-height: 1.2; }
.hero-sub { font-size: 1.2rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.btn { display: inline-block; padding: 0.875rem 1.75rem; border-radius: var(--radius); font-family: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: box-shadow 0.2s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-hover); }
.btn-secondary { background: #fff; color: var(--navy); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; text-align: center; }
.social-proof { padding-top: 2rem; border-top: 1px solid var(--border); }
.social-label { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.placeholder-logos { font-size: 0.9rem; color: var(--text-muted); }

/* Sections */
.section { padding: 4rem 0; }
.section:nth-child(even) { background: var(--bg-alt); }
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--navy); margin: 0 0 2rem; text-align: center; }
.section-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 720px; margin: 0 auto; text-align: center; line-height: 1.7; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step { background: #fff; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.step-num { display: inline-block; width: 36px; height: 36px; line-height: 36px; text-align: center; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; border-radius: 10px; font-weight: 700; margin-bottom: 0.75rem; }
.step h3 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--navy); }
.step p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Audience */
.audience-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.audience-card { background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.audience-card h3 { margin: 0 0 0.5rem; color: var(--navy); font-size: 1.25rem; }
.audience-card p { margin: 0; color: var(--text-muted); }

/* AI gap section */
.ai-gap-intro { font-size: 1.15rem; color: var(--text-muted); text-align: center; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.5; }
.ai-gap-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) { .ai-gap-split { grid-template-columns: 1fr; } }
.ai-gap-card { background: #fff; padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ai-gap-card-left { border-left: 4px solid var(--text-muted); }
.ai-gap-card-right { border-left: 4px solid var(--teal); }
.ai-gap-card-title { margin: 0 0 0.25rem; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.ai-gap-card-sub { margin: 0 0 1rem; font-size: 0.85rem; color: var(--teal); font-weight: 500; }
.ai-gap-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.ai-gap-list li { padding: 0.35rem 0; font-size: 0.95rem; color: var(--text); position: relative; padding-left: 1.25rem; }
.ai-gap-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); }
.ai-gap-card-right .ai-gap-list li::before { background: var(--teal); }
.ai-gap-card-note { margin: 0; font-size: 0.875rem; color: var(--text-muted); font-style: italic; }
.ai-gap-cta { margin-top: 2rem; padding: 1.25rem 1.5rem; background: linear-gradient(135deg, rgba(15, 43, 70, 0.04), rgba(15, 163, 163, 0.06)); border-radius: var(--radius-lg); border: 1px solid var(--border); max-width: 640px; margin-left: auto; margin-right: auto; }
.ai-gap-cta-text { margin: 0; font-size: 1rem; color: var(--text); text-align: center; line-height: 1.5; }
.ai-gap-cta-text strong { color: var(--navy); }

/* Outputs */
.output-list { list-style: none; padding: 0; margin: 0; max-width: 560px; margin: 0 auto; }
.output-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.output-list li:last-child { border-bottom: none; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq-item h4 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--navy); }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.faq-item a { color: var(--teal); }

/* Page */
.page-main { padding: 4rem 0; }
.page-title { font-size: 2rem; font-weight: 700; color: var(--navy); margin: 0 0 0.5rem; }
.page-lead { color: var(--text-muted); margin-bottom: 2rem; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.label { font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.required { color: var(--teal); }
.input { padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 163, 163, 0.15); }
.textarea { min-height: 100px; resize: vertical; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; font-size: 0.95rem; }
.checkbox-label input { margin-top: 0.25rem; }
.form-error { padding: 1rem; background: #fef2f2; color: #b91c1c; border-radius: var(--radius); }
.form-success { text-align: center; padding: 2rem 0; }
.form-success h1 { font-size: 1.75rem; color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); margin-bottom: 1.5rem; }
.link-back { color: var(--teal); text-decoration: none; font-weight: 500; }
.link-back:hover { text-decoration: underline; }

/* Legal */
.legal h1 { font-size: 1.75rem; color: var(--navy); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--navy); }
.legal p { color: var(--text-muted); margin-bottom: 1rem; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 3rem 0 0; margin-top: 4rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-bottom: 2rem; }
.footer-logo { height: 28px; opacity: 0.9; }
.footer-tagline { margin: 0.5rem 0 0; font-size: 0.9rem; opacity: 0.85; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: #fff; text-decoration: none; opacity: 0.9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.875rem; opacity: 0.8; }

/* Toast */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--navy); color: #fff; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-size: 0.9rem; box-shadow: var(--shadow-hover); opacity: 0; transition: transform 0.3s, opacity 0.3s; z-index: 1000; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Admin */
.admin-body { background: var(--bg-alt); min-height: 100vh; }
