/* =================================================================
   SEFR YAK — Design System
   Palette sampled from logo: blue #0091FE, black #000, white #fff
   ================================================================= */

:root {
  /* brand */
  --blue: #0091FE;
  --blue-bright: #38A9FE;
  --blue-deep: #0066c4;

  /* dark theme (default) */
  --bg: #050608;
  --bg-2: #0a0c10;
  --surface: #0e1116;
  --surface-2: #13171e;
  --text: #f4f7fb;
  --text-dim: #98a2b3;
  --text-faint: #5a6472;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(20, 24, 32, 0.55);
  --glow: rgba(0, 145, 254, 0.45);
  --grid-line: rgba(255, 255, 255, 0.035);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Sora', system-ui, sans-serif;
}

[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #0a0e14;
  --text-dim: #4a5462;
  --text-faint: #8b96a5;
  --border: rgba(10, 14, 20, 0.09);
  --border-strong: rgba(10, 14, 20, 0.16);
  --glass: rgba(255, 255, 255, 0.65);
  --glow: rgba(0, 145, 254, 0.28);
  --grid-line: rgba(10, 14, 20, 0.04);
}

/* RTL fonts */
[dir="rtl"] {
  --font-display: 'Vazirmatn', 'Sora', sans-serif;
  --font-body: 'Vazirmatn', 'Sora', sans-serif;
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
/* native cursor stays visible by default; only hidden once JS confirms
   the custom blue cursor is running (via .has-sy-cursor on the html element) */
.has-sy-cursor body { cursor: none; }
.has-sy-cursor button { cursor: none; }
@media (pointer: coarse) { .has-sy-cursor body, .has-sy-cursor button { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }

/* ---------------- custom cursor (div based) ---------------- */
#sy-cursor-ring, #sy-cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; will-change: transform; opacity: 0; transition: opacity .25s;
}
.has-sy-cursor #sy-cursor-ring, .has-sy-cursor #sy-cursor-dot { opacity: 1; }
#sy-cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 14px color-mix(in srgb, var(--blue) 60%, transparent);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s, border-color .25s, background .25s;
}
#sy-cursor-ring.is-hover {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
}
#sy-cursor-dot {
  width: 8px; height: 8px; background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  transition: transform .08s linear, width .18s var(--ease), height .18s var(--ease), margin .18s var(--ease);
}
#sy-cursor-dot.is-click { width: 22px; height: 22px; margin: -7px 0 0 -7px; opacity: .9; }
@media (max-width: 900px), (pointer: coarse) { #sy-cursor-ring, #sy-cursor-dot { display: none; } }

/* ---------------- typography ---------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.1rem;
}
[dir="rtl"] .eyebrow { letter-spacing: .05em; font-family: var(--font-body); font-weight: 600; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.02em;
}
.section-sub { color: var(--text-dim); max-width: 52ch; margin-top: 1rem; }
.section-head { margin-bottom: clamp(34px, 5vw, 60px); max-width: 760px; }

.hero-accent {
  color: var(--blue);
  text-shadow: 0 0 40px var(--glow);
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 0.95rem 1.7rem; border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 30px -8px var(--glow), inset 0 0 0 1px rgba(255,255,255,.12);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px var(--glow); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

/* brand mark — diagonal split 0 with 1 inside, echoing the logo */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative; width: 34px; height: 38px; flex: none;
  border-radius: 11px; overflow: hidden;
  background:
    linear-gradient(135deg, var(--blue) 0 49.5%, #000 50.5% 100%);
  box-shadow: 0 0 0 1px var(--border-strong), 0 4px 18px -6px var(--glow);
}
.brand-mark .bm-one {
  position: absolute; inset: 9px 13px; border-radius: 4px;
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-tag {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-faint);
}
[dir="rtl"] .brand-tag { font-family: var(--font-body); letter-spacing: 0; }

.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-link {
  position: relative; padding: .5rem .9rem; border-radius: 10px;
  color: var(--text-dim); font-weight: 500; font-size: .95rem;
  transition: color .25s;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; position: absolute; inset-inline: .9rem; bottom: 2px; height: 2px;
  background: var(--blue); border-radius: 2px; box-shadow: 0 0 8px var(--glow);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: .42rem .55rem; border-radius: 10px;
  font-size: .72rem; font-weight: 600; transition: border-color .25s, color .25s; cursor: pointer;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn .globe-ico { color: var(--blue); display: block; }
.lang-btn .lang-code { font-family: var(--font-mono); letter-spacing: .04em; }
[dir="rtl"] .lang-btn .lang-code { font-family: var(--font-body); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  list-style: none; min-width: 130px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .25s var(--ease); z-index: 50;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
  display: block; padding: .55rem .75rem; border-radius: 8px;
  font-size: .9rem; color: var(--text-dim); transition: all .2s;
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.is-current { color: var(--blue); font-weight: 600; }


/* theme toggle */
.theme-toggle { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; }
.tt-track {
  display: block; width: 52px; height: 28px; border-radius: 100px;
  background: linear-gradient(135deg, #1a2332, #0d1420);
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: background .4s var(--ease), border-color .4s;
}
[data-theme="light"] .tt-track {
  background: linear-gradient(135deg, #bfe3ff, #7cc4ff);
  border-color: color-mix(in srgb, var(--blue) 40%, transparent);
}
/* tiny stars (dark) / cloud dots (light) baked into the track */
.tt-track::before {
  content: ""; position: absolute; top: 6px; inset-inline-end: 9px;
  width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.7);
  box-shadow: -6px 4px 0 -1px rgba(255,255,255,.5), -3px 9px 0 -1.5px rgba(255,255,255,.4);
  opacity: 1; transition: opacity .4s;
}
[data-theme="light"] .tt-track::before { opacity: 0; }
.tt-thumb {
  position: absolute; top: 3px; inset-inline-start: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #cde8ff);
  box-shadow: 0 0 10px rgba(0,145,254,.5), inset -3px -3px 6px rgba(0,80,160,.25);
  transition: transform .4s var(--ease), background .4s, box-shadow .4s;
}
[data-theme="light"] .tt-thumb {
  background: radial-gradient(circle at 35% 35%, #fff8e1, #ffd84d);
  box-shadow: 0 0 14px rgba(255,200,60,.7), inset -2px -2px 4px rgba(200,140,0,.2);
}
/* LTR: slide right in light mode. RTL: slide left (selectors share the html element, so NO space). */
[data-theme="light"] .tt-thumb { transform: translateX(24px); }
[dir="rtl"][data-theme="light"] .tt-thumb { transform: translateX(-24px); }


.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(80px, 13vh, 170px) 0 clamp(70px,10vh,130px); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; top: -10%; inset-inline-start: 50%; transform: translateX(-50%);
  width: 70vw; height: 60vh; max-width: 900px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  filter: blur(40px); opacity: .55;
}
.hero-diagonal {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0 55%, color-mix(in srgb, var(--blue) 7%, transparent) 55% 56%, transparent 56%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.hero-title span { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-dim); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 3.6rem; }
.stat { display: flex; flex-direction: column; }
.stat-n {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text);
}
.stat-l { font-size: .82rem; color: var(--text-faint); letter-spacing: .04em; }

/* floating 0 -> 1 */
.hero-orbit {
  position: absolute; top: 50%; inset-inline-end: 5%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(3rem, 9vw, 8rem); opacity: .9;
}
.orbit-zero { color: var(--blue); animation: floaty 5s ease-in-out infinite; text-shadow: 0 0 40px var(--glow); }
.orbit-arrow { color: var(--text-faint); font-size: .5em; }
.orbit-one { color: var(--text); animation: floaty 5s ease-in-out infinite 1s; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@media (max-width: 1024px) { .hero-orbit { display: none; } }

/* ============================================================
   INTRO
   ============================================================ */
.intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: start; }
.intro-body { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-dim); }
@media (max-width: 800px) { .intro-inner { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.services-grid--full { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative; padding: 30px 26px 34px;
  background: var(--glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover {
  transform: translateY(-6px); border-color: var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
}
.service-card:hover::before { opacity: 1; }
.service-index {
  font-family: var(--font-mono); font-size: .82rem; color: var(--blue);
  letter-spacing: .1em;
}
.service-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.22rem; margin: .9rem 0 .6rem; position: relative;
}
.service-card p { color: var(--text-dim); font-size: .96rem; position: relative; }
.service-line {
  position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; width: 0;
  background: var(--blue); box-shadow: 0 0 12px var(--glow); transition: width .5s var(--ease);
}
.service-card:hover .service-line { width: 100%; }

.center-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  position: relative; transition: transform .4s var(--ease), border-color .4s;
}
.process-step:hover { transform: translateY(-5px); border-color: var(--blue); }
.step-num {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700;
  color: var(--blue); opacity: .35; display: block; margin-bottom: .6rem;
}
.process-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.process-step p { color: var(--text-dim); font-size: .92rem; }

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  padding: .7rem 1.4rem; border-radius: 100px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-weight: 500; font-size: .98rem; transition: all .3s var(--ease);
}
.pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 10px 26px -10px var(--glow); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; padding: clamp(70px,10vw,120px) 0; overflow: hidden; border-block: 1px solid var(--border); }
.cta-band-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 120%, var(--glow), transparent 70%);
  opacity: .5;
}
.cta-band-inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -.02em; }
.cta-band p { color: var(--text-dim); margin: 1rem 0 2rem; font-size: 1.1rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; padding: clamp(80px,11vw,150px) 0 clamp(40px,6vw,70px); overflow: hidden; }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,6vw,4.2rem); letter-spacing: -.03em; line-height: 1.02; }
.page-lead { color: var(--text-dim); font-size: clamp(1.05rem,1.6vw,1.25rem); max-width: 56ch; margin-top: 1.1rem; }

