/* ============================================================
   CodeTuhin — design system
   Deep navy-black glass, cyan + gold neon, fine hairlines.
   One stylesheet for the whole site: home, store, courses,
   security alerts, order flow, contact and admin.
   ============================================================ */

:root {
  --bg:        #030612;
  --bg-2:      #050a18;
  --bg-3:      #081020;
  --panel:     rgba(10, 18, 34, 0.66);
  --panel-2:   rgba(13, 23, 43, 0.85);
  --solid:     #0b1526;
  --line:      rgba(103, 232, 249, 0.13);
  --line-2:    rgba(103, 232, 249, 0.30);
  --ink:       #ecf3fb;
  --ink-2:     #b9c9dd;
  --muted:     #8498b3;
  --faint:     #5d718c;
  --cyan:      #22d3ee;
  --cyan-hi:   #7deefc;
  --cyan-deep: #0e7490;
  --gold:      #f2c14e;
  --gold-hi:   #ffd97a;
  --green:     #2fbf71;
  --tg:        #2aabee;
  --violet:    #a78bfa;
  --red:       #f87171;
  --r-lg: 20px;
  --r-md: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 18px 50px -18px rgba(0, 0, 0, .65);
  --glow-cyan: 0 0 0 1px rgba(34, 211, 238, .08), 0 12px 44px -12px rgba(34, 211, 238, .22);
  /* legacy aliases used by admin.css */
  --text: var(--ink);
  --card: var(--panel-2);
  --card-2: #0d1729;
  --card-solid: var(--solid);
  --radius: 20px;
  --cyan-dim: #0e7490;
  --ok: #34d399;
  --danger: #f87171;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(34, 211, 238, .07), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(242, 193, 78, .045), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto,
               "Helvetica Neue", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="bn"] body { line-height: 1.8; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 { letter-spacing: 0; }
html[lang="bn"] .section-head .kicker { letter-spacing: 1px; }

::selection { background: rgba(34, 211, 238, .32); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #14304a; border-radius: 8px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #1b4265; }

a { color: var(--cyan); text-decoration: none; transition: color .18s; }
a:hover { color: var(--cyan-hi); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -.021em; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 1.95rem); }
h3 { font-size: 1.1rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.left { justify-content: flex-start !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #03222b; font-weight: 700;
  padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #03222b; }

/* faint particle canvas behind inner pages (the home hero has its own scene) */
#particle-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .5;
}
body > *:not(#particle-canvas) { position: relative; z-index: 1; }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: .5rem; }
.wm-bracket {
  color: var(--cyan); font-weight: 800; font-size: 1.42rem; line-height: 1;
  text-shadow: 0 0 14px rgba(34, 211, 238, .85), 0 0 34px rgba(34, 211, 238, .35);
}
.wm-text { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.wm-code { color: var(--cyan); }
.wm-tuhin { color: var(--gold); }

/* ---------- header & navigation (v3 pattern, kept in v4) ----------
   Two independent navs that never share state:
   - .nav-desktop: a plain inline row, shown on wide screens.
   - .nav-panel: the mobile menu — a normal block INSIDE the header,
     in normal document flow, toggled only by the `hidden` attribute
     from the inline script in includes/header.php. No absolute
     positioning, no transforms, no z-index tricks, no dependency
     on main.js. The [hidden] rule is written out explicitly because
     author styles can otherwise override the UA default. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 6, 18, .86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 14px 44px rgba(0, 0, 0, .5); }
.header-bar {
  max-width: var(--maxw); margin: 0 auto; min-height: 68px;
  padding: .6rem 1.2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .62rem; flex: none; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line-2); background: #050a18;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .07), 0 0 20px rgba(34, 211, 238, .28);
}
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: rgba(9, 16, 31, .7); flex: none;
}
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .34rem .78rem; font-size: .78rem; font-weight: 700; color: var(--muted);
  letter-spacing: .4px; line-height: 1.2;
}
.lang-switch a.on { background: rgba(34, 211, 238, .14); color: var(--cyan-hi); }
.lang-switch a:hover { color: var(--cyan-hi); }

/* desktop nav — plain flex row */
.nav-desktop { display: none; }
.nav-desktop a {
  color: var(--ink-2); padding: .52rem .85rem; border-radius: 9px;
  font-weight: 600; font-size: .93rem; position: relative;
  transition: background .18s, color .18s;
}
.nav-desktop a:hover { background: rgba(34, 211, 238, .07); color: var(--cyan-hi); }
.nav-desktop a.active { color: var(--cyan); }
.nav-desktop a.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.nav-desktop .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: #1c1503; font-weight: 700; text-align: center;
  margin-left: .6rem; padding: .52rem 1.15rem;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 20px -6px rgba(242, 193, 78, .55);
  transition: transform .18s var(--ease), filter .18s, box-shadow .25s;
}
.nav-desktop .nav-cta::before {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 36%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-220%) skewX(-18deg);
}
.nav-desktop .nav-cta:hover { color: #1c1503; filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(242, 193, 78, .7); }
.nav-desktop .nav-cta:hover::before { transform: translateX(420%) skewX(-18deg); transition: transform .65s var(--ease); }
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .lang-switch { margin-left: .7rem; }

/* mobile tools (WhatsApp shortcut + menu button) */
.header-tools { display: flex; align-items: center; gap: .55rem; }
.hdr-wa {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 11px; border: 1px solid var(--line);
  background: var(--solid); color: var(--green);
}
.hdr-wa svg { width: 21px; height: 21px; }
.nav-btn {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  background: var(--solid); color: var(--ink);
  border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
}
.nav-btn-bars { display: grid; gap: 5px; }
.nav-btn-bars span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s;
}
.nav-btn.is-open .nav-btn-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-btn.is-open .nav-btn-bars span:nth-child(2) { opacity: 0; }
.nav-btn.is-open .nav-btn-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile panel — in-flow block under the bar */
.nav-panel {
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 20, .97);
  padding: .4rem 1.2rem 1.05rem;
}
.nav-panel[hidden] { display: none; }
.nav-panel > a {
  display: block; padding: .8rem .35rem;
  color: var(--ink-2); font-weight: 600; font-size: 1rem;
  border-bottom: 1px solid rgba(103, 232, 249, .07);
}
.nav-panel > a:hover { color: var(--cyan-hi); }
.nav-panel > a.active { color: var(--cyan); }
.nav-panel-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding-top: .95rem;
}
.nav-panel-wa { padding: .62rem 1.25rem; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: .12rem; }
  .header-tools { display: none; }
  .nav-panel { display: none !important; }
}

