/* Homepage-exclusive sections: hero CTA row, stats, why-new, ad slot, languages, roadmap, notes preview, FAQ — extracted from the original style.css (lines 1225-1316) */
/* ══════════════════════════════════════════════
   HOMEPAGE REDESIGN v9 — new sections
══════════════════════════════════════════════ */
.sec-block { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.sec-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); background: var(--primary-light); border: 1px solid rgba(124,92,255,.2); border-radius: var(--r-full); padding: 4px 12px; margin-bottom: 14px; }
.sec-tag svg.lucide { font-size: 13px; }
.sec-h { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 10px; }
.sec-p { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; max-width: 540px; }

/* Hero two-CTA row */
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 22px; }
.hero-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: var(--primary-grad); color: #fff; font-size: 0.875rem; font-weight: 700; border-radius: var(--r-btn); text-decoration: none; box-shadow: 0 4px 14px rgba(124,92,255,0.3); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,92,255,0.45); filter: brightness(1.05); }
.hero-btn-primary svg.lucide { font-size: 16px; }
.hero-btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: transparent; color: var(--text); font-size: 0.875rem; font-weight: 600; border-radius: var(--r-btn); text-decoration: none; border: 1.5px solid var(--border); transition: all 0.2s ease; }
.hero-btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.hero-btn-secondary svg.lucide { font-size: 16px; }

/* Trust stats banner */
.stats-banner { background: var(--primary-grad); padding: 20px 0; }
.stats-banner-inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); display: flex; justify-content: center; flex-wrap: wrap; }
.stat-pill { padding: 0 36px; border-right: 1px solid rgba(255,255,255,.22); }
.stat-pill:last-child { border-right: none; }
.stat-pill-num { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; text-align: center; }
.stat-pill-label { font-size: 0.76rem; color: rgba(255,255,255,.85); margin-top: 3px; text-align: center; white-space: nowrap; }

/* Why CynphoCode grid */
.why-new { content-visibility: auto; contain-intrinsic-size: 0 500px; padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.why-new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.why-new-card { padding: 26px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.why-new-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(124,92,255,.25); }
.why-new-icon { width: 44px; height: 44px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.why-new-icon svg.lucide { font-size: 20px; }
.why-new-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.why-new-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.7; }

/* Ad slot */
.ad-slot { width: 100%; min-height: 90px; background: var(--bg-2); border: 1.5px dashed var(--border); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin: 36px auto; font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.04em; max-width: var(--max-w); }

/* Programming Languages */
.langs-section { content-visibility: auto; contain-intrinsic-size: 0 460px; padding: var(--section-gap) 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.langs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.lang-pill { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; transition: all 0.18s ease; }
.lang-pill:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.lang-pill.soon-pill { opacity: 0.6; }
.lang-pill img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.lang-pill-info { flex: 1; min-width: 0; }
.lang-pill-name { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.lang-pill-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.lang-pill-badge { font-size: 0.64rem; font-weight: 700; padding: 2px 7px; border-radius: var(--r-full); background: var(--green-light); color: var(--green); border: 1px solid rgba(34,197,94,.25); flex-shrink: 0; }
.lang-pill-badge.soon-b { background: var(--orange-light); color: var(--orange); border-color: rgba(245,158,11,.25); }

/* Roadmap */
.roadmap-section { content-visibility: auto; contain-intrinsic-size: 0 420px; padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.rm-tabs { display: flex; gap: 8px; margin: 28px 0 8px; flex-wrap: wrap; }
.rm-tab { padding: 7px 18px; border-radius: var(--r-full); border: 1.5px solid var(--border); background: transparent; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); cursor: pointer; font-family: var(--font); transition: all 0.18s ease; }
.rm-tab.active, .rm-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.roadmap-wrapper { overflow-x: auto; padding: 20px 4px 10px; }
.roadmap-track { display: flex; align-items: center; min-width: max-content; }
.rm-node { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rm-bubble { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; text-align: center; line-height: 1.3; color: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s ease; }
.rm-bubble:hover { transform: scale(1.06); }
.rm-label { font-size: 0.7rem; color: var(--text-muted); text-align: center; max-width: 92px; }
.rm-arrow { color: var(--primary); font-size: 1.25rem; opacity: 0.5; padding: 0 8px; margin-top: -22px; flex-shrink: 0; }

/* Quick Reference Notes v2 */
.notes-v2 { content-visibility: auto; contain-intrinsic-size: 0 380px; padding: var(--section-gap) 0; border-top: 1px solid var(--border); }
.notes-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.note-v2-card { display: flex; align-items: center; gap: 14px; padding: 17px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; transition: all 0.18s ease; }
.note-v2-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.note-v2-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.note-v2-icon img { width: 26px; height: 26px; object-fit: contain; }
.note-v2-info { flex: 1; min-width: 0; }
.note-v2-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.note-v2-meta { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
.note-v2-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; transition: all 0.18s ease; }
.note-v2-arrow svg.lucide { font-size: 13px; }
.note-v2-card:hover .note-v2-arrow { background: var(--primary); border-color: var(--primary); color: #fff; }

/* FAQ */
.faq-section { content-visibility: auto; contain-intrinsic-size: 0 520px; padding: var(--section-gap) 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; user-select: none; }
.faq-q h3 { font-size: 0.86rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.faq-chevron { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-muted); transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.faq-chevron svg.lucide { font-size: 13px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 20px 18px; font-size: 0.83rem; color: var(--text-2); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 220px; }


/* Responsive — extracted from the original style.css (line 1366) */
@media (max-width: 1024px) {
  .langs-grid { grid-template-columns: repeat(3, 1fr); }
}


/* Responsive — extracted from the original style.css (lines 1368-1373) */
@media (max-width: 900px) {
  .why-new-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .notes-v2-grid { grid-template-columns: 1fr 1fr; }
  .stat-pill { padding: 6px 22px; }
}


/* Responsive — extracted from the original style.css (lines 1374-1376) */
@media (max-width: 768px) {
  .langs-grid { grid-template-columns: 1fr 1fr; }
}


/* Responsive — extracted from the original style.css (lines 1382-1385) */
@media (max-width: 520px) {
  .why-new-grid { grid-template-columns: 1fr; }
  .notes-v2-grid { grid-template-columns: 1fr; }
  .stat-pill { border-right: none; padding: 4px 18px; }
  .hero-cta-row { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { justify-content: center; }
}