/* about prose */
.about-prose { max-width: 760px; }
.about-prose p { font-size: clamp(1.05rem,1.5vw,1.22rem); color: var(--text-dim); margin-bottom: 1.5rem; }
.about-prose p:first-child { color: var(--text); }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 32px 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform .4s var(--ease), border-color .4s; }
.value-card:hover { transform: translateY(-5px); border-color: var(--blue); }
.value-bit { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--blue); }
.value-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: .8rem 0 .5rem; }
.value-card p { color: var(--text-dim); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px,5vw,56px); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.glass {
  background: var(--glass); backdrop-filter: blur(18px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.contact-form { padding: clamp(26px,4vw,40px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: .5rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: .98rem; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent);
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #ff5a6a; }
.field-err { display: block; color: #ff7886; font-size: .8rem; margin-top: .4rem; min-height: 1em; }

.form-status { margin-top: 1rem; font-size: .95rem; min-height: 1.4em; text-align: center; }
.form-status.success { color: var(--blue); }
.form-status.error { color: #ff7886; }

.contact-info h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.2rem; }
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; flex-direction: column; gap: .2rem; }
.info-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); }
[dir="rtl"] .info-label { font-family: var(--font-body); letter-spacing: 0; }
.contact-info a:hover { color: var(--blue); }
.info-bits { font-family: var(--font-mono); color: var(--blue); opacity: .25; letter-spacing: .5em; margin-top: 2rem; font-size: 1.1rem; }

/* error page */
.error-code { font-family: var(--font-mono); font-weight: 700; font-size: clamp(5rem,18vw,12rem); line-height: 1; }

/* ============================================================
   JOIN FORMS (freelancer / affiliate)
   ============================================================ */
.join-section .section-head { max-width: 640px; }
.join-form { max-width: 720px; margin: 0 auto; padding: clamp(26px,4vw,40px); }
.join-form .field-row { margin-bottom: 18px; }
@media (max-width: 520px) { .join-form .field-row { margin-bottom: 0; } }

/* required asterisk */
.req { color: var(--blue); font-weight: 700; }

/* hint + link */
.field-hint { display: block; font-size: .78rem; color: var(--text-faint); margin-top: .4rem; }
.text-link { color: var(--blue); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* file upload */
.file-field { position: relative; }
.file-field input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-label {
  display: flex; align-items: center; gap: 12px; padding: .95rem 1rem; border-radius: 12px;
  background: var(--bg-2); border: 1px dashed var(--border-strong); color: var(--text-dim);
  transition: border-color .25s, color .25s;
}
.file-field:hover .file-label { border-color: var(--blue); color: var(--text); }
.file-icon { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); font-size: 1.1rem; }
.file-text { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* auth (login) */
.auth-form { max-width: 440px; }
.auth-alt { text-align: center; margin-top: 1.4rem; color: var(--text-dim); font-size: .92rem; }
.header-login { font-weight: 500; }
@media (max-width: 900px) { .header-login { display: none; } }
.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav-mobile-only { display: block; } }

/* dashboard */
.dash-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px,3vw,32px); align-items: start; }
@media (max-width: 880px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-card { padding: 28px 26px; position: sticky; top: 90px; }
@media (max-width: 880px) { .dash-card { position: static; } }
.dash-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1.2rem; }
.dash-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.dash-list li { display: flex; flex-direction: column; gap: .15rem; }
.dash-sub { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .15rem; }
.badge-ok { color: var(--blue); font-weight: 600; font-size: .9rem; }
.dash-main { display: flex; flex-direction: column; gap: 24px; }
.dash-main .join-form { max-width: none; margin: 0; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .dash-stats { grid-template-columns: 1fr; } }
.dash-stat { padding: 24px; }
.dash-stat .step-num { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--blue); opacity: .4; }
.dash-stat h4 { font-family: var(--font-display); margin: .5rem 0 .4rem; }
.dash-stat p { color: var(--text-dim); font-size: .92rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding-top: clamp(50px,7vw,80px); margin-top: 0; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { color: var(--text-dim); margin-top: 1rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--font-display); font-size: .95rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-dim); font-size: .92rem; padding: .3rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 24px; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: .85rem;
}
.footer-binary { font-family: var(--font-mono); color: var(--blue); opacity: .4; letter-spacing: .2em; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal, .service-card, .process-step, .value-card, .pill {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in, .service-card.in, .process-step.in, .value-card.in, .pill.in {
  opacity: 1; transform: translateY(0);
}
.service-card.in { transition-delay: calc(var(--i) * .07s); }
.process-step.in { transition-delay: calc(var(--i) * .08s); }
.value-card.in { transition-delay: calc(var(--i) * .1s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .service-card, .process-step, .value-card, .pill { opacity: 1; transform: none; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px; margin: 0;
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: 999;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav-link { padding: .9rem .5rem; font-size: 1.05rem; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   WHATSAPP FLOAT + SOCIAL ICONS
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 1500;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #25D366; box-shadow: 0 8px 26px -6px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 34px -8px rgba(37,211,102,.7); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite; opacity: 0;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; } }

/* social row styles live further down (with per-network brand-color hovers) */

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.gal-filter {
  padding: .55rem 1.2rem; border-radius: 100px; font-size: .92rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  transition: all .25s var(--ease);
}
.gal-filter:hover { color: var(--text); border-color: var(--border-strong); }
.gal-filter.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.gallery-item:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.gi-image { aspect-ratio: 4/3; overflow: hidden; }
.gi-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover .gi-image img { transform: scale(1.06); }
.gi-placeholder {
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%),
    var(--surface-2);
  position: relative;
}
.gi-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.gi-ph-mark { font-family: var(--font-mono); font-weight: 700; font-size: 3rem; color: var(--text-faint); position: relative; }
.gi-body { padding: 20px; }
.gi-cat { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); }
[dir="rtl"] .gi-cat { font-family: var(--font-body); letter-spacing: 0; }
.gi-body h3 { font-family: var(--font-display); font-size: 1.12rem; margin-top: .5rem; }
.gallery-note { text-align: center; color: var(--text-faint); font-size: .9rem; margin-top: 30px; }

/* ============================================================
   REFERRAL PANEL (affiliate dashboard)
   ============================================================ */
.referral-panel { padding: 28px 26px; }
.referral-panel h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .5rem; }
.referral-desc { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.3rem; }
.referral-link-box { display: flex; gap: 10px; margin: .5rem 0 1.4rem; }
.referral-link-box input {
  flex: 1; padding: .8rem 1rem; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font-family: var(--font-mono); font-size: .85rem;
}
.referral-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
@media (max-width: 560px) { .referral-stats { grid-template-columns: repeat(2,1fr); } }
.ref-stat { padding: 18px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
.ref-stat--accent { background: color-mix(in srgb, var(--blue) 14%, transparent); border-color: var(--blue); }
.ref-n { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--text); }
.ref-l { font-size: .76rem; color: var(--text-faint); }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge { padding: .3rem .8rem; border-radius: 100px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status-ok { background: color-mix(in srgb, #22c55e 20%, transparent); color: #4ade80; }
.status-no { background: color-mix(in srgb, #ef4444 20%, transparent); color: #f87171; }
.status-pending { background: color-mix(in srgb, var(--blue) 20%, transparent); color: var(--blue-bright); }
.badge-warn { color: #fbbf24; font-weight: 600; font-size: .9rem; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: var(--bg); }
.admin-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.admin-tag { font-family: var(--font-mono); font-size: .7rem; color: var(--blue); border: 1px solid var(--blue); padding: .1rem .4rem; border-radius: 6px; margin-inline-start: 6px; vertical-align: middle; }
.admin-actions { display: flex; align-items: center; gap: 10px; }
.admin-wrap { padding: 40px 0 80px; }
.admin-top { position: relative; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-top .page-title { font-size: clamp(1.6rem,4vw,2.4rem); }
.admin-stats { display: flex; gap: 14px; }
.admin-stat { padding: 14px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); text-align: center; }
.as-n { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem; }
.as-l { font-size: .74rem; color: var(--text-faint); }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.admin-tab { padding: .8rem 1.2rem; background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.admin-tab.is-active { color: var(--text); border-bottom-color: var(--blue); }
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }
.admin-empty { color: var(--text-faint); text-align: center; padding: 40px; }
.admin-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (max-width: 820px) { .admin-cards { grid-template-columns: 1fr; } }
.admin-card { padding: 24px; transition: box-shadow .3s; }
.admin-card.card-flash { box-shadow: 0 0 0 2px var(--blue); }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ac-head h3 { font-family: var(--font-display); font-size: 1.15rem; }
.ac-meta { font-size: .82rem; color: var(--text-faint); }
.ac-info { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 14px; }
.ac-info li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.ac-info a { color: var(--blue); }
.ac-msg { font-size: .88rem; color: var(--text-dim); background: var(--bg-2); padding: 12px; border-radius: 10px; margin-bottom: 14px; }
.ac-tazkira { margin-bottom: 14px; }
.ac-taz-links { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.ac-actions { display: flex; gap: 10px; margin-bottom: 8px; }
.ac-project { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.ac-project-row { display: grid; grid-template-columns: 2fr 1fr 0.7fr auto; gap: 8px; margin-top: 8px; }
@media (max-width: 520px) { .ac-project-row { grid-template-columns: 1fr 1fr; } }
.ac-project-row input { padding: .55rem .7rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-size: .85rem; }
.proj-status { font-size: .82rem; display: inline-block; margin-top: 6px; }
.proj-status.ok { color: #4ade80; }
.proj-status.err { color: #f87171; }
.mono { font-family: var(--font-mono); font-size: .82rem; }
.ref-link { word-break: break-all; }

/* ============================================================
   TAZKIRA CAMERA SCAN
   ============================================================ */
.taz-scan { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
@media (max-width: 560px) { .taz-scan { grid-template-columns: 1fr; } }
.taz-side { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--bg-2); }
.taz-side-label { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); display: block; margin-bottom: 10px; }
[dir="rtl"] .taz-side-label { font-family: var(--font-body); letter-spacing: 0; }
.taz-preview { aspect-ratio: 16/10; border-radius: 12px; border: 1px dashed var(--border-strong); display: grid; place-items: center; overflow: hidden; background: var(--surface); margin-bottom: 12px; }
.taz-preview.has-image { border-style: solid; border-color: var(--blue); }
.taz-preview img { width: 100%; height: 100%; object-fit: cover; }
.taz-ph { color: var(--text-faint); font-size: .85rem; }
.taz-btns { display: flex; gap: 8px; }
.taz-btns .btn { flex: 1; }

.ocr-status { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: .9rem; }
.ocr-status.ocr-good { background: color-mix(in srgb, #22c55e 14%, transparent); color: #4ade80; }
.ocr-status.ocr-warn { background: color-mix(in srgb, #fbbf24 14%, transparent); color: #fbbf24; }
.ocr-spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   CAMERA MODAL
   ============================================================ */
.cam-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.85); display: none; place-items: center; padding: 20px; }
.cam-modal.open { display: grid; }
.cam-box { width: 100%; max-width: 520px; padding: 20px; border-radius: var(--radius-lg); }
.cam-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; }
.cam-close { background: none; border: none; color: var(--text); font-size: 1.8rem; line-height: 1; }
.cam-viewport { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/10; }
.cam-viewport video { width: 100%; height: 100%; object-fit: cover; }
.cam-frame { position: absolute; inset: 12%; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; box-shadow: 0 0 0 100vmax rgba(0,0,0,.25); pointer-events: none; }
.cam-tip { color: var(--text-dim); font-size: .85rem; text-align: center; margin: 14px 0; }
.cam-actions { display: flex; justify-content: center; }

/* ============================================================
   MODERN SOCIAL ICONS (brand-colored hovers)
   ============================================================ */
.social-row {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.social-ico {
  width: 40px; height: 40px;
  flex: 0 0 auto;          /* never stretch or shrink */
  border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  transition: transform .28s var(--ease), background .28s, color .28s, border-color .28s, box-shadow .28s;
}
.social-ico svg { display: block; }   /* kill the inline-baseline gap */
.social-ico:hover { transform: translateY(-4px); color: #fff; }
.social-ico[data-net="whatsapp"]:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 10px 22px -8px rgba(37,211,102,.7); }
.social-ico[data-net="facebook"]:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 10px 22px -8px rgba(24,119,242,.7); }
.social-ico[data-net="instagram"]:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; box-shadow: 0 10px 22px -8px rgba(220,39,67,.7); }
.social-ico[data-net="youtube"]:hover   { background: #FF0000; border-color: #FF0000; box-shadow: 0 10px 22px -8px rgba(255,0,0,.6); }
.social-ico[data-net="telegram"]:hover  { background: #229ED9; border-color: #229ED9; box-shadow: 0 10px 22px -8px rgba(34,158,217,.7); }
.social-ico[data-net="linkedin"]:hover  { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 10px 22px -8px rgba(10,102,194,.7); }

.footer-address { display: flex; align-items: flex-start; gap: 8px; color: var(--text-dim); font-size: .9rem; margin-top: 4px; }
.footer-address svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }

/* ============================================================
   HOME: GALLERY PREVIEW + STATS + WHY + TESTIMONIALS
   ============================================================ */
.gallery-grid--preview { margin-bottom: 36px; }
.section-cta { text-align: center; }

.stats-section { position: relative; overflow: hidden; }
.stats-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, color-mix(in srgb,var(--blue) 12%, transparent), transparent 60%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat-block { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat-num { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(2rem,5vw,2.8rem); color: var(--blue-bright); line-height: 1; }
.stat-label { display: block; margin-top: .6rem; color: var(--text-dim); font-size: .9rem; }

.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .35s var(--ease), border-color .35s; }
.why-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.why-bit { font-family: var(--font-mono); font-size: .9rem; color: var(--blue); }
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: .6rem 0 .5rem; }
.why-card p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 820px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.quote-mark { position: absolute; top: 10px; inset-inline-end: 20px; font-family: var(--font-display); font-size: 3.5rem; color: var(--border-strong); line-height: 1; }
.testimonial-card blockquote { font-size: 1rem; line-height: 1.7; color: var(--text); margin-bottom: 1.2rem; }
.testimonial-card figcaption { display: flex; flex-direction: column; }
.t-name { font-weight: 600; }
.t-role { font-size: .85rem; color: var(--text-faint); }

/* ============================================================
   ADMIN GALLERY MANAGEMENT
   ============================================================ */
.gallery-add-form { padding: 26px; margin-bottom: 28px; }
.gallery-add-form h3 { font-family: var(--font-display); margin-bottom: 1rem; }
.ga-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 560px) { .ga-row { grid-template-columns: 1fr; } }
.admin-flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .9rem; }
.admin-flash.err { background: color-mix(in srgb,#ef4444 16%,transparent); color: #f87171; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 720px) { .admin-gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .admin-gallery-grid { grid-template-columns: 1fr; } }
.admin-gallery-item { overflow: hidden; padding: 0; }
.agi-img { aspect-ratio: 4/3; overflow: hidden; }
.agi-img img { width: 100%; height: 100%; object-fit: cover; }
.agi-body { padding: 16px; }
.agi-body h4 { font-family: var(--font-display); font-size: 1rem; margin: .3rem 0 .8rem; }
.admin-gallery-item { transition: opacity .25s; }

/* ============================================================
   PASSWORD SHOW / HIDE
   ============================================================ */
.pw-wrap { position: relative; display: block; }
.pw-wrap input[type="password"], .pw-wrap input[type="text"] { padding-inline-end: 44px; }
.pw-eye {
  position: absolute; top: 50%; inset-inline-end: 10px; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: none; color: var(--text-dim);
  cursor: pointer; border-radius: 8px; transition: color .2s, background .2s;
}
.pw-eye:hover { color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); }

/* ============================================================
   GLASSMORPHISM — iOS 26 style frosted surfaces
   ============================================================ */
.glass, .service-card, .gallery-item, .why-card, .testimonial-card, .stat-block,
.admin-card, .admin-gallery-item, .dash-card, .dash-stat, .gallery-add-form,
.lang-menu, .referral-panel {
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
  box-shadow:
    0 1px 0 0 color-mix(in srgb, #fff 8%, transparent) inset,
    0 12px 40px -16px rgba(0,0,0,.4);
}
[data-theme="light"] .glass,
[data-theme="light"] .service-card,
[data-theme="light"] .gallery-item,
[data-theme="light"] .why-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .stat-block,
[data-theme="light"] .admin-card,
[data-theme="light"] .admin-gallery-item,
[data-theme="light"] .dash-card,
[data-theme="light"] .dash-stat,
[data-theme="light"] .gallery-add-form,
[data-theme="light"] .lang-menu,
[data-theme="light"] .referral-panel {
  background: color-mix(in srgb, #ffffff 70%, transparent);
  border: 1px solid color-mix(in srgb, #000 8%, transparent);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,.7) inset,
    0 10px 30px -14px rgba(0,40,80,.15);
}

/* Header glass */
.site-header {
  background: color-mix(in srgb, var(--bg) 55%, transparent) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 75%, transparent) !important;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
}

/* Buttons — iOS-style pills */
.btn {
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.btn-primary {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--blue) 95%, white 5%),
    var(--blue));
  box-shadow:
    0 1px 0 0 color-mix(in srgb, #fff 30%, transparent) inset,
    0 8px 18px -6px color-mix(in srgb, var(--blue) 60%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 0 color-mix(in srgb,#fff 30%,transparent) inset, 0 12px 26px -8px color-mix(in srgb,var(--blue) 70%,transparent); }
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
}
[data-theme="light"] .btn-ghost {
  background: color-mix(in srgb, #fff 55%, transparent);
  border-color: color-mix(in srgb, #000 12%, transparent);
}

/* Form inputs — glassy */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="file"], textarea, select {
  background: color-mix(in srgb, var(--surface) 50%, transparent) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent) !important;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 18%, transparent); }

/* Language button glass */
.lang-btn, .theme-toggle .tt-track {
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

/* Modal + WhatsApp float glass */
.cam-box, .wa-float {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ============================================================
   SERVICE ICONS + ANIMATIONS
   ============================================================ */
.service-card { position: relative; overflow: hidden; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--blue) 30%, transparent),
    color-mix(in srgb, var(--blue) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent);
  color: var(--blue); margin-bottom: 1.2rem;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s, border-color .4s;
  position: relative; z-index: 1;
}
.service-card:hover .service-icon {
  transform: translateY(-4px) rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--blue) 60%, #000));
  color: #fff;
  box-shadow: 0 10px 25px -8px color-mix(in srgb, var(--blue) 70%, transparent);
  border-color: var(--blue);
}
.service-icon svg { transition: transform .5s var(--ease); }
.service-card:hover .service-icon svg { transform: scale(1.1); }
.service-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    color-mix(in srgb, var(--blue) 22%, transparent) 0%, transparent 50%);
  opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 0;
}
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

/* ============================================================
   SERVICE ICONS — modern animated hover
   ============================================================ */
.service-icon {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 1rem;
  border-radius: 18px; position: relative;
  background: linear-gradient(135deg,
              color-mix(in srgb, var(--blue) 18%, transparent),
              color-mix(in srgb, var(--blue) 4%,  transparent));
  border: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  color: var(--blue-bright);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--blue) 60%, transparent),
              inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .5s var(--ease), border-color .4s,
              box-shadow .5s var(--ease), background .4s;
}
.service-icon::after {
  content: ""; position: absolute; inset: -2px; border-radius: 20px;
  background: radial-gradient(circle at 50% 50%,
              color-mix(in srgb, var(--blue) 35%, transparent), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none; z-index: -1; filter: blur(8px);
}
.service-icon svg { width: 28px; height: 28px; transition: transform .55s var(--ease); }
.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.06);
  border-color: var(--blue);
  background: linear-gradient(135deg,
              color-mix(in srgb, var(--blue) 28%, transparent),
              color-mix(in srgb, var(--blue) 10%, transparent));
  box-shadow: 0 14px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.18);
}
.service-card:hover .service-icon::after { opacity: .9; }
.service-card:hover .service-icon svg { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .service-icon, .service-icon svg, .service-icon::after { transition: none; }
}

/* ============================================================
   GLASS MORPHISM iOS-26 style — applied widely
   ============================================================ */
:root {
  --glass-blur:        24px;
  --glass-saturation:  160%;
  --glass-tint-dark:   rgba(18, 22, 30, 0.48);
  --glass-tint-light:  rgba(255, 255, 255, 0.55);
  --glass-edge-dark:   rgba(255, 255, 255, 0.10);
  --glass-edge-light:  rgba(255, 255, 255, 0.75);
  --glass-shadow:      0 30px 60px -28px rgba(0, 0, 0, .55), 0 2px 4px rgba(0,0,0,.18);
}
.glass {
  background: var(--glass-tint-dark) !important;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-edge-dark) !important;
  border-radius: 24px !important;
  box-shadow: var(--glass-shadow);
  position: relative;
}
.glass::before {
  /* top highlight, hairline */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 36%);
  mix-blend-mode: overlay;
}
[data-theme="light"] .glass {
  background: var(--glass-tint-light) !important;
  border-color: var(--glass-edge-light) !important;
  box-shadow: 0 30px 60px -28px rgba(0,80,160,.18), 0 2px 4px rgba(0,80,160,.06);
}
[data-theme="light"] .glass::before { background: linear-gradient(180deg, rgba(255,255,255,.6), transparent 40%); }

/* iOS-26 glass buttons */
.btn { border-radius: 100px !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s !important; }
.btn-primary {
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--blue-bright) 92%, white),
              var(--blue-deep)) !important;
  box-shadow: 0 14px 30px -10px var(--glow),
              inset 0 1px 0 rgba(255,255,255,.45),
              inset 0 -1px 0 rgba(0,0,0,.2) !important;
  border: 1px solid color-mix(in srgb, var(--blue) 65%, transparent) !important;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.25) !important; }
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 30%, transparent) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--blue) 12%, transparent) !important;
  border-color: var(--blue) !important; color: var(--blue);
  box-shadow: 0 12px 28px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.15);
}
[data-theme="light"] .btn-ghost {
  background: rgba(255,255,255,.55) !important;
  border-color: rgba(0,80,160,.2) !important;
}

