/* ============================================================
   layout-c/style.css — Optimize-inspired: Dark conversion-focused
   Dark header, trust signals, strong CTA, authority positioning
   ============================================================ */

/* ── Header already dark (style-base.css default) ───────── */
.header-inner { height: 62px; }
.header-logo {
  font-size: 20px;
  letter-spacing: .04em;
}

/* ── HERO C: Dark immersive + stats ─────────────────────── */
.hero-c {
  background: var(--clr-bg-dark);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-c::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--clr-accent-glow) 0%, transparent 65%),
    linear-gradient(180deg, var(--clr-bg-dark) 0%, var(--clr-bg-dark2) 100%);
  z-index: 0;
}
.hero-c-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-16) var(--space-5);
  text-align: center;
}
.hero-c-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--clr-accent-faint);
  border: 1px solid var(--clr-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-accent-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero-c-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 7vw, 76px);
  font-weight: 900;
  color: var(--clr-text-inv);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: var(--space-5);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero-c-title .accent { color: var(--clr-accent); }
.hero-c-subtitle {
  font-size: 17px;
  color: var(--clr-text-inv-muted);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: 1.65;
}

/* Stats row */
.hero-c-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.hero-c-stat {
  padding: var(--space-4) var(--space-8);
  border-right: 1px solid var(--clr-border-dark);
  text-align: center;
}
.hero-c-stat:last-child { border-right: none; }
.hero-c-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--space-1);
}
.hero-c-stat-label {
  font-size: 12px;
  color: var(--clr-text-inv-muted);
  font-weight: 600;
}
.hero-c-cta { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--clr-bg-dark2);
  border-top: 1px solid var(--clr-border-dark);
  border-bottom: 1px solid var(--clr-border-dark);
  padding: var(--space-5) 0;
}
.trust-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text-inv-muted);
}
.trust-icon {
  font-size: 18px;
  color: var(--clr-accent);
}

/* ── FEATURES GRID ───────────────────────────────────────── */
.features-section {
  padding: var(--space-12) 0;
  background: var(--clr-bg-alt);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-accent);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--clr-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--clr-shadow-md);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: var(--space-4);
  display: block;
}
.feature-title {
  font-size: 17px;
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: var(--space-2);
  color: var(--clr-text);
}
.feature-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ── ARTICLES: dark card variant ─────────────────────────── */
.articles-dark-section {
  padding: var(--space-12) 0;
  background: var(--clr-bg);
}
.card-c {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--clr-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-c:hover { box-shadow: var(--clr-shadow-md); transform: translateX(3px); }
.card-c-body { padding: var(--space-4) var(--space-5); }
.card-c-title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-c-title:hover { color: var(--clr-accent); }
.card-c-excerpt {
  font-size: 13px;
  color: var(--clr-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-3);
}

/* ── FULL-WIDTH CTA ──────────────────────────────────────── */
.cta-fullwidth {
  background: var(--clr-bg-dark);
  padding: var(--space-16) var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-fullwidth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, var(--clr-accent-glow) 0%, transparent 70%);
}
.cta-fullwidth-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-fullwidth h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  color: var(--clr-text-inv);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: var(--space-4);
}
.cta-fullwidth p {
  font-size: 16px;
  color: var(--clr-text-inv-muted);
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

/* ── ARTICLE PAGE ────────────────────────────────────────── */
.article-page { padding: var(--space-10) 0 var(--space-16); }
.article-h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin: var(--space-4) 0 var(--space-5);
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-8);
  background: var(--clr-bg-alt);
  border-left: 4px solid var(--clr-accent);
}
.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 900px) {
  .article-layout-grid { grid-template-columns: 1fr 260px; }
}