/* ---------- layout & sections ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 1.2rem 3.6rem; }
.section { padding: 3.4rem 0 1.2rem; scroll-margin-top: 84px; }
.section-head { margin-bottom: 1.7rem; max-width: 640px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--cyan); text-transform: uppercase; letter-spacing: 3px;
  font-size: .68rem; font-weight: 700; margin-bottom: .45rem;
}
.section-head .kicker::before {
  content: ""; width: 20px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(34, 211, 238, 0));
}
.section-head.center .kicker::after {
  content: ""; width: 20px; height: 2px; border-radius: 2px;
  background: linear-gradient(-90deg, var(--cyan), rgba(34, 211, 238, 0));
}
.section-head h2 { margin-bottom: .45rem; }
.section-head .muted { max-width: 540px; }
.section-head.center .muted { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px;
  padding: .78rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1.3;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s var(--ease), filter .18s, box-shadow .25s, background .18s;
}
/* shine sweep — a light bar crosses the button on hover (transform only) */
.btn::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 36%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(-220%) skewX(-18deg);
}
.btn:hover::after { transform: translateX(420%) skewX(-18deg); transition: transform .65s var(--ease); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .btn-arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-hi)); color: #1c1503;
  box-shadow: 0 8px 26px -8px rgba(242, 193, 78, .6);
}
.btn-gold:hover { box-shadow: 0 14px 34px -8px rgba(242, 193, 78, .75); }
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-hi)); color: #03222b;
  box-shadow: 0 8px 26px -8px rgba(34, 211, 238, .55);
}
.btn-cyan:hover { box-shadow: 0 14px 34px -8px rgba(34, 211, 238, .7); }
.btn-ghost { background: rgba(34, 211, 238, .03); border-color: var(--line-2); color: var(--cyan); }
.btn-ghost:hover { background: rgba(34, 211, 238, .09); }
.btn-wa { background: var(--green); color: #04150a; box-shadow: 0 8px 22px -8px rgba(47, 191, 113, .6); }
.btn-tg { background: var(--tg); color: #fff; box-shadow: 0 8px 22px -8px rgba(42, 171, 238, .55); }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- glass panels & cards ---------- */
.panel {
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(236, 243, 251, .05);
}

.card {
  background: var(--panel);
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.45rem;
  display: flex; flex-direction: column; gap: .5rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(236, 243, 251, .04);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
  transform-style: preserve-3d; will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 18% -10%, rgba(34, 211, 238, .09), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-5px); box-shadow: var(--glow-cyan), var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(34, 211, 238, .08); border: 1px solid var(--line);
  color: var(--cyan); margin-bottom: .25rem;
}
.card .icon svg { width: 23px; height: 23px; }
.card .icon.gold { background: rgba(242, 193, 78, .09); color: var(--gold); border-color: rgba(242, 193, 78, .25); }
.card h3 { font-size: 1.09rem; }
.card p.muted { font-size: .93rem; line-height: 1.6; }
.card .price { color: var(--gold); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.card .meta { color: var(--muted); font-size: .87rem; }
.card .spacer { flex: 1; min-height: .35rem; }
.spacer { flex: 1; }

/* artwork header for product / work cards — pure CSS, no fake screenshots */
.card-art {
  margin: -1.45rem -1.45rem 1rem; height: 118px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(300px 130px at 82% -20%, rgba(242, 193, 78, .16), transparent 60%),
    radial-gradient(340px 160px at 12% 120%, rgba(34, 211, 238, .17), transparent 62%),
    linear-gradient(150deg, #0a1830, #060d1d);
}
.card-art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 0%, black 30%, transparent 78%);
}
.card-art .art-mark {
  position: absolute; right: 1.1rem; bottom: .5rem;
  font-size: 2.5rem; font-weight: 800; color: rgba(125, 238, 252, .32);
  text-shadow: 0 0 22px rgba(34, 211, 238, .35); letter-spacing: -.02em;
}
.card-art .art-cat { position: absolute; left: 1.1rem; top: .9rem; }
.card-art.art-gold .art-mark { color: rgba(255, 217, 122, .38); text-shadow: 0 0 22px rgba(242, 193, 78, .35); }

.tag {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .8px;
  padding: .2rem .62rem; border-radius: 999px; text-transform: uppercase;
  border: 1px solid rgba(34, 211, 238, .4); color: var(--cyan);
  background: rgba(34, 211, 238, .07); align-self: flex-start;
}
.tag.gold { border-color: rgba(242, 193, 78, .45); color: var(--gold); background: rgba(242, 193, 78, .07); }
.tag.violet { border-color: rgba(167, 139, 250, .45); color: var(--violet); background: rgba(167, 139, 250, .08); }
.sev-critical { border-color: rgba(248, 113, 113, .5); color: #fca5a5; background: rgba(248, 113, 113, .08); }
.sev-high { border-color: rgba(242, 193, 78, .5); color: var(--gold); background: rgba(242, 193, 78, .08); }
.sev-medium { border-color: rgba(34, 211, 238, .4); color: var(--cyan); }
.sev-info { border-color: var(--line); color: var(--muted); }

.stack-line { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.stack-line span {
  font-size: .7rem; font-weight: 600; letter-spacing: .4px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 6px; padding: .12rem .5rem;
  background: rgba(3, 6, 18, .45);
}

/* ---------- skills ---------- */
.skill-cloud { display: flex; flex-wrap: wrap; gap: .55rem; }
.skill-pill {
  padding: .46rem .95rem; border-radius: 999px; font-weight: 600; font-size: .88rem;
  border: 1px solid var(--line); background: rgba(9, 16, 31, .78); color: var(--ink-2);
  transition: border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.skill-pill:hover {
  border-color: var(--cyan); color: var(--cyan-hi); transform: translateY(-2px);
  box-shadow: 0 6px 18px -6px rgba(34, 211, 238, .35);
}
.skill-pill.accent { border-color: rgba(242, 193, 78, .35); color: var(--gold-hi); }
.skill-pill.accent:hover { border-color: var(--gold); box-shadow: 0 6px 18px -6px rgba(242, 193, 78, .35); }
.skill-pill.sm { padding: .3rem .68rem; font-size: .78rem; }

/* ============================================================
   HOMEPAGE (v3, completed in v4) — institutional rhythm:
   banner hero -> trust strip -> image sections -> steps ->
   FAQ -> CTA. All content is plain HTML: fully visible with
   JavaScript off (reveal animations are gated by html.js-reveal).
   ============================================================ */

/* ---------- hero: copy + banner image + honest facts ---------- */
.hero2 {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1000px 480px at 82% -12%, rgba(34, 211, 238, .1), transparent 60%),
    radial-gradient(760px 420px at 6% 110%, rgba(167, 139, 250, .06), transparent 55%),
    radial-gradient(600px 300px at 96% 88%, rgba(242, 193, 78, .05), transparent 60%),
    var(--bg-2);
}
.hero2-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.7rem 1.2rem 3rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 1020px) {
  .hero2-inner { grid-template-columns: 1.02fr .98fr; gap: 2.7rem; align-items: center; padding: 3.6rem 1.2rem 3.9rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .85rem;
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px rgba(47, 191, 113, .9);
}
.hero2-title {
  font-size: clamp(2.25rem, 5.6vw, 3.55rem); font-weight: 800;
  letter-spacing: -.032em; line-height: 1.06; margin-bottom: .6rem;
}
.hero2-title .wm-code { text-shadow: 0 0 34px rgba(34, 211, 238, .3); }
.hero2-title .wm-tuhin { text-shadow: 0 0 34px rgba(242, 193, 78, .28); }
.slogan {
  color: var(--gold); letter-spacing: 3.6px; font-weight: 700;
  font-size: .78rem; text-transform: uppercase; margin-bottom: 1.05rem;
}
.hero-roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.15rem; }
.hero-roles span {
  font-size: .72rem; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
  padding: .3rem .78rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--cyan); background: rgba(34, 211, 238, .05);
}
html[lang="bn"] .hero-roles span { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.hero-sub { color: var(--ink-2); max-width: 565px; font-size: 1.06rem; line-height: 1.72; margin-bottom: 1.7rem; }
.hero2-media { display: grid; gap: 1rem; align-content: start; }
.hero2-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--line-2);
  box-shadow: var(--glow-cyan), var(--shadow-card);
}
.hero2-facts { padding: 1.15rem 1.3rem 1.2rem; }
.hero2-facts h4 {
  font-size: .66rem; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: .65rem;
}
html[lang="bn"] .hero2-facts h4 { letter-spacing: .5px; }
.fact-list { display: grid; gap: .5rem; }
.fact { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.fact .fl { color: var(--faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; }
.fact .fv { color: var(--ink); font-weight: 600; font-size: .86rem; text-align: right; }
.fact .fv em { color: var(--gold); font-style: normal; }

/* ---------- trust / feature strip ---------- */
.trust-strip {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); box-shadow: var(--shadow-card);
  padding: .55rem 1.1rem;
}
@media (min-width: 720px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: .72rem;
  padding: .72rem .45rem; font-weight: 600; font-size: .92rem; color: var(--ink-2);
}
.trust-item .t-ico {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, .08); border: 1px solid var(--line); color: var(--cyan);
}
.trust-item .t-ico svg { width: 19px; height: 19px; }
.trust-item.gold .t-ico { background: rgba(242, 193, 78, .09); color: var(--gold); border-color: rgba(242, 193, 78, .25); }

