/* ============================================================
   Gigatel RADIUS Manager — marketing site
   Palette lifted directly from the product's own dark theme
   (frontend/src/index.css --primary / --background / --accent)
   ============================================================ */

:root {
  --bg: #080d16;
  --bg-soft: #0b111c;
  --card: #101623;
  --card-hover: #131b2a;
  --border: #202c3c;
  --border-soft: #182233;
  --text: #eaf2f8;
  --text-dim: #93a4b8;
  --text-dimmer: #64758a;
  --primary: #22d3ee;
  --primary-strong: #06b6d4;
  --primary-soft: rgba(34, 211, 238, 0.12);
  --accent: #f6a93b;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);

  --container: 1160px;
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-dim); }
ul { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- background layers ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: 0; pointer-events: none; border-radius: 50%;
  filter: blur(120px); opacity: 0.35;
}
.bg-glow--one { width: 560px; height: 560px; top: -180px; left: -120px; background: var(--primary); }
.bg-glow--two { width: 480px; height: 480px; top: 260px; right: -160px; background: var(--accent); opacity: 0.16; }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #04222a;
  box-shadow: 0 8px 24px -8px rgba(34, 211, 238, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(34, 211, 238, 0.7); }
.btn--outline { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.02); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn--ghost { color: var(--text-dim); padding: 10px 12px; }
.btn--ghost:hover { color: var(--text); }
.lang-switch { border: 1px solid var(--border); border-radius: 10px; }
.lang-switch:hover { border-color: var(--primary); }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { font-size: 17px; }
.text-gradient {
  background: linear-gradient(100deg, var(--primary) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  background: rgba(8, 13, 22, 0.55);
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-color: var(--border-soft); background: rgba(8, 13, 22, 0.86); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 30px; width: auto; border-radius: 6px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand__name span { color: var(--text-dim); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--text-dim); font-weight: 500; transition: color .18s ease; }
.nav__links a:hover { color: var(--text); }

.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ============ HERO ============ */
.hero { position: relative; z-index: 1; padding: 96px 0 60px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.hero__lede { font-size: 18px; max-width: 480px; }
h1 { font-size: clamp(36px, 5vw, 58px); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 40px; }

.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--font-display); font-size: 15px; }
.hero__stats span { font-size: 12.5px; color: var(--text-dimmer); }

/* ---- hero visual: fake dashboard ---- */
.hero__visual { position: relative; }
.mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.mockup__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid var(--border-soft);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--r { background: #f87171; } .dot--y { background: #fbbf24; } .dot--g { background: #34d399; }
.mockup__url { margin-left: 10px; font-size: 11.5px; color: var(--text-dimmer); font-family: monospace; }

.mockup__body { display: flex; min-height: 340px; }
.mockup__side { width: 92px; padding: 16px 12px; border-right: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 10px; }
.mline { height: 7px; border-radius: 5px; background: var(--border); width: 100%; }
.mline--brand { background: var(--primary); opacity: .6; width: 60%; }
.mline--gap { margin-top: 10px; }

.mockup__main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mcard {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px;
}
.mcard__label { font-size: 10.5px; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: .04em; }
.mcard__value { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.mcard__trend { font-size: 10.5px; color: var(--text-dimmer); }
.mcard__trend.up { color: var(--success); }

.mchart { height: 100px; border-radius: 10px; border: 1px solid var(--border-soft); background: rgba(255,255,255,0.015); padding: 8px; }
.mchart svg { width: 100%; height: 100%; }

.mmap { position: relative; flex: 1; min-height: 90px; border-radius: 10px; border: 1px solid var(--border-soft); overflow: hidden; background: rgba(255,255,255,0.015); }
.mmap__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 18px 18px;
}
.mmap__node { position: absolute; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%,-50%); }
.mmap__node--online { background: var(--success); box-shadow: 0 0 0 5px rgba(52,211,153,0.18); }
.mmap__node--warn { background: var(--warn); box-shadow: 0 0 0 5px rgba(251,191,36,0.18); }
.mmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mmap__lines line { stroke: rgba(34,211,238,0.35); stroke-width: 0.5; }

