:root {
  --lime: #4EFF01;
  --lime-deep: #3ac800;
  --forest: #014423;
  --void: #04150c;
  --void-2: #071f12;
  --teal: #01C063;
  --urgent: #FE0000;
  --urgent-glow: rgba(254,0,0,0.45);
  --paper: #ffffff;
  --paper-2: #f2f4f2;
  --ink: #0b1a12;
  --ink-soft: #56675e;
  --line: #e2e6e2;
  --lime-glow: rgba(78,255,1,0.55);
  --teal-glow: rgba(1,192,99,0.45);
  --r: 3px;   /* sharp default radius */
  --r-lg: 6px; /* rare, slightly softer */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Manrope', -apple-system, sans-serif;
  line-height: 1.55; position: relative;
}
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
img { max-width: 100%; }

/* film grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.rise { animation: rise .7s cubic-bezier(.16,1,.3,1) both; }

/* logo */
.logo {
  display: inline-flex; align-items: center; text-decoration: none;
}
.logo img { height: 26px; width: auto; display: block; }
footer .logo img { height: 22px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  z-index: 50;
}
nav.top { display: flex; align-items: center; gap: 24px; }
nav.top a.link { text-decoration: none; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); }
nav.top a.lang-switch { border: 1px solid var(--line); border-radius: var(--r); padding: 5px 10px; font-size: 0.78rem; color: var(--ink); }
nav.top a.lang-switch:hover { border-color: var(--teal); color: var(--teal); }

/* multi-language switcher dropdown */
nav.top .lang-switcher { position: relative; }
nav.top .lang-switcher summary { border: 1px solid var(--line); border-radius: var(--r); padding: 5px 10px; font-size: 0.78rem; color: var(--ink); cursor: pointer; list-style: none; }
nav.top .lang-switcher summary::-webkit-details-marker { display: none; }
nav.top .lang-switcher summary:hover { border-color: var(--teal); color: var(--teal); }
nav.top .lang-switcher .lang-menu { position: absolute; top: 130%; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; display: flex; flex-direction: column; gap: 2px; min-width: 64px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
nav.top .lang-switcher .lang-menu a { padding: 6px 10px; font-size: 0.78rem; text-decoration: none; color: var(--ink); border-radius: var(--r); }
nav.top .lang-switcher .lang-menu a:hover { background: var(--paper-2); color: var(--teal); }
[dir="rtl"] nav.top .lang-switcher .lang-menu { right: auto; left: 0; }

/* master + sub-brand banner */
.brand-banner { background: var(--paper-2); padding: 28px 28px; border-bottom: 1px solid var(--line); }
.brand-banner-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.brand-banner-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 16px; }
.brand-banner-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.brand-badge { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s ease, transform .15s ease; }
.brand-badge:hover { border-color: var(--teal); transform: translateY(-2px); }
.brand-badge.dark { background: var(--void); }
.brand-badge img { height: 26px; width: auto; display: block; }
.brand-badge img.dj-badge { height: 40px; width: auto; }
.brand-plus { color: var(--line); font-size: 1.3rem; font-weight: 300; }
@media (max-width: 640px) {
  .brand-banner-row { gap: 12px; }
  .brand-plus { display: none; }
  .brand-badge { height: 48px; padding: 0 16px; }
}
.cta-phone {
  background: var(--forest); color: #fff !important; padding: 9px 18px;
  border-radius: var(--r); font-weight: 700; white-space: nowrap; text-decoration: none;
  font-size: 0.86rem;
}

/* cross-brand marquee ticker -- seamless infinite loop */
.marquee {
  background: var(--void); color: #d7e6dc; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.08); position: sticky; top: 61px; z-index: 40;
}
.marquee-track {
  display: inline-flex; align-items: center; padding: 9px 0;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; text-decoration: none; color: #d7e6dc; flex-shrink: 0; margin-right: 56px; }
.marquee-item img { height: 16px; width: auto; display: block; }
.marquee-item img.dj { height: 20px; border-radius: var(--r); }
.marquee-item .arrow { color: var(--lime); }
/* content is duplicated 3x in HTML; translate exactly one third for a seamless, never-ending loop */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }

/* RTL support (Arabic) — the marquee ticker stays LTR internally (decorative brand marks, not reading content) so its proven seamless-loop math is untouched */
[dir="rtl"] .marquee, [dir="rtl"] .marquee-track { direction: ltr; }
[dir="rtl"] article.post th, [dir="rtl"] article.post td { text-align: right; }
[dir="rtl"] article.post .note { border-left: none; border-right: 3px solid var(--teal); }

