/* ==========================================================================
   Navriddhi Tech Solutions — site styles
   Apple-inspired system: SF Pro (system font) with Inter as the fallback,
   generous whitespace, soft grey tiles, pill buttons, and light + dark themes.
   Theme is set on <html data-theme="light|dark"> by the inline head script
   and the toggle in main.js. Product pages add .theme-<product> for accents.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;
  --tile-2: #ffffff;
  --elev: #ffffff;
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, 0.08);
  --chip: rgba(0, 0, 0, 0.05);
  --link: #0066cc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --nav-bg: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.82);
  --frame-bar: #ececf0;
  --input-bg: #ffffff;
  --focus: rgba(0, 113, 227, 0.28);
  --shadow-frame: 0 40px 80px -30px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.18);
  --grad: linear-gradient(90deg, #0071e3 0%, #7b3fe4 36%, #e0307a 68%, #f56300 100%);

  --accent: #0071e3;
  --accent-2: #0071e3;
  --accent-rgb: 0, 113, 227;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 32px;

  --container: 1080px;
  --container-wide: 1260px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 80px;       /* header at the top of the page */
  --header-h-sm: 52px;    /* header after scrolling */

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --bg-alt: #0b0b0c;
  --tile: #161617;
  --tile-2: #1d1d1f;
  --elev: #1d1d1f;
  --text: #f5f5f7;
  --text-2: #c7c7cc;
  --muted: #86868b;
  --line: #424245;
  --line-soft: rgba(255, 255, 255, 0.1);
  --chip: rgba(255, 255, 255, 0.08);
  --link: #2997ff;
  --nav-bg: rgba(22, 22, 23, 0.8);
  --glass: rgba(36, 36, 38, 0.82);
  --frame-bar: #2c2c2e;
  --input-bg: #1d1d1f;
  --focus: rgba(41, 151, 255, 0.35);
  --shadow-frame: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  --grad: linear-gradient(90deg, #2997ff 0%, #a970ff 36%, #ff5fa2 68%, #ff9f45 100%);
  --accent: #2997ff;
  --accent-2: #2997ff;
  --accent-rgb: 41, 151, 255;
}

