/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(30,58,138,0.25); }
.btn-primary:hover { background: var(--blue-900); box-shadow: 0 4px 16px rgba(30,58,138,0.35); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--blue); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(30,58,138,0.12); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 2px 8px rgba(20,184,166,0.3); }
.btn-teal:hover { background: var(--teal-600); box-shadow: 0 4px 16px rgba(20,184,166,0.4); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 1rem 2.25rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }
.category-btn.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ─── SITE HEADER / NAV ──────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--blue); text-decoration: none; }
.nav-logo span { color: var(--teal); }
.nav-logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-trigger {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
  letter-spacing: -0.01em;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}
.nav-links a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--text); }
.nav-trigger .chevron { width: 9px; height: 9px; transition: transform 0.2s; }
.nav-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.nav-cta { margin-left: 0.5rem; }

/* Mega menu
   Note: the dropdown sits flush against the trigger (top: 100%, no gap) on purpose.
   A gap here used to create a dead zone the mouse had to cross without hovering
   anything, which silently closed the menu before the user could reach an item. */
.mega-menu {
  position: absolute;
  top: 100%;
  padding-top: 14px; /* visual breathing room, doesn't break the hover chain like a positional gap would */
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 1001;
}
.mega-menu-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  min-width: 560px;
}
.mega-menu.open,
.nav-links li:hover .mega-menu,
.nav-links li:focus-within .mega-menu { display: block; }
.nav-links li { padding-bottom: 4px; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1.5rem; }
.mega-menu-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.mega-menu-item:hover { background: var(--bg); }
.mega-menu-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--icon-color, var(--blue)) 12%, transparent);
  color: var(--icon-color, var(--blue));
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.mega-menu-icon svg { width: 17px; height: 17px; }
.mega-menu-item:hover .mega-menu-icon { background: var(--icon-color, var(--blue)); color: #fff; transform: scale(1.06); }
.mega-menu-text strong { display: block; font-size: 0.85rem; color: var(--text); font-weight: 600; }
.mega-menu-text span { font-size: 0.76rem; color: var(--muted); }
.mega-menu-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mega-menu-footer a { font-size: 0.82rem; font-weight: 600; color: var(--blue); text-decoration: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--surface);
  padding: 1.5rem;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu details { border-bottom: 1px solid var(--border); }
.mobile-menu summary { padding: 0.9rem 0; font-size: 1rem; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.2s; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu a { display: block; padding: 0.65rem 0; text-decoration: none; color: var(--text); font-size: 0.95rem; }
.mobile-menu > a { border-bottom: 1px solid var(--border); padding: 0.9rem 0; font-weight: 600; }
.mobile-menu .sub-links a { padding-left: 0.75rem; color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.mobile-menu .btn { margin-top: 1.25rem; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .hamburger { display: flex; }
}

/* ─── BREADCRUMBS ────────────────────────────────────────── */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.82rem;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.4rem; color: var(--border-strong); }
.breadcrumbs li[aria-current] { color: var(--text); font-weight: 500; }

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s;
}
.card-hover { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(20,184,166,0.4); }
.card-hover:hover .card-icon { background: var(--blue); color: #fff; transition: all 0.25s var(--ease); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--icon-color, var(--blue)) 12%, transparent);
  color: var(--icon-color, var(--blue));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s var(--ease);
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.87rem; line-height: 1.65; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── BADGES / LABELS ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}
.badge-teal { background: rgba(20,184,166,0.1); color: var(--teal-700); border: 1px solid rgba(20,184,166,0.2); }
.badge-illustrative { background: rgba(234,179,8,0.1); color: #92610a; border: 1px solid rgba(234,179,8,0.3); }
.badge-verified { background: rgba(22,163,74,0.1); color: #15803d; border: 1px solid rgba(22,163,74,0.3); }

.illustrative-banner {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.88rem;
  color: #7a5308;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.illustrative-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1rem; }

/* ─── FAQ ACCORDION ──────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.25rem; font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ─── CTA BANNER (reused across service/industry/article pages) ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue) 50%, #312e81 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner h2, .cta-banner h3 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.68); margin-bottom: 1.75rem; }
.cta-banner .cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ─── TABLES ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.data-table th, table.data-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.data-table th { background: var(--bg); font-weight: 700; color: var(--text); white-space: nowrap; }
table.data-table tr:last-child td { border-bottom: none; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--text); color: rgba(255,255,255,0.55); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .nav-logo { color: #fff; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 0.6rem; max-width: 240px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: rgba(255,255,255,0.16); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.75rem 0; font-size: 0.78rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── FLOATING ACTION BUTTONS ────────────────────────────── */
.floating-btns { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end; }
.float-btn {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.82rem; font-weight: 600; color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: all 0.2s;
  white-space: nowrap;
  border: none; cursor: pointer;
  font-family: var(--font-sans);
}
.float-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px rgba(0,0,0,0.22); }
.float-btn-calendly { background: var(--blue); }
.float-btn-wa { background: #25D366; }
.float-btn-chat { background: var(--teal-700); }
.float-btn-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.float-label { max-width: 0; overflow: hidden; transition: max-width 0.3s ease; white-space: nowrap; }
.float-btn:hover .float-label, .float-btn:focus-visible .float-label { max-width: 160px; }
@media (max-width: 480px) {
  .floating-btns { bottom: 1rem; right: 1rem; }
  .float-label { display: none; }
  .float-btn { padding: 0.8rem; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}

/* ─── FORMS ──────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-field .required { color: var(--danger); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--indigo);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.76rem; color: var(--muted-2); }
.form-error { font-size: 0.78rem; color: var(--danger); display: none; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--danger); }
.form-field.has-error .form-error { display: block; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); }
.form-consent input { width: 18px; height: 18px; margin-top: 0.15rem; flex-shrink: 0; }
.form-status { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.86rem; display: none; margin-bottom: 1.25rem; }
.form-status.visible { display: block; }
.form-status.success { background: rgba(22,163,74,0.08); color: #166534; border: 1px solid rgba(22,163,74,0.25); }
.form-status.error { background: rgba(220,38,38,0.08); color: #991b1b; border: 1px solid rgba(220,38,38,0.25); }
/* Honeypot field — hidden from sighted users, still reachable by simple bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ─── CHATBOT ────────────────────────────────────────────── */
.chat-launcher {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 500;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
}
.chat-launcher svg { width: 24px; height: 24px; }
.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  left: 1.5rem;
  z-index: 600;
  width: 340px;
  max-width: calc(100vw - 2rem);
  max-height: 70vh;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header { background: var(--blue); color: #fff; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.chat-header strong { font-size: 0.9rem; display: block; }
.chat-header span { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.chat-header button svg { width: 16px; height: 16px; }
.chat-body { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-notice { font-size: 0.72rem; color: var(--muted-2); background: var(--bg); border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; }
.chat-bubble { background: var(--bg); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--text); align-self: flex-start; max-width: 90%; }
.chat-options { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-option {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.83rem;
  font-family: inherit;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.15s;
}
.chat-option:hover { border-color: var(--blue); background: rgba(30,58,138,0.04); }

@media (max-width: 480px) {
  .chat-launcher, .chat-panel { left: 1rem; }
}

/* ─── VISIBILITY SCORE WIDGET (hero + audit preview) ────── */
.visibility-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 380px; }
.vc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.vc-title { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.vc-channels { display: flex; flex-direction: column; gap: 0.6rem; }
.vc-channel { display: flex; align-items: center; gap: 0.75rem; }
.vc-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-icon svg { width: 15px; height: 15px; }
.vc-channel-name { flex: 1; font-size: 0.78rem; font-weight: 500; color: var(--text); }
.vc-bar-track { width: 80px; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.vc-bar-fill { height: 100%; border-radius: 3px; transition: width 1.2s ease; }
.vc-score { font-size: 0.72rem; font-weight: 700; color: var(--text); width: 24px; text-align: right; }
.vc-total { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.vc-total-label { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.vc-total-score { font-size: 1.1rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }

/* ─── DISCOVERY JOURNEY / PLATFORM EXPLORER ─────────────── */
.journey-track { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 3rem; }
.journey-node {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 0.7rem 1.2rem; font-size: 0.85rem; font-weight: 600; color: var(--text);
  transition: all 0.2s;
}
.journey-node:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.journey-node .card-icon { width: 26px; height: 26px; margin: 0; background: rgba(20,184,166,0.1); color: var(--teal-700); }
.journey-node .card-icon svg { width: 13px; height: 13px; }
.journey-arrow { display: flex; align-items: center; color: var(--border-strong); }
.journey-arrow svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .journey-arrow { display: none; } }

/* ─── PROCESS STEPS ──────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.5rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 0px); right: calc(12.5% + 0px); height: 1px; background: linear-gradient(90deg, var(--teal), var(--indigo), var(--teal)); z-index: 0; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; color: var(--blue); margin-bottom: 1.25rem; box-shadow: 0 0 0 6px var(--bg); transition: all 0.2s; flex-shrink: 0; }
.process-step:hover .step-num { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.08); }
.step-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.step-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; } .process-steps::before { display: none; } }
@media (max-width: 600px) { .process-steps { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ─── TICKER ─────────────────────────────────────────────── */
.ticker { background: var(--blue); padding: 0.85rem 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: scrollTicker 28s linear infinite; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.ticker-inner span { color: var(--teal); margin: 0 1.5rem; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inner { animation: none; } }

/* ─── HERO ───────────────────────────────────────────────── */
.hero { padding: calc(var(--header-height) + 64px) 0 88px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 60% 0%, rgba(79,70,229,0.06) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 0% 80%, rgba(20,184,166,0.05) 0%, transparent 60%), var(--bg); z-index: 0; }
.hero-inner { position: relative; z-index: 1; max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(20,184,166,0.08); border: 1px solid rgba(20,184,166,0.2); color: var(--teal-700); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 20px; margin-bottom: 1.5rem; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 50%, var(--teal) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-channels-line { font-size: 1.1rem; color: var(--text); font-weight: 500; margin-top: 1rem; max-width: 480px; line-height: 1.6; }
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin: 1rem 0 2rem; max-width: 500px; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
}

/* ─── SPLIT SECTION (two-column dark band, e.g. audit / methodology) ── */
.split-section { background: linear-gradient(135deg, var(--navy-900) 0%, var(--blue) 45%, #312e81 100%); position: relative; overflow: hidden; }
.split-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(20,184,166,0.15) 0%, transparent 65%); border-radius: 50%; }
.split-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-section .eyebrow { color: var(--teal); }
.split-section h2 { color: #fff; }
.split-section .section-sub { color: rgba(255,255,255,0.65); max-width: 100%; }
.split-checklist { list-style: none; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.split-checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.split-checklist li::before { content: '✓'; flex-shrink: 0; width: 20px; height: 20px; background: rgba(20,184,166,0.2); border: 1px solid rgba(20,184,166,0.4); border-radius: 5px; color: var(--teal); font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.split-panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.75rem; }
.split-panel h3 { color: var(--teal); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.split-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.split-item:last-child { border-bottom: none; }
.split-item-icon { color: var(--teal); flex-shrink: 0; margin-top: 0.1rem; }
.split-item-icon svg { width: 18px; height: 18px; }
.split-item-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.split-item-text strong { color: #fff; display: block; margin-bottom: 0.15rem; }
@media (max-width: 900px) { .split-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ─── NUMBERED LIST (variable-length process steps) ─────── */
.numbered-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.numbered-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.numbered-item .num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.numbered-item h4 { margin-bottom: 0.3rem; }
.numbered-item p { font-size: 0.88rem; margin: 0; }

/* ─── DELIVERABLES LIST ──────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: var(--text); }
.check-list li .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: rgba(20,184,166,0.12); color: var(--teal-700); display: flex; align-items: center; justify-content: center; margin-top: 0.05rem; }
.check-list li .tick svg { width: 12px; height: 12px; }

/* ─── COOKIE CONSENT BANNER ──────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--text);
  color: rgba(255,255,255,0.85);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* ─── CALLOUT CARD (paired-section supporting text) ──────── */
.callout-card {
  background: var(--bg);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
}
.callout-card p { font-size: 0.92rem; }

/* ─── ALTERNATING TWO-COLUMN LAYOUT (service/industry pages) ── */
.split-visual { max-width: 480px; width: 100%; margin: 0 auto; }
.split-visual .demo-panel,
.split-visual .demo-industry-shell { max-width: 100%; }
@media (max-width: 900px) {
  .split-visual { max-width: 380px; }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL COMPONENT LIBRARY
   Lightweight HTML/CSS/SVG demo panels reused across service and
   industry pages in place of raster mockup images. All demonstration
   data is generic/placeholder — no invented metrics, no client names.
   ═══════════════════════════════════════════════════════════ */

.demo-panel {
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.demo-panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.demo-panel-label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 1.25rem;
}
.demo-panel-label svg { width: 14px; height: 14px; color: var(--teal-700); }
@media (prefers-reduced-motion: reduce) {
  .demo-panel { transition: none; }
  .demo-panel:hover { transform: none; }
}

/* Metric tiles: label + abstract sparkline, no invented numbers */
.demo-metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.demo-metric-tile { text-align: left; }
.demo-metric-label { font-size: 0.68rem; color: var(--muted); font-weight: 600; margin-bottom: 0.5rem; display: block; }
.demo-sparkline { display: flex; align-items: flex-end; gap: 2px; height: 28px; }
.demo-sparkline span { flex: 1; background: color-mix(in srgb, var(--icon-color, var(--blue)) 70%, var(--border)); border-radius: 2px 2px 0 0; }
@media (max-width: 600px) { .demo-metrics-row { grid-template-columns: repeat(2, 1fr); } }

/* Line chart */
.demo-chart-line { width: 100%; height: auto; display: block; }
.demo-chart-line path { fill: none; stroke: var(--icon-color, var(--blue)); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.demo-chart-line .fill { stroke: none; fill: color-mix(in srgb, var(--icon-color, var(--blue)) 10%, transparent); }

/* Chat / AI recommendation flow */
.demo-chat-flow { display: flex; flex-direction: column; gap: 0.75rem; }
.demo-chat-bubble { border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.85rem; max-width: 88%; line-height: 1.5; }
.demo-chat-bubble.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.demo-chat-bubble.ai { align-self: flex-start; background: var(--bg); color: var(--text); border-bottom-left-radius: 4px; }
.demo-chat-typing { display: inline-flex; gap: 3px; align-self: flex-start; padding: 0.6rem 0.9rem; background: var(--bg); border-radius: var(--radius); }
.demo-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); animation: demoTypingBounce 1.2s ease-in-out infinite; }
.demo-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.demo-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes demoTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.demo-citation-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }
.demo-citation-chip { display: flex; align-items: center; gap: 0.35rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 0.3rem 0.7rem; font-size: 0.72rem; color: var(--muted); }
.demo-citation-chip svg { width: 11px; height: 11px; }
@media (prefers-reduced-motion: reduce) {
  .demo-chat-typing span { animation: none; opacity: 0.7; }
}

/* Local visibility radar */
.demo-radar { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.demo-radar-ring { position: absolute; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--teal) 35%, transparent); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: demoRadarPulse 3s ease-out infinite; }
.demo-radar-ring.r1 { width: 70px; height: 70px; animation-delay: 0s; }
.demo-radar-ring.r2 { width: 140px; height: 140px; animation-delay: 0.7s; }
.demo-radar-ring.r3 { width: 210px; height: 210px; animation-delay: 1.4s; }
@keyframes demoRadarPulse { 0% { opacity: 0.7; } 100% { opacity: 0.15; } }
.demo-radar-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(30,58,138,0.4); animation: demoFloat 3.5s ease-in-out infinite; z-index: 2; }
.demo-radar-pin svg { width: 18px; height: 18px; }
@keyframes demoFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -56%); } }
@media (prefers-reduced-motion: reduce) {
  .demo-radar-ring, .demo-radar-pin { animation: none; opacity: 0.4; }
}

.demo-search-chip { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 0.55rem 1.1rem; font-size: 0.82rem; color: var(--text); box-shadow: var(--shadow-sm); margin: 0 auto 1.5rem; width: fit-content; }
.demo-search-chip svg { width: 14px; height: 14px; color: var(--muted-2); }

.demo-maps-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; max-width: 260px; margin: 0 auto 1.5rem; }
.demo-maps-card-top { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }
.demo-maps-card-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(30,58,138,0.08); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-maps-card-icon svg { width: 16px; height: 16px; }
.demo-maps-card-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.demo-maps-card-address { font-size: 0.72rem; color: var(--muted); }
.demo-review-stars { display: flex; gap: 2px; color: #f59e0b; }
.demo-review-stars svg { width: 13px; height: 13px; }

.demo-rank-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 320px; margin: 0 auto; }
.demo-rank-row { display: flex; align-items: center; gap: 0.75rem; background: var(--bg); border-radius: var(--radius-sm); padding: 0.55rem 0.8rem; }
.demo-rank-row.is-you { background: color-mix(in srgb, var(--teal) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent); }
.demo-rank-num { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.demo-rank-row.is-you .demo-rank-num { background: var(--teal-700); }
.demo-rank-text { font-size: 0.78rem; color: var(--text); font-weight: 600; }
.demo-rank-sub { font-size: 0.68rem; color: var(--muted); }

/* Social content calendar */
.demo-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 1.25rem; }
.demo-calendar-day-label { font-size: 0.62rem; text-align: center; color: var(--muted-2); font-weight: 700; text-transform: uppercase; }
.demo-calendar-cell { aspect-ratio: 1; border-radius: 6px; background: var(--bg); border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; }
.demo-calendar-cell.filled { background: color-mix(in srgb, var(--icon-color, var(--blue)) 14%, var(--surface)); border-style: solid; border-color: color-mix(in srgb, var(--icon-color, var(--blue)) 30%, transparent); color: var(--icon-color, var(--blue)); }
.demo-calendar-cell svg { width: 13px; height: 13px; }
.demo-calendar-cell .plus { color: var(--border-strong); font-size: 0.9rem; }

/* Automation / flow nodes */
.demo-flow { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.demo-flow-node { display: flex; align-items: center; gap: 0.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; font-size: 0.78rem; font-weight: 600; color: var(--text); }
.demo-flow-node svg { width: 15px; height: 15px; color: var(--icon-color, var(--blue)); flex-shrink: 0; }
.demo-flow-node.end { background: var(--icon-color, var(--blue)); color: #fff; }
.demo-flow-node.end svg { color: #fff; }
.demo-flow-arrow { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--icon-color, var(--blue)) 50%, transparent) 0 6px, transparent 6px 10px); background-size: 200% 100%; animation: demoFlowMove 1.4s linear infinite; flex-shrink: 0; }
@keyframes demoFlowMove { from { background-position: 0 0; } to { background-position: -16px 0; } }
@media (max-width: 600px) { .demo-flow-arrow { width: 12px; } }
@media (prefers-reduced-motion: reduce) { .demo-flow-arrow { animation: none; } }

/* Industry card shell */
.demo-industry-shell { max-width: 420px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.demo-industry-shell:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.demo-industry-shell-band { background: linear-gradient(135deg, var(--icon-color, var(--blue)), color-mix(in srgb, var(--icon-color, var(--blue)) 60%, #000)); padding: 2rem 1.5rem; display: flex; justify-content: center; }
.demo-industry-shell-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: #fff; }
.demo-industry-shell-icon svg { width: 26px; height: 26px; }
.demo-industry-shell-body { background: var(--surface); padding: 1.5rem; }
@media (prefers-reduced-motion: reduce) {
  .demo-industry-shell, .demo-panel { transition: none; }
  .demo-industry-shell:hover, .demo-panel:hover { transform: none; }
}

/* ─── PAGE HEADER ICON BADGE (service/industry pages) ────── */
.page-header-badge { position: relative; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; }
.page-header-badge-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--icon-color, var(--blue)) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--icon-color, var(--blue)) 25%, transparent);
}
.page-header-badge-icon {
  position: relative; z-index: 1;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--icon-color, var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.page-header-badge-icon svg { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .page-header-badge { width: 110px; height: 110px; }
  .page-header-badge-icon { width: 60px; height: 60px; }
  .page-header-badge-icon svg { width: 26px; height: 26px; }
}

/* ─── ANIMATED QUERY DEMO (typewriter mock search/AI bar) ── */
.query-demo { max-width: 620px; margin: 0 auto; }
.query-demo-bar {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.query-demo-bar .qd-icon { color: var(--muted-2); flex-shrink: 0; display: flex; }
.query-demo-bar .qd-icon svg { width: 18px; height: 18px; }
.query-demo-text { font-size: 1rem; color: var(--text); font-family: var(--font-sans); white-space: nowrap; overflow: hidden; flex: 1; }
.query-demo-cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--teal); vertical-align: middle; margin-left: 2px; animation: qdBlink 0.9s step-end infinite; }
@keyframes qdBlink { 50% { opacity: 0; } }
.query-demo-platforms { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.query-demo-platform { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--muted); font-weight: 600; opacity: 0.4; transition: opacity 0.3s; }
.query-demo-platform.active { opacity: 1; color: var(--text); }
.query-demo-platform svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) {
  .query-demo-cursor { animation: none; }
}

/* ─── HERO NETWORK VISUALIZATION ─────────────────────────── */
.hero-network { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; }
.hero-network svg { width: 100%; height: 100%; overflow: visible; }
.hn-link { stroke: var(--border-strong); stroke-width: 1.5; fill: none; opacity: 0.6; }
.hn-pulse { fill: var(--teal); filter: drop-shadow(0 0 4px rgba(20,184,166,0.6)); }
.hn-node-bg { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.hn-node-center { fill: var(--blue); }
.hn-node-icon { color: var(--blue); }
.hn-node-icon svg { width: 24px; height: 24px; }
.hn-center-icon { color: #fff; }
.hn-center-icon svg { width: 32px; height: 32px; }
.hn-label { font-family: var(--font-sans); font-size: 10px; font-weight: 600; fill: var(--muted); }
.hn-node { animation: hnFloat 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hn-node.d1 { animation-delay: -0.5s; }
.hn-node.d2 { animation-delay: -1.5s; }
.hn-node.d3 { animation-delay: -2.5s; }
.hn-node.d4 { animation-delay: -3.5s; }
.hn-node.d5 { animation-delay: -4.2s; }
@keyframes hnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hn-center { animation: hnPulseScale 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hnPulseScale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.hero-floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  z-index: 2;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .hn-node, .hn-center, .hero-floating-card { animation: none; }
  .hn-pulse { display: none; }
}
@media (max-width: 900px) {
  .hero-floating-card { position: static; margin-top: -3rem; margin-left: auto; margin-right: 0; width: fit-content; }
}

/* ─── TIMELINE (About page) ──────────────────────────────── */
.timeline { position: relative; max-width: 720px; margin: 3rem auto 0; }
.timeline::before { content: ''; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--border-strong), var(--border)); }
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-weight: 800; font-size: 0.8rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.timeline-item h3 { margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.9rem; }

/* ─── GROWTH CHART (hand-built before/after bar chart) ──── */
.growth-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem 1rem; max-width: 900px; margin: 0 auto; }

/* ─── STAT CARDS (animated counters) ─────────────────────── */
.stat-card { text-align: center; padding: 2rem 1.5rem; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1; display: block; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }

/* ─── PHILOSOPHY / VALUE BLOCKS ──────────────────────────── */
.philosophy-block {
  border-left: 3px solid var(--teal);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}
.philosophy-block p { font-size: 1.15rem; color: var(--text); line-height: 1.7; font-weight: 500; }

/* ─── RICHER HOVER CARD ──────────────────────────────────── */
.hover-lift { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(20,184,166,0.4); }
.hover-lift:hover .card-icon { background: var(--blue); color: #fff; transition: all 0.25s var(--ease); }

/* ─── EXPANDABLE SECTION ─────────────────────────────────── */
.expand-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.expand-item summary { padding: 1.25rem 1.5rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.expand-item summary::-webkit-details-marker { display: none; }
.expand-item summary svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; color: var(--muted); }
.expand-item[open] summary svg { transform: rotate(180deg); }
.expand-body { padding: 0 1.5rem 1.5rem; font-size: 0.9rem; color: var(--muted); }

/* ─── ARTICLE / TOC ──────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; align-items: start; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { color: var(--muted); line-height: 1.8; margin: 0 0 1.25rem 1.25rem; }
.article-body blockquote { border-left: 3px solid var(--teal); padding-left: 1.25rem; color: var(--text); font-style: italic; margin: 1.5rem 0; }
.toc { position: sticky; top: calc(var(--header-height) + 1.5rem); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; background: var(--surface); }
.toc h4 { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; counter-reset: toc; }
.toc a { font-size: 0.83rem; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--blue); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.share-row { display: flex; gap: 0.6rem; margin-top: 2.5rem; }
.share-row a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); }
.share-row a:hover { border-color: var(--blue); color: var(--blue); }
.share-row a svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
