/* qcvisionly.css — Qcvisionly site CSS */
/* Inlines: base, nav, hero, stats, features, process, team, testimonials, cta, contact, footer, cookie-banner */

/* ============================================================ */
/* CSS Variables                                                  */
/* ============================================================ */
:root {
  --accent: #0369a1;
  --accent-rgb: 3,105,161;
  --secondary: #475569;
  --bg-dark: #0f172a;
  --bg-alt: #1e293b;
  --bg-surface: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ============================================================ */
/* Base Reset                                                     */
/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11','ss01','ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0f172a;
  color: #94a3b8;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

body.page-sub { padding-top: 64px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a { color: #0369a1; text-decoration: none; }
a:hover { opacity: 0.9; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

.section-dark { background: #0f172a; }
.section-alt { background: #1e293b; }
.section-light { background: #f8fafc; }

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================ */
/* Nav Component                                                  */
/* ============================================================ */
.c-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.c-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.c-nav__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 800;
  text-decoration: none;
  color: inherit;
}
.c-nav__logo-img { height: 28px; width: auto; display: none; }
.c-nav__logo-fallback { display: inline; }

.c-nav__links {
  display: flex; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.c-nav__links a {
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s;
}
.c-nav__cta {
  background: #0369a1;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.c-nav__cta:hover { opacity: 0.9; color: #fff !important; }

.c-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.c-nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; transition: 0.3s; }

.c-nav[data-nav-theme="light"] {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.c-nav[data-nav-theme="light"] .c-nav__logo,
.c-nav[data-nav-theme="light"] .c-nav__logo-fallback { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--light { display: inline; }
.c-nav[data-nav-theme="light"] .c-nav__logo-img--dark  { display: none; }
.c-nav[data-nav-theme="light"] .c-nav__links a { color: #334155; }
.c-nav[data-nav-theme="light"] .c-nav__links a:hover,
.c-nav[data-nav-theme="light"] .c-nav__links a.active { color: #0f172a; }
.c-nav[data-nav-theme="light"] .c-nav__toggle span { background: #0f172a; }

.c-nav[data-nav-theme="dark"] { background: transparent; }
.c-nav[data-nav-theme="dark"].scrolled,
.c-nav[data-nav-theme="dark"].c-nav--solid {
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.c-nav[data-nav-theme="dark"] .c-nav__logo,
.c-nav[data-nav-theme="dark"] .c-nav__logo-fallback { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--light { display: none; }
.c-nav[data-nav-theme="dark"] .c-nav__logo-img--dark  { display: inline; }
.c-nav[data-nav-theme="dark"] .c-nav__links a { color: #94a3b8; }
.c-nav[data-nav-theme="dark"] .c-nav__links a:hover,
.c-nav[data-nav-theme="dark"] .c-nav__links a.active { color: #f1f5f9; }
.c-nav[data-nav-theme="dark"] .c-nav__toggle span { background: #f1f5f9; }

.c-nav__logo-img ~ .c-nav__logo-fallback,
.c-nav__logo:has(.c-nav__logo-img) .c-nav__logo-fallback { display: none !important; }

@media (max-width: 768px) {
  .c-nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #0f172a;
    padding: 16px;
    border-top: 1px solid #1e293b;
  }
  .c-nav[data-nav-theme="light"] .c-nav__links {
    background: #ffffff;
    border-top-color: rgba(15,23,42,0.08);
  }
  .c-nav[data-nav-theme="light"] .c-nav__links a { color: #0f172a; }
  .c-nav__links.open { display: flex; }
  .c-nav__toggle { display: block; }
}

/* ============================================================ */
/* Hero Component                                                 */
/* ============================================================ */
.c-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(rgba(15,23,42,0.72), rgba(15,23,42,0.55)), url('../images/hero-home.webp') center/cover no-repeat #0f172a;
  color: #f1f5f9;
}

.c-hero .container { position: relative; z-index: 2; }

.c-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 20px;
}

.c-hero__title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 720px;
}

.c-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 600px;
}

.c-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.c-hero--split { min-height: 80vh; padding: 100px 0 60px; }

/* Single-column layout */
.c-hero__split-grid {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}

/* Page hero (small, sub-pages) */
.c-page-hero {
  background: #1e293b;
  padding: 100px 0 56px;
  text-align: center;
  border-bottom: 1px solid #334155;
}
.c-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 16px;
}
.c-page-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.c-page-hero__lede {
  font-size: 17px;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.c-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.c-btn--primary {
  background: #0369a1;
  color: #ffffff;
}
.c-btn--primary:hover { opacity: 0.9; color: #ffffff; }

.c-btn--outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(226,232,240,0.3);
}
.c-btn--outline:hover { border-color: #e2e8f0; color: #ffffff; }

.c-btn--sm { padding: 8px 16px; font-size: 14px; }

@media (max-width: 768px) {
  .c-hero { min-height: 70vh; }
  .c-hero__title { font-size: 32px; }
  .c-hero__subtitle { font-size: 16px; }
  .c-hero--split { padding: 90px 0 48px; }
  .c-hero__split-grid { max-width: 100%; }
}

/* ============================================================ */
/* Section Headers (shared)                                      */
/* ============================================================ */
.c-section-header { text-align: center; margin-bottom: 56px; }
.c-section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 12px;
}
.c-section-title {
  font-size: 36px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.c-section-desc {
  font-size: 17px;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================ */
/* Stats Component                                                */
/* ============================================================ */
.c-stats { padding: 48px 0; }
.c-stats--bar { background: #1e293b; }

.c-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.c-stats__item { padding: 16px 0; }

.c-stats__number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.2;
}

.c-stats__label {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .c-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .c-stats__number { font-size: 28px; }
}

/* ============================================================ */
/* Features Component                                             */
/* ============================================================ */
.c-features { padding: 80px 0; }

.c-features__row { padding: 48px 0; }
.c-features__row + .c-features__row { border-top: 1px solid #1e293b; }

.c-features__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.c-features__pair--reverse { direction: rtl; }
.c-features__pair--reverse > * { direction: ltr; }

.c-features__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.c-features__name {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.c-features__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Integrations grid */
.c-integrations { padding: 64px 0; background: #0f172a; }
.c-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.c-integrations__badge {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.c-integrations__badge:hover {
  border-color: #0369a1;
  transform: translateY(-2px);
}
.c-integrations__badge img {
  width: 80px;
  height: 40px;
  object-fit: contain;
}
.c-integrations__name {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 992px) {
  .c-features__pair { grid-template-columns: 1fr; gap: 40px; }
  .c-features__pair--reverse { direction: ltr; }
  .c-integrations__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .c-section-title { font-size: 28px; }
  .c-integrations__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================ */
/* Process Component                                              */
/* ============================================================ */
.c-process { padding: 80px 0; background: #1e293b; }

.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.c-process__step {
  position: relative;
  padding: 32px 24px;
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid #334155;
}

.c-process__num {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  color: #0369a1;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.c-process__name {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.c-process__text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .c-process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .c-process__steps { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* Team Component                                                 */
/* ============================================================ */
.c-team { padding: 80px 0; }
.c-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.c-team__card { text-align: center; }
.c-team__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  border: 3px solid #1e293b;
}
.c-team__name { font-size: 17px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.c-team__role { font-size: 14px; color: #64748b; }

/* ============================================================ */
/* Testimonials Component                                         */
/* ============================================================ */
.c-testimonials { padding: 80px 0; }

.c-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.c-testimonials__card { background: #1e293b; border-radius: 12px; padding: 36px 28px; }
.c-testimonials__stat { display: block; font-size: 42px; font-weight: 800; color: #0369a1; margin-bottom: 12px; }
.c-testimonials__source { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.c-testimonials__text { font-size: 14px; color: #94a3b8; line-height: 1.7; }

@media (max-width: 768px) { .c-testimonials__grid { grid-template-columns: 1fr; } }

/* ============================================================ */
/* CTA Component                                                  */
/* ============================================================ */
.c-cta--newsletter {
  background: #f8fafc;
  padding: 72px 0 64px;
  text-align: left;
  border-top: 1px solid rgba(15,23,42,0.1);
  border-bottom: 1px solid rgba(15,23,42,0.1);
}

.c-cta__newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.c-cta__newsletter-copy { max-width: 480px; }

.c-cta__newsletter-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}

.c-cta__newsletter-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.c-cta__newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

.c-cta__newsletter-input {
  flex: 1;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(15,23,42,0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-family: var(--font-sans);
}

.c-cta__newsletter-input:focus {
  outline: 2px solid #0369a1;
  outline-offset: 1px;
  border-color: transparent;
}

.c-cta--newsletter .c-btn--primary {
  background: #111827;
  color: #ffffff;
  white-space: nowrap;
}

.c-cta__newsletter-note {
  margin: 20px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .c-cta__newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .c-cta__newsletter-title { font-size: 22px; }
  .c-cta__newsletter-form { flex-direction: column; }
}

/* ============================================================ */
/* Contact Component                                              */
/* ============================================================ */
.c-contact { padding: 80px 0; }
.c-contact__wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.c-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) {
  .c-contact__grid { grid-template-columns: 7fr 4fr; gap: 72px; }
}
.c-contact__row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) {
  .c-contact__row-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.c-contact__title { font-size: 28px; font-weight: 800; color: #f1f5f9; margin-bottom: 32px; font-family: var(--font-display); }
.c-contact__form input,
.c-contact__form select,
.c-contact__form textarea {
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.c-contact__form input:focus,
.c-contact__form select:focus,
.c-contact__form textarea:focus { border-color: #0369a1; outline: none; }
.c-contact__form select option { background: #1e293b; }
.c-contact__form button { cursor: pointer; }
.c-contact__info-title { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 24px; font-family: var(--font-display); }
.c-contact__info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 15px; color: #94a3b8; }
.c-contact__info-item i { color: #0369a1; font-size: 16px; margin-top: 3px; min-width: 20px; }
.c-contact__info-item a { color: #94a3b8; text-decoration: none; }
.c-contact__info-item a:hover { color: #0369a1; }

/* ============================================================ */
/* Footer Component                                               */
/* ============================================================ */
.c-footer { background: #0f172a; padding: 64px 0 0; border-top: 1px solid #1e293b; color: #94a3b8; }
.c-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.c-footer__logo {
  font-size: 20px; font-weight: 800; color: #f1f5f9;
  text-decoration: none; display: inline-block; margin-bottom: 12px;
}
.c-footer__logo img { height: 28px; width: auto; display: inline-block; }
.c-footer__logo span { color: #0369a1; }
.c-footer__tagline { font-size: 14px; color: #64748b; line-height: 1.6; }
.c-footer__col h4 {
  font-size: 14px; font-weight: 700; color: #e2e8f0;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}
.c-footer__col ul { list-style: none; padding: 0; margin: 0; }
.c-footer__col ul li { margin-bottom: 10px; color: #94a3b8; font-size: 14px; }
.c-footer__col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.c-footer__col ul li a:hover { color: #0369a1; }
.c-footer__contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.c-footer__contact i { color: #0369a1; width: 18px; font-size: 13px; margin-right: 8px; }
.c-footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
}
.c-footer__legal { display: flex; gap: 20px; }
.c-footer__legal a { color: #64748b; text-decoration: none; font-size: 13px; }
.c-footer__legal a:hover { color: #94a3b8; }
@media (max-width: 768px) {
  .c-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .c-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================ */
/* Cookie Banner Component                                        */
/* ============================================================ */
.c-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 50px rgba(15,23,42,0.18);
  border-radius: 12px;
  padding: 14px 18px;
}
.c-cookie[hidden] { display: none !important; }
.c-cookie__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.c-cookie__text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}
.c-cookie__text a { color: #0369a1; }
.c-cookie__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
@media (max-width: 576px) {
  .c-cookie { inset: auto 8px 8px 8px; }
  .c-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================ */
/* About page                                                     */
/* ============================================================ */
.c-about { padding: 80px 0; }
.c-about__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.c-about__body h2 {
  font-size: 32px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.c-about__body p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
}
.c-about__values h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.c-about__value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.c-about__value-item i {
  color: #0369a1;
  font-size: 14px;
  margin-top: 4px;
  min-width: 16px;
}
.c-about__value-item span {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .c-about__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ */
/* Product page                                                   */
/* ============================================================ */
.c-product-intro { padding: 72px 0 48px; }
.c-product-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.c-product-intro__text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.c-product-intro__text p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .c-product-intro__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================ */
/* 404 page                                                       */
/* ============================================================ */
.c-error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  text-align: center;
  padding: 40px 24px;
}
.c-error-page__inner { max-width: 560px; }
.c-error-page__code {
  font-size: 100px;
  font-weight: 900;
  color: #0369a1;
  line-height: 1;
  margin-bottom: 24px;
  font-family: var(--font-display);
  opacity: 0.8;
}
.c-error-page__title {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.c-error-page__desc {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
}
.c-error-page__logo {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}
.c-error-page__logo img { height: 32px; }

/* ============================================================ */
/* Blog Grid Component                                            */
/* ============================================================ */
.c-blog { padding: 80px 0; }
.c-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.c-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.c-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.c-blog-card__thumb {
  display: block;
  overflow: hidden;
  height: 200px;
}
.c-blog-card__thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.c-blog-card:hover .c-blog-card__thumb img { transform: scale(1.04); }
.c-blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.c-blog-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 10px;
}
.c-blog-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.c-blog-card__title a { color: inherit; text-decoration: none; }
.c-blog-card__title a:hover { color: #0369a1; }
.c-blog-card__excerpt {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 0;
  flex: 1;
}
.c-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #334155;
  font-size: 13px;
  color: #64748b;
}
.c-blog-card__read-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
}
.c-blog-card__read-more:hover { color: #0ea5e9; }
@media (max-width: 992px) { .c-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .c-blog__grid { grid-template-columns: 1fr; } }

/* ============================================================ */
/* Blog Article Page                                              */
/* ============================================================ */
.blog-article-hero {
  padding: 100px 0 48px;
  background: #0f172a;
  color: #f1f5f9;
  border-bottom: 1px solid #1e293b;
}
.blog-article-hero .article-category-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 13px;
  color: #94a3b8;
}
.blog-article-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  max-width: 780px;
}
.blog-article-hero .article-excerpt {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 20px;
}
.blog-article-hero .article-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #64748b;
  flex-wrap: wrap;
}
.blog-article-cover {
  padding: 40px 0;
  background: #0f172a;
}
.blog-article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ==== BLOG ARTICLE READING WIDTH (MANDATORY) ==== */
.c-article,
.c-article__container,
.c-post__body,
.c-post,
.c-blog-post,
.blog-article,
.blog-article-body,
.blog-article-content,
.blog-post,
.blog-post-body,
.article-body,
.article-content,
.post-content,
.post-body,
.container-narrow,
.reading-column {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-article img,
.c-article__container img,
.c-post__body img,
.blog-article-body img,
.blog-post img,
.article-body img,
.article-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 24px auto 32px;
}

.c-article h2,
.c-post__body h2,
.blog-article-body h2,
.blog-post h2,
.article-body h2,
.post-content h2 { margin-top: 48px; margin-bottom: 20px; }

.c-article h3,
.c-post__body h3,
.blog-article-body h3,
.blog-post h3,
.article-body h3,
.post-content h3 { margin-top: 36px; margin-bottom: 16px; }

.blog-article-body {
  padding: 60px 24px;
  background: #0f172a;
}
.blog-article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 24px;
}
.blog-article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.blog-article-body h3 {
  font-size: 21px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: var(--font-display);
}
.blog-article-body blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  border-left: 4px solid #0369a1;
  color: #e2e8f0;
  font-style: italic;
  background: #1e293b;
  border-radius: 0 8px 8px 0;
}

.blog-img-full {
  text-align: center;
  margin: 32px auto;
  max-width: 100%;
}
.blog-img-full img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Article nav prev/next */
.article-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  max-width: 780px;
  margin: 40px auto 0;
}
.article-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.article-nav a:hover { color: #0369a1; }
.article-nav-prev { text-align: left; }
.article-nav-next { text-align: right; }

/* Related articles */
.related-articles {
  padding: 60px 0;
  background: #1e293b;
  border-top: 1px solid #334155;
}
.related-articles h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: var(--font-display);
  margin-bottom: 32px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.related-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.related-card a { display: block; }
.related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.related-card-body {
  padding: 12px 16px 16px;
}
.related-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
  color: #f1f5f9;
  font-family: var(--font-display);
}
.related-card-body h3 a { color: inherit; text-decoration: none; }
.related-card-body h3 a:hover { color: #0369a1; }
.related-card-body .related-date { font-size: 12px; color: #64748b; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================ */
/* Legal Pages                                                    */
/* ============================================================ */
.c-legal { padding: 64px 0 80px; background: #0f172a; }
.c-legal__body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.c-legal__body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  font-family: var(--font-display);
  margin-top: 48px;
  margin-bottom: 16px;
}
.c-legal__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
  font-family: var(--font-display);
  margin-top: 32px;
  margin-bottom: 12px;
}
.c-legal__body p {
  font-size: 16px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}
.c-legal__body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}
.c-legal__body ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 8px;
}
.c-legal__body a { color: #0369a1; }
.c-legal__last-updated {
  font-size: 13px;
  color: #475569;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #1e293b;
}

/* ============================================================
   New sections: Problem, How-It-Works, Target-Customer (product.html)
   Mission, Stage-Focus, Values (about.html)
   ============================================================ */
.c-problem-statement { padding: 80px 0; }
.c-problem__content { max-width: 800px; margin: 0 auto; }
.c-pain-numbers { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.c-pain-stat { background: #f0f7ff; border-left: 3px solid #0369a1; padding: 12px 16px; font-size: 15px; font-weight: 500; color: #1e293b; flex: 1; min-width: 200px; }
.c-how-it-works { padding: 80px 0; background: #f8fafc; }
.c-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.c-step { padding: 24px; background: white; border-radius: 8px; border: 1px solid #e2e8f0; }
.c-step__num { font-size: 36px; font-weight: 700; color: #0369a1; display: block; margin-bottom: 12px; }
.c-step__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.c-step__desc { font-size: 15px; color: #475569; line-height: 1.6; }
.c-target-customer { padding: 80px 0; }
.c-target__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.c-target__card { padding: 32px; border-radius: 8px; }
.c-target__card--for { background: #f0f7ff; border: 1px solid #0369a1; }
.c-target__card--not-for { background: #f8fafc; border: 1px solid #e2e8f0; }
.c-mission { padding: 80px 0; background: #f8fafc; }
.c-mission__statement { font-size: 24px; font-weight: 500; color: #1e293b; max-width: 700px; margin: 24px auto 0; text-align: center; line-height: 1.5; }
.c-stage-focus { padding: 60px 0; }
.c-values { padding: 80px 0; background: #f8fafc; }
.c-values__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.c-value-item { padding: 20px 24px; background: white; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 15px; font-weight: 500; color: #1e293b; }
@media (max-width: 640px) { .c-target__grid { grid-template-columns: 1fr; } }