/* ---------- full-width tinted band (section rhythm) ---------- */
.band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 17, 34, .55), rgba(5, 10, 24, .35));
}
.band-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.2rem; }
.band .section { padding-top: 3.2rem; padding-bottom: 3.2rem; }

/* ---------- image cards ---------- */
.card-img {
  margin: -1.45rem -1.45rem 1.05rem;
  width: calc(100% + 2.9rem); max-width: none;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  border-bottom: 1px solid var(--line); display: block;
  transition: transform .5s var(--ease);
}
.card:hover .card-img { transform: scale(1.035); }
/* Per-banner focal points for the 16:10 card crop — chosen and
   visually verified so the window never slices a line of banner
   text: business keeps both feature lines, fast-loading keeps its
   subline and first feature line. Shop stays top-anchored. */
.card-img.focal-biz  { object-position: 50% 13%; }
.card-img.focal-fast { object-position: 50% 17%; }
.card .icon { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover .icon {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 20px -8px rgba(34, 211, 238, .45);
}

/* ---------- ordering steps ---------- */
.steps { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-card);
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: .85rem;
  font-weight: 800; font-size: 1.12rem; color: var(--cyan);
  border: 1.5px solid rgba(34, 211, 238, .55);
  background: rgba(34, 211, 238, .06);
  box-shadow: 0 0 18px -4px rgba(34, 211, 238, .45);
}
.step.gold .step-num {
  color: var(--gold); border-color: rgba(242, 193, 78, .55);
  background: rgba(242, 193, 78, .06);
  box-shadow: 0 0 18px -4px rgba(242, 193, 78, .45);
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.6; }
.steps-note { margin-top: 1.3rem; text-align: center; color: var(--gold-hi); font-weight: 600; font-size: .95rem; }

/* ---------- studio / about ---------- */
.studio-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

/* ---------- FAQ (native details — works with no JavaScript) ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 840px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--panel); padding: 0 1.3rem;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 0; font-weight: 700; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; color: var(--cyan);
  font-size: 1.35rem; font-weight: 800; line-height: 1;
}
.faq-item[open ] summary::after { content: "–"; }
.faq-item p { padding: 0 0 1.15rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   3D WORKSHOP — supporting isometric world
   ============================================================ */
.ct3-stage {
  position: relative; width: 100%;
  height: min(62vh, 560px); min-height: 380px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(720px 300px at 50% 30%, rgba(34, 211, 238, .08), transparent 65%),
    #040814;
  box-shadow: var(--shadow-card);
}
#ct3-world { position: absolute; inset: 0; }
#ct3-world canvas { display: block; }
.ct3-badge {
  position: absolute; top: .9rem; right: .9rem; z-index: 3; display: none;
  font-size: .68rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: .36rem .75rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 14, 28, .85); color: var(--cyan);
  align-items: center; gap: .4rem;
}
.ct3-badge.show { display: inline-flex; }
.ct3-home-btn {
  position: absolute; top: .9rem; left: .9rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; padding: .42rem .8rem; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(8, 14, 28, .85);
  color: var(--ink); cursor: pointer; font-family: inherit;
}
.ct3-home-btn svg { width: 14px; height: 14px; }
.ct3-home-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.ct3-tip {
  position: absolute; z-index: 4; pointer-events: none; display: none;
  padding: .34rem .7rem; border-radius: 8px; font-size: .76rem; font-weight: 700;
  background: rgba(6, 11, 22, .92); border: 1px solid var(--line-2); color: var(--cyan-hi);
  transform: translate(-50%, -160%); white-space: nowrap;
}
.station-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.st-chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(9, 16, 31, .8);
  color: var(--ink-2); font-weight: 600; font-size: .86rem; font-family: inherit;
  transition: border-color .18s, color .18s, transform .18s;
}
.st-chip:hover { border-color: var(--cyan); color: var(--cyan-hi); transform: translateY(-2px); }
.st-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px currentColor; }
.st-chip.gold .dot { background: var(--gold); }
.st-chip.violet .dot { background: var(--violet); }
.st-chip.green .dot { background: var(--ok); }
@media (max-width: 640px) {
  .ct3-stage { height: 52vh; min-height: 320px; }
}