.floatie {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 13px; font-size: 12.5px; box-shadow: var(--shadow-glow);
  animation: floaty 5s ease-in-out infinite;
}
.floatie--top { top: -18px; right: -10px; animation-delay: .3s; }
.floatie--bottom { bottom: -16px; left: -18px; animation-delay: 1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ HARDWARE COMPATIBILITY ============ */
.vendors { position: relative; z-index: 1; padding: 90px 0 40px; }
.vendors__head { max-width: 640px; margin-bottom: 44px; }
.vendors__head h2 { font-size: clamp(26px, 3.2vw, 34px); }
.vendors__head p { font-size: 15.5px; }

/* ---- vendor logos: cards that cascade in on scroll ---- */
.vendorgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vendorcard {
  display: flex; align-items: center; justify-content: center; height: 92px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  padding: 20px; transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.vendorcard:hover { border-color: rgba(34,211,238,0.35); transform: translateY(-4px); background: var(--card-hover); }
.vendorcard img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; display: block;
  opacity: 1; filter: saturate(1); transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.vendorcard:hover img { opacity: .6; filter: saturate(0); transform: scale(1.06); }

@media (max-width: 900px) {
  .vendorgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .vendorgrid { grid-template-columns: repeat(2, 1fr); }
  .vendorcard { height: 76px; padding: 14px; }
}

/* ============ PLATFORM PILLARS ============ */
.platform { position: relative; z-index: 1; padding: 110px 0 40px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color .2s ease, transform .2s ease;
}
.pillar:hover { border-color: var(--border-soft); transform: translateY(-4px); }
.pillar__num { font-family: var(--font-display); font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.pillar h3 { font-size: 19px; }
.pillar p { font-size: 14.5px; margin: 0; }

/* ============ FEATURES BENTO ============ */
.features { position: relative; z-index: 1; padding: 90px 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard {
  grid-column: span 1;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.bcard:hover { border-color: rgba(34,211,238,0.35); transform: translateY(-4px); background: var(--card-hover); }
.bcard--wide { grid-column: span 2; }
.bcard__icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 16px;
}
.bcard__icon svg { width: 21px; height: 21px; }
.bcard h3 { font-size: 17px; margin-bottom: 8px; }
.bcard p { font-size: 14px; margin: 0; }

/* ============ SPLIT SECTIONS ============ */
.split { position: relative; z-index: 1; padding: 70px 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split--reverse .split__visual { order: 1; }
.split h2 { font-size: clamp(26px, 3.2vw, 34px); }
.split p { font-size: 16px; }

.checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { padding-left: 28px; position: relative; font-size: 14.5px; color: var(--text-dim); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; border-radius: 5px; background: var(--primary-soft); color: var(--primary);
  font-size: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ---- network map visual ---- */
.mapcard {
  position: relative; height: 340px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--card); overflow: hidden; box-shadow: var(--shadow-glow);
}
.mapcard__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}
.mapcard__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard__lines line { stroke-width: 1; }
.mapcard__lines .ok { stroke: rgba(52,211,153,0.55); }
.mapcard__lines .warn { stroke: rgba(251,191,36,0.6); stroke-dasharray: 4 3; }
.mapcard__lines .off { stroke: rgba(248,113,113,0.5); stroke-dasharray: 4 3; }

.mapnode {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 7px;
  background: rgba(8,13,22,0.85); border: 1px solid var(--border-soft);
  padding: 5px 10px 5px 6px; border-radius: 999px; font-size: 11.5px; color: var(--text-dim);
  white-space: nowrap; backdrop-filter: blur(4px);
}
.mapnode i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.mapnode--ok i { background: var(--success); box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }
.mapnode--warn i { background: var(--warn); box-shadow: 0 0 0 4px rgba(251,191,36,0.18); }
.mapnode--off i { background: var(--danger); box-shadow: 0 0 0 4px rgba(248,113,113,0.18); }

/* ---- portal card visual ---- */
.portalcard {
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card);
  padding: 24px; box-shadow: var(--shadow-glow);
}
.portalcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.portalcard__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; }
.portalgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.portalstat {
  border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,0.015);
}
.portalstat span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dimmer); }
.portalstat strong { font-family: var(--font-display); font-size: 16px; }
.portalstat strong.ok { color: var(--success); }
.portalrow { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--text-dim); }
.portalrow span { width: 70px; flex-shrink: 0; }
.pbar { flex: 1; height: 6px; border-radius: 4px; background: var(--border-soft); overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-strong)); border-radius: 4px; }