/* Header glass */
.site-header.scrolled {
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
/* Form inputs glass */
.field input, .field select, .field textarea {
  background: color-mix(in srgb, var(--surface) 28%, transparent) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-color: color-mix(in srgb, var(--text) 14%, transparent) !important;
  border-radius: 14px !important;
}
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea {
  background: rgba(255,255,255,.7) !important;
  border-color: rgba(0,80,160,.18) !important;
}
/* Lang menu & mobile nav — extra glassy */
.lang-menu, .nav-open .nav { backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); }
.lang-menu, .lang-btn, .theme-toggle .tt-track {
  background: color-mix(in srgb, var(--surface) 35%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--text) 12%, transparent) !important;
}
.lang-menu { background: var(--glass-tint-dark) !important; border-radius: 18px !important; box-shadow: var(--glass-shadow); }
[data-theme="light"] .lang-menu { background: var(--glass-tint-light) !important; }

/* ============================================================
   PASSWORD show/hide eye toggle
   ============================================================ */
.pwd-wrap { position: relative; display: block; }
.pwd-wrap input {
  width: 100%;
  padding-inline-end: 50px !important;
}
.pwd-toggle {
  position: absolute; top: 50%; inset-inline-end: 8px;
  transform: translateY(-50%);
  background: transparent; border: none; padding: 8px;
  border-radius: 10px;
  color: var(--text-faint);
  display: grid; place-items: center;
  cursor: pointer; transition: color .25s, background .25s;
}
.pwd-toggle:hover { color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, transparent); }
.pwd-toggle .pwd-eye-off { display: none; }
.pwd-wrap.is-shown .pwd-toggle .pwd-eye-on  { display: none; }
.pwd-wrap.is-shown .pwd-toggle .pwd-eye-off { display: block; }