/* ---------- about / why / testimonials ---------- */
.about-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.08fr .92fr; align-items: stretch; } }
.about-panel { padding: 1.7rem; position: relative; overflow: hidden; }
.about-panel::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(34, 211, 238, .13), transparent 70%);
  pointer-events: none;
}
.about-panel p + p { margin-top: .9rem; }
.feature-list { list-style: none; margin: .4rem 0 .9rem; }
.feature-list li {
  padding: .34rem 0 .34rem 1.55rem; position: relative;
  color: var(--ink-2); font-size: .95rem; line-height: 1.6;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 13px; height: 8px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}
.why-list { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
.testi-panel {
  padding: 2.2rem 1.8rem; text-align: center;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  background: rgba(8, 14, 28, .45);
}
.testi-panel .t-mark { font-size: 1.7rem; color: var(--gold); text-shadow: 0 0 18px rgba(242, 193, 78, .4); }
.testi-panel p { color: var(--muted); max-width: 520px; margin: .6rem auto 0; }

/* ---------- filters / forms / notices ---------- */
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter-row a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: .42rem .98rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: .88rem; transition: all .18s;
}
.filter-row a.active, .filter-row a:hover {
  border-color: var(--cyan); color: var(--cyan); background: rgba(34, 211, 238, .08);
}
.form-card {
  background: var(--panel); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; max-width: 640px; box-shadow: var(--shadow-card);
}
label { display: block; font-weight: 600; margin: .95rem 0 .38rem; font-size: .92rem; }
input, select, textarea {
  width: 100%; padding: .72rem .92rem; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(3, 6, 18, .75); color: var(--ink);
  font-size: 1rem; font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .16);
}
input:disabled { opacity: .65; }
.notice {
  border: 1px solid rgba(242, 193, 78, .45); background: rgba(242, 193, 78, .07); color: var(--gold-hi);
  padding: .95rem 1.15rem; border-radius: 12px; margin-bottom: 1.1rem; font-size: .95rem;
}
.notice.error { border-color: rgba(248, 113, 113, .45); background: rgba(248, 113, 113, .07); color: #fca5a5; }
.notice.ok { border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .07); color: #6ee7b7; }
.pay-box {
  border: 1px dashed rgba(34, 211, 238, .35); border-radius: var(--r-md);
  padding: 1.2rem 1.3rem; margin: 1.1rem 0; background: rgba(34, 211, 238, .04);
}
.pay-box .num { font-size: 1.32rem; font-weight: 800; letter-spacing: 1.5px; color: var(--gold); }
.copy-btn {
  background: var(--solid); color: var(--cyan); border: 1px solid var(--line);
  border-radius: 8px; padding: .5rem .85rem; min-height: 40px; cursor: pointer; font-weight: 700;
  margin-left: .55rem; font-size: .85rem; font-family: inherit;
}
.copy-btn:hover { border-color: var(--cyan); }

/* ---------- detail pages ---------- */
.detail-head { margin-bottom: 1.2rem; }
.prose p { color: #c9d7ea; margin-bottom: 1em; }
.prose h2 { margin: 1.4em 0 .5em; }
.two-col { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: 2fr 1fr; align-items: start; } }
.side-box {
  background: var(--panel); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--shadow-card);
}
.side-box .price { color: var(--gold); font-weight: 800; }
/* Icon tiles inside headings + inline icons (SVG from icons.php) */
.h-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-grid; place-items: center; vertical-align: -9px; margin-right: .55rem;
  border: 1px solid var(--line); background: rgba(34, 211, 238, .07); color: var(--cyan);
}
.h-ico svg { width: 19px; height: 19px; }
.inl-ico { display: inline-flex; width: 17px; height: 17px; vertical-align: -3px; margin-right: .35rem; color: var(--cyan); }
.inl-ico svg { width: 100%; height: 100%; }
.notice .inl-ico { color: inherit; }

.social-grid { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
.social-grid a {
  display: flex; align-items: center; gap: .95rem;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.15rem; color: var(--ink);
  transition: border-color .22s, transform .18s, box-shadow .22s;
}
.social-grid a:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--glow-cyan); color: var(--ink); }
/* Real brand-mark tile (SVG from includes/icons.php — never emoji) */
.soc-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(3, 6, 18, .5); color: var(--cyan);
  transition: transform .2s var(--ease), border-color .2s, color .2s, box-shadow .25s;
}
.soc-ico svg { width: 23px; height: 23px; }
.soc-ico.gold { color: var(--gold); }
.social-grid a:hover .soc-ico {
  transform: translateY(-2px);
  border-color: var(--cyan); color: var(--cyan-hi);
  box-shadow: 0 10px 22px -8px rgba(34, 211, 238, .55);
}
.social-grid a:hover .soc-ico.gold {
  border-color: var(--gold); color: var(--gold-hi);
  box-shadow: 0 10px 22px -8px rgba(242, 193, 78, .55);
}
.soc-text { display: block; min-width: 0; }
.soc-text strong { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.soc-desc { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: .18rem; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 2.5rem; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.2rem;
  display: grid; gap: 1.9rem; grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-slogan {
  color: var(--gold); letter-spacing: 2.6px; font-size: .74rem;
  font-weight: 700; margin-top: .6rem; text-transform: uppercase;
}
.footer-note { color: var(--muted); font-size: .92rem; margin-top: .55rem; max-width: 350px; }
.footer-col h4 { margin-bottom: .75rem; color: var(--cyan); font-size: .95rem; }
.footer-col a {
  display: block; color: var(--muted); padding: .24rem 0; font-size: .93rem;
  transition: color .18s, padding-left .18s;
}
.footer-col a:hover { color: var(--cyan-hi); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 1.15rem 1.2rem;
  text-align: center; color: var(--faint); font-size: .86rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.footer-bn { color: var(--muted); font-size: .88rem; }

/* ---------- reveal (JS-gated: content is visible if JS fails) ---------- */
html.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOTION DESIGN (v3, kept in v4)
   Rules of the house:
   - Continuous animations animate transform / opacity only.
   - Zones carry .anim-zone; main.js adds .is-paused when a zone
     is offscreen, so nothing animates where nobody can see it.
   - prefers-reduced-motion stops everything (the global rule at
     the top of this file, restated explicitly at the bottom).
   - With JavaScript off, .reveal content is simply visible:
     motion is decoration, never a gate on content.
   ============================================================ */

/* hero: drifting glow layers + a gentle float on the banner image */
.hero2::before, .hero2::after {
  content: ""; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.hero2::before {
  width: 480px; height: 480px; top: -190px; right: -110px;
  background: radial-gradient(circle, rgba(34, 211, 238, .13), transparent 65%);
  animation: glowDrift 11s ease-in-out infinite alternate;
}
.hero2::after {
  width: 420px; height: 420px; bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(242, 193, 78, .09), transparent 65%);
  animation: glowDrift 13s ease-in-out infinite alternate-reverse;
}
.hero2-inner { position: relative; z-index: 1; }
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); opacity: .75; }
  to   { transform: translate(-34px, 26px) scale(1.12); opacity: 1; }
}
.hero2-img { animation: heroFloat 7.5s ease-in-out infinite alternate; }
@keyframes heroFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-9px); }
}