/* ============ BILINGUAL ============ */
.bilingual { position: relative; z-index: 1; padding: 90px 0; text-align: center; }
.bilingual .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.rtl-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.rtl-demo__panel {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  background: var(--card); display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.rtl-demo__bar { display: flex; gap: 6px; margin-bottom: 6px; }
.rtl-demo__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.rtl-demo__bar span:first-child { background: var(--primary); }

/* ============ SECURITY ============ */
.security { position: relative; z-index: 1; padding: 90px 0; }
.security__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.security h2 { font-size: clamp(26px, 3.2vw, 34px); }
.secgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.secitem { display: flex; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--card); }
.secitem__icon { font-size: 22px; line-height: 1; }
.secitem h4 { font-size: 15px; margin-bottom: 6px; }
.secitem p { font-size: 13.5px; margin: 0; }

/* ============ CTA ============ */
.cta { position: relative; z-index: 1; padding: 90px 0 110px; }
.cta__inner { text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta p { font-size: 16px; max-width: 480px; margin: 0 auto 8px; }

/* ============ FOOTER ============ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border-soft); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 13.5px; color: var(--text-dim); }
.footer__links a:hover { color: var(--text); }
.footer__contact { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__contact a { font-size: 13.5px; color: var(--text-dim); transition: color .18s ease; }
.footer__contact a:hover { color: var(--primary); }
.footer__copy { font-size: 12.5px; color: var(--text-dimmer); }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-soft);
  color: var(--text-dim); transition: color .18s ease, border-color .18s ease;
}
.footer__social a:hover { color: var(--primary); border-color: rgba(34,211,238,0.35); }

.footer__legal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border-soft);
}
.footer__legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal-links a { font-size: 11px; color: var(--text-dimmer); transition: color .18s ease; }
.footer__legal-links a:hover { color: var(--text-dim); }

/* ============ LEGAL PAGES ============ */
.legal { position: relative; z-index: 1; padding: 150px 0 90px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal__updated { font-size: 13px; color: var(--text-dimmer); margin-bottom: 48px; }
.legal h2 { font-size: 20px; margin: 40px 0 14px; }
.legal p { font-size: 15px; line-height: 1.75; color: var(--text-dim); margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
[dir="rtl"] .legal ul { padding-left: 0; padding-right: 22px; }
.legal li { font-size: 15px; line-height: 1.7; color: var(--text-dim); }
.legal a { color: var(--primary); }
.legal a:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero__grid, .split__grid, .security__grid { grid-template-columns: 1fr; }
  .split--reverse .split__copy { order: 1; }
  .split--reverse .split__visual { order: 2; }
  .pillars { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bcard--wide { grid-column: span 2; }
  .rtl-demo { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav.is-open .nav__inner { flex-wrap: wrap; height: auto; padding-bottom: 4px; }
  .nav__links, .nav__cta { display: none; width: 100%; }
  .nav__burger { display: flex; }
  .nav.is-open { background: rgba(8,13,22,0.97); border-bottom: 1px solid var(--border-soft); }
  .nav.is-open .nav__links,
  .nav.is-open .nav__cta {
    display: flex; flex-direction: column; gap: 16px;
  }
  .nav.is-open .nav__links { order: 3; padding: 6px 0 18px; }
  .nav.is-open .nav__cta { order: 4; padding: 0 0 20px; }
  .bento { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: span 1; }
  .secgrid { grid-template-columns: 1fr; }
  .mockup__side { display: none; }
  .mcards { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
}

/* ============ RTL (Arabic) ============ */
[dir="rtl"] {
  --font-body: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cairo', var(--font-body);
}
[dir="rtl"] .bg-glow--one { left: auto; right: -120px; }
[dir="rtl"] .bg-glow--two { right: auto; left: -160px; }
[dir="rtl"] .mockup__url { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .mockup__side { border-right: none; border-left: 1px solid var(--border-soft); }
[dir="rtl"] .floatie--top { right: auto; left: -10px; }
[dir="rtl"] .floatie--bottom { left: auto; right: -18px; }
[dir="rtl"] .checklist li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .hero__lede { max-width: 520px; }

/* ============ DEMO REQUEST FORM ============ */
.demopanel {
  position: relative;
  max-width: 1000px;
  margin: 44px auto 0;
  text-align: left;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  background: var(--card);
}
[dir="rtl"] .demopanel { text-align: right; }

.demopanel__info {
  position: relative;
  padding: 40px 36px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--bg-soft);
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}
[dir="rtl"] .demopanel__info { border-right: none; border-left: 1px solid var(--border-soft); }
.demopanel__info h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 10px; line-height: 1.25; }
.demopanel__info > p { font-size: 14.5px; color: var(--text-dim); margin: 0; }
.demopanel__info .checklist { margin-top: 26px; }
.demopanel__info .checklist li { color: var(--text); font-size: 14px; }

.demopanel__contact {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demopanel__person { display: flex; align-items: center; gap: 12px; }
.demopanel__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #04222a; font-family: var(--font-display); font-weight: 700; font-size: 15px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.demopanel__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demopanel__person div { display: flex; flex-direction: column; }
.demopanel__person strong { font-size: 14px; }
.demopanel__person span { font-size: 12.5px; color: var(--text-dimmer); }
.demopanel__links { display: flex; flex-direction: column; gap: 6px; }
.demopanel__links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-dim); transition: color .18s ease;
}
.demopanel__links a:hover { color: var(--primary); }
.demopanel__links a svg { flex-shrink: 0; opacity: .8; }
.demopanel__location {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-dim);
}
.demopanel__location svg { flex-shrink: 0; opacity: .8; }

.demoform { padding: 40px 36px; }
.demoform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.demoform__field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.demoform__field label {
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.02em;
}
.demoform__field label .req { color: var(--primary); }
.demoform__field input,
.demoform__field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  width: 100%;
}
.demoform__field input:hover,
.demoform__field textarea:hover { border-color: var(--border-soft); background: var(--card-hover); }
.demoform__field input::placeholder,
.demoform__field textarea::placeholder { color: var(--text-dimmer); }
.demoform__field input:focus,
.demoform__field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
  background: var(--card-hover);
}
.demoform__field textarea { resize: vertical; min-height: 92px; }
.demoform__submit {
  width: 100%; justify-content: center; margin-top: 6px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.demoform__submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
p.demoform__note {
  font-size: 11.5px; color: var(--text-dimmer); margin-top: 26px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.demoform__note svg { opacity: .7; flex-shrink: 0; }
.demoform__status {
  display: none;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}
.demoform__status--ok { display: flex; background: rgba(52, 211, 153, 0.1); color: var(--success); border: 1px solid rgba(52, 211, 153, 0.3); }
.demoform__status--err { display: flex; background: rgba(248, 113, 113, 0.1); color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.3); }

@media (max-width: 860px) {
  .demopanel { grid-template-columns: 1fr; }
  .demopanel__info { border-right: none; border-bottom: 1px solid var(--border-soft); }
  [dir="rtl"] .demopanel__info { border-left: none; border-bottom: 1px solid var(--border-soft); }
  .demopanel__contact { margin-top: 26px; }
}
@media (max-width: 640px) {
  .demopanel__info, .demoform { padding: 26px 22px; }
  .demoform__row { grid-template-columns: 1fr; }
}

/* ============ PRODUCT SCREENSHOTS (live illustrated mockups) ============ */
.showcase { position: relative; z-index: 1; padding: 90px 0; }
.showcase__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.shotcard {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.shotcard:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); }

