/*
 * Shared styles for the static, fully-crawlable marketing pages under
 * frontend/src/seo/. These pages are plain HTML on purpose: they must render
 * complete content without executing the Angular bundle.
 *
 * Copied into the build output by the `src/seo` asset glob in angular.json.
 */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a202c;
  line-height: 1.6;
}

a { color: #667eea; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Nav */
nav { background: #1a202c; padding: 16px 0; }
nav .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
nav .brand { color: #fff; font-size: 1.4rem; font-weight: 700; }
nav .brand:hover { text-decoration: none; }
nav .nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
nav .nav-links a { color: #cbd5e0; font-size: 0.92rem; }
nav .nav-cta { background: #667eea; color: #fff; padding: 10px 24px; border-radius: 8px; font-weight: 600; }
nav .nav-cta:hover { background: #5a6fd6; text-decoration: none; }

/* Breadcrumbs */
.breadcrumbs { background: #f8fafc; padding: 12px 0; font-size: 0.86rem; color: #718096; border-bottom: 1px solid #e2e8f0; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs li::after { content: '/'; margin-left: 8px; color: #cbd5e0; }
.breadcrumbs li:last-child::after { content: ''; }

/* Hero */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 72px 0; text-align: center; }
.hero h1 { font-size: 2.6rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero p.lede { font-size: 1.18rem; opacity: 0.93; max-width: 720px; margin: 0 auto 36px; }
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; }
.btn-primary { background: #fff; color: #667eea; }
.btn-primary:hover { background: #f0f0ff; text-decoration: none; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.btn-solid { background: #667eea; color: #fff; }
.btn-solid:hover { background: #5a6fd6; text-decoration: none; }

/* Sections */
section { padding: 72px 0; }
section:nth-of-type(even) { background: #f8fafc; }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: 2.1rem; font-weight: 600; margin-bottom: 14px; }
.section-title p { font-size: 1.08rem; color: #718096; max-width: 640px; margin: 0 auto; }

/* Long-form article body */
.prose h2 { font-size: 1.8rem; font-weight: 600; margin: 48px 0 16px; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: #2d3748; }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: #2d3748; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #1a202c; }
.prose > h2:first-child { margin-top: 0; }

.callout { background: #eef2ff; border-left: 4px solid #667eea; border-radius: 8px; padding: 20px 24px; margin: 28px 0; }
.callout p { margin-bottom: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-left: 4px solid #667eea; }
.card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: #718096; font-size: 0.95rem; line-height: 1.7; }

/* Tables */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 0.95rem; }
th { background: #1a202c; color: #fff; font-weight: 600; }
th.fq { background: linear-gradient(135deg, #667eea, #764ba2); }
td.fq { background: rgba(102,126,234,0.05); font-weight: 500; }
tr:last-child td { border-bottom: none; }
.check { color: #10b981; } .cross { color: #ef4444; } .minus { color: #f59e0b; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; padding: 24px 28px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.faq-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.faq-item p { color: #4a5568; font-size: 0.95rem; }

/* Calculator */
.calc { background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); max-width: 620px; margin: 0 auto; }
.calc label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.calc .field { margin-bottom: 20px; }
.calc .hint { font-size: 0.83rem; color: #718096; font-weight: 400; margin-top: 4px; }
.calc input { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e0; border-radius: 8px; font-size: 1rem; font-family: inherit; }
.calc input:focus { outline: 2px solid #667eea; outline-offset: -1px; border-color: #667eea; }
.calc-result { margin-top: 24px; padding: 24px; border-radius: 10px; background: #f8fafc; text-align: center; }
.calc-result .big { font-size: 2.6rem; font-weight: 700; color: #667eea; line-height: 1.1; }
.calc-result .verdict { margin-top: 12px; font-size: 0.95rem; color: #4a5568; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #1a202c, #2d3748); color: #fff; text-align: center; }
.cta-section h2 { font-size: 1.9rem; font-weight: 600; margin-bottom: 14px; }
.cta-section p { font-size: 1.06rem; opacity: 0.86; margin-bottom: 32px; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.related a { display: block; background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); font-weight: 600; }
.related a:hover { text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.09); }
.related a span { display: block; font-weight: 400; font-size: 0.88rem; color: #718096; margin-top: 6px; }

/* Footer */
footer { background: #1a202c; color: #a0aec0; padding: 40px 0 32px; font-size: 0.9rem; }
footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
footer a { color: #667eea; }
footer .copyright { text-align: center; color: #718096; }

@media (max-width: 768px) {
  .hero h1 { font-size: 1.95rem; }
  .section-title h2 { font-size: 1.6rem; }
  .prose h2 { font-size: 1.5rem; }
  section { padding: 52px 0; }
}
