/* HIMA POWER — site styles (from the Next.js globals.css) + PHP-edition animation layer */
:root {
  --blue: #1a8cc4;
  --blue-dark: #1260a0;
  --blue-deep: #0d4f85;
  --navy: #071b2e;
  --navy-2: #0b2740;
  --blue-light: #e8f4fb;
  --blue-pale: #f0f8fd;
  --green: #5cb82e;
  --green-dark: #3e8a1a;
  --green-light: #ebf7e1;
  --amber: #ffb020;
  --dark: #0f1f2e;
  --charcoal: #1e3045;
  --mid: #4a6070;
  --muted: #7d91a1;
  --light: #f4f8fb;
  --tile: #f4f5f7;
  --border: #d6e8f4;
  --white: #fff;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(26, 140, 196, 0.08);
  --shadow-md: 0 10px 32px rgba(13, 79, 133, 0.12);
  --shadow-lg: 0 24px 64px rgba(13, 79, 133, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Poppins', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea { font: inherit; }
::selection { background: var(--green); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--light); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; color: var(--dark); letter-spacing: -0.01em; }
.h2 em { font-style: normal; color: var(--blue); }
.lead { color: var(--mid); font-size: 16.5px; line-height: 1.75; margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 100px; font-weight: 600; font-size: 14.5px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 8px 24px rgba(92, 184, 46, .35); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(92, 184, 46, .45); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 8px 24px rgba(26, 140, 196, .3); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { border: 1.5px solid var(--border); color: var(--blue-deep); background: #fff; }
.btn-outline:hover { border-color: var(--blue); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #1fbe5b; }
.btn-full { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn .shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- TOP / NAV ---------- */
.announce { background: linear-gradient(90deg, var(--green-dark), var(--green), var(--green-dark)); background-size: 200% 100%; animation: flow 8s linear infinite; color: #fff; font-size: 13px; font-weight: 500; text-align: center; padding: 8px 16px; }
@keyframes flow { to { background-position: -200% 0; } }
.topbar { background: var(--navy); color: #b8d3e6; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 12px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .left { display: flex; gap: 22px; }
.topbar .right { display: flex; gap: 6px; }
.topbar .soc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.topbar .soc:hover { background: var(--blue); }

.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.navbar.scrolled { box-shadow: 0 8px 30px rgba(13, 79, 133, .08); border-color: var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s var(--ease); gap: 20px; }
.navbar.scrolled .container { height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--blue-deep); }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(26,140,196,.35); position: relative; overflow: hidden; }
.logo-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); animation: shine 4s ease-in-out infinite; }
.logo small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: .2em; color: var(--green-dark); font-weight: 700; margin-top: -2px; }
/* SINCE 1999 highlight */
.since-badge { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 6px 11px 7px; border-radius: 12px; background: linear-gradient(135deg, #5cb82e, #3e8a1a); color: #fff; box-shadow: 0 6px 16px rgba(92,184,46,.35); overflow: hidden; margin-left: 4px; }
.logo .since-badge small, .since-badge small { color: #fff; margin: 0; display: block; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity: .9; font-family: var(--font); }
.since-badge b { font-family: var(--display); font-size: 17px; font-weight: 800; margin-top: 2px; }
.since-badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); animation: shine 3.6s ease-in-out infinite; }
.since-badge.light { box-shadow: none; }
.since-hl { background: linear-gradient(90deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; height: 100%; }
.nav-links > li { height: 100%; display: flex; align-items: center; }
.nav-link { position: relative; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--charcoal); border-radius: 10px; display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.nav-link:focus:not(:focus-visible) { outline: none; }
.nav-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link .underline { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2.5px; border-radius: 2px; background: var(--green); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-pale); align-items: center; justify-content: center; color: var(--blue-deep); }

/* MEGA MENU (Microtek-style) */
.mega-wrap { position: absolute; left: 0; right: 0; top: 100%; padding: 0 24px; display: flex; justify-content: center; pointer-events: none; }
.mega-wrap > .mega { pointer-events: auto; }
.mega { width: min(1240px, 100%); background: #fff; border-radius: 0 0 28px 28px; box-shadow: 0 30px 80px rgba(7, 27, 46, .18); display: grid; grid-template-columns: 300px 1fr; padding: 40px 36px 36px; gap: 0; border-top: 3px solid var(--green); }
.mega-cats { border-right: 1px solid #dfe6ec; padding-right: 24px; display: flex; flex-direction: column; gap: 4px; }
.mega-cat { text-align: left; padding: 13px 16px; font-size: 18px; font-weight: 500; color: var(--dark); border-radius: 12px; line-height: 1.3; display: flex; align-items: center; justify-content: space-between; position: relative; transition: color .2s; }
.mega-cat.active { color: #1e4fa3; font-weight: 700; }
.mega-cat .bg { position: absolute; inset: 0; border-radius: 12px; background: var(--blue-pale); z-index: -1; }
.mega-cat svg { opacity: 0; transition: opacity .2s, transform .2s; }
.mega-cat.active svg { opacity: 1; transform: translateX(3px); }
.mega-body { padding-left: 44px; }
.mega-body h4 { font-size: 20px; font-weight: 700; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.mega-body h4 a { font-size: 13.5px; color: var(--blue); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mega-tile { background: var(--tile); border-radius: 20px; padding: 18px 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 16px; color: var(--dark); transition: background .25s, box-shadow .25s, transform .25s var(--ease); min-height: 222px; }
.mega-tile:hover { background: #fff; box-shadow: 0 14px 34px rgba(13, 79, 133, .14); transform: translateY(-4px); }
.mega-tile .thumb { width: 100%; height: 132px; display: grid; place-items: center; }
.mega-tile .thumb img, .mega-tile .thumb svg { max-height: 128px; width: auto; max-width: 92%; object-fit: contain; transition: transform .35s var(--ease); }
.mega-tile:hover .thumb img, .mega-tile:hover .thumb svg { transform: scale(1.07); }
.mega-tile span { line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* MOBILE MENU */
.mobile-backdrop { position: fixed; inset: 0; background: rgba(7, 27, 46, .55); z-index: 200; backdrop-filter: blur(3px); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 201; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-menu a.mm-link, .mobile-menu button.mm-link { padding: 14px 12px; border-radius: 12px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; }
.mobile-menu .mm-link:hover { background: var(--blue-pale); }
.mm-sub { padding-left: 10px; display: flex; flex-direction: column; overflow: hidden; }
.mm-sub a { padding: 11px 12px; font-size: 15px; color: var(--mid); border-left: 2px solid var(--border); }
.mm-sub a:hover { color: var(--blue); border-color: var(--green); }

/* ---------- HERO ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% 20%, #12497a 0%, var(--navy-2) 45%, var(--navy) 100%); color: #fff; overflow: hidden; min-height: 640px; }
.hero-grid-bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: 640px; padding-top: 40px; padding-bottom: 90px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 100px; background: rgba(92, 184, 46, .14); border: 1px solid rgba(92, 184, 46, .35); font-size: 13px; font-weight: 600; color: #b9eb9c; margin-bottom: 24px; }
.hero-badge i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-style: normal; }
.hero h1, .hero .hero-title { font-family: var(--display); font-size: clamp(38px, 5.2vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; }
.hero h1 .hl, .hero .hero-title .hl { background: linear-gradient(90deg, #7ddc4a, #4ec8f4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.desc { font-size: 17.5px; color: #b9cfe0; line-height: 1.7; margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-pills span { font-size: 12.5px; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #d3e5f2; }
.hero-art { position: relative; display: grid; place-items: center; height: 480px; }
.hero-art .halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(78,200,244,.28), transparent 65%); filter: blur(6px); }
.hero-art .ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); }
.hero-art svg.device { width: min(440px, 92%); height: auto; position: relative; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.hero-dots { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 3; }
.hero-dots .container { display: flex; gap: 10px; min-height: 0; padding: 0 24px; grid-template-columns: none; }
.hero-dot { flex: 1; max-width: 190px; text-align: left; color: #8fb0c8; font-size: 12.5px; font-weight: 600; padding-top: 12px; position: relative; transition: color .2s; }
.hero-dot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); }
.hero-dot .fill { position: absolute; top: 0; left: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), #4ec8f4); }
.hero-dot.active { color: #fff; }
.spark { position: absolute; border-radius: 50%; background: #7ddc4a; pointer-events: none; }

/* ---------- STATS ---------- */
.stats { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 44px; padding-bottom: 44px; position: relative; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.2); }
.stat b { font-family: var(--display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; display: block; }
.stat span { font-size: 14px; color: #cfe6f5; }
.stat .bar { width: 64px; height: 6px; margin: 10px auto 0; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.stat .bar i { display: block; height: 100%; background: #9be36f; border-radius: 6px; }

/* ---------- CATEGORY TILES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-wrap { display: flex; }
.cat-wrap > a { flex: 1; }
.cat-wrap.wide { grid-column: span 2; }
.cat-card { position: relative; background: var(--tile); border-radius: 24px; padding: 26px 24px 24px; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; isolation: isolate; transition: box-shadow .35s var(--ease); }
.cat-card:hover { box-shadow: var(--shadow-lg); }
.cat-card .glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -60px; top: -60px; opacity: .16; z-index: -1; transition: transform .6s var(--ease), opacity .4s; }
.cat-card:hover .glow { transform: scale(1.5); opacity: .26; }
.cat-card .art { height: 150px; display: grid; place-items: center; margin-bottom: 14px; }
.cat-card .art svg { height: 140px; width: auto; transition: transform .5s var(--ease); }
.cat-card:hover .art svg { transform: translateY(-6px) scale(1.05); }
.cat-card h3 { font-family: var(--display); font-size: 19px; font-weight: 700; }
.cat-card p { font-size: 13.5px; color: var(--mid); margin-top: 6px; line-height: 1.55; flex: 1; }
.cat-card .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.cat-card .go svg { transition: transform .3s; }
.cat-card:hover .go svg { transform: translateX(5px); }
.cat-card.wide { flex-direction: row; align-items: center; gap: 20px; }
.cat-card.wide .art { flex: 0 0 46%; height: 220px; margin: 0; }
.cat-card.wide .art svg { height: 200px; }

/* ---------- BRANDS ---------- */
.brands { padding: 34px 0; border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; }
.brands .label { text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.marquee { display: flex; width: max-content; gap: 18px; animation: marquee 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-chip { padding: 14px 34px; border-radius: 14px; border: 1.5px solid var(--border); font-family: var(--display); font-weight: 700; font-size: 19px; color: #7d93a6; white-space: nowrap; transition: color .25s, border-color .25s, background .25s; }
.brand-chip:hover { color: var(--blue-deep); border-color: var(--blue); background: var(--blue-pale); }
.marquee-mask { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

/* ---------- TABS ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; padding: 6px; border-radius: 100px; border: 1px solid var(--border); width: fit-content; }
.tab { position: relative; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--mid); border-radius: 100px; z-index: 0; transition: color .2s; white-space: nowrap; }
.tab.active { color: #fff; }
.tab .pill { position: absolute; inset: 0; border-radius: 100px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); z-index: -1; }

/* ---------- PRODUCT CARD ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { background: #fff; border-radius: 22px; border: 1px solid #e6edf3; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), border-color .3s; transform-style: preserve-3d; position: relative; }
.pcard:hover { box-shadow: 0 22px 50px rgba(13, 79, 133, .16); border-color: transparent; }
.pcard .pimg { position: relative; background: var(--tile); height: 230px; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.pcard .pimg img, .pcard .pimg svg { max-height: 186px; width: auto; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.pcard .pimg svg { mix-blend-mode: normal; }
.pcard:hover .pimg img, .pcard:hover .pimg svg { transform: scale(1.08); }
.pcard .tag { position: absolute; top: 14px; left: 14px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; letter-spacing: .02em; }
.pcard .brand { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.92); color: var(--blue-deep); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); }
.pcard .pbody { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard .pcat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.pcard h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; margin-top: 6px; color: var(--dark); flex: 1; }
.pcard h3 a:hover { color: var(--blue); }
.pcard .pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pcard .price { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--blue-deep); }
.pcard .price.req { font-size: 13.5px; color: var(--green-dark); font-family: var(--font); font-weight: 700; }
.pcard .actions { display: flex; gap: 8px; margin-top: 14px; }
.pcard .actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }
.wa-icon-btn { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; position: relative; box-shadow: 0 6px 16px rgba(37, 211, 102, .4); transition: transform .25s var(--ease); }
.wa-icon-btn:hover { transform: scale(1.1) rotate(-6deg); }
.wa-icon-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-icon-btn .tip { position: absolute; bottom: calc(100% + 8px); right: 0; background: var(--dark); color: #fff; font-size: 11.5px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: .2s; }
.wa-icon-btn:hover .tip { opacity: 1; transform: none; }

/* ---------- BACKUP DEMO ---------- */
.demo { background: var(--navy); color: #fff; overflow: hidden; }
.demo .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.demo .h2 { color: #fff; }
.demo .lead { color: #a9c2d6; }
.switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 10px 12px 10px 20px; border-radius: 100px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.switch .knob { width: 62px; height: 34px; border-radius: 40px; background: #2a4258; position: relative; transition: background .3s; }
.switch .knob i { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.switch.on .knob { background: var(--green); }
.demo-panel { background: linear-gradient(160deg, #0f3050, #0a2238); border-radius: 28px; border: 1px solid rgba(255,255,255,.08); padding: 26px; position: relative; }
.demo-panel svg { width: 100%; height: auto; display: block; }
.demo-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.meter { background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px; }
.meter small { color: #8fb0c8; font-size: 11.5px; display: block; }
.meter b { font-family: var(--display); font-size: 20px; }
.meter .track { height: 5px; border-radius: 5px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
.meter .track i { display: block; height: 100%; border-radius: 5px; }

/* ---------- ABOUT / FEATURES ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-art { position: relative; border-radius: 32px; background: linear-gradient(145deg, #e8f4fb, #cfe5f4); padding: 30px; aspect-ratio: 1/0.92; display: grid; place-items: center; overflow: hidden; }
.about-badge { position: absolute; z-index: 2; bottom: 26px; right: 26px; background: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center; }
.about-badge b { font-family: var(--display); font-size: 34px; color: var(--green-dark); }
.about-badge span { font-size: 13px; color: var(--mid); line-height: 1.3; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.feat { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat .ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; }
.feat h4 { font-size: 15px; font-weight: 700; }
.feat p { font-size: 13px; color: var(--mid); margin-top: 3px; line-height: 1.5; }

/* PROCESS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 56px; }
.process-line { position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.process-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: left; }
.step { text-align: center; position: relative; }
.step .num { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; background: #fff; border: 3px solid var(--blue); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--blue); position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; }
.step h4 { font-size: 16px; font-weight: 700; }
.step p { font-size: 13.5px; color: var(--mid); margin-top: 8px; line-height: 1.6; }

/* TESTIMONIALS */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard { background: #fff; border-radius: 22px; padding: 26px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.tcard .q { position: absolute; right: 18px; top: 6px; font-family: Georgia, serif; font-size: 90px; color: var(--blue-light); line-height: 1; }
.tcard .stars { color: #f5b301; letter-spacing: 2px; }
.tcard p { font-size: 14.5px; color: var(--charcoal); line-height: 1.7; flex: 1; position: relative; }
.tcard .who { display: flex; gap: 12px; align-items: center; }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.tcard .who b { display: block; font-size: 14.5px; }
.tcard .who span { font-size: 12.5px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, #2aa6d9); color: #fff; padding: 80px 0; text-align: center; }
.cta h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.cta p { color: #d6ecf8; margin: 14px auto 30px; max-width: 560px; font-size: 16.5px; }
.cta .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .bolt { position: absolute; opacity: .08; }

/* PAGE HEADER */
.page-hero { background: radial-gradient(900px 400px at 85% 0%, #12497a, var(--navy)); color: #fff; padding: 70px 0 64px; position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.01em; }
.page-hero p { color: #b9cfe0; margin-top: 12px; font-size: 17px; max-width: 640px; line-height: 1.65; }
.page-hero.slim { padding: 26px 0 24px; }
.page-hero.slim .crumbs { margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #8fb0c8; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero.cat .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.page-hero.cat .art { display: grid; place-items: center; height: 280px; }
.page-hero.cat .art svg { height: 260px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.hl-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hl-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #e1eef7; }

/* SHOP LAYOUT */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.filters h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fcat { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--charcoal); position: relative; z-index: 0; transition: color .2s; }
.fcat .bg { position: absolute; inset: 0; border-radius: 12px; background: var(--blue-pale); z-index: -1; }
.fcat.active { color: var(--blue-deep); font-weight: 700; }
.fcat em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--light); padding: 2px 8px; border-radius: 100px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border-radius: 100px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; color: var(--mid); transition: .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 14px; padding: 0 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,140,196,.12); }
.search input { border: none; outline: none; padding: 12px 0; flex: 1; font-size: 14.5px; background: transparent; min-width: 0; }
.shop-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-top .count { color: var(--mid); font-size: 14px; }
.shop-top .count b { color: var(--dark); }
.select { border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 14px; background: #fff; font-size: 14px; color: var(--charcoal); outline: none; }
.shop .products-grid { grid-template-columns: repeat(3, 1fr); }
.empty { grid-column: 1/-1; text-align: center; padding: 70px 20px; color: var(--mid); }

/* PRODUCT DETAIL */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-media { position: sticky; top: 96px; background: var(--tile); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; padding: 40px; overflow: hidden; cursor: zoom-in; }
.pd-media img, .pd-media svg { max-height: 82%; max-width: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s; }
.pd-media svg { mix-blend-mode: normal; }
.pd .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd .badges span { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; background: var(--blue-pale); color: var(--blue-deep); }
.pd .badges span.b { background: var(--blue-deep); color: #fff; }
.pd .badges span.g { background: var(--green-light); color: var(--green-dark); }
.pd h1 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.pd .pprice { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--blue-deep); margin-top: 14px; }
.pd .pprice.req { font-size: 22px; color: var(--green-dark); }
.pd .pdesc { color: var(--mid); line-height: 1.8; margin-top: 16px; font-size: 15.5px; }
.specs { margin-top: 28px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.specs h4 { padding: 14px 18px; background: var(--light); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--mid); }
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-top: 1px solid var(--border); font-size: 14.5px; }
.spec span:first-child { color: var(--mid); }
.spec span:last-child { font-weight: 600; text-align: right; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pd-actions .btn-wa { grid-column: 1/-1; padding: 17px; font-size: 16px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.trust div { background: var(--light); border-radius: 14px; padding: 14px; font-size: 12.5px; color: var(--mid); display: flex; gap: 8px; align-items: center; }
.trust svg { color: var(--green-dark); flex: 0 0 auto; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.citem { display: flex; gap: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.citem:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.citem .ic { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-pale); color: var(--blue); }
.citem h4 { font-size: 15px; }
.citem p, .citem a { font-size: 14px; color: var(--mid); line-height: 1.6; }
.form { background: #fff; border-radius: 26px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form h3 { font-family: var(--display); font-size: 24px; margin-bottom: 20px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.field input, .field select, .field textarea { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,140,196,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); height: 360px; margin-top: 56px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.ok-msg { background: var(--green-light); color: var(--green-dark); padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.err-msg { background: #fdecec; color: #b42318; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 12px; }

/* TIMELINE (about) */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 30px; position: relative; }
.tl-item .dot { position: absolute; left: 50%; top: 18px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--green-light); }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; }
.tl-card b { color: var(--blue); font-family: var(--display); font-size: 20px; }
.tl-card p { color: var(--mid); font-size: 14px; margin-top: 6px; line-height: 1.6; }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 2; }

/* FOOTER */
footer { background: var(--navy); color: #8fa9bd; padding-top: 72px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
footer .logo { color: #fff; }
footer p { font-size: 14px; line-height: 1.8; margin-top: 18px; }
footer h5 { color: #fff; font-size: 15px; margin-bottom: 18px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
footer ul a { transition: color .2s, padding .2s; }
footer ul a:hover { color: #fff; padding-left: 4px; }
.fsoc { display: flex; gap: 10px; margin-top: 20px; }
.fsoc a { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cfe0ec; transition: background .2s, transform .2s; }
.fsoc a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--green); }
.footer-wire { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--green), var(--blue), transparent); background-size: 200% 100%; animation: flow 5s linear infinite; }

/* FLOATING */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; background: linear-gradient(90deg, var(--green), #4ec8f4); z-index: 300; }
.wa-float { display: none; position: fixed; left: 22px; bottom: 22px; z-index: 150; display: flex; align-items: center; gap: 10px; }
.wa-float a.ball { width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); position: relative; }
.wa-float a.ball::before, .wa-float a.ball::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
.wa-float a.ball::after { animation-delay: 1.2s; }
.wa-float .bubble { background: #fff; color: var(--dark); font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow-md); white-space: nowrap; }
.to-top { position: fixed; right: 26px; bottom: 100px; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-md); display: grid; place-items: center; z-index: 140; border: 1px solid var(--border); }

/* CHATBOT */
.chat-launch { position: fixed; right: 22px; bottom: 22px; z-index: 160; width: 62px; height: 62px; border-radius: 50%; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(13, 79, 133, .4); font-size: 26px; }
.chat-launch .badge { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: #ff4d4f; border: 2px solid #fff; }
.chat-hint { position: fixed; right: 94px; bottom: 34px; z-index: 160; background: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; max-width: 220px; }
.chat { position: fixed; right: 22px; bottom: 96px; z-index: 170; width: min(390px, calc(100vw - 28px)); height: min(600px, calc(100vh - 130px)); background: #fff; border-radius: 24px; box-shadow: 0 30px 80px rgba(7, 27, 46, .3); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; }
.chat-head { padding: 16px 18px; color: #fff; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; }
.chat-head .av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 20px; position: relative; }
.chat-head .av::after { content: ''; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #7ddc4a; border: 2px solid #fff; }
.chat-head b { display: block; font-size: 15.5px; }
.chat-head small { font-size: 12px; opacity: .85; }
.chat-head .x { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; background: #f5f8fb; display: flex; flex-direction: column; gap: 10px; }
.chat-body > * { flex-shrink: 0; }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid #e3ebf2; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9bb1c3; animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-prods { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; align-self: stretch; }
.chat-prod { flex: 0 0 168px; background: #fff; border: 1px solid #e3ebf2; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.chat-prod .th { height: 84px; background: var(--tile); border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.chat-prod .th img, .chat-prod .th svg { max-height: 74px; width: auto; max-width: 90%; mix-blend-mode: multiply; }
.chat-prod b { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-prod span { font-size: 12.5px; color: var(--blue-deep); font-weight: 700; }
.chat-prod .r { display: flex; gap: 6px; }
.chat-prod .r a { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; padding: 6px; border-radius: 8px; }
.chat-prod .r a.v { background: var(--blue-pale); color: var(--blue-deep); }
.chat-prod .r a.w { background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; background: #f5f8fb; }
.quick button { font-size: 12.5px; padding: 7px 12px; border-radius: 100px; background: #fff; border: 1.5px solid var(--border); color: var(--blue-deep); font-weight: 600; transition: .2s; }
.quick button:hover { border-color: var(--blue); background: var(--blue-pale); }
.handoff { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; padding: 9px 14px; border-radius: 100px; font-size: 13px; font-weight: 700; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e3ebf2; background: #fff; }
.chat-input input { flex: 1; border: 1.5px solid var(--border); border-radius: 100px; padding: 11px 16px; outline: none; font-size: 14px; min-width: 0; }
.chat-input input:focus { border-color: var(--blue); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; flex: 0 0 44px; }
.chat-input button:disabled { opacity: .5; }
.chat-foot { text-align: center; font-size: 11px; color: var(--muted); padding: 0 0 8px; background: #fff; }

/* ILLUSTRATION ANIMATIONS */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes needle { 0%, 100% { transform: rotate(-28deg); } 50% { transform: rotate(18deg); } }
@keyframes charge { 0% { transform: scaleY(.15); } 80%, 100% { transform: scaleY(1); } }
@keyframes wave { to { stroke-dashoffset: -120; } }
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sunpulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
.ill .blink { animation: blink 1.6s ease-in-out infinite; }
.ill .blink.d1 { animation-delay: .4s; } .ill .blink.d2 { animation-delay: .8s; }
.ill .spin { transform-box: fill-box; transform-origin: center; animation: spin 3s linear infinite; }
.ill .spin.slow { animation-duration: 9s; }
.ill .needle { transform-box: fill-box; transform-origin: 50% 100%; animation: needle 2.6s ease-in-out infinite; }
.ill .charge { transform-box: fill-box; transform-origin: bottom; animation: charge 2.8s var(--ease) infinite; }
.ill .wave { stroke-dasharray: 60 0; animation: wave 2s linear infinite; }
.ill .flow { stroke-dasharray: 6 6; animation: dash 1s linear infinite; }
.ill .sun { transform-box: fill-box; transform-origin: center; animation: sunpulse 3s ease-in-out infinite; }
.floaty { animation: floaty 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tgrid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
  .mega { grid-template-columns: 240px 1fr; padding: 28px; }
  .mega-body { padding-left: 28px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: inline-flex; }
  .hero .container, .demo .container, .split, .pd, .contact-grid, .page-hero.cat .container { grid-template-columns: 1fr; }
  .hero .container { padding-bottom: 110px; text-align: left; }
  .hero-art { height: 340px; order: -1; }
  .hero-art .halo { width: 320px; height: 320px; }
  .pd-media { position: relative; top: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
  .page-hero.cat .art { height: 200px; }
  .page-hero.cat .art svg { height: 190px; }
  .shop .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .container { padding: 0 16px; }
  .topbar .left a:last-child, .topbar .right { display: none; }
  .products-grid, .shop .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard .pimg { height: 160px; padding: 14px; }
  .pcard .pimg img, .pcard .pimg svg { max-height: 130px; }
  .pcard .pbody { padding: 12px; }
  .pcard h3 { font-size: 13.5px; }
  .pcard .price { font-size: 15px; }
  .pcard .actions .btn { font-size: 12px; padding: 9px 8px; }
  .pcard .brand { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { min-height: 0; padding: 18px 14px; border-radius: 18px; }
  .cat-card .art { height: 100px; }
  .cat-card .art svg { height: 92px; }
  .cat-card h3 { font-size: 15px; }
  .cat-card p { display: none; }
  .cat-card.wide .art { height: 120px; flex-basis: 40%; }
  .cat-card.wide .art svg { height: 110px; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat:nth-child(3)::before { display: none; }
  .tgrid, .feat-grid, .frow, .footer-grid, .process { grid-template-columns: 1fr; }
  .demo-meters { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .meter b { font-size: 16px; }
  .hero-dot { font-size: 0; }
  .hero h1, .hero .hero-title { font-size: 36px; }
  .hero .container { min-height: 0; padding-top: 24px; gap: 8px; }
  .hero-art { height: 230px; }
  .hero-art svg.device { width: 210px; }
  .hero-art .halo { width: 220px; height: 220px; }
  .hero-art .ring { display: none; }
  .hero { min-height: 0; }
  .wa-float a.ball, .chat-launch { width: 54px; height: 54px; }
  .wa-float { left: 14px; bottom: 14px; }
  .chat-launch { right: 14px; bottom: 14px; }
  .to-top { right: 18px; bottom: 80px; }
  .announce { font-size: 12px; padding: 6px 12px; }
  .navbar .logo img { height: 40px !important; }
  .since-badge { padding: 5px 8px 6px; border-radius: 10px; }
  .since-badge b { font-size: 14px; }
  .since-badge small { font-size: 7.5px; }
  .timeline::before { left: 9px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 34px; }
  .tl-item .dot { left: 9px; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; text-align: left; }
  .trust { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .wa-float .bubble { display: none; }
  .chat { right: 14px; bottom: 90px; }
  .tabs { border-radius: 18px; }
}

/* ================= v3 additions ================= */
/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.lock { overflow: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.h2.on-dark { color: #fff; } .h2.on-dark em { color: #7ddc4a; }
.eyebrow.light { color: #9be36f; }
.pcard .price .mrp, .pd .pprice s { font-size: 13px; color: var(--muted); margin-left: 8px; font-weight: 500; }

/* mega menu with many categories */
.mega-cats { max-height: min(62vh, 560px); overflow-y: auto; scrollbar-width: thin; }
.mega-cat { font-size: 16px; padding: 10px 14px; }
.mega-tile { min-height: 200px; }

/* hero photo slides */
.hero-art img.device.photo { width: min(440px, 90%); max-height: 420px; object-fit: contain; border-radius: 24px; position: relative; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.cat-card .art img { max-height: 140px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat-card:hover .art img { transform: translateY(-6px) scale(1.05); }
.cat-card.wide .art img { max-height: 200px; }
.brand-chip img { height: 30px; width: auto; display: block; filter: grayscale(1); opacity: .7; transition: .25s; }
.brand-chip:hover img { filter: none; opacity: 1; }
.tabs-scroll { overflow-x: auto; margin-bottom: 30px; padding-bottom: 4px; }

/* about */
.about-art.photo { background: linear-gradient(145deg, #e8f4fb, #d6ecf8); }
.about-photo { max-width: 88%; max-height: 100%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(13,79,133,.2)); }
.about-photo.contain { max-height: 92%; }
.founder-sec { background: linear-gradient(180deg, #fff, var(--blue-pale)); }
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.founder-photo { position: relative; display: grid; place-items: end center; min-height: 460px; }
.founder-photo .ring-bg { position: absolute; inset: 10% 6% 0; border-radius: 40px 40px 200px 200px; background: radial-gradient(circle at 50% 30%, #4ec8f4 0%, #1a8cc4 45%, #0d4f85 100%); }
.founder-photo img { position: relative; max-height: 470px; width: auto; z-index: 1; filter: drop-shadow(0 30px 40px rgba(7,27,46,.35)); }
.founder-tag { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 2; background: #fff; padding: 12px 20px; border-radius: 16px; box-shadow: var(--shadow-md); text-align: center; white-space: nowrap; }
.founder-tag b { display: block; font-family: var(--display); font-size: 17px; } .founder-tag span { font-size: 12.5px; color: var(--mid); }
.founder-q { color: var(--green); opacity: .5; margin: 6px 0 10px; }
.founder-msg { font-size: 17.5px; line-height: 1.85; color: var(--charcoal); }
.founder-sign { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: 20px; background: linear-gradient(90deg, var(--green-dark), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.principle { background: radial-gradient(800px 300px at 80% 0%, #12497a, var(--navy)); color: #fff; padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.principle blockquote { font-family: var(--display); font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; line-height: 1.3; max-width: 900px; margin: 10px auto 18px; }
.principle p { color: #b9cfe0; font-size: 17px; max-width: 640px; margin: 0 auto; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mv-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px 28px; position: relative; overflow: hidden; transition: box-shadow .3s; }
.mv-card:hover { box-shadow: var(--shadow-lg); }
.mv-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--blue-pale); z-index: 0; }
.mv-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; margin-bottom: 18px; position: relative; z-index: 1; }
.mv-card h3 { font-family: var(--display); font-size: 21px; position: relative; z-index: 1; } .mv-card p { color: var(--mid); line-height: 1.7; margin-top: 8px; position: relative; z-index: 1; }
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.range-card { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--border); position: relative; color: var(--blue); }
.range-card .rn { position: absolute; top: 16px; right: 18px; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--blue-light); }
.range-card h4 { color: var(--dark); font-size: 16px; margin-top: 12px; } .range-card p { color: var(--mid); font-size: 13.5px; margin-top: 6px; line-height: 1.55; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat.why { padding: 22px; }
.timeline .tl-progress { position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--green), var(--blue)); z-index: 0; }
.tl-item { z-index: 1; }
.helpline { padding: 0 0 70px; }
.helpline-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 36px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, var(--green-dark), var(--green)); }
.helpline-in h3 { font-family: var(--display); font-size: 26px; }
.hl-nums { display: flex; gap: 10px; flex-wrap: wrap; }
.hl-nums a { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.16); padding: 12px 18px; border-radius: 100px; font-weight: 700; }
.hl-nums a:hover { background: rgba(255,255,255,.28); }
.hl-nums a.wa { background: #fff; color: var(--green-dark); }

/* product detail */
.pd-left { position: sticky; top: 96px; }
.pd-left .pd-media { position: relative; top: 0; }
.pd-tag { position: absolute; top: 18px; left: 18px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: 14px; background: var(--tile); border: 2px solid transparent; padding: 6px; transition: border-color .2s; }
.pd-thumbs button.on { border-color: var(--blue); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-features { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.pd-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--charcoal); line-height: 1.5; }
.pd-features svg { color: var(--green-dark); flex: 0 0 17px; margin-top: 2px; }
.pd-links { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.pd-links a, .pd-links button { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--blue-dark); font-weight: 600; }
.pd-info { padding-top: 10px; }
.specs.wide { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.specs.wide .spec { border-top: 0; border-bottom: 1px solid var(--border); }
.specs.wide .spec:nth-child(odd) { border-right: 1px solid var(--border); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.apps div { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--light); font-weight: 600; color: var(--charcoal); }
.apps svg { color: var(--blue); }

/* rich text */
.prose { font-size: 16.5px; line-height: 1.85; color: var(--charcoal); max-width: 820px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--display); font-size: 26px; color: var(--dark); margin-top: 1.6em; line-height: 1.3; }
.prose h3 { font-size: 20px; color: var(--dark); margin-top: 1.4em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 4px solid var(--green); padding: 6px 18px; color: var(--mid); background: var(--light); border-radius: 0 12px 12px 0; }
.prose img { border-radius: 16px; margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.prose th { background: var(--blue-deep); color: #fff; text-align: left; padding: 11px 14px; }
.prose td { padding: 10px 14px; border-top: 1px solid var(--border); }
.prose tr:nth-child(even) td { background: var(--light); }
.narrow-c { max-width: 860px; }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: 22px; border: 1px solid #e6edf3; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s; }
.post-card:hover { box-shadow: 0 22px 50px rgba(13,79,133,.14); }
.post-cover { position: relative; height: 210px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.post-cover img, .post-cover svg { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-cat { position: absolute; top: 14px; left: 14px; background: var(--blue-deep); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; }
.post-body h3 { font-family: var(--display); font-size: 18.5px; line-height: 1.35; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--mid); font-size: 14.5px; line-height: 1.65; flex: 1; }
.post-body .go { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--blue); font-size: 14px; }
.blog-cats { margin-bottom: 30px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--border); font-weight: 700; }
.pager a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-hero.article-hero h1 { font-size: clamp(28px, 3.6vw, 44px); max-width: 900px; }
.article-sec { padding-top: 50px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--mid); font-size: 14px; margin-bottom: 22px; }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-cover { width: 100%; max-height: 440px; object-fit: contain; background: var(--tile); border-radius: 24px; margin-bottom: 30px; padding: 20px; }
.tags { margin-top: 30px; }
.share { display: flex; align-items: center; gap: 8px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.share span { font-weight: 700; margin-right: 4px; }
.share a, .share button { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; background: var(--light); display: inline-flex; gap: 6px; align-items: center; justify-content: center; color: var(--blue-deep); font-size: 13px; font-weight: 600; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.back-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 26px; font-weight: 700; color: var(--blue); }
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--blue)); transform-origin: 0 50%; z-index: 301; }
.toc { border: 1px solid var(--border); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.toc h5, .help-card h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc a { font-size: 14px; color: var(--charcoal); padding: 5px 0 5px 10px; border-left: 2px solid var(--border); line-height: 1.4; }
.toc a.sub { padding-left: 22px; font-size: 13px; }
.toc a:hover { color: var(--blue); border-color: var(--green); }
.help-card { border-radius: 18px; padding: 20px; background: linear-gradient(145deg, var(--blue-pale), #dff0fa); }
.help-card p { font-size: 14px; color: var(--mid); margin-bottom: 14px; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq.open { box-shadow: var(--shadow-md); border-color: transparent; }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left; padding: 18px 22px; font-weight: 600; font-size: 15.5px; }
.faq button svg { flex: 0 0 18px; color: var(--blue); transition: transform .3s; }
.faq.open button svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--mid); line-height: 1.75; }

/* footer */
.fi { display: flex; gap: 8px; align-items: flex-start; }
.fb-links { display: flex; gap: 16px; }
.news { display: flex; margin-top: 20px; background: rgba(255,255,255,.06); border-radius: 100px; padding: 4px; max-width: 320px; flex-wrap: wrap; }
.news input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 0 14px; min-width: 0; font-size: 14px; }
.news input::placeholder { color: #7f98ab; }
.news button { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.news small { width: 100%; padding: 6px 14px 2px; color: #ffb4b4; }
.news-ok { color: #9be36f !important; }

@media (max-width: 1100px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; } .article-side { position: static; }
}
@media (max-width: 960px) {
  .founder, .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { min-height: 360px; } .founder-photo img { max-height: 360px; }
  .mv-grid { grid-template-columns: 1fr; }
  .pd-left { position: static; }
  .specs.wide { grid-template-columns: 1fr; } .specs.wide .spec:nth-child(odd) { border-right: 0; }
}
@media (max-width: 680px) {
  .range-grid, .why-grid, .post-grid { grid-template-columns: 1fr; }
  .timeline .tl-progress { left: 9px; }
  .helpline-in { padding: 24px; }
  .mega-cat { font-size: 15px; }
  .prose { font-size: 15.5px; }
}
/* never allow sideways scrolling from off-screen reveal animations */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }

/* Phones/tablets: categories become a swipeable chip row so products show sooner */
@media (max-width: 1100px) {
  .shop > * { min-width: 0; }
  .filters { gap: 14px; padding: 16px; min-width: 0; max-width: 100%; }
  .fcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px 4px; -webkit-overflow-scrolling: touch; }
  .fcats::-webkit-scrollbar { display: none; }
  .fcats h5 { display: none; }
  .fcats .fcat { width: auto; flex: 0 0 auto; white-space: nowrap; border: 1.5px solid var(--border); border-radius: 100px; padding: 8px 14px; font-size: 13.5px; gap: 8px; }
  .fcats .fcat.active { border-color: var(--blue); }
  .fcats .fcat .bg { border-radius: 100px; }
}


/* =====================================================================
   PHP edition: animations that framer-motion did in the React site,
   recreated with CSS + site.js. Hidden states only apply when JS runs
   (html.js), so content is always visible without JavaScript.
   ===================================================================== */


/* ---- scroll reveal ---- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] .rv-item { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease), border-color .3s; transition-delay: calc(var(--i, 0) * .08s); }
.js [data-stagger].in .rv-item { opacity: 1; transform: none; }
.js [data-stagger].in .rv-item.lift:hover { transform: translateY(-8px); transition-delay: 0s; }
.js [data-stagger].in .rv-item.lift-sm:hover { transform: translateY(-6px); transition-delay: 0s; }
.lift, .lift-sm { transition: transform .3s var(--ease); }
.lift:hover { transform: translateY(-8px); }
.lift-sm:hover { transform: translateY(-6px); }

/* entrance on load */
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hpFadeRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes hpPop { from { opacity: 0; transform: scale(.82) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes hpScaleIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.enter-up { animation: hpFadeUp .6s var(--ease) both; }
.enter-right { animation: hpFadeRight .6s var(--ease) .1s both; }
.enter-pop { animation: hpPop .8s cubic-bezier(.34, 1.4, .64, 1) .1s both; }

/* ---- hero carousel ---- */
.hero-texts { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; }
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide.leaving { visibility: visible; animation: hpSlideOut .3s ease both; }
@keyframes hpSlideOut { to { opacity: 0; transform: translateX(-30px); } }
.js .hero-slide.active .hs { animation: hpHeroIn .6s var(--ease) both; }
.js .hero-slide.active .hs:nth-child(1) { animation-delay: .05s; }
.js .hero-slide.active .hs:nth-child(2) { animation-delay: .14s; }
.js .hero-slide.active .hs:nth-child(3) { animation-delay: .23s; }
.js .hero-slide.active .hs:nth-child(4) { animation-delay: .32s; }
.js .hero-slide.active .hs:nth-child(5) { animation-delay: .41s; }
@keyframes hpHeroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-device { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.hero-device .floaty { display: grid; place-items: center; width: 100%; }
.hero-device.active { opacity: 1; animation: hpDevIn .95s cubic-bezier(.34, 1.35, .64, 1) both; }
.hero-device.leaving { animation: hpDevOut .3s ease both; }
@keyframes hpDevIn { from { opacity: 0; transform: scale(.7) rotate(-8deg) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes hpDevOut { from { opacity: 1; } to { opacity: 0; transform: scale(.8) rotate(6deg) translateY(-30px); } }
.hero-line { position: absolute; left: 0; height: 2px; width: 22%; background: linear-gradient(90deg, transparent, #7ddc4a, #4ec8f4, transparent); opacity: .6; animation: hpLine 6s linear infinite; transform: translateX(-100%); }
@keyframes hpLine { to { transform: translateX(520%); } }
.spark { animation: hpSpark 4s ease-in-out infinite; opacity: .2; }
@keyframes hpSpark { 50% { transform: translateY(-24px); opacity: .9; } }
.spin-cw { animation: hpSpin 40s linear infinite; }
.spin-ccw { animation: hpSpin 60s linear infinite reverse; }
@keyframes hpSpin { to { transform: rotate(360deg); } }
.hero-dot .fill { width: 0; }
.hero-dot.active .fill { animation: hpFill 6.5s linear forwards; }
.hero.paused .hero-dot.active .fill { animation-play-state: paused; }
@keyframes hpFill { to { width: 100%; } }

/* ---- header / mega menu ---- */
.nav-link .chev { display: inline-flex; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega-wrap[hidden] { display: none; }
.mega-wrap.show { animation: hpMegaIn .28s var(--ease) both; }
.mega-wrap.hide { animation: hpMegaOut .2s ease both; }
@keyframes hpMegaIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes hpMegaOut { to { opacity: 0; transform: translateY(-10px); } }
.mega-cat { z-index: 0; }
.mega-cat .bg { opacity: 0; transform: scaleX(.96); transition: opacity .25s, transform .25s var(--ease); }
.mega-cat.active .bg { opacity: 1; transform: none; }
.mega-panel { display: none; }
.mega-panel.active { display: block; }
.mega-panel.active .mega-tile { animation: hpTile .35s var(--ease) both; animation-delay: calc(var(--i, 0) * .045s); }
@keyframes hpTile { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* mobile menu */
.mobile-backdrop[hidden] { display: none; }
.mobile-backdrop { animation: hpFade .25s both; }
@keyframes hpFade { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu { transform: translateX(100%); visibility: hidden; transition: transform .45s cubic-bezier(.32, .72, 0, 1), visibility 0s .45s; }
.mobile-menu.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.32, .72, 0, 1); }
.mm-sub { display: none; }
.mm-sub.open { display: flex; animation: hpFade .25s both; }
.mm-link svg { transition: transform .2s; }
.mm-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---- tabs, filters, cards ---- */
.tab .pill { opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s cubic-bezier(.34, 1.4, .64, 1); }
.tab.active .pill { opacity: 1; transform: none; }
.fcat { z-index: 0; }
.fcat .bg { opacity: 0; transition: opacity .25s; }
.fcat.active .bg { opacity: 1; }
.pcard[data-tilt] { transition: box-shadow .35s var(--ease), border-color .3s, transform .35s var(--ease); will-change: transform; }
.pcard.is-hidden { display: none; }
.pcard.pop { animation: hpCard .45s var(--ease) both; animation-delay: calc(var(--i, 0) * .05s); }
@keyframes hpCard { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: hpFadeUp .3s var(--ease) both; }

/* ---- product page gallery ---- */
.pd-zoom { width: 100%; height: 100%; display: grid; place-items: center; transition: transform .25s; }
.pd-img { grid-area: 1 / 1; width: 100%; height: 100%; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.pd-img.active { opacity: 1; }

/* ---- floating, progress, chat ---- */
.progress, .read-progress { transform: scaleX(0); }
.to-top { opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.chat[hidden], .chat-hint[hidden] { display: none; }
.chat.open { animation: hpChatIn .45s cubic-bezier(.34, 1.3, .64, 1) both; }
.chat.closing { animation: hpChatOut .22s ease both; }
@keyframes hpChatIn { from { opacity: 0; transform: scale(.6) translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes hpChatOut { to { opacity: 0; transform: scale(.7) translateY(30px); } }
.chat-launch { animation: hpScaleIn .5s cubic-bezier(.34, 1.5, .64, 1) 1.3s both; transition: transform .2s; }
.chat-launch:hover { transform: scale(1.08); }
.chat-launch:active { transform: scale(.94); }
.chat-launch .ic-open, .chat-launch .ic-close { display: grid; transition: transform .25s; }
.chat-launch .ic-close, .chat-launch.open .ic-open, .chat-launch.open .badge, .chat-launch.seen .badge { display: none; }
.chat-launch.open .ic-close { display: grid; animation: hpRotIn .25s both; }
.chat-launch .ic-open { animation: hpRotIn .25s both; }
@keyframes hpRotIn { from { opacity: 0; transform: rotate(-90deg); } to { opacity: 1; transform: none; } }
.chat-hint { animation: hpHint .35s var(--ease) both; }
@keyframes hpHint { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.chat-body > * { animation: hpMsg .3s var(--ease) both; }
@keyframes hpMsg { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-input button:disabled { opacity: .5; cursor: default; }

/* ---- small pieces ---- */
.faq-a { max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.faq.open .faq-a { max-height: 900px; opacity: 1; }
.faq.open button svg { transform: rotate(45deg); }
.switch .knob i { transition: left .35s cubic-bezier(.34, 1.56, .64, 1); }
.switch.on .knob i { left: 32px; }
.lamp-glow { transform-box: fill-box; transform-origin: center; animation: hpGlow 2s ease-in-out infinite; }
@keyframes hpGlow { 50% { transform: scale(1.15); } }
.fan-spin { transform-box: fill-box; transform-origin: center; animation: hpSpin .8s linear infinite; }
.flowline { animation: dash 1s linear infinite; }
.blinkline { animation: blink 1.2s infinite; }
.cross-in { animation: hpCross .6s both; }
@keyframes hpCross { 0% { opacity: 0; } 30% { opacity: 1; } 60% { opacity: .4; } 100% { opacity: 1; } }
.step .num { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.step .num:hover { transform: scale(1.1) rotate(8deg); }
.bolt-a { animation: hpBoltA 6s ease-in-out infinite; }
.bolt-b { animation: hpBoltB 7s ease-in-out infinite; }
@keyframes hpBoltA { 50% { transform: rotate(8deg) scale(1.06); } }
@keyframes hpBoltB { 50% { transform: rotate(-10deg); } }
.ok-pop { animation: hpScaleIn .5s cubic-bezier(.34, 1.6, .64, 1) .1s both; }
.stats .bar i { width: 0; transition: width 1.6s var(--ease) var(--d, 0s); }
.toc a.on { color: var(--blue); font-weight: 600; }
.share button span:empty { display: none; }