/* cross-sell strip inside cards */
.xsell {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(1,68,35,0.18);
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.card.feature .xsell { border-top-color: rgba(255,255,255,0.15); }
.xsell .tag { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.card.feature .xsell .tag { color: #93a89a; }
.xsell .badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.xsell .badge.dark { background: var(--void); border-color: var(--void); }
.xsell .badge img { height: 13px; width: auto; display: block; }
.xsell .badge.dj { height: 24px; padding: 0; overflow: hidden; }
.xsell .badge.dj img { height: 24px; width: auto; }

/* ecosystem showcase */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eco-tile {
  border-radius: var(--r); padding: 26px; text-decoration: none; display: block;
  border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease;
}
.eco-tile:hover { transform: translateY(-3px); }
.eco-tile.dark { background: var(--void); border-color: var(--void); }
.eco-tile.light { background: #fff; }
.eco-tile .mark { height: 34px; margin-bottom: 18px; display: flex; align-items: center; }
.eco-tile .mark img { height: 100%; width: auto; }
.eco-tile .mark.dj { height: 56px; width: 56px; overflow: hidden; }
.eco-tile .mark.dj img { height: 100%; width: 100%; object-fit: cover; }
.eco-tile p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.eco-tile.dark p { color: #b9c8be; }
.eco-tile .go { margin-top: 14px; font-size: 0.78rem; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; }

/* viewfinder corner brackets */
.frame { position: relative; }
.frame .corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--lime); opacity: .85; }
.frame .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.frame .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.frame .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- HERO (dark) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--void); color: #eef5f0;
  padding: 88px 28px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 8% -8%, rgba(78,255,1,0.18), transparent 60%),
    radial-gradient(700px 460px at 100% 10%, rgba(1,192,99,0.16), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 40px; align-items: center;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(78,255,1,0.1); border: 1px solid rgba(78,255,1,0.4); color: var(--lime);
  border-radius: var(--r); padding: 7px 16px 7px 12px; font-size: 0.78rem; font-weight: 700;
  margin-bottom: 28px; font-family: 'Manrope', sans-serif; letter-spacing: 0.02em;
}
.hero .kicker .dot { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 8px var(--lime); display: inline-block; }
.hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero h1 .hl {
  color: var(--lime); text-shadow: 0 0 24px var(--lime-glow), 0 0 60px rgba(78,255,1,0.25);
}
.hero p.lead { max-width: 480px; margin: 0 0 36px; color: #b9c8be; font-size: 1.05rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: var(--r);
  font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.accent { background: var(--lime); color: var(--void); box-shadow: 0 0 0 rgba(78,255,1,0); }
.btn.accent:hover { box-shadow: 0 8px 30px var(--lime-glow); }
.btn.ghost { border: 1.5px solid rgba(255,255,255,0.25); color: #eef5f0; }
.btn.ghost:hover { border-color: var(--teal); }
.btn.solid { background: var(--forest); color: #fff; }

/* circular stamp/seal — replaces the old rectangular numeral-frame */
.stamp-wrap { display: flex; justify-content: center; align-items: center; padding: 20px; }
.stamp {
  position: relative; width: min(300px, 80vw); aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,255,1,0.07), rgba(78,255,1,0.01) 70%);
  border: 2px dashed var(--lime);
  transform: rotate(-7deg);
  display: flex; align-items: center; justify-content: center;
}
.stamp::before {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
}
.stamp-inner { transform: rotate(7deg); text-align: center; }
.stamp .big {
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(3.6rem, 7vw, 5.2rem);
  line-height: 0.9; color: var(--lime);
  text-shadow: 0 0 30px var(--lime-glow), 0 0 90px rgba(78,255,1,0.3);
}
.stamp .unit { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1rem; color: var(--urgent); margin-top: 4px; letter-spacing: 0.06em; }
.stamp .cap { margin-top: 10px; font-size: 0.68rem; color: #9db3a5; letter-spacing: 0.1em; text-transform: uppercase; }
.stamp .flash {
  position: absolute; bottom: -6px; right: 6px; background: var(--urgent); color: #fff;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 0.62rem;
  padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 6px 18px var(--urgent-glow); transform: rotate(7deg);
}

.stats-band {
  position: relative; margin-top: 72px; border-top: 1px solid rgba(255,255,255,0.1);
  display: grid; grid-template-columns: repeat(3,1fr);
}
.stats-band .stat { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stats-band .stat:last-child { border-right: 0; }
.stats-band .num { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1.7rem; color: #eef5f0; }
.stats-band .lbl { font-size: 0.76rem; color: #93a89a; font-weight: 600; margin-top: 4px; }

/* ---------- LIGHT SECTIONS ---------- */
section.pane { padding: 88px 28px; border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--teal); margin-bottom: 14px; font-family: 'Manrope', sans-serif;
}
.eyebrow .ring { width: 9px; height: 9px; border: 2px solid var(--teal); }
section h2 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(1.6rem,3vw,2.3rem); margin: 0 0 10px; letter-spacing: -0.01em; }
section .sub { color: var(--ink-soft); margin-bottom: 40px; font-size: 1.02rem; max-width: 560px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  grid-column: span 3;
}
.card.wide { grid-column: span 3; }
.card.feature { background: var(--void); color: #eef5f0; border-color: var(--void); }
.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(1,68,35,0.08); }
.card.feature:hover { box-shadow: 0 14px 34px rgba(78,255,1,0.15); }
.card .icon {
  width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--lime), var(--teal), var(--lime));
  display: flex; align-items: center; justify-content: center;
}
.card .icon::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); }
.card.feature .icon::after { background: var(--void); }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; font-family: 'Unbounded', sans-serif; font-weight: 700; }
.card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }
.card.feature p { color: #b9c8be; }
.card a.more { display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 800; color: var(--teal); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.card.feature a.more { color: var(--lime); }

.map-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(0.85); }
address { font-style: normal; margin-top: 20px; font-size: 0.98rem; color: var(--ink-soft); }
address a { color: var(--forest); font-weight: 700; text-decoration: none; }

.ecosystem { display: flex; gap: 12px; flex-wrap: wrap; }
.ecosystem a {
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px 22px;
  text-decoration: none; font-weight: 700; font-size: 0.92rem; background: #fff;
  display: flex; align-items: center; gap: 8px; transition: border-color .15s ease;
}
.ecosystem a:hover { border-color: var(--teal); }

footer { padding: 36px 28px; text-align: center; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); background: var(--paper-2); }
footer .flinks { display: flex; gap: 18px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; font-weight: 700; }
footer .flinks a { text-decoration: none; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-family: 'Unbounded', sans-serif; font-size: 0.98rem; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.96rem; }