/* trust strip: a light shimmer travels the top edge */
.trust-strip { position: relative; overflow: hidden; }
.trust-strip::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 200%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .65), rgba(242, 193, 78, .65), transparent);
  animation: shimmerSlide 5.5s linear infinite;
}
@keyframes shimmerSlide {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* layered reveals: grid children arrive in a soft cascade.
   The delay applies only BEFORE .visible, so card hover stays instant. */
html.js-reveal .grid > .reveal:not(.visible):nth-child(2),
html.js-reveal .steps > .reveal:not(.visible):nth-child(2),
html.js-reveal .why-list > .reveal:not(.visible):nth-child(2) { transition-delay: .07s; }
html.js-reveal .grid > .reveal:not(.visible):nth-child(3),
html.js-reveal .steps > .reveal:not(.visible):nth-child(3),
html.js-reveal .why-list > .reveal:not(.visible):nth-child(3) { transition-delay: .14s; }
html.js-reveal .grid > .reveal:not(.visible):nth-child(4),
html.js-reveal .steps > .reveal:not(.visible):nth-child(4),
html.js-reveal .why-list > .reveal:not(.visible):nth-child(4) { transition-delay: .21s; }
html.js-reveal .grid > .reveal:not(.visible):nth-child(5) { transition-delay: .28s; }
html.js-reveal .grid > .reveal:not(.visible):nth-child(6) { transition-delay: .35s; }

/* ---------- cyber security console (SecureTuhin strip) ----------
   Pure CSS/SVG motifs: a pulsing shield, a rotating radar sweep,
   data-stream bars and one slow scan line. Decorative only. */
.sec-console {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background:
    radial-gradient(420px 180px at 12% 50%, rgba(34, 211, 238, .07), transparent 65%),
    var(--panel);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.6rem; margin-bottom: 1.6rem;
}
.sec-console::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, .09), transparent);
  animation: scanSweep 6.5s ease-in-out infinite;
}
@keyframes scanSweep {
  0%, 100% { transform: translateY(-110%); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateY(320%); opacity: 1; }
  70%, 99% { opacity: 0; }
}
.sec-shield { position: relative; width: 96px; height: 96px; flex: none; display: grid; place-items: center; }
.sec-shield svg { width: 50px; height: 50px; color: var(--cyan); filter: drop-shadow(0 0 12px rgba(34, 211, 238, .55)); }
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(34, 211, 238, .5);
  animation: ringPulse 2.8s ease-out infinite;
}
.pulse-ring.r2 { animation-delay: 1.4s; }
@keyframes ringPulse {
  from { transform: scale(.55); opacity: .9; }
  to   { transform: scale(1.18); opacity: 0; }
}
.sec-bars { flex: 1 1 220px; display: grid; gap: .55rem; min-width: 180px; }
.sec-bar {
  height: 7px; border-radius: 99px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(34, 211, 238, .55), rgba(34, 211, 238, .12));
  animation: barFlow 3.6s ease-in-out infinite alternate;
}
.sec-bar:nth-child(1) { width: 82%; }
.sec-bar:nth-child(2) { width: 58%; animation-delay: -1.2s; background: linear-gradient(90deg, rgba(242, 193, 78, .5), rgba(242, 193, 78, .1)); }
.sec-bar:nth-child(3) { width: 68%; animation-delay: -2.1s; }
@keyframes barFlow {
  from { transform: scaleX(.72); opacity: .55; }
  to   { transform: scaleX(1); opacity: 1; }
}
.sec-radar {
  position: relative; width: 96px; height: 96px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-2);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 15px, rgba(34, 211, 238, .14) 15px 16px),
    rgba(4, 9, 20, .8);
}
.sec-radar::before, .sec-radar::after {
  content: ""; position: absolute; background: rgba(34, 211, 238, .16);
}
.sec-radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.sec-radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 211, 238, .55), rgba(34, 211, 238, .12) 55deg, transparent 70deg);
  animation: radarSpin 4.6s linear infinite;
}
@keyframes radarSpin { to { transform: rotate(360deg); } }
.radar-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 9px rgba(242, 193, 78, .9);
  animation: dotBlink 2.3s ease-in-out infinite;
}
.radar-dot.d1 { top: 26%; left: 63%; }
.radar-dot.d2 { top: 64%; left: 30%; background: var(--cyan); box-shadow: 0 0 9px rgba(34, 211, 238, .9); animation-delay: -1.1s; }
@keyframes dotBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 560px) {
  .sec-console { justify-content: center; text-align: center; }
  .sec-bars { flex-basis: 100%; order: 3; }
}

/* ---------- social icon chips (footer) ---------- */
.social-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.05rem; }
.chip {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(3, 6, 18, .5); color: var(--ink-2);
  transition: transform .2s var(--ease), border-color .2s, color .2s, box-shadow .25s;
}
.chip svg { width: 19px; height: 19px; }
.chip:hover {
  transform: translateY(-3px);
  border-color: var(--cyan); color: var(--cyan-hi);
  box-shadow: 0 10px 22px -8px rgba(34, 211, 238, .55);
}
.chip.gold:hover {
  border-color: var(--gold); color: var(--gold-hi);
  box-shadow: 0 10px 22px -8px rgba(242, 193, 78, .55);
}

/* offscreen zones rest (toggled by main.js) */
.is-paused, .is-paused *, .is-paused::before, .is-paused::after {
  animation-play-state: paused !important;
}

/* reduced motion: everything rests, content untouched */
@media (prefers-reduced-motion: reduce) {
  .hero2-img, .hero2::before, .hero2::after, .trust-strip::before,
  .sec-console::after, .pulse-ring, .radar-sweep, .radar-dot,
  .sec-bar, .float-card, .orbit-ring, .orbit-ico,
  .hud-rot-a, .hud-rot-b, .hud-rot-c { animation: none !important; }
  .btn::after, .nav-desktop .nav-cta::before { display: none; }
}

/* ============================================================
   ANIMATION SCENES (v5)
   Original scenes in the owner's chosen style language —
   dark navy fields, cyan node-webs, warp streaks, HUD dials,
   a particle globe, orbiting community links. All of it is
   decoration layered behind content:
   - the two canvas scenes are painted by assets/js/scenes.js,
     which pauses them offscreen, stills them for reduced
     motion, and leaves them empty (invisible) without JS;
   - the CSS scenes below rest under .is-paused like every
     other zone, and stop under prefers-reduced-motion.
   ============================================================ */