.shotcard__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid var(--border-soft);
}
.shotcard__url { margin-left: 10px; font-size: 11.5px; color: var(--text-dimmer); font-family: monospace; }
[dir="rtl"] .shotcard__url { margin-left: 0; margin-right: 10px; }

.shotcard__live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  color: var(--success); background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3); border-radius: 20px;
  padding: 3px 9px 3px 7px;
}
[dir="rtl"] .shotcard__live { margin-left: 0; margin-right: auto; }
.shotcard__live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--success);
  animation: pulseDot 1.6s ease-in-out infinite;
}

.shotcard__frame { position: relative; overflow: hidden; background: var(--bg); aspect-ratio: 16 / 13.4; }
.shotcard__frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px;
  background: linear-gradient(180deg, transparent, var(--bg-soft) 88%);
  pointer-events: none;
}

.shotcard__caption { padding: 16px 20px 20px; }
.shotcard__caption h4 { font-size: 15.5px; margin: 0 0 4px; }
.shotcard__caption p { font-size: 13.5px; color: var(--text-dim); margin: 0; }

@media (max-width: 640px) {
  .showcase__grid { grid-template-columns: 1fr; }
}

/* ---- shared mock UI primitives ---- */
.shotmock {
  position: absolute; inset: 0; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 11px;
}
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.sm-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: .03em;
  padding: 2px 7px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.sm-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.sm-pill--on { color: var(--success); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.28); }
