/* ==========================================================================
   TalkNest — site stylesheet
   Theme: white ground, bright brand blue, deep navy text, soft-blue bands,
   one colour per channel. Font: Plus Jakarta Sans.
   ========================================================================== */

:root {
  --primary: #1463F3;
  --primary-600: #0E52D6;
  --primary-700: #0B43B0;
  --primary-50: #EEF4FF;
  --primary-100: #DCE8FF;
  --navy: #0B1A3A;
  --navy-800: #0A1F5C;
  --text: #2B3A55;
  --muted: #56657F;
  --bg: #FFFFFF;
  --bg-soft: #F3F7FF;
  --bg-softer: #F8FAFF;
  --border: #E2E9F5;
  --success: #12A150;

  /* channel colours */
  --c-msg: #1E6BF5;
  --c-rcs: #5B4CE6;
  --c-wa: #17A957;
  --c-voice: #EF3E5C;
  --c-email: #F7781E;
  --c-bot: #8B3DF0;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 58, .06);
  --shadow: 0 8px 24px rgba(20, 60, 140, .08);
  --shadow-lg: 0 20px 48px rgba(20, 60, 140, .14);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(20, 99, 243, .45); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 640px) {
  .container { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: 80px; }
.section-sm { padding-block: 56px; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; display: grid; gap: 10px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.lead { font-size: 18px; color: var(--muted); }
.grid { display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(20, 99, 243, .28); }
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-700); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { color: var(--primary-700); transform: translateY(-2px); }
.btn-ghost-white { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.logo:hover { color: var(--navy); }
.logo svg { width: 36px; height: 36px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; color: var(--navy); font-size: 15px; font-weight: 500;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-active { color: var(--primary); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 3px; background: var(--primary); }
.nav-link svg { width: 16px; height: 16px; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover > .nav-link svg { transform: rotate(180deg); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--navy); }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.dropdown .icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex: none; }
.dropdown .icon-tile svg { width: 20px; height: 20px; flex: none; }
.dropdown a > span:not(.icon-tile) { display: block; min-width: 0; }
.dropdown strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.dropdown a > span:not(.icon-tile) span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.dropdown .dd-all { grid-column: 1 / -1; justify-content: center; align-items: center; gap: 8px; padding: 14px 12px 10px; font-size: 15px; font-weight: 700; line-height: 1; color: var(--primary); border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; margin-top: 4px; }
.dropdown .dd-all svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.dropdown .dd-all:hover { background: var(--primary-50); color: var(--primary-700); }
.dropdown .dd-all:hover svg { transform: translateX(3px); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
    flex-direction: column; align-items: stretch;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav-link[aria-current="page"]::after, .nav-link.is-active::after { display: none; }
  .dropdown { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; display: none; }
  .has-dropdown.is-open .dropdown { display: grid; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.is-open > .nav-link svg { transform: rotate(180deg); }
  .mobile-cta { display: grid !important; gap: 10px; margin-top: 16px; }
}
.mobile-cta { display: none; }

/* ---------- Icon tiles ---------- */
.icon-tile { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.icon-tile svg { width: 28px; height: 28px; }
.t-msg { background: var(--c-msg); }
.t-rcs { background: var(--c-rcs); }
.t-wa { background: var(--c-wa); }
.t-voice { background: var(--c-voice); }
.t-email { background: var(--c-email); }
.t-bot { background: var(--c-bot); }
.t-soft { background: var(--primary-50); color: var(--primary); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft) 0%, #FAFCFF 100%); padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--primary); }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.trust-row svg { width: 24px; height: 24px; color: var(--primary); }

.hero-visual { position: relative; min-height: 440px; }
.hv-blob { position: absolute; border-radius: 40px; background: var(--primary-100); opacity: .7; }
.hv-blob.b1 { width: 62%; height: 78%; right: 4%; top: 6%; border-radius: 48px; }
.hv-blob.b2 { width: 34%; height: 40%; left: 4%; top: 14%; background: #E4EDFF; }
.hv-blob.b3 { width: 30%; height: 30%; right: 0; bottom: 2%; background: #E4EDFF; }
.hv-phone {
  position: absolute; left: 60%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 230px; height: 420px; border-radius: 34px; background: var(--navy); padding: 10px; box-shadow: var(--shadow-lg);
}
.hv-screen { width: 100%; height: 100%; border-radius: 26px; background: #F4F7FD; overflow: hidden; display: flex; flex-direction: column; }
.hv-bar { background: var(--primary); color: #fff; padding: 22px 14px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.hv-bar .av { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 12px; }
.hv-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.45; }
.hv-msg { background: #fff; padding: 9px 11px; border-radius: 12px 12px 12px 4px; box-shadow: var(--shadow-sm); max-width: 88%; color: var(--navy); }
.hv-msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-radius: 12px 12px 4px 12px; }
.hv-chip { align-self: flex-start; border: 1px solid var(--primary-100); background: #fff; color: var(--primary); font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.hv-card { position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 16px; }
.hv-engage { right: 2%; top: 10%; width: 170px; }
.hv-engage small { font-size: 12px; color: var(--muted); font-weight: 600; }
.hv-engage strong { display: block; font-size: 24px; color: var(--navy); margin: 2px 0 8px; }
.hv-engage .bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.hv-engage .bars span { flex: 1; border-radius: 4px; background: var(--primary-100); }
.hv-engage .bars span:last-child, .hv-engage .bars span:nth-last-child(2) { background: var(--primary); }
.hv-notify { right: 4%; bottom: 10%; width: 220px; display: flex; gap: 10px; align-items: center; }
.hv-notify .icon-tile { width: 38px; height: 38px; border-radius: 10px; }
.hv-notify .icon-tile svg { width: 20px; height: 20px; }
.hv-notify b { display: block; font-size: 13px; color: var(--navy); }
.hv-notify span { font-size: 12px; color: var(--muted); }
.hv-float { position: absolute; width: 54px; height: 54px; border-radius: 14px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hv-float svg { width: 28px; height: 28px; }
.hv-float.f1 { left: 18%; top: 4%; animation-delay: -1s; }
.hv-float.f2 { left: 2%; top: 20%; }
.hv-float.f3 { left: 20%; top: 28%; animation-delay: -2s; }
.hv-float.f4 { left: 4%; top: 46%; animation-delay: -3s; }
.hv-float.f5 { left: 20%; top: 60%; animation-delay: -4s; }
.hv-float.f6 { left: 4%; top: 76%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 380px; }
  .hv-phone { width: 190px; height: 360px; left: 62%; }
  .hv-notify { display: none; }
  .hv-engage { width: 140px; right: 0; padding: 10px 12px; }
  .hv-engage strong { font-size: 20px; }
  .hv-notify { width: 190px; right: 0; }
  .hv-float { width: 44px; height: 44px; }
  .hv-float svg { width: 22px; height: 22px; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.product-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.product-card h3 { font-size: 18px; font-weight: 700; }
.product-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.product-card .link-arrow { margin-top: auto; padding-top: 6px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .product-card { padding: 20px 12px; } }
@media (max-width: 380px) { .product-grid { grid-template-columns: 1fr; } }

/* Wide product cards (products page) */
.product-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.pw-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s, box-shadow .25s; }
.pw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pw-card h3 { font-size: 22px; }
.pw-card p { color: var(--muted); }
.pw-card .link-arrow { margin-top: auto; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--navy); }
.checklist .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 14px; height: 14px; }

/* ---------- Why section + dashboard mock ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.why-grid h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.why-grid .lead { margin: 14px 0 28px; }
.dash { display: grid; grid-template-columns: 160px minmax(0, 1fr); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; }
.dash-side { background: var(--bg-softer); border-right: 1px solid var(--border); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.dash-side .logo { font-size: 16px; gap: 6px; margin: 0 6px 14px; }
.dash-side .logo svg { width: 22px; height: 22px; }
.dash-side span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.dash-side span svg { width: 14px; height: 14px; }
.dash-side span.on { background: var(--navy); color: #fff; }
.dash-main { padding: 18px; min-width: 0; }
.dash-main h3 { font-size: 16px; margin-bottom: 14px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dash-stat { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.dash-stat .icon-tile { width: 30px; height: 30px; border-radius: 8px; }
.dash-stat .icon-tile svg { width: 16px; height: 16px; }
.dash-stat small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-stat b { font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.dash-chart { margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.dash-chart header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy); font-size: 13px; }
.dash-chart header span { font-weight: 500; font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; }
.dash-chart svg { width: 100%; height: 90px; margin-top: 6px; }
.dash-legend { display: flex; gap: 14px; color: var(--muted); font-size: 11px; }
.dash-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg-soft); border: 1px solid var(--primary-100); border-radius: var(--radius-lg); padding: 26px 10px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid var(--primary-100); }
.stat svg { width: 40px; height: 40px; color: var(--primary); flex: none; }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--navy); font-weight: 500; }
@media (max-width: 860px) {
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 440px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--primary-100); padding-top: 16px; }
}

/* ---------- Industries ---------- */
.industry-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; list-style: none; }
.industry-row a, .industry-row li > div { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 6px; border-radius: 12px; text-align: center; color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.3; }
.industry-row a:hover { background: var(--bg-soft); color: var(--primary); }
.industry-row svg { width: 32px; height: 32px; color: var(--primary); }
@media (max-width: 1100px) { .industry-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 560px) { .industry-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Testimonial ---------- */
.testimonial-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--primary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); flex: none; }
.slider-btn:hover { background: var(--primary-50); }
.slider-btn svg { width: 20px; height: 20px; }
.testimonial { max-width: 680px; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.testimonial blockquote { margin: 0; display: flex; gap: 16px; }
.testimonial blockquote svg { width: 36px; height: 36px; color: var(--primary); flex: none; }
.testimonial blockquote p { font-size: 16px; color: var(--text); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-left: 52px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-100); color: var(--primary); display: grid; place-items: center; font-weight: 800; flex: none; }
.testimonial figcaption b { display: block; color: var(--navy); }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--primary-100); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--primary); width: 24px; border-radius: 999px; }
.placeholder-note { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: #9A5B00; background: #FFF4DB; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 560px) {
  .testimonial-wrap .slider-btn { display: none; }
  .testimonial { padding: 22px; }
  .testimonial figcaption { padding-left: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, #0A1F5C 0%, #0F3BA8 55%, #1463F3 100%); color: #fff; padding-block: 44px; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; }
.cta-band p { color: #D6E2FF; font-size: 17px; margin-top: 8px; }
.cta-band .hero-actions { margin-top: 22px; }
.cta-features { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 16px 36px; list-style: none; }
.cta-features li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.cta-features svg { width: 26px; height: 26px; color: #fff; }
@media (max-width: 480px) { .cta-features { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding-block: 52px 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 0.9fr; gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 260px; }
.footer-col h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--navy); background: var(--bg-soft); }
.socials a:hover { color: #fff; background: var(--primary); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #FAFCFF 100%); padding-block: 48px 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A8B4CA; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; max-width: 820px; }
.page-hero .lead { margin-top: 16px; max-width: 720px; color: var(--text); }
.page-hero .hero-actions { margin-top: 26px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ph-grid .icon-tile { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px; }
.ph-grid .icon-tile svg { width: 32px; height: 32px; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } }

/* Product visual (inner) */
.pv { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; max-width: 460px; width: 100%; justify-self: center; }
.pv-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.pv-head .avatar { width: 38px; height: 38px; font-size: 13px; }
.pv-head b { display: block; color: var(--navy); font-size: 15px; }
.pv-head span { font-size: 12px; color: var(--muted); }
.pv-body { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; font-size: 14px; }
.pv-msg { background: var(--bg-soft); border-radius: 14px 14px 14px 4px; padding: 12px 14px; color: var(--navy); max-width: 90%; }
.pv-msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-radius: 14px 14px 4px 14px; }
.pv-btns { display: grid; gap: 6px; max-width: 90%; }
.pv-btns span { border: 1px solid var(--primary-100); border-radius: 10px; padding: 9px; text-align: center; color: var(--primary); font-weight: 700; }
.pv-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-top: 6px; }
.pv-meta b { color: var(--success); }
.pv-otp { font-size: 30px; font-weight: 800; letter-spacing: .25em; color: var(--navy); font-variant-numeric: tabular-nums; }
.pv-card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; max-width: 92%; }
.pv-card .img { height: 120px; background: linear-gradient(135deg, var(--c-rcs), var(--primary)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.pv-card .txt { padding: 12px 14px; }
.pv-card .txt b { display: block; color: var(--navy); }
.pv-card .txt span { font-size: 13px; color: var(--muted); }
.pv-ivr { display: grid; gap: 8px; }
.pv-ivr div { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; color: var(--navy); }
.pv-ivr kbd { font-family: inherit; font-weight: 800; width: 28px; height: 28px; border-radius: 8px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.pv-email { border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.pv-email small { color: var(--muted); font-size: 12px; }
.pv-email b { display: block; color: var(--navy); margin: 4px 0 10px; }
.pv-email hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; }
.pv-email .row { display: flex; justify-content: space-between; font-size: 14px; }
.pv-email .btn { margin-top: 14px; width: 100%; border-radius: 10px; min-height: 42px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.feature .icon-tile { width: 48px; height: 48px; border-radius: 12px; }
.feature .icon-tile svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Use cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.usecase { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.usecase .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.usecase .icon-tile svg { width: 22px; height: 22px; }
.usecase h3 { font-size: 18px; margin-bottom: 6px; }
.usecase p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .usecases { grid-template-columns: 1fr; } }

/* ---------- Split block ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.split .lead { margin-bottom: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Code block ---------- */
.code { background: var(--navy); color: #DCE6FF; border-radius: var(--radius); overflow: hidden; min-width: 0; box-shadow: var(--shadow-lg); }
.code header { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #1E2F5C; font-size: 13px; color: #9FB2DA; }
.code header b { color: #7BE3A6; }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.7; }
.code .k { color: #9DB8FF; } .code .s { color: #8EE6B2; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--primary); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.price-table thead th { background: var(--bg-soft); color: var(--navy); font-size: 14px; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:first-child { font-weight: 700; color: var(--navy); }
.price-table .chan { display: flex; align-items: center; gap: 12px; }
.price-table .icon-tile { width: 34px; height: 34px; border-radius: 9px; }
.price-table .icon-tile svg { width: 18px; height: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 34px; font-weight: 800; color: var(--navy); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .checklist li { font-size: 15px; }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Cards (resources/blog) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); font-size: 15px; }
.card .link-arrow { margin-top: auto; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-50); padding: 4px 10px; border-radius: 999px; }
.tag.soon { color: #6B4E00; background: #FFF4DB; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Industry detail ---------- */
.industry-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ind { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.ind-head { display: flex; align-items: center; gap: 14px; }
.ind-head .icon-tile { width: 48px; height: 48px; border-radius: 12px; }
.ind-head .icon-tile svg { width: 24px; height: 24px; }
.ind h3 { font-size: 20px; }
.ind p { color: var(--muted); font-size: 15px; }
.ind ul { list-style: none; display: grid; gap: 8px; }
.ind li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.ind li svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); }
@media (max-width: 760px) { .industry-detail { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.info-item .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.info-item .icon-tile svg { width: 22px; height: 22px; }
.info-item b { display: block; color: var(--navy); }
.info-item span { color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CBD6EA; border-radius: 12px; background: #fff; color: var(--navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20, 99, 243, .14); }
.field .err { font-size: 13px; color: #C42B2B; }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.ok { background: #E7F7EE; color: #0D6B37; }
.form-status.bad { background: #FDECEC; color: #A42020; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal prose ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose .callout { background: #FFF4DB; color: #6B4E00; border-radius: 12px; padding: 14px 18px; font-size: 15px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 120px; }
.notfound .code404 { font-size: clamp(80px, 14vw, 140px); font-weight: 800; color: var(--primary); line-height: 1; }
.notfound h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0; }
.notfound .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}