/* biometric guide illustration */
.guide-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.guide-visual { border: 1px solid var(--line); padding: 30px; display: flex; align-items: center; justify-content: center; background: var(--paper-2); }
.guide-rules { display: grid; gap: 16px; }
.guide-rule { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.guide-rule:last-child { border-bottom: 0; }
.guide-rule .n { font-family: 'Unbounded', sans-serif; font-weight: 800; color: var(--teal); font-size: 0.95rem; flex-shrink: 0; width: 26px; }
.guide-rule h4 { margin: 0 0 4px; font-size: 0.98rem; font-family: 'Unbounded', sans-serif; }
.guide-rule p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* reviews */
.reviews-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.stars { color: var(--urgent); font-size: 1.3rem; letter-spacing: 2px; }
.review-note {
  border: 1px dashed var(--line); padding: 22px; font-size: 0.92rem; color: var(--ink-soft);
  background: var(--paper-2);
}
.review-note strong { color: var(--ink); }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { border: 1px solid var(--line); padding: 22px; text-decoration: none; display: block; transition: border-color .15s ease; }
.post-card:hover { border-color: var(--teal); }
.post-card .cat { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--teal); margin-bottom: 10px; }
.post-card h3 { font-family: 'Unbounded', sans-serif; font-size: 1.02rem; margin: 0 0 8px; }
.post-card p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
article.post { max-width: 720px; margin: 0 auto; padding: 60px 28px; }
article.post h1 { font-family: 'Unbounded', sans-serif; font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1.15; }
article.post .meta { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 30px; }
article.post h2 { font-family: 'Unbounded', sans-serif; font-size: 1.4rem; margin-top: 40px; }
article.post p { font-size: 1.02rem; color: #2a352e; }
article.post ul { font-size: 1.02rem; color: #2a352e; }
article.post table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.94rem; }
article.post th, article.post td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }
article.post th { background: var(--paper-2); font-family: 'Unbounded', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .03em; }
article.post .note { background: var(--paper-2); border-left: 3px solid var(--teal); padding: 14px 18px; font-size: 0.92rem; color: var(--ink-soft); margin: 24px 0; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card.wide { grid-column: span 1; }
  .eco-grid { grid-template-columns: 1fr; }
  .guide-wrap { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card.wide { grid-column: span 1; }
  .marquee { top: 57px; }
}