/* ---------- hero canvas: plexus network + warp streaks ---------- */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ---------- floating cards (services / store / featured) ----------
   The bob animates the independent `translate` property, so it
   composes with — never fights — the reveal transition, the
   hover lift and the pointer tilt, which all use `transform`.
   Browsers without `translate` support simply skip the bob. */
.float-card { animation: cardFloat 6.6s ease-in-out infinite alternate; }
.grid > .float-card:nth-child(2) { animation-duration: 7.4s; animation-delay: -2.1s; }
.grid > .float-card:nth-child(3) { animation-duration: 5.9s; animation-delay: -3.7s; }
.grid > .float-card:nth-child(4) { animation-duration: 7.9s; animation-delay: -1.3s; }
.grid > .float-card:nth-child(5) { animation-duration: 6.2s; animation-delay: -4.4s; }
.grid > .float-card:nth-child(6) { animation-duration: 7.1s; animation-delay: -2.9s; }
@keyframes cardFloat {
  from { translate: 0 0; }
  to   { translate: 0 -6px; }
}

/* ---------- studio: particle-globe stage behind the logo ---------- */
.studio-visual {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .07), transparent 68%);
}
.studio-visual canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.studio-visual .studio-img {
  position: relative; z-index: 1; width: 62%; height: auto;
}

/* ---------- security console: HUD dial (ref: futuristic HUD rings) ----------
   Concentric segmented rings turning at different speeds and
   directions around a still lock, with a tick ring and a
   language-neutral technical readout. Pure SVG + CSS. */
.sec-hud { position: relative; width: 128px; flex: none; text-align: center; }
.hud-svg { width: 116px; height: 116px; display: block; margin: 0 auto; }
.hud-svg circle { fill: none; }
.hud-ticks { stroke: rgba(103, 232, 249, .28); stroke-width: 2.5; stroke-dasharray: 1.5 5.13; }
.hud-rot { transform-box: fill-box; transform-origin: center; }
.hud-rot-a { animation: radarSpin 26s linear infinite; }
.hud-rot-a circle { stroke: rgba(34, 211, 238, .55); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 42 24 16 34; }
.hud-rot-b { animation: hudSpinRev 38s linear infinite; }
.hud-rot-b circle { stroke: rgba(242, 193, 78, .45); stroke-width: 2.5; stroke-dasharray: 3 6.7; }
.hud-rot-c { animation: radarSpin 17s linear infinite; }
.hud-rot-c circle { stroke: rgba(34, 211, 238, .32); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 58 30; }
.hud-cross { stroke: rgba(103, 232, 249, .4); stroke-width: 2; stroke-linecap: round; fill: none; }
@keyframes hudSpinRev { to { transform: rotate(-360deg); } }
.hud-lock {
  position: absolute; top: 58px; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  color: var(--gold); filter: drop-shadow(0 0 9px rgba(242, 193, 78, .5));
}
.hud-lock svg { width: 25px; height: 25px; }
.hud-readout {
  display: block; margin-top: .3rem;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .6rem; letter-spacing: 1.6px; color: var(--faint);
}
@media (max-width: 560px) { .sec-hud { margin: 0 auto; } }

/* ---------- community orbit (ref: orbit-ring "join us" layouts) ----------
   Three rings turn slowly in alternating directions; the brand
   nodes ride their ring while their icons counter-rotate to stay
   upright. Nodes are plain anchors — visible, focusable and
   tappable with animation on, off, or absent entirely. Hovering
   or tabbing into the stage pauses the spin so a moving target
   never has to be chased. */
.orbit-stage {
  position: relative; width: min(560px, 94vw); aspect-ratio: 1 / 1;
  margin: 2.4rem auto 0;
}
.orbit-stage::before {
  content: ""; position: absolute; inset: 18%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(34, 211, 238, .09), transparent 65%);
}
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(103, 232, 249, .14); }
.orbit-ring.orb-a { inset: 0; animation: orbitSpin 74s linear infinite; }
.orbit-ring.orb-b { inset: 15.5%; border-color: rgba(103, 232, 249, .11); animation: hudSpinRev 56s linear infinite; }
.orbit-ring.orb-c { inset: 31%; border-color: rgba(242, 193, 78, .16); animation: orbitSpin 40s linear infinite; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit-node {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  transform: translate(-50%, -50%); z-index: 2;
  background: var(--solid); border: 1px solid var(--line-2); color: var(--cyan);
  box-shadow: 0 0 18px -2px rgba(34, 211, 238, .35), var(--shadow-card);
  transition: border-color .2s, color .2s, box-shadow .25s;
}
.orbit-node.gold {
  color: var(--gold); border-color: rgba(242, 193, 78, .4);
  box-shadow: 0 0 18px -2px rgba(242, 193, 78, .35), var(--shadow-card);
}
.orbit-node:hover, .orbit-node:focus-visible {
  border-color: var(--cyan-hi); color: var(--cyan-hi);
  box-shadow: 0 0 26px -2px rgba(34, 211, 238, .65), var(--shadow-card);
}
.orbit-node.gold:hover, .orbit-node.gold:focus-visible {
  border-color: var(--gold-hi); color: var(--gold-hi);
  box-shadow: 0 0 26px -2px rgba(242, 193, 78, .65), var(--shadow-card);
}
.orbit-ico { display: grid; place-items: center; width: 100%; height: 100%; }
.orbit-ico svg { width: 21px; height: 21px; }
.orb-a .orbit-ico { animation: hudSpinRev 74s linear infinite; }
.orb-b .orbit-ico { animation: orbitSpin 56s linear infinite; }
.orb-c .orbit-ico { animation: hudSpinRev 40s linear infinite; }
.orbit-stage:hover .orbit-ring, .orbit-stage:hover .orbit-ico,
.orbit-stage:focus-within .orbit-ring, .orbit-stage:focus-within .orbit-ico {
  animation-play-state: paused;
}
.orbit-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 35%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  background: radial-gradient(circle at 50% 38%, rgba(13, 23, 43, .95), rgba(3, 6, 18, .92));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 44px -6px rgba(34, 211, 238, .35), var(--shadow-card);
  padding: 6%; pointer-events: none; text-align: center;
}
/* v6: the hub centres the neon </> mark in a glowing ring — the
   studio section is the site's one full-logo presentation, so the
   orbit no longer repeats the logo near the bottom of the page. */
