/* ============================================================
   FindInVideo – Static SEO Pages Stylesheet
   Plain CSS (no preprocessor). Follows STYLE_GUIDE.md tokens.
   Used by: /solutions/, /find-in-video/, etc.
   ============================================================ */

@font-face {
  font-family: 'Headlines';
  src: url('/assets/fonts/Headlines-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* --- Page wrapper --- */
.seo-page {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #282e38;
  background: #fafbfc;
  min-height: 100vh;
}

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

/* ── Navbar ──────────────────────────────────────────── */

.seo-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(40,46,56,0.1);
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.seo-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.seo-logo-img    { width: 36px; height: 36px; border-radius: 8px; }
.seo-logo-img-sm { width: 28px; height: 28px; border-radius: 6px; }

.seo-brand-text,
.seo-brand-text-sm {
  font-family: 'Headlines', 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.seo-brand-text    { font-size: 22px; }
.seo-brand-text-sm { font-size: 18px; }

.seo-brand-find  { color: #3D65AF; }
.seo-brand-in    { color: #0a84f1; }
.seo-brand-video { color: #00B8BB; }

.seo-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.seo-nav-link {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #5c6370;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-nav-link:hover { color: #282e38; }

.seo-nav-cta {
  font-family: 'Rubik', sans-serif;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}
.seo-nav-cta:hover {
  background: linear-gradient(119.52deg, #00B8BB -2.32%, #2372B8 24.34%, #3D65AF 84.39%);
  transform: translateY(-1px);
}

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

.seo-hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}

.seo-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  opacity: 0.06;
  z-index: 0;
}

.seo-hero-inner {
  position: relative;
  z-index: 1;
}

.seo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  font-family: 'Rubik', sans-serif;
}
.seo-breadcrumb a {
  color: #5c6370;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-breadcrumb a:hover { color: #282e38; }
.seo-breadcrumb-sep     { color: rgba(40,46,56,0.1); }
.seo-breadcrumb-current { color: #282e38; font-weight: 500; }

.seo-hero-h1 {
  font-family: 'Rubik', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  color: #282e38;
  max-width: 800px;
  margin-bottom: 20px;
}

.seo-hero-subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #5c6370;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 32px;
}

.seo-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 28px rgba(35,114,184,0.25);
}
.seo-hero-cta:hover {
  background: linear-gradient(119.52deg, #00B8BB -2.32%, #2372B8 24.34%, #3D65AF 84.39%);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(35,114,184,0.35);
}

/* ── Sections ────────────────────────────────────────── */

.seo-section     { padding: 72px 0; }
.seo-section-alt { background: #f5f7fa; }

.seo-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.seo-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.seo-section-title {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  background: linear-gradient(124.58deg, #3D65AF -71.92%, #2372B8 -32.03%, #00B8BB 57.79%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Intro text ──────────────────────────────────────── */

.seo-intro-text {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #5c6370;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* ── Steps grid ──────────────────────────────────────── */

.seo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.seo-step-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.seo-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

.seo-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.seo-step-num {
  font-family: 'Rubik', sans-serif;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(124.58deg, #3D65AF -71.92%, #2372B8 -32.03%, #00B8BB 57.79%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-step-ico {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(124.58deg, rgba(61,101,175,0.08) -57.52%, rgba(35,114,184,0.08) 3.4%, rgba(0,184,187,0.08) 99.76%);
}
.seo-step-ico i {
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
}

.seo-step-title {
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #282e38;
  margin-bottom: 10px;
}

.seo-step-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6370;
}

/* ── Use cases grid ──────────────────────────────────── */

.seo-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.seo-use-case-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 28px;
  border: 1px solid rgba(40,46,56,0.1);
  transition: all 0.3s;
}
.seo-use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,184,187,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.seo-uc-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}

.seo-uc-title {
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #282e38;
  margin-bottom: 10px;
}

.seo-uc-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6370;
}

/* ── FAQ (uses <details>/<summary> – zero JS) ────────── */

.seo-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.seo-faq-list details {
  border-bottom: 1px solid rgba(40,46,56,0.1);
}
.seo-faq-list details:first-child {
  border-top: 1px solid rgba(40,46,56,0.1);
}

.seo-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #282e38;
  list-style: none;
  transition: color 0.2s;
}
.seo-faq-list summary::-webkit-details-marker { display: none; }
.seo-faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #5c6370;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.seo-faq-list details[open] summary::after {
  content: '\2212'; /* minus sign */
  color: #2372B8;
}
.seo-faq-list summary:hover { color: #2372B8; }
.seo-faq-list details[open] summary { color: #2372B8; }

.seo-faq-answer {
  padding: 0 0 20px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #5c6370;
}

/* ── Related pages grid ──────────────────────────────── */

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.seo-related-card {
  display: block;
  background: #fff;
  border-radius: 6px;
  padding: 28px 24px;
  border: 1px solid rgba(40,46,56,0.1);
  text-decoration: none;
  transition: all 0.3s;
}
.seo-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,184,187,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.seo-related-card:hover .seo-related-link { color: #2372B8; }

.seo-related-title {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #282e38;
  margin-bottom: 8px;
}

.seo-related-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5c6370;
  margin-bottom: 16px;
}

.seo-related-link {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #00B8BB;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

/* ── CTA Band ────────────────────────────────────────── */

.seo-cta-band {
  padding: 72px 0;
  background: linear-gradient(124.58deg, #3D65AF -57.52%, #2372B8 3.4%, #00B8BB 99.76%);
  color: #fff;
}

.seo-cta-inner { text-align: center; }

.seo-cta-inner h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.seo-cta-inner p {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.seo-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}

.seo-btn-light {
  background: #fff;
  color: #282e38;
}
.seo-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.seo-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.seo-btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

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

.seo-footer {
  background: #1a1f2e;
  padding: 48px 0 24px;
}

.seo-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.seo-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-footer-tagline {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.seo-footer-links {
  display: flex;
  gap: 24px;
}
.seo-footer-links a {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.seo-footer-links a:hover { color: #fff; }

.seo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}
.seo-footer-bottom p {
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Solutions Hub Grid (2-column) ───────────────────── */

.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sol-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  padding: 32px 28px;
  border: 1px solid rgba(40,46,56,0.1);
  text-decoration: none;
  transition: all 0.3s;
}
.sol-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,184,187,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.sol-card:hover .sol-card-link { color: #2372B8; }

.sol-card-title {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #282e38;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sol-card-desc {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6370;
  flex: 1;
  margin-bottom: 16px;
}

.sol-card-link {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #00B8BB;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

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

@media (max-width: 991px) {
  .seo-hero-h1 { font-size: 40px; }

  .seo-steps-grid,
  .seo-use-cases-grid,
  .seo-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .seo-nav-links   { display: none; }
  .seo-hero         { padding: 56px 0 40px; }
  .seo-hero-h1      { font-size: 32px; }
  .seo-hero-subtitle { font-size: 17px; }
  .seo-section      { padding: 48px 0; }
  .seo-section-title { font-size: 26px; }
  .seo-cta-actions  { flex-direction: column; }
  .sol-grid         { grid-template-columns: 1fr; }

  .seo-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .seo-footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
