/* eInvoices.pk public theme. Colors extracted from the live client site (Oxence). */
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cera-pro-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cera-pro-medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cera-pro-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Galano Grotesque'; src: url('../fonts/GalanoGrotesqueSemiBold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Galano Grotesque'; src: url('../fonts/GalanoGrotesqueBold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Galano Grotesque'; src: url('../fonts/GalanoGrotesqueExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }

:root {
  --primary: #3180fc;
  --primary-dark: #1e63d8;
  --secondary: #293043;
  --headline: #293043;
  --body: #696e7b;
  --light: #f7f9fd;
  --border: #e9eaec;
  --accent: #fc653c;
  --cyan: #16b4f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(41, 48, 67, 0.08);
  --shadow-lg: 0 24px 64px rgba(41, 48, 67, 0.14);
  --font-primary: 'Cera Pro', 'Roboto', -apple-system, Segoe UI, sans-serif;
  --font-heading: 'Galano Grotesque', 'Cera Pro', 'Roboto', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--headline); font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
h1, h2 { font-weight: 800; }
.brand, .f-brand, .pc-name, .stat .st-num { font-family: var(--font-heading); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(49, 128, 252, .35); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--border); color: var(--headline); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(252, 101, 60, .35); }
.btn-accent:hover { background: #e3502a; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-white { background: #fff; color: var(--headline); }
.btn-white:hover { color: var(--primary); }

/* ---------- Header ---------- */
.topbar { background: var(--secondary); color: #cfd4e0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar a { color: #fff; }
.topbar .tb-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tb-client-login { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(120deg, var(--primary), var(--cyan)); color: #fff !important; font-weight: 600; padding: 4px 14px; border-radius: 99px; font-size: 12.5px; box-shadow: 0 4px 12px rgba(49, 128, 252, .35); transition: transform .18s ease, box-shadow .18s ease; }
.tb-client-login:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(49, 128, 252, .5); }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--headline); }
.brand-img { height: 46px; width: auto; display: block; }
@media (max-width: 1280px) { .brand-img { height: 40px; } }
@media (max-width: 640px) { .brand-img { height: 36px; } }
.f-brand-img { height: 46px; width: auto; display: block; }
.brand .brand-e { color: var(--cyan); }
.nav-main { display: flex; align-items: center; gap: 20px; }
.nav-main a { color: var(--headline); font-weight: 500; font-size: 14.5px; position: relative; padding: 6px 0; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1280px) { .nav-main { gap: 14px; } .nav-main a { font-size: 13.5px; } }
.nav-main a:hover, .nav-main a.active { color: var(--primary); }
.nav-main a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--headline); cursor: pointer; }

/* ---------- Mega menu / dropdowns ---------- */
.nav-item-wrap { position: relative; }
.nav-item-wrap > a { display: inline-flex; align-items: center; gap: 5px; }
.nv-caret { font-size: 11px; transition: transform .2s; }
.nav-item-wrap:hover .nv-caret { transform: rotate(180deg); }
.mega-panel { position: fixed; left: 50%; top: calc(var(--header-bottom, 106px) + 10px); width: min(1060px, calc(100vw - 40px));
  background: rgba(255, 255, 255, .98); border: 1px solid rgba(41, 48, 67, .1); border-radius: 20px;
  box-shadow: 0 8px 24px rgba(41, 48, 67, .08), 0 40px 90px rgba(41, 48, 67, .22);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(14px) scale(.985); transform-origin: top center;
  transition: opacity .28s cubic-bezier(.22, .61, .36, 1), transform .28s cubic-bezier(.22, .61, .36, 1), visibility .28s; z-index: 70; overflow: hidden; }
.mega-panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.mega-sm .mega-panel { width: min(780px, calc(100vw - 40px)); }
.mega-panel .mega-inner { display: grid; grid-template-columns: 1fr 264px; gap: 10px; max-width: none; padding: 22px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 10px; align-content: start; }
.mega-grid.cols-2 { grid-template-columns: 1fr; }
.mega-link { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; align-items: center; transition: background .18s, transform .18s; }
.mega-link:hover { background: linear-gradient(90deg, rgba(49, 128, 252, .07), rgba(22, 180, 242, .04)); transform: translateX(3px); }
.mega-link .ml-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .18s; }
.mega-link:hover .ml-icon { background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(49, 128, 252, .35); }
.mega-link b { display: block; color: var(--headline); font-size: 13.5px; line-height: 1.3; font-weight: 600; }
.mega-link small { display: block; color: var(--body); font-size: 11.5px; line-height: 1.4; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
.ml-price { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 800; color: var(--primary); background: rgba(49, 128, 252, .08); border: 1px solid rgba(49, 128, 252, .18); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.ml-price em { font-style: normal; font-weight: 500; color: var(--body); font-size: 10.5px; margin-left: 2px; }
@media (max-width: 991px) { .ml-price { display: none; } }
.mega-side { position: relative; overflow: hidden; background: linear-gradient(170deg, #ffffff, #f2f7ff); border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 14px; padding: 26px 24px; align-self: stretch; display: flex; flex-direction: column; box-shadow: var(--elev-1); }
.mega-side::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(49, 128, 252, .18) 1px, transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(160deg, transparent 60%, #000); -webkit-mask-image: linear-gradient(160deg, transparent 60%, #000); pointer-events: none; }
.mega-side h4 { color: var(--headline); font-size: 16.5px; margin-bottom: 6px; }
.mega-side p { color: var(--body); font-size: 13px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.mega-side .btn { align-self: stretch; justify-content: center; position: relative; z-index: 1; }
.mega-side .mega-all { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 10px; padding: 9px 16px; border: 1.5px solid #cfe0fb; border-radius: 10px; align-self: stretch; position: relative; z-index: 1; background: #fff; transition: all .2s; }
.mega-side .mega-all:hover { border-color: var(--primary); background: #eaf2ff; }
.mega-side .mega-all i { font-size: 13px; transition: transform .2s; }
.mega-side .mega-all:hover i { transform: translateX(3px); }
.drop-panel { position: absolute; top: 100%; left: -14px; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; z-index: 70; }
.nav-item-wrap:hover .drop-panel, .nav-item-wrap:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--headline); }
.drop-panel a:hover { background: var(--light); color: var(--primary); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #f2f7ff 0%, var(--light) 55%, #fff 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(49,128,252,.12), transparent 65%); top: -180px; right: -120px; }
.hero::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(22,180,242,.10), transparent 65%); bottom: -160px; left: -120px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
@media (min-width: 992px) {
  .hero { min-height: 100vh; display: flex; align-items: center; }
  .hero .container { width: 100%; padding-top: 40px; padding-bottom: 60px; }
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--primary); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 22px; }
.hero p.lead { font-size: 18px; max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--headline); }
.hero-trust .ht i { color: var(--primary); font-size: 20px; }

/* Floating invoice mockup */
.hero-visual { position: relative; min-height: 430px; }
.mock-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: absolute; }
.mock-invoice { width: min(360px, 88%); left: 6%; top: 12px; padding: 26px; animation: float 7s ease-in-out infinite; }
.mock-invoice .mi-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--light); padding-bottom: 14px; margin-bottom: 14px; }
.mock-invoice .mi-logo { font-weight: 800; color: var(--headline); font-size: 17px; }
.mock-invoice .mi-logo span { color: var(--cyan); }
.mock-invoice .mi-no { font-size: 12px; color: var(--body); text-align: right; }
.mock-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.mock-line b { color: var(--headline); }
.mock-total { display: flex; justify-content: space-between; font-weight: 800; color: var(--headline); padding-top: 12px; font-size: 15px; }
.mi-qr { width: 54px; height: 54px; border-radius: 8px; background:
  conic-gradient(var(--secondary) 25%, transparent 0 50%, var(--secondary) 0 75%, transparent 0) 0 0/18px 18px,
  #eef2f8; border: 1px solid var(--border); }
.mi-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.mock-pill { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--headline); }
.pill-fbr { right: 0; top: 40px; animation: float 6s ease-in-out .8s infinite; }
.pill-fbr i { color: #22a45d; font-size: 20px; }
.pill-tax { right: 26px; bottom: 56px; animation: float 8s ease-in-out .4s infinite; }
.pill-tax i { color: var(--accent); font-size: 20px; }
.pill-push { left: 0; bottom: 8px; animation: float 7s ease-in-out 1.4s infinite; }
.pill-push i { color: var(--primary); font-size: 20px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-tagline { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); max-width: 420px; opacity: 0; pointer-events: none; }
.hero-tagline h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.02em; }
.hero-tagline p { font-size: 16px; }
.hero-scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--body); }
.hero-scroll-hint i { font-size: 17px; color: var(--primary); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 991px) { .hero-tagline, .hero-scroll-hint { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--light); }
.section.dark { background: var(--secondary); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #b9c0d0; }
.sec-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.sec-head .kicker, .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card-s { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: all .25s; position: relative; display: flex; flex-direction: column; }
.card-s:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(49,128,252,.35); }
.card-s .icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(49,128,252,.12), rgba(22,180,242,.12)); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.card-s h3 a { color: var(--headline); }
.card-s h3 a:hover { color: var(--primary); }
.card-s p { font-size: 14.5px; flex: 1; }
.card-s .more { font-size: 14px; font-weight: 600; }
.section.alt .card-s { border-color: transparent; box-shadow: var(--shadow); }