/* Product accents (text-safe on white in light mode, brighter in dark mode) */
.theme-bhojone { --accent: #c2410c; --accent-2: #c2410c; --accent-rgb: 234, 88, 12; }
.theme-viniflow { --accent: #be185d; --accent-2: #be185d; --accent-rgb: 219, 39, 119; }
.theme-salonflow { --accent: #c2413a; --accent-2: #c2413a; --accent-rgb: 242, 111, 100; }
.theme-wabizhub { --accent: #047857; --accent-2: #047857; --accent-rgb: 16, 185, 129; }
.theme-swarnapos { --accent: #076653; --accent-2: #076653; --accent-rgb: 7, 102, 83; }
.theme-wearzo { --accent: #135ba9; --accent-2: #ec4b68; --accent-rgb: 19, 91, 169; }
.theme-gympilot { --accent: #a94905; --accent-2: #135ba9; --accent-rgb: 234, 112, 18; }
.theme-pharmzo { --accent: #16743c; --accent-2: #16743c; --accent-rgb: 22, 116, 60; }
.theme-healdesk { --accent: #087b88; --accent-2: #135ba9; --accent-rgb: 8, 123, 136; }
.theme-tripzo { --accent: #1266bc; --accent-2: #da5705; --accent-rgb: 18, 102, 188; }
.theme-school { --accent: #1266bc; --accent-2: #d88a00; --accent-rgb: 18, 102, 188; }
.theme-hisab { --accent: #1266bc; --accent-2: #047857; --accent-rgb: 18, 102, 188; }
:root[data-theme="dark"] .theme-bhojone { --accent: #ff9a5c; --accent-2: #ff9a5c; --accent-rgb: 255, 138, 76; }
:root[data-theme="dark"] .theme-viniflow { --accent: #ff6fa5; --accent-2: #ff6fa5; --accent-rgb: 255, 95, 162; }
:root[data-theme="dark"] .theme-salonflow { --accent: #ff8f86; --accent-2: #ff8f86; --accent-rgb: 255, 143, 134; }
:root[data-theme="dark"] .theme-wabizhub { --accent: #34d399; --accent-2: #34d399; --accent-rgb: 52, 211, 153; }
:root[data-theme="dark"] .theme-swarnapos { --accent: #6dd8b7; --accent-2: #6dd8b7; --accent-rgb: 109, 216, 183; }
:root[data-theme="dark"] .theme-wearzo { --accent: #7eb8ff; --accent-2: #ff8193; --accent-rgb: 126, 184, 255; }
:root[data-theme="dark"] .theme-gympilot { --accent: #ffad66; --accent-2: #7eb8ff; --accent-rgb: 255, 173, 102; }
:root[data-theme="dark"] .theme-pharmzo { --accent: #6bdd92; --accent-2: #6bdd92; --accent-rgb: 107, 221, 146; }
:root[data-theme="dark"] .theme-healdesk { --accent: #66d7df; --accent-2: #7eb8ff; --accent-rgb: 102, 215, 223; }
:root[data-theme="dark"] .theme-tripzo { --accent: #7eb8ff; --accent-2: #ffad66; --accent-rgb: 126, 184, 255; }
:root[data-theme="dark"] .theme-school { --accent: #7eb8ff; --accent-2: #ffc85c; --accent-rgb: 126, 184, 255; }
:root[data-theme="dark"] .theme-hisab { --accent: #7eb8ff; --accent-2: #34d399; --accent-rgb: 126, 184, 255; }

/* Show/hide per theme (logos with white vs dark text) */
:root[data-theme="dark"] .show-light { display: none !important; }
.show-dark { display: none !important; }
:root[data-theme="dark"] .show-dark { display: block !important; }
:root[data-theme="dark"] svg.show-dark { display: block !important; }

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sm) + 20px); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, .h-display, .h1, .h2, .h3, .h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.022em; color: var(--text); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(0, 113, 227, 0.25); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 10px; }
.page-bg { display: none; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container.wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead { margin-top: 18px; }
.section-head .eyebrow, .section-head .kicker { margin-bottom: 14px; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* Typography -------------------------------------------------------------- */
.eyebrow { display: inline-block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--accent); }
.eyebrow .dot { display: none; }
.eyebrow.caps { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kicker { display: inline-block; font-size: 17px; font-weight: 600; color: var(--accent); margin-bottom: 12px; letter-spacing: -0.01em; }
.h-display { font-size: clamp(44px, 7.6vw, 92px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.h-display, .h1, .h2, .h3, h1, h2, h3, .tile-title, .prose h2 { text-wrap: balance; }
.lead, .tile-copy, .fact-label, .show-copy p, .faq .faq-a, .card.feature p, .problem p, .check-list li > span, .other span { text-wrap: pretty; }
.tile-cat, .faq summary, .section-head .lead, .p-hero .lead, .cta-band .lead, .show-row.wide .show-copy p { text-wrap: balance; }
.cta-wrap .eyebrow { margin-bottom: 14px; }
.footer-col li { display: flex; }
.h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 700; letter-spacing: -0.032em; line-height: 1.05; }
.h2 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.024em; line-height: 1.12; }
.h4 { font-size: 21px; letter-spacing: -0.018em; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.42; color: var(--text-2); letter-spacing: -0.016em; }
.muted { color: var(--muted); }
.small { font-size: 14px; letter-spacing: -0.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.accent-text { color: var(--accent); }

/* Icons ------------------------------------------------------------------- */
.i { width: 20px; height: 20px; flex: none; }
.i-sm { width: 14px; height: 14px; }
.i-lg { width: 26px; height: 26px; }
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: var(--accent); background: rgba(var(--accent-rgb), 0.12); }
.icon-badge .i { width: 24px; height: 24px; }
.icon-badge.grad { background: var(--grad); color: #fff; }

/* Buttons (Apple pills) ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.016em; line-height: 1.1; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 30px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.btn-lg { min-height: 50px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary, .btn-accent { color: #fff; background: var(--blue); }
.btn-primary:hover, .btn-accent:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--link); background: transparent; box-shadow: inset 0 0 0 1px var(--link); }
.btn-ghost:hover { color: #fff; background: var(--link); }
.btn-ghost:hover .i { color: #fff !important; }
.btn-wa { color: #fff; background: #0f7d41; }
.btn-wa:hover { background: #11894a; }
.btn-light { color: #1d1d1f; background: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 400; color: var(--link); font-size: 17px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .i { transform: translateX(2px); }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.7; }
.btn[aria-busy="true"] .btn-label::after { content: "…"; }

/* Cards / tiles -------------------------------------------------------------- */
.card { position: relative; border-radius: var(--radius-lg); background: var(--tile); }
.section.alt .card { background: var(--tile-2); }
.card-pad { padding: clamp(24px, 3vw, 40px); }
.glow-border::before { display: none; }
a.card { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--chip); }
.tag .i { width: 14px; height: 14px; color: var(--muted); }
.tag-accent { color: var(--accent); background: rgba(var(--accent-rgb), 0.12); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.check-list { display: grid; gap: 12px; text-align: left; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); flex: none; }
.check-list li strong { color: var(--text); font-weight: 600; }

/* Header (global nav) ------------------------------------------------------------ */
/* Large and transparent at the top of the page; shrinks into a frosted bar once you scroll. */
.site-header {
  --hdr-t: 0.45s var(--ease);
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: height var(--hdr-t), background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease), -webkit-backdrop-filter 0.35s var(--ease);
}
.site-header.scrolled { height: var(--header-h-sm); }
.site-header.scrolled, .site-header.menu-open {
  background: var(--nav-bg); border-bottom-color: var(--line-soft);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav { max-width: calc(var(--container-wide) + var(--gutter) * 2); height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; transition: gap var(--hdr-t); }
.brand-mark { width: 34px; height: 34px; object-fit: contain; transition: width var(--hdr-t), height var(--hdr-t); }
.brand-word { height: 19px; width: auto; transition: height var(--hdr-t); }
.brand-sub { display: block; font-size: 9.5px; letter-spacing: 0.36em; color: var(--muted); margin-top: 4px; font-weight: 600; transition: font-size var(--hdr-t), margin var(--hdr-t); }
.site-header.scrolled .brand { gap: 9px; }
.site-header.scrolled .brand-mark { width: 30px; height: 30px; }
.site-header.scrolled .brand-word { height: 17px; }
.site-header.scrolled .brand-sub { font-size: 7.5px; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 15.5px; font-weight: 400; letter-spacing: -0.012em; color: var(--text); opacity: 0.82; transition: opacity 0.2s, font-size var(--hdr-t), padding var(--hdr-t); }
.site-header.scrolled .nav-link { font-size: 14px; padding: 0 11px; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"] { font-weight: 600; }
.nav-link .i-sm { transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .i-sm { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.theme-toggle, .burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); transition: background-color 0.2s, width var(--hdr-t), height var(--hdr-t); }
.site-header.scrolled .theme-toggle, .site-header.scrolled .burger { width: 36px; height: 36px; }
.site-header .btn-desktop { min-height: 38px; padding: 9px 18px; font-size: 14px; transition: background-color 0.2s var(--ease), min-height var(--hdr-t), padding var(--hdr-t), font-size var(--hdr-t); }
.site-header.scrolled .btn-desktop { min-height: 30px; padding: 6px 14px; font-size: 13px; }
.theme-toggle:hover, .burger:hover { background: var(--chip); }
.theme-toggle .i { width: 18px; height: 18px; }
.burger { display: none; }
.burger .i { width: 20px; height: 20px; }

/* Products flyout */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 620px; transform: translate(-50%, 6px);
  padding: 10px; border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--elev); border: 1px solid var(--line-soft); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (max-height: 650px) and (min-width: 961px) {
  .mega { max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
}
.has-mega.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background-color 0.2s; }
.mega-item:hover, .mega-item:focus-visible, .mega-item[aria-current="page"] { background: var(--tile); }
.mega-item img { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; flex: none; }
.mega-item strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.016em; }
.mega-item > span > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.mega-item strong { color: var(--text); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; padding: 12px var(--gutter) 40px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .m-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); margin: 20px 4px 8px; }
.mobile-menu .m-products { display: grid; gap: 6px; }
.mobile-menu .mega-item { background: var(--tile); }
.mobile-menu .m-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.mobile-menu .m-links .i { color: var(--muted); }
.mobile-menu .m-cta { display: grid; gap: 10px; margin-top: 28px; }
.site-header.scrolled ~ .mobile-menu { top: var(--header-h-sm); }
body.no-scroll { overflow: hidden; }

/* Home hero ------------------------------------------------------------------------ */
.hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(64px, 9vw, 120px); text-align: center; overflow-x: clip; }
.hero-center { position: relative; isolation: isolate; max-width: 920px; margin: 0 auto; }
.hero-center .eyebrow { margin-bottom: 18px; }
.hero-center .lead { margin: 22px auto 0; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-center .hero-actions, .p-hero .hero-actions, .cta-band .hero-actions { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .i { width: 16px; height: 16px; }

/* Decorative software galaxy: inline artwork also works in file previews. */
.hero-galaxy { position: absolute; z-index: -1; pointer-events: none; width: min(1440px, calc(100vw - 2 * var(--gutter))); height: calc(100% + 130px); left: 50%; top: -70px; transform: translateX(-50%); }
.galaxy-haze { position: absolute; inset: -30px calc(-1 * var(--gutter)); background: radial-gradient(ellipse at 12% 36%, rgba(77, 134, 255, .15), transparent 32%), radial-gradient(ellipse at 88% 48%, rgba(162, 99, 245, .16), transparent 30%), radial-gradient(ellipse at 50% 0%, rgba(128, 119, 255, .07), transparent 48%); }
.galaxy-stars { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(circle at 7% 12%, #7c88ed 1.5px, transparent 2px), radial-gradient(circle at 22% 26%, #9881eb 1px, transparent 2px), radial-gradient(circle at 37% 4%, #409aee 1.5px, transparent 2px), radial-gradient(circle at 64% 10%, #a685db 1px, transparent 2px), radial-gradient(circle at 81% 14%, #409aee 1.5px, transparent 2px), radial-gradient(circle at 95% 39%, #9983ef 2px, transparent 3px), radial-gradient(circle at 8% 77%, #6ca9ec 2px, transparent 3px), radial-gradient(circle at 18% 93%, #a685db 1px, transparent 2px), radial-gradient(circle at 86% 86%, #a685db 1.5px, transparent 2px), radial-gradient(circle at 70% 96%, #409aee 1px, transparent 2px); animation: galaxy-twinkle 6s ease-in-out infinite alternate; }
.galaxy-orbit { position: absolute; left: 6%; top: 8%; width: 88%; height: 76%; border: 1px solid rgba(124, 117, 211, .13); border-radius: 50%; transform: rotate(-14deg); }
.galaxy-orbit.orbit-two { left: 14%; top: 0; width: 73%; height: 90%; transform: rotate(17deg); border-color: rgba(83, 147, 232, .09); }
.galaxy-orbit > span { position: absolute; inset: -3px; border-radius: inherit; animation: galaxy-orbit 32s linear infinite; }
.galaxy-orbit > span::before { content: ''; position: absolute; width: 6px; height: 6px; top: 50%; left: 0; border-radius: 50%; background: #8b83ec; box-shadow: 0 0 12px 3px rgba(139, 131, 236, .3); }
.orbit-two > span { animation-duration: 43s; animation-direction: reverse; }
.galaxy-device { position: absolute; width: clamp(96px, 9vw, 132px); filter: drop-shadow(0 12px 12px rgba(88, 101, 184, .17)); animation: galaxy-float 7s ease-in-out infinite; }
.galaxy-device svg { width: 100%; height: auto; overflow: visible; }
.galaxy-laptop { left: clamp(24px, 2vw, 32px); top: 24%; --device-tilt: -12deg; --device-color: #527de3; }
.galaxy-desktop { right: clamp(24px, 2vw, 32px); top: 40%; --device-tilt: 11deg; --device-color: #9c68d9; animation-delay: -3.5s; }
.device-shell { fill: var(--elev); stroke: var(--device-color); stroke-width: 1.5; }
.device-screen { fill: var(--bg-alt); stroke: var(--line-soft); }
.device-panel { fill: var(--device-color); fill-opacity: .1; }
.device-line { stroke: var(--device-color); stroke-opacity: .35; stroke-width: 1.5; stroke-linecap: round; }
.device-code { stroke: var(--device-color); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.device-dot { fill: var(--device-color); }
.device-shine { stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .7; }
.galaxy-spark { position: absolute; color: #8291df; font-size: 24px; font-weight: 400; animation: galaxy-twinkle 5s ease-in-out infinite alternate; }
.spark-one { left: 16%; top: 11%; transform: rotate(12deg); }
.spark-two { right: 15%; top: 17%; color: #b48cd8; animation-delay: -2s; }
.spark-three { left: 10%; top: 70%; font-size: 18px; animation-delay: -3s; }
.galaxy-toggle { display: inline-block; margin-top: 16px; padding: 8px 12px; min-height: 36px; border: 0; border-radius: 20px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.galaxy-toggle:hover { background: var(--chip); color: var(--text); }
.hero-center.galaxy-paused .hero-galaxy *, .hero-center.galaxy-paused .hero-galaxy *::before { animation-play-state: paused !important; }
.no-js .galaxy-toggle { display: none; }
:root[data-theme="dark"] .galaxy-haze { opacity: 1.25; }
:root[data-theme="dark"] .galaxy-orbit { border-color: rgba(151, 145, 244, .17); }
:root[data-theme="dark"] .galaxy-laptop { --device-color: #8cacff; }
:root[data-theme="dark"] .galaxy-desktop { --device-color: #c19af5; }
@keyframes galaxy-float { 0%, 100% { transform: translateY(0) rotate(var(--device-tilt)); } 50% { transform: translateY(-16px) rotate(calc(var(--device-tilt) + 4deg)); } }
@keyframes galaxy-twinkle { from { opacity: .35; } to { opacity: .85; } }
@keyframes galaxy-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1320px) {
  .hero-center { padding-top: 104px; }
  .hero-galaxy { top: 0; height: 100%; }
  .galaxy-device { width: 88px; }
  .galaxy-laptop { top: 0; left: 9%; }
  .galaxy-desktop { top: 0; right: 9%; }
  .galaxy-orbit { top: -20px; height: 96%; }
  .spark-one { left: 30%; top: 0; }
  .spark-two { right: 29%; top: 3%; }
}
@media (max-width: 640px) {
  .hero-center { padding-top: 90px; }
  .galaxy-device { width: 72px; }
  .galaxy-laptop { left: 8%; }
  .galaxy-desktop { right: 8%; }
  .galaxy-orbit { left: -18%; width: 136%; opacity: .65; }
  .galaxy-orbit.orbit-two { left: -12%; width: 124%; }
  .galaxy-spark { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-center:not(.galaxy-motion-enabled) .hero-galaxy *, .hero-center:not(.galaxy-motion-enabled) .hero-galaxy *::before { animation: none !important; }
  .galaxy-device { transform: rotate(var(--device-tilt)); }
}

/* Showcase stage */
.stage { position: relative; width: 90%; max-width: 860px; margin: clamp(48px, 6vw, 72px) auto 0; }
.stage-aura { display: none; }
.stage-scene { position: relative; width: 84%; margin: 0 auto 0 4%; }
.frame { position: relative; border-radius: 14px; overflow: hidden; background: var(--elev); box-shadow: var(--shadow-frame); border: 1px solid var(--line-soft); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: var(--frame-bar); border-bottom: 1px solid var(--line-soft); }
.frame-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.frame-bar > span:nth-child(2) { background: #febc2e; }
.frame-bar > span:nth-child(3) { background: #28c840; }
.frame-url { margin: 0 auto; transform: translateX(-18px); max-width: 60%; height: 20px; padding: 0 10px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); background: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.frame-url .i { width: 10px; height: 10px; }
.frame-body { position: relative; aspect-ratio: 16 / 10; background: var(--tile); container-type: inline-size; }
.frame-body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.frame-body.dark { background: #120c14; }
.stage-frame { transform: none; }
.stage-shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); }
.stage-shot.is-active { opacity: 1; }

.phone { position: relative; width: 100%; aspect-ratio: 9 / 19; border-radius: 36px; padding: 8px; background: #1d1d1f; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 29px; overflow: hidden; background: #0b141a; container-type: inline-size; }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-notch { position: absolute; top: 4.2%; left: 50%; transform: translateX(-50%); width: 32%; height: 4.2%; border-radius: 20px; background: #000; z-index: 3; }
.stage-phone { position: absolute; right: -17%; bottom: -10%; width: 26%; max-width: 230px; z-index: 3; }

/* WhatsApp-style chat mock inside phones (scales with the phone) */
.chat { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.6s var(--ease); background: #0b141a; letter-spacing: 0; }
.chat.is-active { opacity: 1; }
.chat-head { display: flex; align-items: center; gap: 4.5cqi; padding: 19cqi 5cqi 5cqi; background: #1f2c34; }
.chat-ava { width: 14cqi; height: 14cqi; border-radius: 50%; display: grid; place-items: center; font-size: 5.6cqi; font-weight: 700; color: #fff; flex: none; }
.chat-name { font-size: 6cqi; font-weight: 600; color: #e9edef; line-height: 1.2; }
.chat-name small { display: block; font-size: 4.8cqi; font-weight: 400; color: #8696a0; }
.chat-body { flex: 1; padding: 5cqi 4cqi; display: flex; flex-direction: column; gap: 3cqi; justify-content: flex-end; background-color: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { max-width: 88%; padding: 3cqi 4cqi 2.5cqi; border-radius: 4.5cqi; font-size: 5.4cqi; line-height: 1.45; color: #e9edef; background: #1f2c34; align-self: flex-start; white-space: pre-line; }
.bubble.out { background: #005c4b; align-self: flex-end; }
.bubble b { font-weight: 600; }
.bubble time { display: block; text-align: right; font-size: 4.2cqi; color: rgba(233, 237, 239, 0.55); margin-top: 2px; }
.bubble-btn { display: block; margin-top: 3cqi; padding-top: 2.5cqi; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #53bdeb; font-weight: 600; }
.chat-input { display: flex; align-items: center; gap: 3cqi; padding: 4cqi; background: #0b141a; }
.chat-input span { flex: 1; height: 12cqi; border-radius: 6cqi; background: #1f2c34; }
.chat-input i { width: 12cqi; height: 12cqi; border-radius: 50%; background: #00a884; }

/* WABizHub dashboard mock (HTML, scales with its frame via container units) */
.wbz-mock { text-align: left; display: flex; background: #f6f5ef; color: #17231d; font-family: var(--font); font-size: 1.9cqi; line-height: 1.35; letter-spacing: 0; }
.wbz-side { width: 9%; background: #0f3d2e; display: flex; flex-direction: column; align-items: center; gap: 4.2cqi; padding: 2.4cqi 0; }
.wbz-side img { width: 5.4cqi; height: 5.4cqi; border-radius: 1.2cqi; }
.wbz-side i { width: 3.4cqi; height: 3.4cqi; border-radius: 1cqi; background: rgba(255, 255, 255, 0.18); }
.wbz-side i.on { background: #10d98a; }
.wbz-main { flex: 1; padding: 2.6cqi 3cqi; display: flex; flex-direction: column; gap: 2cqi; min-width: 0; }
.wbz-top { display: flex; justify-content: space-between; align-items: center; }
.wbz-top b { font-size: 3.2cqi; font-weight: 600; }
.wbz-btn { background: #0f7a4f; color: #fff; border-radius: 99px; padding: 0.9cqi 2cqi; font-size: 1.7cqi; font-weight: 600; }
.wbz-card { background: #fff; border: 1px solid #e6e3d8; border-radius: 1.8cqi; padding: 2cqi 2.2cqi; min-width: 0; }
.wbz-card > b { display: block; font-size: 2cqi; margin-bottom: 1.2cqi; }
.wbz-row { display: flex; justify-content: space-between; align-items: center; gap: 1cqi; }
.wbz-row b { font-size: 2.4cqi; }
.wbz-pill { background: #e7f8ef; color: #0f7a4f; border-radius: 99px; padding: 0.5cqi 1.4cqi; font-size: 1.55cqi; font-weight: 600; white-space: nowrap; }
.wbz-camp p { color: #66736b; font-size: 1.65cqi; margin: 0.8cqi 0 1.8cqi; }
.wbz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqi; }
.wbz-stats span { display: block; font-size: 1.55cqi; color: #66736b; margin-bottom: 0.7cqi; }
.wbz-stats i { display: block; height: 1.2cqi; border-radius: 1cqi; background: #edf0ea; position: relative; overflow: hidden; }
.wbz-stats i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #10d98a, #0f7a4f); }
.wbz-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2cqi; flex: 1; }
.wbz-chat { display: flex; align-items: center; gap: 1.2cqi; padding: 1cqi 0; border-top: 1px solid #f0eee6; font-size: 1.7cqi; }
.wbz-chat i { width: 2.6cqi; height: 2.6cqi; border-radius: 50%; flex: none; }
.wbz-chat span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbz-node { font-size: 1.65cqi; padding: 0.9cqi 1.4cqi; border-radius: 1cqi; background: #e7f8ef; color: #0f5a3b; margin-bottom: 1.4cqi; position: relative; font-weight: 500; }
.wbz-node:not(:last-child)::after { content: ""; position: absolute; left: 2cqi; bottom: -1.4cqi; width: 1px; height: 1.4cqi; background: #9fd9bd; }
.wbz-node.alt { background: #fff4e5; color: #8a4b00; }

/* Floating chips */
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; text-align: left;
  padding: 9px 14px 9px 9px; border-radius: 14px; font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -0.01em;
  background: var(--glass); border: 1px solid var(--line-soft); box-shadow: var(--shadow-card);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.float-chip .chip-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); flex: none; }
.float-chip .chip-ico .i { width: 16px; height: 16px; }
.float-chip small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.float-chip.swap { opacity: 0; transform: translateY(4px); }
.stage .chip-a { left: -8%; top: 14%; }
.stage .chip-b { left: 8%; bottom: -7%; }

/* Segmented control for the showcase */
.stage-tabs { position: relative; z-index: 5; display: flex; gap: 2px; margin: 76px auto 0; padding: 3px; width: max-content; max-width: 100%; border-radius: 999px; background: var(--tile); overflow-x: auto; scrollbar-width: none; }
.stage-tabs::-webkit-scrollbar { display: none; }
.stage-tab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 8px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.stage-tab img { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; }
.stage-tab:hover { color: var(--text); }
.stage-tab[aria-selected="true"] { color: var(--text); background: var(--elev); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }

/* Strip -------------------------------------------------------------------------- */
.strip { padding: 22px 0; border-block: 1px solid var(--line-soft); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 20px 40px; flex-wrap: wrap; }
.strip-label { font-size: 13px; color: var(--muted); }
.strip-items { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; }
.strip-item { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.016em; }
.strip-item img { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }
.strip-item:hover { color: var(--link); }

/* Compact home product catalogue ------------------------------------------------------ */
#products .section-head .h2 { font-size: clamp(28px, 3.6vw, 44px); }
#products .section-head .lead { max-width: 780px; margin-left: auto; margin-right: auto; font-size: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: var(--container); margin: 0 auto; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; border-radius: 20px; background: var(--tile); padding: 26px 24px; min-height: 270px; }
.tile-icon, .catalogue-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; margin-bottom: 18px; flex: none; }
.tile-name { font-size: 25px; font-weight: 700; letter-spacing: -0.03em; }
.tile-cat { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: 6px; }
.tile-title { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.3; color: var(--text); margin-top: 14px; max-width: 460px; letter-spacing: -0.018em; }
.tile-copy { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 8px; max-width: 290px; }
.tile-cta { display: flex; justify-content: center; align-items: center; margin-top: auto; padding-top: 20px; }
.tile-cta .btn { min-height: 40px; }
.tile-media { position: relative; width: 86%; max-width: 440px; margin-top: auto; padding-top: 30px; }
.tile-media .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: -1px; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, 0.3); }
.tile-media .pc-phone { position: absolute; right: 2%; bottom: 0; width: 26%; max-width: 150px; z-index: 2; }
.tile-media .pc-plate { width: 20%; }
.tile.tile-brand { min-height: 420px; padding-bottom: 32px; background: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), .1), transparent 65%), var(--tile); }
.catalogue-logo { background: #fff; }
.tile-brand .tile-cta { margin-top: auto; padding-top: 24px; }
.product-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); margin-top: 36px; text-align: left; }
.product-intro h1 { margin-top: 18px; }
.product-intro .hero-actions { justify-content: flex-start; }
.product-logo-panel { width: min(100%, 180px); justify-self: center; padding: 6px; background: #fff; border: 1px solid var(--line-soft); border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; }
.product-logo-panel img { width: 100%; height: auto; border-radius: 14px; }
.product-audience { font-size: 14px; color: var(--accent); margin-top: 22px; }
@media (min-width: 1101px) { .platforms.catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .product-intro { grid-template-columns: 1fr; text-align: center; }
  .product-intro .hero-actions { justify-content: center; }
  .product-logo-panel { width: min(100%, 140px); margin: 0 auto; }
}

/* Legacy product card classes (kept for product pages) */
.pc-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; flex: none; }
.pc-cat { display: block; font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.pc-phone { position: absolute; z-index: 2; }
.pc-plate { position: absolute; width: 22%; border-radius: 50%; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.45); z-index: 2; animation: float 7s ease-in-out infinite; }

/* Bento / pillars ------------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
.pillar { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.pillar p { color: var(--text-2); }
.pillar.big { min-height: 0; }
.pillar .mini-phones { display: flex; gap: 16px; justify-content: center; align-items: flex-end; margin-top: auto; padding-top: 8px; }
.pillar .mini-phones .phone { width: 100px; flex: none; border-radius: 14px; padding: 4px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pillar .mini-phones .phone-screen { border-radius: 10px; }
.pillar .mini-phones .phone-notch { width: 25%; height: 3px; top: 7px; border-radius: 2px; }
.pillar-row { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.pillar .mini-shot { width: 90%; align-self: center; margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); }

/* Steps: Ideas | Build | Grow ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.step { padding: clamp(28px, 3.4vw, 44px); }
.step-num { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 20px; letter-spacing: 0.04em; }
.step h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.step h3 .i { color: var(--accent); }
.step p { color: var(--text-2); }
.step ul { margin-top: 18px; display: grid; gap: 8px; }
.step ul li { display: flex; gap: 10px; color: var(--muted); font-size: 15px; }
.step ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; margin-top: 9px; background: var(--muted); flex: none; }

/* Facts ------------------------------------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 32px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.fact-num { font-size: clamp(48px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.fact-label { margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.fact-src { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.fact-src img { width: 20px; height: 20px; border-radius: 6px; }

/* Industries ------------------------------------------------------------------------- */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.industry { display: flex; gap: 16px; padding: 28px; align-items: flex-start; }
.industry h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -0.018em; }
.industry p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.industry .uses { margin-top: 10px; font-size: 15px; color: var(--link); }

/* FAQ --------------------------------------------------------------------------------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.018em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 26px; color: var(--text-2); max-width: 740px; }
.faq .faq-a p + p { margin-top: 10px; }
.faq .faq-a a { color: var(--link); }

/* CTA + forms --------------------------------------------------------------------------- */
.cta-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 10px; margin-top: 32px; }
.contact-item { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--radius); background: var(--tile); transition: box-shadow 0.2s; }
a.contact-item:hover { box-shadow: var(--shadow-card); }
.contact-item .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item strong { font-weight: 600; }

.form { padding: clamp(24px, 3.6vw, 44px); display: grid; gap: 18px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label .req { color: #e30000; }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; font-size: 17px; background: var(--input-bg); border: 1px solid var(--line); color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.textarea { height: auto; min-height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 0.8; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--focus); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #e30000; }
.field-error { font-size: 13px; color: #e30000; }
:root[data-theme="dark"] .field-error, :root[data-theme="dark"] .field label .req { color: #ff6961; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.show { display: flex; gap: 10px; align-items: flex-start; }
.form-status.ok { background: rgba(52, 199, 89, 0.14); color: var(--text); }
.form-status.ok .i { color: #248a3d; }
.form-status.err { background: rgba(255, 59, 48, 0.1); color: var(--text); }
.form-status a { color: var(--link); text-decoration: underline; }

.cta-band { position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px); background: var(--tile); }
.cta-band .lead { max-width: 640px; margin: 16px auto 0; }
.cta-mark { display: none; }

/* Footer ----------------------------------------------------------------------------------- */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--bg-alt); font-size: 13px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr); gap: 32px; }
.footer-logo { display: inline-flex; align-items: center; gap: 9px; }
.footer-logo .footer-mark { width: 24px; height: 24px; }
.footer-logo .footer-word { height: 14px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 300px; line-height: 1.5; }
.footer-col h4 { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-products ul { display: block; columns: 2; column-gap: 24px; }
.footer-products li { break-inside: avoid; margin-bottom: 9px; }
.footer-col a { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-col .i { width: 14px; height: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--text); text-decoration: underline; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1fa855; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45); transition: transform 0.25s var(--ease), opacity 0.3s var(--ease); opacity: 0; pointer-events: none; transform: scale(0.9); }
.wa-float.show { opacity: 1; pointer-events: auto; transform: none; }
.no-js .wa-float { opacity: 1; pointer-events: auto; transform: none; }
.wa-float.show:hover { transform: scale(1.06); }
.wa-float .i { width: 28px; height: 28px; }

/* Product pages ------------------------------------------------------------------------------ */
.p-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(64px, 9vw, 120px); text-align: center; overflow-x: clip; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--link); }
.crumbs .sep { opacity: 0.5; }
.p-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 80px); justify-items: center; }
.p-hero-grid > div:first-child { max-width: 860px; }
.p-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; text-align: left; }
.p-brand img.p-icon { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.p-brand img.p-word { height: 28px; width: auto; }
.p-brand .p-name { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.05; }
.p-brand .p-cat { display: block; color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 4px; }
.p-hero .lead { margin: 22px auto 0; max-width: 720px; }
.p-hero .tags { justify-content: center; }
.p-hero-media { position: relative; width: 90%; max-width: 820px; }
.p-hero-media .frame { transform: none; }
.p-hero-media .pc-plate { box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.5); }
.p-hero-media .plate-left { left: -15%; top: 16%; width: 15%; animation-delay: -2s; }
.p-hero-media .plate-right { right: -17%; bottom: -4%; width: 18%; }
@media (max-width: 1360px) { .p-hero-media .pc-plate { display: none; } }

.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.problem { padding: 28px; }
.problem .before { font-size: 15px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.problem .before .i { color: var(--muted); margin-top: 4px; }
.problem .after { font-size: 17px; color: var(--text); display: flex; gap: 10px; align-items: flex-start; font-weight: 600; letter-spacing: -0.016em; }
.problem .after .i { color: var(--accent); margin-top: 3px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.feature h3 { font-size: 21px; letter-spacing: -0.02em; }
.feature p { color: var(--text-2); font-size: 16px; line-height: 1.5; }

.showcase { display: grid; gap: clamp(72px, 10vw, 128px); }
.show-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.show-row.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.show-row.flip .show-media { order: -1; }
.show-copy .h3 { margin-bottom: 14px; }
.show-copy p { color: var(--text-2); }
.show-copy .check-list { margin-top: 22px; }
.show-media { position: relative; width: 88%; justify-self: center; }
.show-media .frame-body { aspect-ratio: auto; }
.show-media .frame-body img { height: auto; object-fit: contain; }
.phones { display: flex; justify-content: center; gap: clamp(12px, 2vw, 22px); align-items: flex-end; }
.phones .phone { width: 28%; max-width: 190px; }
.phones .phone:nth-child(2) { transform: translateY(-28px); }

.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.platform { padding: 28px; }
.platform h3 { font-size: 19px; margin: 18px 0 6px; }
.platform p { font-size: 15px; color: var(--muted); line-height: 1.45; }

.audience { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.audience .tag { min-height: 44px; padding: 8px 18px; font-size: 15px; color: var(--text); background: var(--tile); }
.audience .tag .i { width: 18px; height: 18px; color: var(--accent); }

.other-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.other { display: flex; gap: 16px; align-items: center; padding: 22px; }
.other img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.other strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.018em; }
.other > span { flex: 1; min-width: 0; }
.other > span > span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.other strong { color: var(--text); }
.other .i { margin-left: auto; color: var(--muted); }

.note-box { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(var(--accent-rgb), 0.1); color: var(--text-2); font-size: 15px; }
.note-box .i { color: var(--accent); margin-top: 2px; }
.note-box a { color: var(--link); font-weight: 500; }
.note-box a:hover { text-decoration: underline; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.prose a { color: var(--link); text-decoration: underline; }

/* Reveal animations ------------------------------------------------------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  /* Smooth scrolling stays on: the owner wants menu links to glide even when Windows animation effects are off. */
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* An explicit Play choice enables only the decorative galaxy animation. */
  .galaxy-motion-enabled .galaxy-device { animation: galaxy-float 7s ease-in-out infinite !important; }
  .galaxy-motion-enabled .galaxy-desktop { animation-delay: -3.5s !important; }
  .galaxy-motion-enabled .galaxy-stars { animation: galaxy-twinkle 6s ease-in-out infinite alternate !important; }
  .galaxy-motion-enabled .galaxy-spark { animation: galaxy-twinkle 5s ease-in-out infinite alternate !important; }
  .galaxy-motion-enabled .galaxy-orbit > span { animation: galaxy-orbit 32s linear infinite !important; }
  .galaxy-motion-enabled .orbit-two > span { animation-duration: 43s !important; animation-direction: reverse !important; }
}

/* Responsive -------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links .nav-link.hide-md { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; --header-h-sm: 48px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { height: 17px; }
  .brand-sub { font-size: 8px; }
  .site-header.scrolled .brand-mark { width: 28px; height: 28px; }
  .site-header.scrolled .brand-word { height: 15px; }
  .site-header.scrolled .brand-sub { font-size: 7px; }
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .burger { display: inline-grid; }
  .nav { justify-content: space-between; }
  .nav-cta { margin-left: auto; }
  .cta-wrap { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 0; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 6; }
  .steps, .industries, .problem-grid, .feature-grid, .other-products { grid-template-columns: 1fr 1fr; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; }
  .show-row.flip .show-media { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .tiles { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stage-scene { width: 82%; margin-left: 2%; }
  .stage-phone { width: 30%; right: -20%; bottom: -12%; }
  .stage .chip-a { left: -2%; top: -8%; }
  .stage .chip-b { left: 2%; bottom: -10%; }
  .stage-tabs { margin-top: 64px; }
  .stage-tab { padding: 0 12px 0 6px; font-size: 13px; }
  .float-chip { font-size: 12px; padding: 7px 11px 7px 7px; }
  .float-chip small { display: none; }
  .steps, .industries, .problem-grid, .feature-grid, .other-products, .facts, .platforms { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-products { grid-column: 1 / -1; }
  .phones .phone:nth-child(2) { transform: translateY(-14px); }
  .phone, .stage-phone, .pc-phone, .phones .phone { border-radius: 22px; padding: 5px; }
  .phone-screen { border-radius: 18px; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

@media (max-width: 400px) {
  .stage-tab { padding: 0 8px; }
}

/* ---- QA refinements -------------------------------------------------------------------------------- */
.hero + .section, .p-hero + .section { padding-top: clamp(8px, 2vw, 24px); }
main > :is(.section, .section-tight) + :is(.section, .section-tight) { padding-top: 0; }
.icon-badge.wa { color: #1a8a47; background: rgba(37, 211, 102, 0.14); }
:root[data-theme="dark"] .icon-badge.wa { color: #30d158; }
:root[data-theme="dark"] .stage-tabs { background: #1d1d1f; }
:root[data-theme="dark"] .stage-tab[aria-selected="true"] { background: #3a3a3c; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] :is(.tile-icon, .stage-tab img, .fact-src img, .mega-item img, .p-brand img.p-icon, .other img, .pc-logo) { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
:root[data-theme="dark"] .phone-screen { background: #1d1d1f !important; }
.pillar .mini-shot { background: var(--frame-bar); aspect-ratio: 1600 / 852; }
.pillar .mini-shot img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1101px) { .platforms .feature .pc-cat { min-height: 3em; } }
.show-row.wide { grid-template-columns: 1fr; text-align: center; }
.show-row.wide .show-copy { max-width: 720px; margin: 0 auto; }
.show-row.wide .check-list { display: inline-grid; margin-left: auto; margin-right: auto; }
.show-row.wide .show-media { order: 1; }
.phone-float { position: absolute; left: -5%; bottom: -14%; width: 24%; max-width: 170px; z-index: 2; }
.p-hero-grid > .form { width: 100%; max-width: 860px; }
.p-hero-grid .contact-list { grid-template-columns: 1fr 1fr; }
.p-hero .updated { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }

/* WABizHub dashboard mock follows the theme */
:root[data-theme="dark"] .wbz-mock { background: #1c1c1e; color: #f5f5f7; }
:root[data-theme="dark"] .wbz-card { background: #2c2c2e; border-color: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] .wbz-camp p, :root[data-theme="dark"] .wbz-stats span { color: #98989d; }
:root[data-theme="dark"] .wbz-stats i { background: rgba(255, 255, 255, 0.1); }
:root[data-theme="dark"] .wbz-chat { border-top-color: rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .wbz-pill, :root[data-theme="dark"] .wbz-node { background: rgba(16, 217, 138, 0.14); color: #34d399; }
:root[data-theme="dark"] .wbz-node.alt { background: rgba(255, 159, 10, 0.14); color: #ffb340; }

@media (min-width: 961px) {
  .p-hero .cta-wrap > div:first-child { text-align: left; }
  .p-hero .cta-wrap .lead { margin-left: 0; }
  .p-hero:has(.cta-wrap) .crumbs { justify-content: flex-start; }
  .p-hero .cta-wrap { align-items: center; }
  .tile-title { min-height: 2.6em; }
}
@media (max-width: 640px) {
  .stage .float-chip, .p-hero-media .float-chip { display: none; }
  .form-foot .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 18px; }
  .fact-num { font-size: 44px; }
  .pillar-row { grid-template-columns: 1fr; gap: 14px; }
  .audience { gap: 8px; }
  .audience .tag { min-height: 38px; padding: 6px 14px; font-size: 14px; }
  .p-brand { flex-direction: column; text-align: center; gap: 10px; }
  .p-hero-grid .contact-list { grid-template-columns: 1fr; }
  .p-hero-media .phone { right: 0 !important; }
  .phone-float { left: -2%; bottom: -8%; width: 22%; }
  .show-media:has(.phone-float) { margin-bottom: 28px; }
}
@media (max-width: 400px) {
  .stage-tab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- QA refinements, round 2 ------------------------------------------------------------------------ */
.phone-screen.is-light, :root[data-theme="dark"] .phone-screen.is-light { background: #fbf9f7 !important; }
.phone-screen.is-light.pad-top { padding-top: 9%; }
.phone-screen.is-light.pad-top > img { position: relative; height: auto; }
.wbz-phone { position: absolute; left: -9%; bottom: -12%; width: 20%; z-index: 3; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.25)); animation: float 7s ease-in-out infinite; }
.audience.narrow { max-width: 680px; margin-inline: auto; }
:root[data-theme="dark"] img[src*="wabizhub-connected"], :root[data-theme="dark"] img[src*="wabizhub-campaign"], :root[data-theme="dark"] img[src*="wabizhub-ad-leads"] { filter: brightness(0.86); }
@media (max-width: 640px) {
  .show-row.wide { text-align: left; }
  .show-row.wide .show-copy { margin: 0; }
  .show-row.wide .check-list { display: grid; }
  .show-row.wide .frame-body { overflow-x: auto; scroll-snap-type: x mandatory; }
  .show-row.wide .frame-body img { width: 260%; max-width: none; height: auto; }
  .wbz-phone { left: -2%; width: 22%; }
  .pillar .mini-phones .phone { width: 84px; }
}

/* Food gallery (Bhojone) */
.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dish { margin: 0; background: var(--tile); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; overflow: hidden; }
.dish img { width: min(170px, 64%); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.45); transition: transform 0.9s var(--ease); }
.dish:hover img { transform: rotate(10deg) scale(1.04); }
.dish figcaption strong { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.018em; color: var(--text); text-wrap: balance; }
.dish figcaption span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); text-wrap: balance; }
.also { text-align: center; color: var(--muted); margin: 28px auto 0; max-width: 640px; font-size: 15px; text-wrap: balance; }
@media (max-width: 960px) { .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .dish { padding: 22px 14px; gap: 14px; }
  .dish figcaption strong { font-size: 16px; }
  .dish figcaption span { font-size: 13px; }
}

/* Product pages without screenshots: module board, reports card ------------------------------------ */
.mod-board { padding: clamp(18px, 3vw, 30px); background: var(--tile); text-align: left; }
.mod-head { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(14px, 2vw, 22px); }
.mod-head img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; }
.mod-head strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.018em; color: var(--text); }
.mod-head span { display: block; font-size: 13px; color: var(--muted); }
.mod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mod { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--elev); border: 1px solid var(--line-soft); min-width: 0; }
.mod .icon-badge { width: 36px; height: 36px; border-radius: 10px; }
.mod .icon-badge .i { width: 18px; height: 18px; }
.mod strong { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; line-height: 1.25; }
.mod small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.report-card { padding: clamp(24px, 3vw, 40px); }
.report-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.report-card .check-list { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.p-hero-media .float-chip { position: absolute; }
@media (max-width: 640px) {
  .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod small { display: none; }
  .report-card .check-list { grid-template-columns: 1fr; }
}

/* Thank-you page and in-page scrolling --------------------------------------------------------------- */
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
.ty-check { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; color: #248a3d; background: rgba(52, 199, 89, 0.14); }
.ty-check .i { width: 38px; height: 38px; }
:root[data-theme="dark"] .ty-check { color: #30d158; background: rgba(48, 209, 88, 0.16); }
.ty-email { max-width: 640px; margin: 24px auto 0; text-align: left; }