.sm-pill--on::before { background: var(--success); animation: pulseDot 1.8s ease-in-out infinite; }
.sm-pill--off { color: var(--danger); background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.28); }
.sm-pill--off::before { background: var(--danger); }
.sm-pill--tag { color: var(--text-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft); }
.sm-pill--tag::before { display: none; }
.sm-dim { font-size: 9.5px; color: var(--text-dimmer); }

.sm-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sm-chip {
  font-size: 9px; color: var(--text-dim); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft); border-radius: 7px; padding: 4px 8px;
  display: flex; flex-direction: column; gap: 1px; min-width: 46px;
}
.sm-chip b { font-family: var(--font-display); font-size: 12.5px; color: var(--text); font-weight: 600; }

/* --- 1. dashboard mock --- */
.shotmock--dashboard { background: radial-gradient(120% 90% at 100% 0%, rgba(34,211,238,0.08), transparent 60%); flex-direction: row; gap: 12px; }
.sm-dash__main { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sm-dash__side { width: 96px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }

.sm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sm-stat {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-soft);
  border-radius: 9px; padding: 7px 8px; display: flex; flex-direction: column; gap: 2px;
}
.sm-stat__label { font-size: 8px; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-stat__value { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.sm-stat__trend { font-size: 8.5px; color: var(--text-dimmer); }
.sm-stat__trend.up { color: var(--success); }

.sm-panel {
  border-radius: 9px; border: 1px solid var(--border-soft); background: rgba(255,255,255,0.015);
  padding: 8px 9px; display: flex; flex-direction: column; gap: 6px;
}
.sm-panel__head { display: flex; align-items: center; justify-content: space-between; }
.sm-panel__title { font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }

.sm-chart { flex: 1; min-height: 54px; }
.sm-chart svg { width: 100%; height: 100%; overflow: visible; }
.sm-chart path.line {
  stroke-dasharray: 620; stroke-dashoffset: 620;
  animation: drawLine 2.2s ease-out .2s forwards;
}
.sm-chart circle.tip { animation: pulseDot 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.sm-bars { display: flex; flex-direction: column; gap: 5px; }
.sm-bar { display: grid; grid-template-columns: 58px 1fr 34px; align-items: center; gap: 6px; }
.sm-bar__label { font-size: 8.5px; color: var(--text-dimmer); font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir="rtl"] .sm-bar__label { font-family: var(--font-body); font-size: 9.5px; }
.sm-bar__track { height: 4px; border-radius: 4px; background: var(--border-soft); overflow: hidden; }
.sm-bar__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-strong)); animation: growBar 1.4s cubic-bezier(.2,.7,.3,1) both; }
.sm-bar__val { font-size: 8.5px; color: var(--text-dimmer); text-align: right; }
[dir="rtl"] .sm-bar__val { text-align: left; }
@keyframes growBar { from { width: 0 !important; } }

.sm-donut { position: relative; width: 64px; height: 64px; margin: 2px auto; }
.sm-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sm-donut circle.track { fill: none; stroke: var(--border-soft); stroke-width: 6; }
.sm-donut circle.val {
  fill: none; stroke: var(--success); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 176; stroke-dashoffset: 176;
  animation: drawDonut 1.6s cubic-bezier(.2,.7,.3,1) .2s forwards;
}
@keyframes drawDonut { to { stroke-dashoffset: 30; } }
.sm-donut__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sm-donut__label b { font-family: var(--font-display); font-size: 14px; }
.sm-donut__label span { font-size: 7px; color: var(--text-dimmer); text-transform: uppercase; }
.sm-donut__caption { text-align: center; font-size: 9px; color: var(--success); font-weight: 600; }