/* ============================================================
   CURSOR — robust + animated click pulse
   ============================================================ */
/* All elements inherit cursor: none from body so the custom cursor never
   gets replaced mid-page; native cursors come back only on touch devices
   (the media query at line ~69) and explicitly for text inputs below. */
.has-sy-cursor * { cursor: inherit; }
.has-sy-cursor input, .has-sy-cursor textarea { cursor: none; }
@media (pointer: coarse) { .has-sy-cursor * { cursor: auto; } }

/* Click pulse — one-shot animation that runs on every mousedown */
#sy-cursor-dot.is-click { animation: cursorPulse .42s var(--ease); }
@keyframes cursorPulse {
  0%   { width: 8px;  height: 8px;  margin: 0; opacity: 1; }
  35%  { width: 26px; height: 26px; margin: -9px 0 0 -9px; opacity: .55; }
  100% { width: 8px;  height: 8px;  margin: 0; opacity: 1; }
}
/* the .is-click margin from old static rule is no longer needed */

.auth-alt--right { text-align: end; margin-top: .5rem; margin-bottom: 1rem; }

/* ============================================================
   GALLERY UPLOAD — live preview thumbnail
   ============================================================ */
.gallery-add-preview {
  margin-top: 12px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 35%, transparent);
  border: 1px dashed color-mix(in srgb, var(--text) 18%, transparent);
  display: grid; place-items: center;
  overflow: hidden;
}
.gallery-add-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gap-placeholder { color: var(--text-faint); font-size: .85rem; font-family: var(--font-mono); }