.orbit-mark {
  display: grid; place-items: center;
  width: 56%; aspect-ratio: 1 / 1; max-width: 96px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 211, 238, .5);
  box-shadow: 0 0 24px -2px rgba(34, 211, 238, .45), inset 0 0 20px rgba(34, 211, 238, .16);
  font-size: clamp(1.25rem, 4.2vw, 1.65rem); font-weight: 800; letter-spacing: -.02em;
  color: var(--cyan-hi);
  text-shadow: 0 0 16px rgba(34, 211, 238, .6);
}
.orbit-join { font-size: .78rem; font-weight: 700; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 480px) {
  .orbit-node { width: 44px; height: 44px; }
  .orbit-ico svg { width: 19px; height: 19px; }
  .orbit-join { font-size: .64rem; }
}

/* ============================================================
   AMBIENT VIDEOS (v6) — five licence-clean stock clips (Pexels
   License, see BUILD-NOTES) re-encoded for the web and layered
   into the homepage as pure decoration:
   - hero: warp corridor behind the plexus canvas + copy;
   - services / security: cinematic strips in dark media frames;
   - studio: digital earth turning behind the globe canvas + logo;
   - community: particle earth turning inside the orbit rings.
   Every clip is muted, looped, poster-first and fetched lazily
   by scenes.js only when it nears the screen (never under
   prefers-reduced-motion or Save-Data). Without JS the poster
   frame alone carries each panel, so nothing ever looks empty.
   ============================================================ */
.amb-video { display: block; object-fit: cover; pointer-events: none; }

/* hero backdrop: video under the canvas, shade over both so the
   headline keeps its contrast on either theme */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; opacity: .5;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 6, 18, .66), rgba(3, 6, 18, .22) 55%, rgba(3, 6, 18, .4));
}

/* framed strips (services / security): a dark media panel in
   both themes — in the light theme it reads as deliberate dark
   artwork, exactly like the banners and the 3D stage */
.media-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 7; margin-bottom: 1.6rem;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: #04060f; box-shadow: var(--shadow-card);
}
.media-frame .amb-video { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 640px) { .media-frame { aspect-ratio: 16 / 10; } }

/* studio: earth turning behind the particle globe and the logo */
.studio-visual { overflow: hidden; border: 1px solid var(--line); }
.studio-video {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5;
}

/* community: particle earth clipped to a disc inside the rings */
.orbit-video {
  position: absolute; inset: 7%; border-radius: 50%; opacity: .5;
  width: 86%; height: 86%;
}

/* ============================================================
   TWO THEMES (v5) — dark is the brand default; light is an
   opt-in reading theme. The public header prints the visitor's
   choice as <html data-theme="dark|light"> (cookie-persisted,
   resolved server-side — no flash, no JS needed), and every
   light rule hangs off that attribute. The admin never prints
   the attribute, so it stays dark whatever the cookie says.
   The light theme is a real second design, not an inversion:
   blue-tinted off-white surfaces, deepened cyan/gold accents
   (every text colour verified ≥ 4.5:1 on its background), and
   the neon artwork — logo, banners, card art, the 3D stage —
   kept as deliberate dark media inside the light page.
   ============================================================ */
html { color-scheme: dark; }

/* theme toggle — a pill beside the language switch, styled as
   its sibling so the two preferences read as one control group */
.theme-toggle {
  display: inline-flex; align-items: center; gap: .42rem; flex: none;
  min-height: 40px; padding: .34rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(9, 16, 31, .7);
  color: var(--muted); font-size: .78rem; font-weight: 700;
  letter-spacing: .4px; line-height: 1.2;
  transition: color .18s, border-color .18s;
}
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle:hover { color: var(--cyan-hi); border-color: var(--line-2); }
.nav-desktop .theme-toggle { margin-left: .55rem; }
.nav-prefs { display: inline-flex; align-items: center; gap: .55rem; }