.sm-mini-row { display: flex; flex-direction: column; gap: 4px; }
.sm-mini { display: flex; align-items: center; justify-content: space-between; font-size: 9px; }
.sm-mini span:first-child { color: var(--text-dimmer); }
.sm-mini span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--text); }

/* --- 2. map mock --- */
.shotmock--map { padding: 0; }
.sm-map__topbar {
  position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; background: rgba(8,13,22,0.55); border-bottom: 1px solid var(--border-soft);
}
.sm-map__banner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  margin: 8px 14px 0; padding: 7px 11px; border-radius: 8px;
  background: rgba(34,211,238,0.07); border: 1px solid rgba(34,211,238,0.22);
  font-size: 9.5px; color: var(--text-dim);
}
.sm-map__banner b { color: var(--text); font-weight: 600; }
.sm-map { position: relative; flex: 1; overflow: hidden; }
.sm-map__area { position: absolute; inset: 0; overflow: hidden; }
.sm-map__terrain {
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 46% at 22% 30%, rgba(52,211,153,0.10), transparent 70%),
    radial-gradient(30% 40% at 78% 62%, rgba(34,211,238,0.08), transparent 70%),
    var(--bg-soft);
}
.sm-map__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}
.sm-map__zoom { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
[dir="rtl"] .sm-map__zoom { left: auto; right: 10px; }
.sm-map__zoom span {
  width: 20px; height: 20px; border-radius: 5px; background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-dim);
}
.sm-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-map__lines line { stroke-width: 1.4; }
.sm-map__lines line.on { stroke: var(--success); stroke-dasharray: 5 4; animation: dashFlow 1.4s linear infinite; }
.sm-map__lines line.off { stroke: var(--danger); stroke-dasharray: 4 4; opacity: .55; }
@keyframes dashFlow { to { stroke-dashoffset: -18; } }

.sm-tower { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sm-tower__dot { width: 12px; height: 12px; border-radius: 50%; position: relative; }
.sm-tower__dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: .5; animation: ripple 2.2s ease-out infinite;
}
.sm-tower--on .sm-tower__dot { background: var(--success); color: var(--success); box-shadow: 0 0 0 4px rgba(52,211,153,0.16); }
.sm-tower--warn .sm-tower__dot { background: var(--warn); color: var(--warn); box-shadow: 0 0 0 4px rgba(251,191,36,0.16); }
.sm-tower__label { font-size: 9px; color: var(--text-dim); background: rgba(8,13,22,0.72); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
@keyframes ripple { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

.sm-map__legend {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 12px;
  background: rgba(8,13,22,0.65); border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 6px 11px; backdrop-filter: blur(6px);
}
[dir="rtl"] .sm-map__legend { left: auto; right: 14px; }
.sm-map__legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--text-dim); }
.sm-map__legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sm-map__legend i.on { background: var(--success); }
.sm-map__legend i.warn { background: var(--warn); }

/* --- 3. topology mock --- */
.shotmock--topology { overflow-y: hidden; }
.sm-tree { display: flex; flex-direction: column; gap: 7px; }
.sm-node {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 6px 9px; font-size: 10.5px;
}
.sm-node__icon { display: inline-flex; flex-shrink: 0; color: var(--text-dimmer); }
.sm-node__icon svg { display: block; }
.sm-node--tower .sm-node__icon { color: var(--primary); }
.sm-node__name { font-family: monospace; font-size: 9.5px; color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-node--tower { border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.05); }
.sm-branch {
  margin-left: 14px; padding-left: 14px; border-left: 1px dashed var(--border);
  display: flex; flex-direction: column; gap: 7px;
}
[dir="rtl"] .sm-branch { margin-left: 0; padding-left: 0; margin-right: 14px; padding-right: 14px; border-left: none; border-right: 1px dashed var(--border); }
.sm-branch--nested { margin-top: 1px; }
[dir="rtl"] .sm-node__name { font-family: var(--font-body); font-size: 11px; font-weight: 500; }