/* ============================================================
   v7 — MODERN PASSWORD TOGGLE (replaces v6 plain version)
   ============================================================ */
.pwd-toggle {
  position: absolute !important;
  top: 50% !important;
  inset-inline-end: 6px !important;
  transform: translateY(-50%) !important;
  width: 38px; height: 38px;
  padding: 0 !important;
  display: grid !important; place-items: center !important;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--blue) 18%, transparent),
    color-mix(in srgb, var(--blue)  6%, transparent)) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--blue) 38%, transparent) !important;
  border-radius: 12px !important;
  color: var(--blue-bright);
  box-shadow:
    0 4px 12px -4px color-mix(in srgb, var(--blue) 55%, transparent),
    inset 0 1px 0 rgba(255,255,255,.18) !important;
  cursor: pointer;
  z-index: 5;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .35s !important;
}
.pwd-toggle:hover {
  transform: translateY(-50%) scale(1.06) !important;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--blue) 30%, transparent),
    color-mix(in srgb, var(--blue) 12%, transparent)) !important;
  border-color: var(--blue) !important;
  box-shadow:
    0 10px 22px -6px color-mix(in srgb, var(--blue) 75%, transparent),
    inset 0 1px 0 rgba(255,255,255,.25) !important;
}
.pwd-toggle.is-pop { animation: pwdPop .35s var(--ease); }
@keyframes pwdPop {
  0%   { transform: translateY(-50%) scale(1); }
  45%  { transform: translateY(-50%) scale(1.18); }
  100% { transform: translateY(-50%) scale(1); }
}
.pwd-toggle svg { display: block; width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pwd-toggle:hover svg { transform: scale(1.08); }
.pwd-toggle .pwd-eye-off { display: none; }
.pwd-wrap.is-shown .pwd-toggle .pwd-eye-on  { display: none; }
.pwd-wrap.is-shown .pwd-toggle .pwd-eye-off { display: block; }
.pwd-wrap input { padding-inline-end: 54px !important; }

/* ============================================================
   v7 — MODERN SERVICE VISUALS (replaces small icon block)
   Each card gets a tall "media tile" with a category gradient,
   animated geometric shapes, and the icon as a foreground accent.
   ============================================================ */
.service-card {
  --svc-a: #1a5cff;
  --svc-b: #00d9ff;
  --svc-c: #0091fe;
  padding: 0 !important;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card .service-icon {
  /* repurposed: now a full-width media block at the top of the card */
  margin: 0 !important;
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 0 !important;
  background: linear-gradient(135deg, var(--svc-a) 0%, var(--svc-c) 50%, var(--svc-b) 100%);
  border: none !important;
  box-shadow: none !important;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  color: #fff;
}
/* moving glow blob behind the icon */
.service-card .service-icon::before {
  content: ""; position: absolute; inset: -25%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 50%),
              radial-gradient(circle at 75% 70%, rgba(255,255,255,.25), transparent 55%);
  animation: svcBlob 11s ease-in-out infinite alternate;
  filter: blur(8px);
}
@keyframes svcBlob {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(6%,-6%) rotate(18deg); }
}
/* faint grid overlay for the "modern photo" feel */
.service-card .service-icon::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.service-card .service-icon svg {
  position: relative; z-index: 2;
  width: 64px; height: 64px;
  stroke-width: 1.4;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
  transition: transform .6s var(--ease);
}
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(-6deg); }