/* ---------- light: palette ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg:        #f3f6fa;
  --bg-2:      #eaf0f7;
  --bg-3:      #dfe8f2;
  --panel:     rgba(255, 255, 255, .82);
  --panel-2:   rgba(255, 255, 255, .94);
  --solid:     #ffffff;
  --line:      rgba(13, 92, 122, .16);
  --line-2:    rgba(13, 92, 122, .34);
  --ink:       #0b1a2a;
  --ink-2:     #2f4358;
  --muted:     #50657c;
  --faint:     #59718b;
  --cyan:      #0e7490;
  --cyan-hi:   #0369a1;
  --cyan-deep: #155e75;
  --gold:      #a16207;
  --gold-hi:   #b45309;
  --green:     #15803d;
  --tg:        #0369a1;
  --violet:    #7c3aed;
  --red:       #dc2626;
  --ok:        #059669;
  --danger:    #dc2626;
  --shadow-card: 0 18px 44px -18px rgba(13, 52, 84, .25);
  --glow-cyan: 0 0 0 1px rgba(14, 116, 144, .07), 0 12px 38px -12px rgba(14, 116, 144, .2);
}

/* ---------- light: chrome (body, header, nav, footer) ---------- */
html[data-theme="light"] body {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(14, 116, 144, .08), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(180, 120, 15, .05), transparent 55%),
    var(--bg);
}
html[data-theme="light"] ::selection { background: rgba(14, 116, 144, .25); color: #082f3d; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #b7c9db; }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #9db4ca; }
html[data-theme="light"] #particle-canvas { opacity: .38; }
html[data-theme="light"] .skip-link { color: #fff; }
html[data-theme="light"] .skip-link:focus { color: #fff; }
html[data-theme="light"] .site-header { background: rgba(255, 255, 255, .88); }
html[data-theme="light"] .lang-switch { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .lang-switch a.on { background: rgba(14, 116, 144, .13); }
html[data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .nav-panel { background: rgba(255, 255, 255, .98); }
html[data-theme="light"] .nav-panel > a { border-bottom-color: rgba(14, 116, 144, .1); }
html[data-theme="light"] .nav-desktop a:hover { background: rgba(14, 116, 144, .07); }

/* the neon logo JPG lives on black: in light mode the whole
   brand rides in a dark pill, with the wordmark restored to its
   bright neon colours inside it — a badge, never a pasted box */
html[data-theme="light"] .brand {
  background: #070d1d; border: 1px solid rgba(7, 13, 29, .9);
  border-radius: 999px; padding: .3rem 1rem .3rem .34rem;
  box-shadow: 0 10px 24px -12px rgba(7, 13, 29, .55);
}
html[data-theme="light"] .brand .wm-code { color: #22d3ee; }
html[data-theme="light"] .brand .wm-tuhin { color: #f2c14e; }
html[data-theme="light"] .brand-logo { border-color: rgba(255, 255, 255, .22); box-shadow: none; }

/* ---------- light: buttons, tags, forms, notices ---------- */
html[data-theme="light"] .btn-gold,
html[data-theme="light"] .nav-desktop .nav-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
html[data-theme="light"] .btn-cyan { color: #fff; box-shadow: 0 8px 26px -8px rgba(14, 116, 144, .5); }
html[data-theme="light"] .btn-wa { background: #22c55e; }
html[data-theme="light"] .btn-ghost { background: rgba(14, 116, 144, .05); }
html[data-theme="light"] .btn-ghost:hover { background: rgba(14, 116, 144, .1); }
html[data-theme="light"] .tag { border-color: rgba(14, 116, 144, .42); background: rgba(14, 116, 144, .06); }
html[data-theme="light"] .tag.gold { border-color: rgba(161, 98, 7, .48); background: rgba(161, 98, 7, .06); }
html[data-theme="light"] .tag.violet { border-color: rgba(124, 58, 237, .42); background: rgba(124, 58, 237, .06); }
html[data-theme="light"] .sev-critical { border-color: rgba(220, 38, 38, .5); color: #b91c1c; background: rgba(220, 38, 38, .06); }
html[data-theme="light"] .sev-high { border-color: rgba(161, 98, 7, .5); background: rgba(161, 98, 7, .07); }
html[data-theme="light"] .notice { color: var(--gold); }
html[data-theme="light"] .notice.error { color: #b91c1c; border-color: rgba(220, 38, 38, .45); background: rgba(220, 38, 38, .06); }
html[data-theme="light"] .notice.ok { color: #047857; border-color: rgba(5, 150, 105, .45); background: rgba(5, 150, 105, .06); }
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea {
  background: rgba(255, 255, 255, .92);
}
html[data-theme="light"] input:focus, html[data-theme="light"] select:focus, html[data-theme="light"] textarea:focus {
  box-shadow: 0 0 0 3px rgba(14, 116, 144, .18);
}
html[data-theme="light"] .prose p { color: var(--ink-2); }
html[data-theme="light"] .stack-line span { background: rgba(255, 255, 255, .65); }
html[data-theme="light"] .skill-pill { background: rgba(255, 255, 255, .85); }
html[data-theme="light"] .skill-pill.accent { color: var(--gold); }
html[data-theme="light"] .steps-note { color: var(--gold); }
html[data-theme="light"] .filter-row a.active, html[data-theme="light"] .filter-row a:hover {
  background: rgba(14, 116, 144, .08);
}
html[data-theme="light"] .testi-panel { background: rgba(255, 255, 255, .55); }
html[data-theme="light"] .chip { background: rgba(255, 255, 255, .8); }

/* ---------- light: homepage scenes & bands ---------- */
html[data-theme="light"] .band {
  background: linear-gradient(180deg, rgba(219, 232, 244, .65), rgba(238, 244, 250, .45));
}
html[data-theme="light"] .hero2 {
  background:
    radial-gradient(1000px 480px at 82% -12%, rgba(14, 116, 144, .1), transparent 60%),
    radial-gradient(760px 420px at 6% 110%, rgba(124, 58, 237, .05), transparent 55%),
    radial-gradient(600px 300px at 96% 88%, rgba(180, 120, 15, .06), transparent 60%),
    var(--bg-2);
}
html[data-theme="light"] .hero2::before { background: radial-gradient(circle, rgba(14, 116, 144, .12), transparent 65%); }
html[data-theme="light"] .hero2::after { background: radial-gradient(circle, rgba(180, 120, 15, .1), transparent 65%); }
html[data-theme="light"] .studio-visual {
  background: radial-gradient(circle at 50% 50%, rgba(14, 116, 144, .09), transparent 68%);
}
html[data-theme="light"] .studio-visual .studio-img {
  background: #050a18; padding: .55rem; border-color: rgba(7, 13, 29, .85);
  box-shadow: 0 24px 50px -20px rgba(7, 13, 29, .45);
}
html[data-theme="light"] .sec-console::after {
  background: linear-gradient(180deg, transparent, rgba(14, 116, 144, .08), transparent);
}
html[data-theme="light"] .sec-bar {
  background: linear-gradient(90deg, rgba(8, 145, 178, .55), rgba(8, 145, 178, .14));
}
html[data-theme="light"] .sec-bar:nth-child(2) {
  background: linear-gradient(90deg, rgba(190, 130, 20, .55), rgba(190, 130, 20, .14));
}
html[data-theme="light"] .sec-radar {
  border-color: rgba(14, 116, 144, .3);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 15px, rgba(14, 116, 144, .16) 15px 16px),
    rgba(255, 255, 255, .85);
}
html[data-theme="light"] .sec-radar::before, html[data-theme="light"] .sec-radar::after {
  background: rgba(14, 116, 144, .2);
}
html[data-theme="light"] .radar-sweep {
  background: conic-gradient(from 0deg, rgba(8, 145, 178, .5), rgba(8, 145, 178, .12) 55deg, transparent 70deg);
}
html[data-theme="light"] .hud-ticks { stroke: rgba(14, 116, 144, .38); }
html[data-theme="light"] .hud-rot-a circle { stroke: rgba(8, 145, 178, .65); }
html[data-theme="light"] .hud-rot-b circle { stroke: rgba(180, 120, 15, .6); }
html[data-theme="light"] .hud-rot-c circle { stroke: rgba(8, 145, 178, .42); }
html[data-theme="light"] .hud-cross { stroke: rgba(14, 116, 144, .45); }
html[data-theme="light"] .orbit-stage::before {
  background: radial-gradient(circle, rgba(14, 116, 144, .08), transparent 65%);
}
html[data-theme="light"] .orbit-ring { border-color: rgba(14, 116, 144, .24); }
html[data-theme="light"] .orbit-ring.orb-b { border-color: rgba(14, 116, 144, .18); }
html[data-theme="light"] .orbit-ring.orb-c { border-color: rgba(161, 98, 7, .28); }
html[data-theme="light"] .orbit-hub {
  background: radial-gradient(circle at 50% 38%, #ffffff, #e8eff7);
  box-shadow: 0 0 44px -6px rgba(14, 116, 144, .28), var(--shadow-card);
}
html[data-theme="light"] .orbit-mark {
  border-color: rgba(14, 116, 144, .55);
  box-shadow: 0 0 22px -2px rgba(14, 116, 144, .3), inset 0 0 18px rgba(14, 116, 144, .12);
  color: var(--cyan-deep); text-shadow: none;
}

/* ---------- light: ambient videos (v6) ----------
   The framed strips and the two discs stay dark media panels,
   like the banners; only the full-bleed hero backdrop is
   quietened to a faint texture so the light hero keeps its
   airy reading contrast. */
html[data-theme="light"] .hero-video { opacity: .16; }
html[data-theme="light"] .hero-shade {
  background: linear-gradient(90deg, rgba(234, 240, 247, .85), rgba(234, 240, 247, .5) 55%, rgba(234, 240, 247, .68));
}
html[data-theme="light"] .studio-video { opacity: .85; }
html[data-theme="light"] .orbit-video { opacity: .85; }