.sm-radio-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.sm-radio-box {
  border: 1px solid var(--border-soft); border-radius: 8px; padding: 6px 8px;
  display: flex; flex-direction: column; gap: 2px; font-size: 9.5px;
}
.sm-radio-box b { font-family: monospace; font-size: 9.5px; color: var(--text); }
[dir="rtl"] .sm-radio-box b { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; }
.sm-radio-box span { font-size: 8.5px; color: var(--text-dimmer); }
.sm-radio-link { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sm-radio-link em { width: 22px; height: 1.5px; background: var(--danger); position: relative; font-style: normal; }
.sm-radio-link b { font-size: 7.5px; color: var(--danger); font-weight: 700; }
.sm-radio-link--up em { background: repeating-linear-gradient(90deg, var(--success) 0 4px, transparent 4px 7px); animation: dashFlow 1s linear infinite; }
.sm-radio-link--up b { color: var(--success); }

/* --- 4. access point detail mock --- */
.sm-ap__head { display: flex; align-items: center; gap: 10px; }
.sm-ap__gauge { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.sm-ap__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sm-ap__gauge circle.track { fill: none; stroke: var(--border-soft); stroke-width: 5; }
.sm-ap__gauge circle.val {
  fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 125.6; stroke-dashoffset: 125.6;
  animation: drawGauge 1.6s cubic-bezier(.2,.7,.3,1) .2s forwards;
}
.sm-ap__gauge span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; font-family: var(--font-display); }
@keyframes drawGauge { to { stroke-dashoffset: 32; } }
.sm-ap__meta { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-ap__meta strong { font-size: 12.5px; }
.sm-ap__meta span { font-size: 9.5px; color: var(--text-dimmer); font-family: monospace; }
.sm-freq { color: var(--primary); font-weight: 700; background: var(--primary-soft); padding: 1px 5px; border-radius: 4px; }
.sm-ap__badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
[dir="rtl"] .sm-ap__badges { align-items: flex-start; }

.sm-ap__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sm-tile {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-soft); border-radius: 8px;
  padding: 6px 8px; display: flex; flex-direction: column; gap: 1px;
}
.sm-tile span { font-size: 8px; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: .03em; }
.sm-tile b { font-family: var(--font-display); font-size: 13px; }

.sm-stations__head { display: grid; grid-template-columns: 1fr 60px 42px; gap: 8px; font-size: 8px; color: var(--text-dimmer); text-transform: uppercase; letter-spacing: .03em; padding: 0 1px; }
.sm-stations { display: flex; flex-direction: column; gap: 5px; }
.sm-station { display: grid; grid-template-columns: 1fr 60px 42px; align-items: center; gap: 8px; font-size: 10px; }
.sm-station__name { font-family: monospace; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[dir="rtl"] .sm-station__name { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; }
.sm-station__bar { height: 5px; border-radius: 4px; background: var(--border-soft); overflow: hidden; }
.sm-station__bar i { display: block; height: 100%; border-radius: 4px; animation: growBar 1.4s cubic-bezier(.2,.7,.3,1) both; }
.sm-station__bar i.good { background: var(--success); }
.sm-station__bar i.mid { background: var(--warn); }
.sm-station__bar i.low { background: var(--danger); }
.sm-station__db { text-align: right; font-family: monospace; font-weight: 600; }
[dir="rtl"] .sm-station__db { text-align: left; }
.sm-station__db.good { color: var(--success); }
.sm-station__db.mid { color: var(--warn); }
.sm-station__db.low { color: var(--danger); }

.sm-ifaces { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 1px; }
.sm-iface { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-family: monospace; color: var(--text-dim); }
.sm-iface i { width: 5px; height: 5px; border-radius: 50%; }
.sm-iface i.up { background: var(--success); }
.sm-iface i.down { background: var(--danger); }

@media (max-width: 900px) {
  .shotmock--dashboard { flex-direction: column; }
  .sm-dash__side { width: 100%; flex-direction: row; }
  .sm-dash__side > * { flex: 1; }
}