/* per-service color palette via nth-child */
.services-grid .service-card:nth-child(10n+1)  { --svc-a:#1a5cff; --svc-b:#00d9ff; --svc-c:#0091fe; }
.services-grid .service-card:nth-child(10n+2)  { --svc-a:#ff6b9d; --svc-b:#ffb86c; --svc-c:#e64980; }
.services-grid .service-card:nth-child(10n+3)  { --svc-a:#0091fe; --svc-b:#7c3aed; --svc-c:#3b82f6; }
.services-grid .service-card:nth-child(10n+4)  { --svc-a:#10b981; --svc-b:#34d399; --svc-c:#059669; }
.services-grid .service-card:nth-child(10n+5)  { --svc-a:#f59e0b; --svc-b:#fbbf24; --svc-c:#d97706; }
.services-grid .service-card:nth-child(10n+6)  { --svc-a:#a855f7; --svc-b:#ec4899; --svc-c:#9333ea; }
.services-grid .service-card:nth-child(10n+7)  { --svc-a:#ef4444; --svc-b:#f97316; --svc-c:#dc2626; }
.services-grid .service-card:nth-child(10n+8)  { --svc-a:#06b6d4; --svc-b:#3b82f6; --svc-c:#0284c7; }
.services-grid .service-card:nth-child(10n+9)  { --svc-a:#14b8a6; --svc-b:#06b6d4; --svc-c:#0d9488; }
.services-grid .service-card:nth-child(10n+10) { --svc-a:#8b5cf6; --svc-b:#0091fe; --svc-c:#6366f1; }

/* card body sits below the visual */
.service-card .service-index,
.service-card h3,
.service-card p,
.service-card .service-line { padding-inline: 24px; }
.service-card .service-index { margin-top: 18px; display: inline-block; }
.service-card h3 { margin-top: 8px; }
.service-card p  { padding-bottom: 18px; }
.service-card .service-line { display: block; margin-inline: 24px; }

/* ============================================================
   v7 — MODERN PROCESS STEP VISUALS
   ============================================================ */
.process-step {
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-lg) !important;
}
.process-step::before {
  /* media-style header */
  content: ""; display: block;
  width: 100%; aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--ps-a, #0091fe), var(--ps-b, #7c3aed));
  position: relative;
}
.process-step {
  --ps-a: #0091fe; --ps-b: #00d9ff;
  position: relative;
}
.process-grid .process-step:nth-child(4n+1) { --ps-a:#0091fe; --ps-b:#00d9ff; }
.process-grid .process-step:nth-child(4n+2) { --ps-a:#7c3aed; --ps-b:#ec4899; }
.process-grid .process-step:nth-child(4n+3) { --ps-a:#10b981; --ps-b:#06b6d4; }
.process-grid .process-step:nth-child(4n+4) { --ps-a:#f59e0b; --ps-b:#ef4444; }

.process-step .step-num {
  position: absolute; top: 14px; inset-inline-start: 14px;
  z-index: 2;
  font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700;
  color: #fff;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,.18);
}
.process-step h3, .process-step p { padding-inline: 22px; }
.process-step h3 { margin-top: 18px; }
.process-step p  { padding-bottom: 22px; }

/* ============================================================
   v7 — MODERN AUDIENCE CARDS (replaces flat pills)
   ============================================================ */
.audience-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px;
  flex-wrap: initial;
}
@media (max-width: 960px) { .audience-row { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px) { .audience-row { grid-template-columns: 1fr !important; } }

.audience-row .pill { display: none; }    /* legacy pills hidden when JS upgrades them */

.aud-card {
  --au-a: #0091fe; --au-b: #00d9ff;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  display: flex; flex-direction: column;
}
.aud-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.45);
}
.aud-card .aud-visual {
  width: 100%; aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--au-a), var(--au-b));
  position: relative; overflow: hidden;
}
.aud-card .aud-visual::before {
  content: ""; position: absolute; inset: -25%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 50%);
  filter: blur(10px); animation: svcBlob 9s ease-in-out infinite alternate;
}
.aud-card .aud-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4) 100%);
}
.aud-card .aud-ico {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; z-index: 2;
}
.aud-card .aud-ico svg {
  width: 52px; height: 52px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.4));
  transition: transform .55s var(--ease);
}
.aud-card:hover .aud-ico svg { transform: scale(1.12) rotate(-6deg); }
.aud-card h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  padding: 18px 18px 6px; margin: 0;
}
.aud-card p {
  padding: 0 18px 18px;
  color: var(--text-dim); font-size: .9rem; line-height: 1.55; margin: 0;
}

/* per-card palettes */
.audience-row .aud-card:nth-child(1) { --au-a:#0091fe; --au-b:#00d9ff; }
.audience-row .aud-card:nth-child(2) { --au-a:#7c3aed; --au-b:#ec4899; }
.audience-row .aud-card:nth-child(3) { --au-a:#f59e0b; --au-b:#ef4444; }
.audience-row .aud-card:nth-child(4) { --au-a:#10b981; --au-b:#06b6d4; }
.audience-row .aud-card:nth-child(5) { --au-a:#ec4899; --au-b:#a855f7; }

/* ============================================================
   v8 — COMPACT, MORE REFINED VISUALS
   Reduces card sizes and tightens glass morphism feel.
   ============================================================ */

/* SERVICE CARDS — smaller visual area, more compact card */
.service-card .service-icon {
  aspect-ratio: 16 / 7 !important;     /* was 16/10 — much shorter now */
}
.service-card .service-icon svg {
  width: 44px !important; height: 44px !important;
}
.service-card { border-radius: 20px !important; }
.service-card .service-index { margin-top: 14px !important; font-size: .78rem !important; }
.service-card h3 { font-size: 1.02rem !important; margin-top: 6px !important; }
.service-card p  { font-size: .88rem !important; line-height: 1.55 !important; }

/* PROCESS STEPS — shorter media area */
.process-step::before { aspect-ratio: 5 / 2 !important; }
.process-step .step-num { font-size: .85rem !important; padding: 4px 10px !important; }
.process-step h3 { font-size: 1rem !important; margin-top: 14px !important; }
.process-step p  { font-size: .88rem !important; line-height: 1.55 !important; }

/* AUDIENCE CARDS — shorter media area */
.aud-card .aud-visual { aspect-ratio: 5 / 2 !important; }
.aud-card .aud-ico svg { width: 38px !important; height: 38px !important; }
.aud-card h3 { font-size: .98rem !important; padding: 14px 16px 4px !important; }
.aud-card p  { font-size: .85rem !important; padding: 0 16px 16px !important; }

/* GLASS — slightly tighter blur, more luminous edges (iOS 26 vibe) */
.glass {
  border-radius: 22px !important;
  box-shadow:
    0 22px 50px -22px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}
[data-theme="light"] .glass {
  box-shadow:
    0 22px 50px -22px rgba(0,80,160,.18),
    inset 0 1px 0 rgba(255,255,255,.6) !important;
}

/* PASSWORD TOGGLE — final modern pass: clearly visible, prominent, animated */
.pwd-wrap { position: relative !important; display: block !important; }
.pwd-wrap input { padding-inline-end: 58px !important; }
.pwd-toggle {
  position: absolute !important;
  top: 50% !important;
  inset-inline-end: 8px !important;
  transform: translateY(-50%) !important;
  width: 40px !important; height: 40px !important;
  display: grid !important; place-items: center !important;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep)) !important;
  border: 1.5px solid rgba(255,255,255,.22) !important;
  border-radius: 50% !important;
  color: #fff !important;
  box-shadow:
    0 6px 18px -4px color-mix(in srgb, var(--blue) 70%, transparent),
    inset 0 1px 0 rgba(255,255,255,.35) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  transition: transform .25s var(--ease), box-shadow .35s, background .25s !important;
}
.pwd-toggle:hover {
  transform: translateY(-50%) scale(1.08) !important;
  box-shadow:
    0 10px 26px -4px color-mix(in srgb, var(--blue) 90%, transparent),
    inset 0 1px 0 rgba(255,255,255,.5) !important;
}
.pwd-toggle:active { transform: translateY(-50%) scale(0.94) !important; }
.pwd-toggle svg { width: 18px !important; height: 18px !important; display: block !important; }

/* The little "is-pop" animation when clicked */
.pwd-toggle.is-pop { animation: pwdPop .4s var(--ease); }
@keyframes pwdPop {
  0%   { transform: translateY(-50%) scale(1); }
  50%  { transform: translateY(-50%) scale(1.22) rotate(8deg); }
  100% { transform: translateY(-50%) scale(1); }
}

/* SOCIAL ICONS — final pass: compact, perfectly aligned */
.social-row {
  display: flex !important; flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 16px !important;
  align-items: center !important;
}
.social-ico {
  width: 36px !important; height: 36px !important;
  flex: 0 0 auto !important;
  border-radius: 10px !important;
  display: inline-grid !important; place-items: center !important;
}
.social-ico svg { display: block !important; }

/* CURSOR — make even more explicit so cached CSS doesn't win */
body { cursor: auto; }                                  /* native by default */
.has-sy-cursor body, .has-sy-cursor button { cursor: none !important; }
@media (pointer: coarse) {
  .has-sy-cursor body, .has-sy-cursor button { cursor: auto !important; }
}

/* RESET LINKS admin viewer */
.reset-links-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.reset-links-table td, .reset-links-table th { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--border); }
.reset-links-table tr:last-child td { border-bottom: none; }
.reset-links-table .rl-link { word-break: break-all; font-family: var(--font-mono); font-size: .78rem; }
.reset-links-table .rl-sent { color: #22c55e; font-weight: 600; }
.reset-links-table .rl-fail { color: #ef4444; font-weight: 600; }
.copy-link-btn { font-size: .75rem !important; padding: .35rem .7rem !important; }