/* ---------- Price tables ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: all .25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-card .pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-card .pc-name { font-size: 19px; font-weight: 800; color: var(--headline); }
.price-card .pc-tag { font-size: 13.5px; min-height: 20px; margin: 4px 0 14px; }
.price-card .pc-price { color: var(--headline); margin-bottom: 4px; }
.price-card .pc-price .amt { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.price-card .pc-price .cur { font-size: 15px; font-weight: 600; margin-right: 4px; }
.price-card .pc-cycle { color: var(--body); font-size: 13.5px; }
.price-card .pc-range { display: inline-block; background: var(--light); border: 1px solid var(--border); border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--headline); padding: 5px 12px; margin: 12px 0; }
.price-card ul { list-style: none; margin: 10px 0 24px; padding: 0; flex: 1; }
.price-card ul li { font-size: 14px; padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--border); }
.price-card ul li:last-child { border-bottom: 0; }
.price-card ul li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--primary); font-size: 15px; }
.price-card .pc-setup { font-size: 12.5px; color: var(--body); margin-top: -16px; margin-bottom: 18px; }
.pricing-note { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 28px; font-size: 14.5px; margin-top: 36px; }

/* ---------- Logo strips (reference: white cards, contained logos, uniform size) ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.logo-chip { background: #fff; border: 1px solid var(--border); border-radius: 14px; width: 182px; height: 88px; padding: 16px 22px; font-weight: 700; font-size: 13.5px; text-align: center; line-height: 1.25; color: var(--headline); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 14px rgba(41, 48, 67, .07); transition: transform .2s, box-shadow .2s; flex: none; }
.logo-chip:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(41, 48, 67, .12); }
.logo-chip img { max-height: 52px; max-width: 138px; width: auto; height: auto; object-fit: contain; }
.logo-chip .lc-ind { display: block; font-size: 12px; color: var(--body); font-weight: 500; }

/* Clients page grid */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 22px; }
.clients-grid .client-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; height: 108px; padding: 18px 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(41, 48, 67, .07); transition: transform .2s, box-shadow .2s; }
.clients-grid .client-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(41, 48, 67, .13); }
.clients-grid .client-card img { max-height: 62px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.clients-grid .client-card .cc-name { font-weight: 700; font-size: 13.5px; color: var(--headline); text-align: center; line-height: 1.3; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .pc-img { height: 190px; background: linear-gradient(135deg, rgba(49,128,252,.16), rgba(22,180,242,.16)); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 42px; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: 12.5px; color: var(--body); display: flex; gap: 12px; margin-bottom: 10px; }
.post-card .pc-meta .cat { color: var(--primary); font-weight: 700; }
.post-card h3 { font-size: 17px; }
.post-card p { font-size: 14px; flex: 1; }
.post-list-item { display: grid; grid-template-columns: 240px 1fr; gap: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; transition: all .25s; }
.post-list-item:hover { box-shadow: var(--shadow-lg); }
.post-list-item .pc-img { min-height: 170px; }
.post-list-item .pc-body { padding: 24px 24px 24px 0; }
.post-list-item.noimg { grid-template-columns: 1fr; }
.post-list-item.noimg .pc-body { padding: 24px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { border-left: 4px solid var(--primary); margin: 1.4em 0; padding: 8px 0 8px 22px; color: var(--headline); font-style: italic; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.faq-box { border: 1px solid var(--border); border-radius: var(--radius); margin-top: 40px; overflow: hidden; }
.faq-box summary { cursor: pointer; font-weight: 700; color: var(--headline); padding: 18px 22px; list-style: none; position: relative; }
.faq-box summary::after { content: '+'; position: absolute; right: 22px; font-size: 20px; color: var(--primary); }
.faq-box details[open] summary::after { content: '\2212'; }
.faq-box details { border-bottom: 1px solid var(--border); background: #fff; }
.faq-box details:last-child { border-bottom: 0; }
.faq-box .fa-body { padding: 0 22px 18px; font-size: 15px; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--secondary) 0%, #343d56 100%); color: #b9c0d0; padding: 68px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(49,128,252,.25), transparent 65%); top: -160px; right: -80px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .crumbs { font-size: 13.5px; }
.page-hero .crumbs a { color: var(--cyan); }
.page-hero p.lead { max-width: 640px; font-size: 17px; margin: 14px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--cyan)); border-radius: 22px; color: #fff; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: 0 24px 64px rgba(49,128,252,.35); }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.f-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--headline); margin-bottom: 6px; }
.f-input, .f-textarea, .f-select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 15px; color: var(--headline); background: #fff; transition: border .2s; }
.f-input:focus, .f-textarea:focus, .f-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(49,128,252,.12); }
.f-textarea { min-height: 130px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.alert-ok { background: #e9f9ef; border: 1px solid #b7e8c8; color: #1c7c3f; border-radius: 10px; padding: 14px 20px; margin-bottom: 22px; font-size: 14.5px; }
.alert-err { background: #fdeeee; border: 1px solid #f3c4c4; color: #b13030; border-radius: 10px; padding: 14px 20px; margin-bottom: 22px; font-size: 14.5px; }

/* ---------- Custom builder ---------- */
.builder-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.opt-group { margin-bottom: 34px; }
.opt-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.opt-row { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; cursor: pointer; transition: all .2s; }
.opt-row:hover { border-color: var(--primary); }
.opt-row.checked { border-color: var(--primary); background: #f4f8ff; }
.opt-row input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--primary); }
.opt-row .or-name { font-weight: 700; color: var(--headline); font-size: 15px; }
.opt-row .or-desc { font-size: 13px; }
.opt-row .or-price { margin-left: auto; text-align: right; font-weight: 800; color: var(--primary); white-space: nowrap; font-size: 15px; }
.opt-row .or-price small { display: block; font-weight: 500; color: var(--body); font-size: 12px; }
.bill-box { background: var(--secondary); color: #cfd4e0; border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; }
.bill-box h3 { color: #fff; }
.bill-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.bill-line .bl-price { white-space: nowrap; }
.bill-total { display: flex; justify-content: space-between; font-weight: 800; color: #fff; font-size: 16px; padding-top: 14px; }
.bill-total small { display: block; font-weight: 400; font-size: 12px; color: #9aa3b8; }
.bill-empty { font-size: 14px; padding: 14px 0; }

/* ---------- Scroll-scrubbed video section ---------- */
.video-scrub { background: linear-gradient(180deg, #fff 0%, var(--light) 12%, #eef3fb 100%); }
.video-scrub .vs-sticky { min-height: 100vh; display: flex; align-items: center; padding: 56px 0; }
.vs-frame { position: relative; max-width: 940px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: var(--secondary); box-shadow: 0 40px 90px rgba(41, 48, 67, .28); border: 1px solid rgba(41, 48, 67, .12); }
.vs-chrome { display: flex; align-items: center; gap: 7px; background: #1f2536; padding: 11px 16px; }
.vs-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #3a4257; }
.vs-chrome span:nth-child(1) { background: #fc653c; }
.vs-chrome span:nth-child(2) { background: #f1b000; }
.vs-chrome span:nth-child(3) { background: #22a45d; }
.vs-chrome em { margin-left: auto; margin-right: auto; font-style: normal; font-size: 12.5px; color: #8b93a9; background: #2a3145; border-radius: 6px; padding: 3px 22px; }
.vs-frame video { display: block; width: 100%; height: auto; }
.vs-bar { height: 4px; background: rgba(255, 255, 255, .12); }
.vs-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); transition: width .1s linear; }
.vs-captions { position: relative; max-width: 940px; margin: 26px auto 0; min-height: 54px; text-align: center; }
.vs-caption { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; font-size: 17px; color: var(--body); }
.vs-caption b { color: var(--headline); }
.vs-caption.on { opacity: 1; transform: none; }
@media (max-width: 640px) { .vs-caption { font-size: 14.5px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--secondary); color: #b9c0d0; margin-top: 0; }
.site-footer .f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 0 50px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b9c0d0; font-size: 14.5px; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .f-brand { font-size: 22px; font-weight: 800; color: #fff; }
.site-footer .f-brand span { color: var(--cyan); }
.site-footer .f-about { font-size: 14px; margin-top: 12px; max-width: 300px; }
.site-footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.site-footer .f-contact i { color: var(--cyan); margin-top: 3px; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.site-footer .socials a:hover { background: var(--primary); color: #fff; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat .st-num { font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.stat .st-label { font-size: 14px; font-weight: 600; color: var(--headline); }
.section.dark .stat .st-num { color: var(--cyan); }
.section.dark .stat .st-label { color: #fff; }

/* Module cards */
.module-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.module-card .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(49,128,252,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.module-card ul { list-style: none; padding: 0; margin: 10px 0 0; }
.module-card ul li { font-size: 13.5px; padding: 4px 0 4px 22px; position: relative; }
.module-card ul li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--cyan); font-size: 13px; }

/* Sidebar layout */
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.side-widget { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.side-widget h4 { font-size: 16px; margin-bottom: 14px; }
.side-widget ul { list-style: none; margin: 0; padding: 0; }
.side-widget ul li { border-bottom: 1px dashed var(--border); }
.side-widget ul li:last-child { border-bottom: 0; }
.side-widget ul a { display: flex; justify-content: space-between; padding: 9px 2px; color: var(--headline); font-size: 14.5px; font-weight: 500; }
.side-widget ul a:hover { color: var(--primary); }

/* ==========================================================================
   PREMIUM POLISH LAYER (Dimensional Layering + Trust & Authority)
   Overrides below refine elevation, depth and micro-interactions while
   keeping the locked brand palette untouched.
   ========================================================================== */
:root {
  --elev-1: 0 1px 2px rgba(41, 48, 67, .05), 0 2px 8px rgba(41, 48, 67, .05);
  --elev-2: 0 2px 4px rgba(41, 48, 67, .05), 0 8px 24px rgba(41, 48, 67, .08);
  --elev-3: 0 4px 8px rgba(41, 48, 67, .06), 0 18px 44px rgba(41, 48, 67, .12);
  --elev-4: 0 8px 16px rgba(41, 48, 67, .08), 0 32px 72px rgba(41, 48, 67, .16);
  --ring: 0 0 0 3px rgba(49, 128, 252, .25);
}

::selection { background: rgba(49, 128, 252, .18); color: var(--headline); }

a, button, [role="button"], input[type="checkbox"], select, summary { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.f-input:focus-visible, .f-textarea:focus-visible, .f-select:focus-visible { box-shadow: 0 0 0 3px rgba(49, 128, 252, .12); }

/* Buttons: tactile depth */
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease; will-change: transform; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #2a6fe0 100%); box-shadow: 0 2px 6px rgba(49, 128, 252, .3), 0 10px 26px rgba(49, 128, 252, .32), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:hover { box-shadow: 0 4px 10px rgba(49, 128, 252, .32), 0 16px 36px rgba(49, 128, 252, .4), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, #e8552d 100%); box-shadow: 0 2px 6px rgba(252, 101, 60, .3), 0 10px 26px rgba(252, 101, 60, .32), inset 0 1px 0 rgba(255, 255, 255, .24); }
.btn-outline:hover { background: rgba(49, 128, 252, .05); transform: translateY(-2px); }

/* Header: glass */
.site-header { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid rgba(41, 48, 67, .07); }
.mega-panel { backdrop-filter: blur(20px); background: rgba(255, 255, 255, .96); }

/* Cards: 4-level elevation + refined hover */
.card-s, .module-card { box-shadow: var(--elev-1); border-color: rgba(41, 48, 67, .08); border-radius: 16px; }
.card-s:hover { box-shadow: var(--elev-3); border-color: rgba(49, 128, 252, .3); }
.card-s .icon { box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .12); transition: transform .25s ease, box-shadow .25s ease; }
.card-s:hover .icon { transform: scale(1.06) rotate(-3deg); box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .25), 0 8px 20px rgba(49, 128, 252, .18); }
.card-s .more i, .post-card .more i { transition: transform .2s ease; display: inline-block; }
.card-s:hover .more i, .post-card:hover .more i { transform: translateX(4px); }
.section.alt .card-s { box-shadow: var(--elev-2); }

.post-card { box-shadow: var(--elev-1); border-radius: 16px; }
.post-card:hover { box-shadow: var(--elev-3); }
.post-card .pc-img img { transition: transform .5s ease; }
.post-card:hover .pc-img img { transform: scale(1.05); }

/* Price cards: featured gets a gradient frame + glow */
.price-card { box-shadow: var(--elev-1); border-radius: 18px; }
.price-card:hover { box-shadow: var(--elev-3); }
.price-card.featured { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(160deg, var(--primary), var(--cyan)) border-box; box-shadow: 0 8px 20px rgba(49, 128, 252, .12), 0 28px 60px rgba(49, 128, 252, .18); }
.price-card.featured:hover { box-shadow: 0 12px 26px rgba(49, 128, 252, .16), 0 36px 80px rgba(49, 128, 252, .24); }
.price-card .pop { box-shadow: 0 6px 16px rgba(49, 128, 252, .4); }

/* Hero: layered mesh + dot grid, glass badge */
.hero { background: linear-gradient(160deg, #eef5ff 0%, var(--light) 48%, #fdfefe 100%); }
.hero::before { background: radial-gradient(circle, rgba(49, 128, 252, .16), transparent 62%); }
.hero .container::before { content: ''; position: absolute; inset: -40px 0 auto; height: 480px; background-image: radial-gradient(rgba(41, 48, 67, .1) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 60% 55% at 28% 38%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 28% 38%, #000 0%, transparent 70%); pointer-events: none; }
.hero-badge { background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); box-shadow: var(--elev-1); border-color: rgba(49, 128, 252, .2); }
.hero h1 { letter-spacing: -.03em; }
.mock-card { box-shadow: var(--elev-4); border-radius: 18px; }
.mock-pill { box-shadow: var(--elev-3); }

/* Logo chips + stats */
.logo-chip { box-shadow: var(--elev-1); border-radius: 14px; }
.logo-chip:hover { box-shadow: var(--elev-2); border-color: rgba(49, 128, 252, .25); }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid rgba(41, 48, 67, .08); border-radius: 18px; box-shadow: var(--elev-2); overflow: hidden; margin-bottom: 44px; }
.trust-strip .ts { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-right: 1px solid var(--border); }
.trust-strip .ts:last-child { border-right: 0; }
.trust-strip .ts i { font-size: 26px; color: var(--primary); }
.trust-strip .ts b { display: block; font-family: var(--font-heading); font-size: 19px; color: var(--headline); line-height: 1.2; }
.trust-strip .ts small { color: var(--body); font-size: 12.5px; }
@media (max-width: 991px) { .trust-strip { grid-template-columns: 1fr 1fr; } .trust-strip .ts:nth-child(2n) { border-right: 0; } .trust-strip .ts:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 640px) { .trust-strip .ts { padding: 16px 18px; } }

/* Sections: subtle top hairline on alternating bands */
.section.alt { background: linear-gradient(180deg, #f6f9fe 0%, var(--light) 100%); }
.kicker { letter-spacing: .16em; }

/* CTA band: glow + depth */
.cta-band { background: linear-gradient(130deg, var(--primary) 0%, #2a6fe0 55%, var(--cyan) 120%); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); top: -200px; right: -80px; }
.cta-band::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(115deg, transparent 55%, #000); -webkit-mask-image: linear-gradient(115deg, transparent 55%, #000); }
.cta-band > * { position: relative; z-index: 1; }

/* Footer: gradient hairline */
.site-footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--primary), var(--cyan), var(--accent)) 1; }

/* Forms */
.f-input, .f-textarea, .f-select { transition: border-color .2s, box-shadow .2s; }
.form-card { box-shadow: var(--elev-2); border-radius: 18px; }

/* Video frame */
.vs-frame { box-shadow: var(--elev-4), 0 0 0 1px rgba(41, 48, 67, .06); }

/* Side widgets */
.side-widget { box-shadow: var(--elev-1); }

/* Scrollbar (subtle, desktop) */
@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--light); }
  ::-webkit-scrollbar-thumb { background: #c6cede; border-radius: 8px; border: 2px solid var(--light); }
  ::-webkit-scrollbar-thumb:hover { background: #a9b4c9; }
}

/* ==========================================================================
   TRENDING LAYER: bento grid, spotlight, marquee, border beam, aurora
   ========================================================================== */

/* Gradient accent text (brand blue to cyan only) */
.grad-text { background: linear-gradient(100deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bento grid (Apple-style modular tiles) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 20px; }
.bento-tile { position: relative; background: #fff; border: 1px solid rgba(41, 48, 67, .08); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--elev-1); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.bento-tile:hover { transform: scale(1.02); box-shadow: var(--elev-3); border-color: rgba(49, 128, 252, .3); }
.bento-tile .icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .12); }
.bento-tile h3 { font-size: 17px; margin-bottom: 6px; }
.bento-tile h3 a { color: var(--headline); }
.bento-tile h3 a::after { content: ''; position: absolute; inset: 0; }
.bento-tile p { font-size: 13.5px; margin: 0; flex: 1; }
.bento-tile .b-from { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 14px; }
.bento-tile .b-from small { color: var(--body); font-weight: 500; }
.b-lg { grid-column: span 2; grid-row: span 2; padding: 34px; background: linear-gradient(160deg, #fff 55%, #f2f7ff 100%); }
.b-lg h3 { font-size: 22px; }
.b-lg p { font-size: 15px; flex: none; }
.b-lg ul { list-style: none; margin: 18px 0 0; padding: 0; flex: 1; }
.b-lg ul li { font-size: 13.5px; padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--border); color: var(--headline); }
.b-lg ul li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--primary); }
.b-wide { grid-column: span 2; }
.b-cta { grid-column: span 2; background: var(--secondary); border-color: var(--secondary); align-items: flex-start; justify-content: center; }
.b-cta h3 { color: #fff; font-size: 19px; }
.b-cta p { color: #b9c0d0; flex: none; }
.b-cta .btn { position: relative; z-index: 1; margin-top: 16px; }
@media (max-width: 991px) { .bento { grid-template-columns: 1fr 1fr; } .b-lg, .b-wide, .b-cta { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .b-lg, .b-wide, .b-cta { grid-column: span 1; } }

/* Spotlight hover: mouse-follow radial highlight (JS sets --mx/--my) */
.spotlight::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(49, 128, 252, .09), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spotlight:hover::after { opacity: 1; }

/* Infinite logo marquee */
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 32s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-chip { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Border beam: rotating gradient ring on hero mockup + featured card */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.beam { position: relative; }
.beam::before { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--beam), transparent 0 65%, var(--cyan) 80%, var(--primary) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; animation: beam-spin 6s linear infinite; pointer-events: none; }
@keyframes beam-spin { to { --beam: 360deg; } }

/* Aurora blobs: slow drifting brand-colored glow */
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; will-change: transform; }
.aurora.a1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(49, 128, 252, .28), transparent 70%); top: -140px; right: -60px; animation: drift1 16s ease-in-out infinite; }
.aurora.a2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(22, 180, 242, .24), transparent 70%); bottom: -120px; left: -80px; animation: drift2 20s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 44px) scale(1.12); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, -36px) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .beam::before { animation: none; }
  .aurora { animation: none; }
}

/* Scroll reveals: pre-reveal is only applied by JS, so no-JS users see everything */
.pre-reveal { opacity: 0; transform: translateY(38px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.pre-reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pre-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   V2 LOOK: Neo-Premium Dark hero + editorial body (elite-frontend-designer)
   ========================================================================== */
:root {
  --ink: #10152a;        /* deep tone of the locked navy family */
  --ink-2: #1a2138;
  --ink-line: rgba(255, 255, 255, .09);
  --ink-text: #aab3c8;
}

/* Dark glass header (global, matches dark page heroes) */
.topbar { background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.site-header { background: rgba(16, 21, 42, .82); border-bottom: 1px solid var(--ink-line); }
.site-header .brand { color: #fff; }
.nav-main a { color: #d7dcea; }
.nav-main a:hover, .nav-main a.active { color: var(--cyan); }
.nav-main a.active::after { background: var(--cyan); }
.nav-toggle { color: #fff; }
@media (max-width: 991px) {
  .nav-main { background: var(--ink); }
  .nav-main a { color: #d7dcea; border-bottom-color: var(--ink-line); }
  .mega-link b { color: #fff; }
  .mega-link small { color: var(--ink-text); }
}
@media (max-width: 991px) { .mega-link:hover { background: rgba(255, 255, 255, .05); } }

/* ---------- Hero V2: dark command center ---------- */
.hero-v2 { position: relative; background: radial-gradient(1100px 520px at 78% -10%, rgba(49, 128, 252, .22), transparent 60%), radial-gradient(800px 420px at -10% 110%, rgba(22, 180, 242, .14), transparent 60%), var(--ink); color: var(--ink-text); overflow: hidden; }
.hero-v2::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 0%, transparent 75%); opacity: .5; }
.hero-v2 .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 130px; min-height: 92vh; }
.hv-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 26px; }
.hv-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero-v2 h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-v2 h1 .word { display: inline-block; }
.hero-v2 h1.split-ready .word { animation: word-in .7s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes word-in { from { opacity: 0; transform: translateY(26px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
.hero-v2.hv-in .hv-kicker { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .1s both; }
.hero-v2.hv-in p.lead { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .45s both; }
.hero-v2.hv-in .hero-ctas { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .58s both; }
.hero-v2.hv-in .hv-meta { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .72s both; }
.hero-v2.hv-in .term { animation: term-in 1s cubic-bezier(.22, .61, .36, 1) .4s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes term-in { from { opacity: 0; transform: translateY(56px) scale(.96); } to { opacity: 1; transform: none; } }
.hero-v2 h1 .grad-text { background: linear-gradient(100deg, #6ea6ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.hero-v2 p.lead { font-size: 17.5px; max-width: 540px; color: var(--ink-text); }
.hero-v2 .hero-ctas { margin-top: 34px; }
.btn-ghost-light { border: 2px solid rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .1); }
.btn-ghost-light:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-ghost-dark { border: 1px solid rgba(255, 255, 255, .22); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.hv-meta { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.hv-meta .m { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #d7dcea; }
.hv-meta .m i { color: var(--cyan); }

/* Terminal card */
.term { position: relative; background: linear-gradient(165deg, var(--ink-2), #151b30 70%); border: 1px solid var(--ink-line); border-radius: 20px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.term::after { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 200px at 80% 0%, rgba(22, 180, 242, .12), transparent 70%); pointer-events: none; }
.term-head { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--ink-line); font-size: 13px; font-weight: 700; color: #fff; }
.term-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #22d07a; box-shadow: 0 0 10px #22d07a; animation: pulse-dot 1.6s ease-in-out infinite; }
.term-head small { margin-left: auto; color: var(--ink-text); font-weight: 500; font-family: 'Cera Pro', monospace; }
.term-body { padding: 10px 20px 16px; min-height: 296px; }
.term-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px dashed rgba(255, 255, 255, .07); font-size: 13.5px; color: var(--ink-text); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.term-row.in { opacity: 1; transform: none; }
.term-row b { color: #fff; font-weight: 600; font-size: 13px; }
.term-row .amt { margin-left: auto; color: #d7dcea; font-weight: 600; white-space: nowrap; }
.term-row .st { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.term-row .st.ok { color: #4ade9b; background: rgba(34, 208, 122, .12); }
.term-row .st.tx { color: var(--cyan); background: rgba(22, 180, 242, .12); }
.term-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-top: 1px solid var(--ink-line); font-size: 12.5px; color: var(--ink-text); }
.term-foot b { color: #fff; }

/* Hero bottom ticker */
.hv-ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--ink-line); background: rgba(16, 21, 42, .7); backdrop-filter: blur(8px); z-index: 2; }
.hv-ticker .marquee-track { animation-duration: 40s; gap: 0; }
.hv-ticker .tk { display: inline-flex; align-items: center; gap: 10px; padding: 13px 30px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #d7dcea; white-space: nowrap; }
.hv-ticker .tk i { color: var(--cyan); }

/* ---------- Service index (numbered editorial rows) ---------- */
.svc-index { border-top: 1px solid var(--border); }
.svc-row { position: relative; display: grid; grid-template-columns: 84px 1.1fr 1fr auto; gap: 28px; align-items: center; padding: 30px 18px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .25s, padding .25s; }
.svc-row:hover { background: linear-gradient(90deg, rgba(49, 128, 252, .05), transparent 70%); padding-left: 30px; }
.svc-row .no { font-family: var(--font-heading); font-size: 15px; font-weight: 700; color: var(--primary); opacity: .55; }
.svc-row h3 { margin: 0; font-size: clamp(1.15rem, 1.9vw, 1.55rem); letter-spacing: -.015em; color: var(--headline); transition: color .2s; }
.svc-row:hover h3 { color: var(--primary); }
.svc-row p { margin: 0; font-size: 14px; color: var(--body); }
.svc-row .go { display: flex; align-items: center; gap: 16px; }
.svc-row .from-chip { font-size: 12.5px; font-weight: 700; color: var(--headline); background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; white-space: nowrap; }
.svc-row .arr { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--headline); font-size: 17px; transition: all .25s; }
.svc-row:hover .arr { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(-45deg); }
@media (max-width: 991px) { .svc-row { grid-template-columns: 44px 1fr auto; } .svc-row p { display: none; } }
@media (max-width: 640px) { .svc-row .from-chip { display: none; } }

/* ---------- Industries double marquee ---------- */
.ind-marquee { padding-bottom: 24px; }
.ind-marquee .marquee + .marquee { margin-top: 14px; }
.ind-marquee .marquee-track.rev { animation-direction: reverse; }
.ind-chip { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--headline); font-weight: 600; font-size: 14.5px; white-space: nowrap; box-shadow: var(--elev-1); transition: all .2s; }
.ind-chip i { color: var(--primary); }
.ind-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ---------- Giant CTA ---------- */
.cta-giant { background: radial-gradient(900px 420px at 50% 120%, rgba(49, 128, 252, .25), transparent 65%), var(--ink); text-align: center; padding: 110px 0 120px; position: relative; overflow: hidden; }
.cta-giant::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 75%); opacity: .5; }
.cta-giant .container { position: relative; z-index: 1; }
.cta-giant .kicker { justify-content: center; color: var(--cyan); }
.cta-giant .kicker::before { background: var(--cyan); }
.cta-giant h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.03em; margin-bottom: 14px; }
.cta-giant p { color: var(--ink-text); max-width: 520px; margin: 0 auto 36px; font-size: 16.5px; }
.section.dark { background: var(--ink); }
.site-footer { background: var(--ink); }

/* Video frame darker chrome to match */
.video-scrub { background: linear-gradient(180deg, #fff 0%, var(--light) 20%, #e8eefb 100%); }

@media (max-width: 991px) {
  .hero-v2 .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 110px; min-height: 0; }
}

/* ==========================================================================
   V3 LOOK: hostingwalay-craft hero — light, layered floating mockups
   ========================================================================== */

/* Header back to light glass (the craft benchmark uses a light nav) */
.site-header { background: rgba(255, 255, 255, .88); border-bottom: 1px solid var(--border); }
.site-header .brand { color: var(--headline); }
.nav-main a { color: var(--headline); }
.nav-main a:hover, .nav-main a.active { color: var(--primary); }
.nav-main a.active::after { background: var(--primary); }
.nav-toggle { color: var(--headline); }
@media (max-width: 991px) {
  .nav-main { background: #fff; }
  .nav-main a { color: var(--headline); border-bottom-color: var(--light); }
  .mega-link b { color: var(--headline); }
  .mega-link small { color: var(--body); }
  .mega-link:hover { background: var(--light); }
}

/* ---------- Hero V3 ---------- */
.hero-v3 { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 85% 8%, rgba(49, 128, 252, .1), transparent 60%),
  radial-gradient(700px 420px at 8% 92%, rgba(22, 180, 242, .09), transparent 60%),
  linear-gradient(170deg, #f3f8ff 0%, #f7f9fd 45%, #fff 100%); }
.hero-v3::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(41, 48, 67, .11) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 55% 50% at 72% 45%, #000, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 55% 50% at 72% 45%, #000, transparent 72%); pointer-events: none; }

.hv3-badges { position: relative; z-index: 1; display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; padding: 22px 24px 0; font-size: 13.5px; font-weight: 600; color: var(--headline); }
.hv3-badges .b { display: flex; align-items: center; gap: 8px; }
.hv3-badges .stars { color: #f1b000; letter-spacing: 1px; }
.hv3-badges i { color: var(--primary); }
.hv3-badges .b small { color: var(--body); font-weight: 500; }
.hv3-badges + .container { border-top: 1px dashed var(--border); margin-top: 20px; }

.hero-v3 .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 88px; }
.hv3-kicker { display: inline-flex; align-items: center; gap: 9px; background: rgba(49, 128, 252, .09); border: 1px solid rgba(49, 128, 252, .22); color: var(--primary); font-size: 13.5px; font-weight: 700; padding: 8px 18px; border-radius: 999px; margin-bottom: 24px; }
.hv3-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse-dot 2s ease-in-out infinite; }
.hero-v3 h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 20px; }
.hero-v3 h1 .accent { color: var(--primary); }
.hero-v3 p.lead { font-size: 17.5px; max-width: 520px; }
.hv3-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--elev-2); padding: 16px 22px; margin: 26px 0; max-width: fit-content; }
.hv3-price .lbl { font-size: 13.5px; color: var(--body); font-weight: 500; }
.hv3-price .amt { font-family: var(--font-heading); font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.hv3-price .amt small { font-size: 14px; color: var(--body); font-weight: 500; }
.hv3-price .save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(252, 101, 60, .35); }
.hero-v3 .hero-ctas { margin-top: 0; }
.hv3-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--headline); }
.hv3-wa i { color: #25d366; font-size: 19px; }

/* Layered mockup composition */
.hv3-scene { position: relative; min-height: 540px; perspective: 1400px; }
.hv3-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }

.dash { position: absolute; top: 26px; left: 4%; width: 88%; background: #fff; border-radius: 16px; border: 1px solid rgba(41, 48, 67, .1); box-shadow: 0 12px 28px rgba(41, 48, 67, .1), 0 48px 100px rgba(41, 48, 67, .22); overflow: hidden; }
.dash-chrome { display: flex; align-items: center; gap: 7px; background: var(--ink); padding: 11px 16px; }
.dash-chrome span { width: 10px; height: 10px; border-radius: 50%; }
.dash-chrome span:nth-child(1) { background: #fc653c; }
.dash-chrome span:nth-child(2) { background: #f1b000; }
.dash-chrome span:nth-child(3) { background: #22d07a; }
.dash-chrome em { margin-left: auto; margin-right: auto; font-style: normal; font-size: 11.5px; color: #9aa3b8; background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 3px 26px; }
.dash-video { display: block; width: 100%; height: auto; background: var(--ink); }
.dash-body { display: grid; grid-template-columns: 52px 1fr; }
.dash-side { background: var(--light); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; }
.dash-side .logo-dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.dash-side i { color: #98a1b5; font-size: 15px; }
.dash-side i.on { color: var(--primary); }
.dash-main { padding: 16px 18px 14px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-head b { font-size: 13.5px; color: var(--headline); }
.dash-head .pill { font-size: 10.5px; font-weight: 700; color: var(--primary); background: rgba(49, 128, 252, .1); padding: 4px 11px; border-radius: 999px; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.dash-tile { background: var(--light); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.dash-tile small { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--body); }
.dash-tile b { font-size: 15px; color: var(--headline); }
.dash-tile .up { font-size: 10px; color: #1c9e5c; font-weight: 700; }
.dash-chart { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px 4px; margin-bottom: 12px; background: linear-gradient(180deg, rgba(49, 128, 252, .04), transparent); }
.dash-chart svg { width: 100%; height: 74px; display: block; }
.dash-rows .dr { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--body); padding: 7px 2px; border-top: 1px dashed var(--border); }
.dash-rows .dr b { color: var(--headline); font-size: 11px; }
.dash-rows .dr .amt { margin-left: auto; font-weight: 700; color: var(--headline); }
.dash-rows .dr .ok { font-size: 9.5px; font-weight: 700; color: #1c9e5c; background: rgba(34, 208, 122, .12); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* Floating cards around the dashboard */
.fl { position: absolute; background: #fff; border: 1px solid rgba(41, 48, 67, .1); border-radius: 14px; box-shadow: 0 10px 24px rgba(41, 48, 67, .12), 0 30px 60px rgba(41, 48, 67, .18); z-index: 3; }
.fl-verified { top: -6px; right: -2%; width: 178px; padding: 14px 16px; transform: rotate(2.5deg); animation: float 6.5s ease-in-out infinite; }
.fl-verified .vh { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--headline); }
.fl-verified .vh i { color: #1c9e5c; font-size: 17px; }
.fl-verified .vq { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.fl-verified .mi-qr { width: 42px; height: 42px; border-radius: 7px; }
.fl-verified .vq small { font-size: 10.5px; color: var(--body); line-height: 1.5; }
.fl-feed { bottom: 4px; left: -3%; width: 252px; background: var(--ink-2); border-color: rgba(255, 255, 255, .1); transform: rotate(-2deg); animation: float 7.5s ease-in-out .8s infinite; overflow: hidden; }
.fl-feed .fh { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #fff; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.fl-feed .fh .dot { width: 7px; height: 7px; border-radius: 50%; background: #22d07a; box-shadow: 0 0 8px #22d07a; animation: pulse-dot 1.6s infinite; }
.fl-feed .fh small { margin-left: auto; color: #7f8aa5; font-weight: 500; font-size: 10px; }
.fl-feed .fb { padding: 4px 14px 10px; }
.fl-feed .term-row { padding: 8px 0; font-size: 10.5px; gap: 8px; }
.fl-feed .term-row b { font-size: 10px; }
.fl-feed .term-row .st { font-size: 8.5px; padding: 2px 7px; }
.fl-feed .term-row .amt { display: none; }
.fl-tax { top: 44%; left: -5%; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--headline); transform: rotate(-1.5deg); animation: float 7s ease-in-out 1.4s infinite; }
.fl-tax i { color: var(--accent); font-size: 19px; }
.fl-wa { bottom: 12%; right: 0; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--headline); transform: rotate(2deg); animation: float 8s ease-in-out 2s infinite; }
.fl-wa i { color: #25d366; font-size: 19px; }
.fl-count { top: 20%; right: 6%; z-index: 1; padding: 12px 16px; transform: rotate(1deg); animation: float 9s ease-in-out .4s infinite; }
.fl-count small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--body); }
.fl-count b { font-family: var(--font-heading); font-size: 19px; color: var(--headline); }
.fl-count b span { color: var(--primary); }

/* Entrances (CSS-driven, robust) */
.hero-v3.hv-in .hv3-kicker { animation: rise-in .7s cubic-bezier(.22, .61, .36, 1) .05s both; }
.hero-v3.hv-in p.lead { animation: rise-in .7s cubic-bezier(.22, .61, .36, 1) .4s both; }
.hero-v3.hv-in .hv3-price { animation: rise-in .7s cubic-bezier(.22, .61, .36, 1) .52s both; }
.hero-v3.hv-in .hero-ctas { animation: rise-in .7s cubic-bezier(.22, .61, .36, 1) .64s both; }
.hero-v3.hv-in .hv3-wa { animation: rise-in .7s cubic-bezier(.22, .61, .36, 1) .76s both; }
.hero-v3.hv-in .dash { animation: dash-in 1s cubic-bezier(.22, .61, .36, 1) .3s both; }
.hero-v3.hv-in .fl { animation-name: fl-in, float; animation-duration: .8s, 7s; animation-timing-function: cubic-bezier(.22, .61, .36, 1), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
.hero-v3.hv-in .fl-verified { animation-delay: .75s, 1.6s; }
.hero-v3.hv-in .fl-feed { animation-delay: .9s, 1.8s; }
.hero-v3.hv-in .fl-tax { animation-delay: 1.05s, 2s; }
.hero-v3.hv-in .fl-wa { animation-delay: 1.15s, 2.2s; }
.hero-v3.hv-in .fl-count { animation-delay: .85s, 1.7s; }
@keyframes dash-in { from { opacity: 0; transform: translateY(54px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes fl-in { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; } }

@media (max-width: 991px) {
  .hero-v3 .container { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; }
  .hv3-scene { min-height: 470px; margin-top: 8px; }
  .fl-tax { left: 0; } .fl-feed { left: 0; } .fl-verified { right: 0; }
  .hv3-badges { gap: 16px; font-size: 12px; }
}
@media (max-width: 640px) {
  .hv3-scene { min-height: 420px; }
  .fl-count, .fl-wa { display: none; }
  .dash { width: 100%; left: 0; }
}

/* ==========================================================================
   SCROLL FILM (opening act): pinned cinematic sequence, scroll-scrubbed
   ========================================================================== */
.film { height: 480vh; position: relative; background: #0a0f1f; }
.film-stage { position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: radial-gradient(1000px 600px at 50% 42%, #101a35 0%, #0a0f1f 55%, #070b17 100%); }
#filmParticles { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-vignette { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 70% 72% at 50% 50%, transparent 55%, rgba(7, 11, 23, .88) 100%); }

/* Holographic invoice */
.holo-wrap { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); perspective: 1200px; }
.holo { position: relative; width: min(340px, 66vw); aspect-ratio: 3 / 4.1; border-radius: 14px; padding: 26px 24px;
  background: linear-gradient(160deg, rgba(22, 180, 242, .10), rgba(49, 128, 252, .05) 45%, rgba(22, 180, 242, .08));
  border: 1px solid rgba(22, 180, 242, .45);
  box-shadow: 0 0 0 1px rgba(22, 180, 242, .12), 0 0 44px rgba(22, 180, 242, .22), 0 0 120px rgba(49, 128, 252, .18), inset 0 0 40px rgba(22, 180, 242, .07);
  backdrop-filter: blur(2px); display: flex; flex-direction: column; transform-style: preserve-3d; }
.holo-glow { position: absolute; left: 50%; bottom: -14%; width: 130%; height: 34%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(22, 180, 242, .3), transparent 70%); filter: blur(24px); }
.holo-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(22, 180, 242, .3); padding-bottom: 12px; margin-bottom: 16px; }
.hh-brand { font-family: var(--font-heading); font-weight: 800; color: #eaf6ff; font-size: 17px; letter-spacing: .01em; }
.hh-brand b { color: var(--cyan); }
.hh-no { font-size: 10px; color: rgba(180, 214, 255, .65); letter-spacing: .08em; }
.holo-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.hr-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hr-line i { display: block; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(22, 180, 242, .85), rgba(49, 128, 252, .45)); box-shadow: 0 0 10px rgba(22, 180, 242, .45); transform-origin: left center; }
.hr-line em { display: block; width: 34px; height: 7px; border-radius: 4px; background: rgba(120, 190, 255, .35); }
.holo-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(22, 180, 242, .3); }
.holo-qr { width: 64px; height: 64px; border-radius: 8px; position: relative;
  background: conic-gradient(#dff4ff 25%, transparent 0 50%, #dff4ff 0 75%, transparent 0) 0 0/16px 16px, rgba(10, 20, 40, .8);
  border: 1px solid rgba(22, 180, 242, .5); box-shadow: 0 0 14px rgba(22, 180, 242, .35); }
.holo-qr::after { content: ''; position: absolute; inset: -8px; border-radius: 12px; background: radial-gradient(circle, rgba(22, 180, 242, .5), transparent 70%); opacity: 0; filter: blur(6px); transition: none; }
.holo-total { text-align: right; }
.holo-total small { display: block; font-size: 9px; letter-spacing: .2em; color: rgba(180, 214, 255, .6); }
.holo-total b { font-family: var(--font-heading); font-size: 19px; color: #eaf6ff; }
.holo-badge { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #34e08a, #17a85c); color: #04240f; font-size: 22px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 22px rgba(52, 224, 138, .55); opacity: 0; transform: scale(.4); }
.holo-ring { position: absolute; inset: -8px; border-radius: 18px; border: 2px solid rgba(52, 224, 138, .8); opacity: 0; pointer-events: none; }

/* Captions */
.fcap { position: absolute; z-index: 6; opacity: 0; pointer-events: none; max-width: 420px; }
.fcap h1 { font-size: clamp(3rem, 8vw, 6.2rem); color: #fff; letter-spacing: -.03em; margin: 8px 0 10px; }
.fcap h1 b { color: var(--cyan); }
.fcap h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); color: #fff; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 12px; }
.fcap h2 span { color: var(--cyan); }
.fcap p { color: rgba(196, 216, 245, .78); font-size: 15.5px; margin: 0; }
.fcap .fk { color: var(--cyan); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.fcap .fs { font-size: 16.5px; }
.fcap-center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 7; }
.fcap-left { left: 7vw; top: 50%; transform: translateY(-50%); }
.fcap-right { right: 7vw; top: 50%; transform: translateY(-50%); text-align: right; }
.fcap-right p { margin-left: auto; }
.fcap-final { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 640px; width: 92vw; z-index: 7; }
.fcap-final h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.fcap-final .ff-price { display: inline-flex; gap: 12px; align-items: center; margin: 18px 0 24px; color: #cfe6ff; font-weight: 600; font-size: 14.5px;
  background: rgba(22, 180, 242, .08); border: 1px solid rgba(22, 180, 242, .3); border-radius: 999px; padding: 9px 22px; }
.fcap-final .ff-price .sep { color: rgba(160, 200, 245, .5); }
.fcap-final .hero-ctas { pointer-events: auto; display: flex; gap: 14px; flex-wrap: wrap; }
.film-cue { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); z-index: 7;
  color: rgba(180, 214, 255, .6); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; text-align: center; transition: opacity .4s; }
.film-cue::after { content: ''; display: block; width: 1px; height: 34px; margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--cyan), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .35; } }

@media (max-width: 991px) {
  .fcap-left, .fcap-right { left: 6vw; right: 6vw; top: auto; bottom: 9vh; transform: none; text-align: center; max-width: none; }
  .fcap-right p { margin: 0 auto; }
  .holo-wrap { top: 44%; }
  .holo { width: min(280px, 62vw); }
  .film { height: 420vh; }
}
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; }
  .film-stage { position: relative; }
  .fcap { display: none; }
  .fcap-final { display: block; position: absolute; opacity: 1 !important; }
  .film-cue { display: none; }
}

/* ==========================================================================
   SOFTWARE SHOWCASE: pinned laptop tour, screens swap + laptop changes sides
   ========================================================================== */
.showcase { position: relative; background: linear-gradient(180deg, #fff 0%, var(--light) 18%, #eef4fd 100%); }
.sc-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sc-inner { position: relative; height: 100%; }
.sc-head { position: absolute; top: 7vh; left: 0; right: 0; text-align: center; z-index: 5; }
.sc-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 0; }

.sc-laptop { position: absolute; top: 53%; left: 50%; width: min(46vw, 680px); z-index: 3;
  transform: translate(-50%, -50%) translateX(32%); will-change: transform; }
.sc-window { border-radius: 16px; overflow: hidden; background: var(--ink); border: 1px solid rgba(41, 48, 67, .16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 34px rgba(41, 48, 67, .14), 0 50px 110px rgba(41, 48, 67, .26); }
.sw-video { max-width: 960px; margin: 0 auto; }
.sw-video video { display: block; width: 100%; height: auto; background: var(--ink); }
.sc-chrome { display: flex; align-items: center; gap: 7px; background: var(--ink); padding: 12px 16px; }
.sc-chrome span { width: 11px; height: 11px; border-radius: 50%; }
.sc-chrome span:nth-child(1) { background: #fc653c; }
.sc-chrome span:nth-child(2) { background: #f1b000; }
.sc-chrome span:nth-child(3) { background: #22d07a; }
.sc-chrome em { margin-left: auto; margin-right: auto; font-style: normal; font-size: 12px; color: #9aa3b8; background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 3px 28px; }
.sc-screen { position: relative; aspect-ratio: 16 / 9.4; background: #fff; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .4s ease; }
.sc-img.on { opacity: 1; }

.sc-text { position: absolute; top: 53%; transform: translateY(-50%) translateY(14px); width: min(27vw, 360px); opacity: 0; transition: opacity .4s ease, transform .4s ease; z-index: 4; pointer-events: none; }
.sc-text.on { opacity: 1; transform: translateY(-50%); }
.sc-text.side-left { left: 5vw; }
.sc-text.side-right { right: 5vw; }
.sc-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.sc-text h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.sc-text p { font-size: 15px; margin-bottom: 14px; }
.sc-text ul { list-style: none; margin: 0; padding: 0; }
.sc-text ul li { font-size: 13.5px; font-weight: 600; color: var(--headline); padding: 6px 0 6px 26px; position: relative; }
.sc-text ul li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--primary); }

.sc-progress { position: absolute; bottom: 4.5vh; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: var(--headline); z-index: 5; }
.sc-progress .sc-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(41, 48, 67, .12); overflow: hidden; }
.sc-progress .sc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); }

@media (max-width: 991px) {
  .sc-laptop { width: min(88vw, 560px); top: 42%; transform: translate(-50%, -50%) !important; }
  .sc-text { top: auto; bottom: 9vh; left: 6vw !important; right: 6vw !important; width: auto; text-align: center; transform: translateY(14px); }
  .sc-text.on { transform: translateY(0); }
  .sc-text ul { display: none; }
  .sc-head { top: 4vh; }
  .sc-progress { bottom: 2.5vh; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase { height: auto !important; }
  .sc-stage { position: relative; height: auto; padding: 60px 0; }
  .sc-laptop { position: relative; top: 0; left: 0; transform: none !important; margin: 0 auto; }
  .sc-text { display: none; }
  .sc-text[data-step="0"] { display: block; position: relative; opacity: 1; transform: none; width: auto; margin: 30px auto 0; }
  .sc-progress { display: none; }
}

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 15% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 15% 0%, #000, transparent 70%); opacity: .5; pointer-events: none; }
.site-footer .f-glow { position: absolute; width: 640px; height: 400px; right: -160px; bottom: -180px; background: radial-gradient(circle, rgba(49, 128, 252, .16), transparent 65%); filter: blur(20px); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer .f-top { padding: 76px 0 54px; }
.site-footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--cyan); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.site-footer h4::before { content: ''; width: 18px; height: 2px; background: var(--cyan); border-radius: 2px; }
.site-footer ul li { margin-bottom: 4px; }
.site-footer ul a { display: inline-block; padding: 5px 0; position: relative; transition: color .2s, transform .2s; }
.site-footer ul a:hover { color: #fff; transform: translateX(5px); }
.site-footer ul a::before { content: '\F135'; font-family: 'bootstrap-icons'; font-size: 11px; color: var(--cyan); position: absolute; left: -14px; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .2s; }
.site-footer ul a:hover::before { opacity: 1; }
.f-badge { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 18px; font-size: 12.5px; font-weight: 700; color: #d7dcea; background: rgba(22, 180, 242, .1); border: 1px solid rgba(22, 180, 242, .3); border-radius: 999px; padding: 7px 16px; }
.f-badge i { color: var(--cyan); }
.site-footer .socials a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); transition: all .2s; }
.site-footer .socials a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.site-footer .f-contact li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.fc-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.site-footer .f-contact i { color: var(--cyan); margin-top: 0; }
.f-wa-chip { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(37, 211, 102, .14); border: 1px solid rgba(37, 211, 102, .35); border-radius: 999px; padding: 9px 18px; transition: all .2s; }
.f-wa-chip i { color: #25d366; font-size: 16px; }
.f-wa-chip:hover { background: rgba(37, 211, 102, .24); color: #fff; transform: translateY(-2px); }
.site-footer .f-bottom { border-top: 1px solid var(--ink-line); font-size: 13px; color: #8f98af; }
.to-top { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.to-top:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

/* ==========================================================================
   PREMIUM INNER-PAGE HERO (reusable): dark split hero with image slot
   ========================================================================== */
.phero { position: relative; overflow: hidden; color: var(--ink-text); background:
  radial-gradient(800px 420px at 82% 0%, rgba(49, 128, 252, .2), transparent 60%),
  radial-gradient(560px 320px at 0% 100%, rgba(22, 180, 242, .12), transparent 60%), var(--ink); }
.phero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%); opacity: .5; pointer-events: none; }
.phero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.phero.no-visual .container { grid-template-columns: 1fr; max-width: 880px; text-align: center; }
.phero .crumbs { font-size: 13px; margin-bottom: 16px; color: #8f98af; }
.phero .crumbs a { color: var(--cyan); }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 3.9vw, 3.3rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; }
.phero h1 .accent { color: var(--cyan); }
.phero p.lead { font-size: 17px; max-width: 560px; margin: 0; color: var(--ink-text); }
.phero.no-visual p.lead { margin: 0 auto; }
.phero-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.phero.no-visual .phero-chips { justify-content: center; }
.phero-chips .pc { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #d7dcea; background: rgba(255, 255, 255, .05); border: 1px solid var(--ink-line); border-radius: 999px; padding: 8px 16px; }
.phero-chips .pc i { color: var(--cyan); }
.phero-visual { position: relative; }
.phero-visual .sc-window { box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 60px 120px rgba(0, 0, 0, .3); }
.phero-visual .pv-img { display: block; width: 100%; height: auto; }
.phero-badge { position: absolute; top: -14px; right: -10px; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); padding: 11px 16px; font-size: 12.5px; font-weight: 800; color: var(--headline); transform: rotate(2deg); animation: float 7s ease-in-out infinite; z-index: 2; }
.phero-badge i { color: #1c9e5c; font-size: 17px; }
.phero-badge.alt { top: auto; bottom: -12px; left: -10px; right: auto; transform: rotate(-2deg); animation-delay: 1s; }
.phero-badge.alt i { color: var(--accent); }
@media (max-width: 991px) {
  .phero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .phero-badge { right: 6px; } .phero-badge.alt { left: 6px; }
}

/* ---------- Pricing: chooser cards + product meta ---------- */
.chooser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.chooser-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; box-shadow: var(--elev-1); transition: transform .25s, box-shadow .25s, border-color .25s; }
.chooser-card:hover { transform: translateY(-5px); box-shadow: var(--elev-3); border-color: rgba(49, 128, 252, .3); }
.chooser-card .icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.chooser-card b { font-size: 15.5px; color: var(--headline); margin-bottom: 8px; line-height: 1.3; }
.chooser-card p { font-size: 13px; color: var(--body); margin: 0 0 16px; flex: 1; }
.chooser-card .cc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--primary); }
.chooser-card.accent { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(160deg, var(--accent), var(--primary)) border-box; }
.chooser-card.accent .icon { background: rgba(252, 101, 60, .1); color: var(--accent); }
.chooser-card.accent .cc-tag { color: var(--accent); }
.prod-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.prod-meta .pm { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--body); background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.prod-meta .pm i { color: var(--primary); }
@media (max-width: 991px) { .chooser-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .chooser-grid { grid-template-columns: 1fr; } }

/* ---------- Services index cards ---------- */
.svc-card { position: relative; }
.svc-card .svc-no { position: absolute; top: 22px; right: 26px; font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: rgba(49, 128, 252, .3); }
.svc-card h3 a::after { content: ''; position: absolute; inset: 0; }
.svc-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); }
.svc-card-foot .from-chip { font-size: 12.5px; font-weight: 700; color: var(--headline); background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }
.svc-card-foot .arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--headline); font-size: 15px; transition: all .25s; }
.svc-card:hover .arr { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(-45deg); }

/* ---------- Service detail: process strip + dark side widget ---------- */
.process-band { position: relative; overflow: hidden; }
.process-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 80%); opacity: .45; pointer-events: none; }
.process-band .container { position: relative; z-index: 1; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pstep { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid var(--ink-line); border-radius: 16px; padding: 26px 22px; transition: all .25s; }
.pstep:hover { background: rgba(255, 255, 255, .07); border-color: rgba(22, 180, 242, .35); transform: translateY(-4px); }
.pstep .no { position: absolute; top: 18px; right: 20px; font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: rgba(255, 255, 255, .18); }
.pstep .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(22, 180, 242, .12); border: 1px solid rgba(22, 180, 242, .3); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.pstep b { display: block; color: #fff; font-size: 15.5px; margin-bottom: 7px; }
.pstep p { font-size: 13px; color: var(--ink-text); margin: 0; }
@media (max-width: 991px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .process-grid { grid-template-columns: 1fr; } }
.included-card { margin-top: 34px; border: 1px solid rgba(49, 128, 252, .22); border-radius: 16px; overflow: hidden; box-shadow: var(--elev-2); background: #fff; }
.included-card .ic-head { display: flex; align-items: center; gap: 10px; background: linear-gradient(90deg, rgba(49, 128, 252, .08), rgba(22, 180, 242, .05)); border-bottom: 1px solid rgba(49, 128, 252, .15); padding: 16px 22px; font-size: 14.5px; color: var(--headline); }
.included-card .ic-head i { color: var(--primary); font-size: 17px; }
.included-card .ic-list { list-style: none; margin: 0; padding: 14px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.included-card .ic-list li { font-size: 13.5px; color: var(--headline); padding: 7px 0 7px 26px; position: relative; }
.included-card .ic-list li::before { content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--primary); }
.included-card .ic-link { display: inline-flex; align-items: center; gap: 7px; margin: 4px 22px 18px; font-size: 13px; font-weight: 700; }
@media (max-width: 640px) { .included-card .ic-list { grid-template-columns: 1fr; } }
.side-widget-dark { background: radial-gradient(200px 140px at 85% -10%, rgba(22, 180, 242, .25), transparent 65%), var(--ink); border-color: var(--ink); }
.side-widget-dark h4 { color: #fff; }
.side-widget-dark p { color: var(--ink-text); font-size: 14px; }

/* ---------- About: story split + timeline ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.story-copy .prose { max-width: none; }
.story-copy .prose > p:first-of-type { font-size: 17.5px; color: var(--headline); }
.story-copy .prose h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.story-copy .prose h3::before { content: ''; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; flex: none; }
.sfeat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.sfeat { display: flex; gap: 14px; align-items: flex-start; background: var(--light); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.sfeat .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.sfeat b { display: block; font-size: 14px; color: var(--headline); margin-bottom: 3px; }
.sfeat small { font-size: 12.5px; color: var(--body); line-height: 1.5; }
.story-media { position: sticky; top: 120px; }
.story-media .phero-badge { top: auto; bottom: -14px; right: 18px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 70px; padding-top: 38px; }
.timeline::before { content: ''; position: absolute; top: 5px; left: 2%; right: 2%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan) 60%, var(--border)); border-radius: 2px; }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; top: -38px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(49, 128, 252, .15); }
.tl-item .year { display: inline-block; font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--primary); background: rgba(49, 128, 252, .08); border: 1px solid rgba(49, 128, 252, .2); border-radius: 999px; padding: 4px 14px; margin-bottom: 10px; }
.tl-item b { display: block; font-size: 15.5px; color: var(--headline); margin-bottom: 6px; }
.tl-item p { font-size: 13px; margin: 0; }
@media (max-width: 991px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { position: static; }
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-top: 0; padding-left: 26px; margin-top: 46px; }
  .timeline::before { top: 4px; bottom: 4px; left: 5px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary), var(--cyan) 60%, var(--border)); }
  .tl-item::before { top: 2px; left: -26px; }
  .sfeat-row { grid-template-columns: 1fr; }
}

/* ---------- About page sections ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card { position: relative; overflow: hidden; border-radius: 20px; padding: 38px 34px; border: 1px solid var(--border); background: #fff; box-shadow: var(--elev-2); }
.mv-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.mv-card.vision::before { background: linear-gradient(90deg, var(--cyan), var(--accent)); }
.mv-card .icon { width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); box-shadow: inset 0 0 0 1px rgba(49, 128, 252, .12); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.mv-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.mv-card p { font-size: 15.5px; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; box-shadow: var(--elev-1); transition: transform .25s, box-shadow .25s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--elev-3); }
.value-card .icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(49, 128, 252, .12), rgba(22, 180, 242, .12)); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.value-card h4 { font-size: 16.5px; margin-bottom: 8px; color: var(--headline); }
.value-card p { font-size: 13.5px; margin: 0; }
@media (max-width: 991px) { .mv-grid { grid-template-columns: 1fr; } .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PUBLIC INVOICE (WHMCS style) + payment methods
   ========================================================================== */
.inv-status { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--st); color: #fff; font-weight: 800; letter-spacing: .1em; font-size: 14px; border-radius: 14px 14px 0 0; padding: 14px; }
.inv-sheet { background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: var(--elev-2); padding: 36px; margin-bottom: 24px; }
.inv-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--light); padding-bottom: 22px; margin-bottom: 22px; }
.inv-co { font-size: 12.5px; color: var(--body); margin: 12px 0 0; line-height: 1.6; }
.inv-meta { text-align: right; }
.inv-meta h1 { font-size: 1.6rem; margin-bottom: 6px; }
.inv-meta p { font-size: 13px; color: var(--body); margin: 0; line-height: 1.7; }
.inv-billto { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; }
.inv-billto small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--body); margin-bottom: 4px; }
.inv-billto b { display: block; color: var(--headline); }
.inv-billto span { font-size: 13px; color: var(--body); }
.inv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv-table th { background: var(--ink); color: #fff; text-align: left; padding: 11px 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.inv-table td { padding: 12px 14px; border-bottom: 1px solid var(--light); color: var(--headline); }
.inv-table tfoot td { border-bottom: 0; color: var(--body); padding: 8px 14px; }
.inv-table .inv-total td { font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--headline); border-top: 2px solid var(--border); padding-top: 14px; }
.pay-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--elev-1); padding: 28px; margin-bottom: 20px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 8px; }
.pm-card { position: relative; border: 1px solid var(--border); border-radius: 14px; padding: 16px 14px; text-align: center; cursor: pointer; transition: all .2s; }
.pm-card:hover { border-color: rgba(49, 128, 252, .4); }
.pm-card.on { border-color: var(--primary); background: rgba(49, 128, 252, .05); box-shadow: 0 0 0 3px rgba(49, 128, 252, .12); }
.pm-card input { position: absolute; opacity: 0; }
.pm-card i { font-size: 22px; color: var(--primary); display: block; margin-bottom: 8px; }
.pm-card b { display: block; font-size: 13.5px; color: var(--headline); }
.pm-card small { font-size: 11px; color: var(--body); }
.pm-pane { border-top: 1px dashed var(--border); margin-top: 16px; padding-top: 20px; }
.pm-details { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.pm-details small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--body); }
.pm-details pre { font-family: inherit; font-size: 14.5px; color: var(--headline); margin: 6px 0 0; white-space: pre-wrap; }
.proof-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; color: var(--headline); flex-wrap: wrap; }
.proof-row:last-child { border-bottom: 0; }
.badge-pill { font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 5px 14px; }
.badge-pill.pending { background: #fdf3dd; color: #b7791f; }
.badge-pill.approved { background: #e9f9ef; color: #1c7c3f; }
.badge-pill.rejected { background: #fdeeee; color: #b13030; }
@media print { .site-header, .topbar, .site-footer, .pay-card, .wa-float, .btn { display: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { min-height: 400px; margin-top: 12px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .with-sidebar, .builder-layout { grid-template-columns: 1fr; }
  .bill-box { position: static; }
  .nav-main { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: #fff; padding: 84px 28px 28px; gap: 6px; align-items: flex-start; box-shadow: var(--shadow-lg); transform: translateY(-110%); transition: transform .3s; z-index: 55; }
  .nav-main.open { transform: translateY(0); }
  .nav-main a { font-size: 17px; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--light); }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .nav-main { max-height: 100vh; overflow-y: auto; }
  .nav-item-wrap { width: 100%; }
  .nav-item-wrap > a { width: 100%; justify-content: space-between; }
  .mega-panel, .drop-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 8px; width: auto; border-radius: 0; }
  .mega-panel::before { display: none; }
  .mega-panel .mega-inner { padding: 0; }
  .nav-item-wrap.open .mega-panel, .nav-item-wrap.open .drop-panel { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 8px; padding: 0; }
  .mega-grid, .mega-grid.cols-2 { grid-template-columns: 1fr; gap: 2px; }
  .mega-link { padding: 8px 4px; }
  .mega-link small { display: none; }
  .mega-link b { font-size: 15px; font-weight: 500; }
  .mega-link .ml-icon { width: 30px; height: 30px; font-size: 14px; }
  .mega-side { display: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 28px; }
  .site-footer .f-top { grid-template-columns: 1fr; }
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-item .pc-body { padding: 22px; }
  .topbar .tb-left { display: none; }
}

/* ==========================================================
   ONE-PAGE CHECKOUT
   ========================================================== */
.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 20px; }
.co-step { padding: 26px 28px; }
.co-step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.co-step-h h2 { font-size: 1.15rem; margin: 0; }
.co-num { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--primary), var(--cyan)); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 5px 14px rgba(49, 128, 252, .35); }
.co-signin-hint { font-size: 13.5px; color: var(--muted); margin: -6px 0 14px; }
.co-signin-hint a { color: var(--primary); font-weight: 600; }
.co-logged { display: flex; align-items: center; gap: 14px; background: #eef6ff; border: 1px solid #cfe4ff; border-radius: 12px; padding: 14px 18px; }
.co-logged i { font-size: 24px; color: var(--primary); }
.co-logged b { display: block; font-size: 14.5px; color: var(--headline); }
.co-logged small { color: var(--muted); font-size: 12.5px; }
.co-logged .co-switch { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.co-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.co-pm-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.co-side { position: sticky; top: 96px; }
.co-summary { background: var(--secondary); color: #dbe1ee; border-radius: 18px; padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(41, 48, 67, .35); }
.co-summary h3 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.co-plan b { color: #fff; font-size: 15.5px; display: block; }
.co-plan small { color: #9aa5bd; font-size: 12.5px; display: block; margin-top: 2px; }
.co-plan .pc-range { margin-top: 8px; }
.co-lines { border-top: 1px solid rgba(255,255,255,.12); margin-top: 14px; padding-top: 6px; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: 13.5px; }
.co-line em { font-style: normal; color: #8b96ae; font-size: 12px; }
.co-line b { color: #fff; }
.co-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.18); margin-top: 6px; padding-top: 14px; font-size: 14px; }
.co-total b { color: #fff; font-size: 22px; letter-spacing: -.4px; }
.co-place { width: 100%; justify-content: center; margin-top: 16px; font-size: 15.5px; padding: 14px; }
.co-secure { font-size: 12px; color: #9aa5bd; text-align: center; margin: 12px 0 0; }
.co-feats { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.co-feats li { font-size: 12.5px; padding: 4px 0; color: #b9c2d6; }
.co-feats i { color: var(--cyan); margin-right: 6px; }
.co-methods .pm-card { background: #fff; }
@media (max-width: 991px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-side { position: static; }
}

/* ==========================================================
   BLOG X LAYOUT (category strip + live search + mosaic)
   ========================================================== */
.bx-catbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 74px; z-index: 40; }
.bx-catbar-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bx-catbar-in::-webkit-scrollbar { display: none; }
.bx-catbar-in a { padding: 14px 16px 12px; font-size: 14px; font-weight: 600; color: var(--body); white-space: nowrap; border-bottom: 2.5px solid transparent; transition: color .18s, border-color .18s; }
.bx-catbar-in a span { font-size: 11px; color: var(--muted); background: var(--light); border-radius: 99px; padding: 2px 7px; margin-left: 2px; }
.bx-catbar-in a:hover { color: var(--primary); }
.bx-catbar-in a.on { color: var(--primary); border-bottom-color: var(--primary); }
.bx-catbar-in a.on span { background: #eaf2ff; color: var(--primary); }

.bx-head { background: linear-gradient(180deg, #f6f9fe, #fff); border-bottom: 1px solid var(--border); }
.bx-head-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding-top: 40px; padding-bottom: 34px; flex-wrap: wrap; }
.bx-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--headline); margin: 0 0 8px; letter-spacing: -.5px; }
.bx-head p { color: var(--body); font-size: 15px; max-width: 560px; margin: 0; }
.bx-search { position: relative; width: 380px; max-width: 100%; }
.bx-search > i { position: absolute; left: 16px; top: 15px; color: var(--muted); }
.bx-search input { width: 100%; padding: 13px 16px 13px 44px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; font-family: inherit; font-size: 14.5px; color: var(--headline); outline: none; box-shadow: var(--elev-1); transition: border-color .18s, box-shadow .18s; }
.bx-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(49, 128, 252, .15); }
.bx-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 22px 50px rgba(41, 48, 67, .18); overflow: hidden; z-index: 60; }
.bx-r-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--light); transition: background .15s; }
.bx-r-item:last-child { border-bottom: 0; }
.bx-r-item:hover { background: #f6f9fe; }
.bx-r-item img, .bx-r-noimg { width: 68px; height: 44px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid var(--border); }
.bx-r-noimg { display: inline-flex; align-items: center; justify-content: center; background: var(--light); color: var(--muted); }
.bx-r-item b { display: block; font-size: 13.5px; color: var(--headline); line-height: 1.35; }
.bx-r-item small { color: var(--muted); font-size: 12px; }
.bx-r-empty { padding: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }

.bx-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: minmax(0, auto); gap: 20px; margin-bottom: 40px; }
.bx-hero-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--elev-1); transition: transform .2s ease, box-shadow .2s ease; }
.bx-hero-card:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
.bx-hero-card.lead { grid-row: span 2; }
.bx-hero-card:not(.lead) { flex-direction: row; align-items: stretch; }
.bx-hero-img { display: block; background: var(--light); position: relative; overflow: hidden; }
.bx-hero-card.lead .bx-hero-img { aspect-ratio: 16 / 9; }
.bx-hero-card:not(.lead) .bx-hero-img { width: 42%; flex: none; min-height: 150px; }
.bx-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-hero-img i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--muted); }
.bx-hero-body { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.bx-hero-card.lead .bx-hero-body b { font-size: 21px; }
.bx-hero-body b { font-size: 15.5px; color: var(--headline); line-height: 1.35; font-weight: 700; }
.bx-hero-card:hover .bx-hero-body b { color: var(--primary); }
.bx-chip { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--primary); background: #eaf2ff; border-radius: 99px; padding: 4px 11px; }
.bx-ex { color: var(--body); font-size: 13.5px; line-height: 1.6; }
.bx-meta { color: var(--muted); font-size: 12.5px; margin-top: auto; }
.bx-sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.bx-sec-head h2 { font-size: 1.35rem; color: var(--headline); margin: 0; white-space: nowrap; }
.bx-sec-head span { flex: 1; height: 1px; background: var(--border); }

@media (max-width: 991px) {
  .bx-catbar { top: 0; }
  .bx-mosaic { grid-template-columns: 1fr; }
  .bx-hero-card:not(.lead) { flex-direction: column; }
  .bx-hero-card:not(.lead) .bx-hero-img { width: 100%; aspect-ratio: 16 / 9; }
  .bx-head-in { align-items: stretch; }
  .bx-search { width: 100%; }
}

/* ==========================================================
   TABLE OF CONTENTS (auto, blog posts)
   ========================================================== */
.toc-box { background: #f6f9fe; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 12px; margin: 0 0 30px; overflow: hidden; }
.toc-head { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 800; color: var(--headline); padding: 14px 20px; }
.toc-head i.bi-list-ul { color: var(--primary); margin-right: 6px; }
.toc-caret { transition: transform .25s ease; color: var(--muted); }
.toc-box.closed .toc-caret { transform: rotate(-90deg); }
.toc-list { list-style: none; counter-reset: tocnum; margin: 0; padding: 0 20px 16px; max-height: 420px; overflow: auto; transition: max-height .3s ease, padding .3s ease; }
.toc-box.closed .toc-list { max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.toc-list li { padding: 4px 0; }
.toc-list li.lv2 { counter-increment: tocnum; }
.toc-list li.lv2::before { content: counter(tocnum) ". "; color: var(--primary); font-weight: 700; }
.toc-list li.lv3 { padding-left: 26px; font-size: 13.5px; }
.toc-list li.lv3::before { content: "–  "; color: var(--muted); }
.toc-list a { color: var(--body); font-size: 14.5px; font-weight: 500; }
.toc-list a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 96px; }
.prose img { border-radius: 12px; }
.prose img.aligncenter, .prose .image { display: block; margin: 22px auto; }
.prose .image img { margin: 0 auto; display: block; }
.prose figure { margin: 22px auto; text-align: center; }
.prose figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ==========================================================
   VIDEO TOUR (scroll-scrub software walkthrough)
   ========================================================== */
.vtour { height: 340vh; position: relative; background: linear-gradient(180deg, #f6f9fe, #fff); }
.vtour-pin { position: sticky; top: 74px; height: calc(100vh - 74px); display: flex; align-items: center; overflow: hidden; }
.vtour-grid { display: grid; grid-template-columns: 400px 1fr; gap: 46px; align-items: center; width: 100%; }
.vtour-copy .kicker { margin-bottom: 10px; }
.vtour-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); color: var(--headline); margin: 0 0 10px; letter-spacing: -.5px; }
.vtour-lead { color: var(--body); font-size: 14.5px; margin: 0 0 22px; }
.vtour-caps { position: relative; min-height: 96px; }
.vtour-cap { position: absolute; inset: 0 auto auto 0; margin: 0; font-size: 16px; line-height: 1.6; color: var(--headline); font-weight: 600; opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.vtour-cap.on { opacity: 1; transform: translateY(0); }
.vc-no { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(120deg, var(--primary), var(--cyan)); color: #fff; font-size: 13px; font-weight: 800; margin-right: 8px; box-shadow: 0 6px 16px rgba(49, 128, 252, .3); }
.vtour-bar { height: 5px; background: #e5eaf3; border-radius: 99px; overflow: hidden; margin: 26px 0 10px; }
.vtour-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--cyan)); border-radius: 99px; }
.vtour-hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.vtour-window { margin: 0; }
.vtour-window video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #0d1220; }
@media (max-width: 991px) {
  .vtour { height: 300vh; }
  .vtour-pin { top: 0; height: 100vh; align-items: flex-start; padding-top: 18px; }
  .vtour-grid { grid-template-columns: 1fr; gap: 18px; }
  .vtour-caps { min-height: 84px; }
  .vtour-cap { font-size: 14.5px; }
}
