:root {
  --paper: #f7f9fb;
  --paper-soft: #eef4f8;
  --ink: #061a3d;
  --muted: #617086;
  --cyan: #00cfe8;
  --line: rgba(6, 26, 61, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(6, 26, 61, 0.08);
  --icon-filter: none;
}

:root[data-theme="night"] {
  --paper: #020611;
  --paper-soft: #061a3d;
  --ink: #ffffff;
  --muted: #aeb8c9;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(8, 23, 49, 0.76);
  --shadow: 0 24px 80px rgba(0, 207, 232, 0.08);
  --icon-filter: invert(1);
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 207, 232, 0.18), transparent 22rem),
    linear-gradient(180deg, #fff 0%, var(--paper) 48%, var(--paper-soft) 100%);
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
}

:root[data-theme="night"] body {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 207, 232, 0.14), transparent 24rem),
    radial-gradient(circle at 84% 0%, rgba(6, 26, 61, 0.9), transparent 34rem),
    linear-gradient(180deg, #000 0%, var(--paper) 48%, var(--paper-soft) 100%);
}

html[dir="ltr"] body { font-family: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif; }

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(6, 26, 61, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 26, 61, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 68%);
}

:root[data-theme="night"] body::before {
  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);
}

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

:focus-visible {
  outline: 3px solid rgba(0, 207, 232, 0.78);
  outline-offset: 4px;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  overflow-x: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: fit-content;
}

.brand img { width: 154px; }
:root[data-theme="night"] .brand img { content: url("assets/jumeirapps-logo-white-cropped.png"); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.button,
.contact-form button,
.theme-toggle,
.carousel-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links .language-link,
.theme-toggle,
.carousel-btn { background: rgba(255, 255, 255, 0.64); }

.nav-links a:hover,
.button:hover,
.contact-form button:hover,
.theme-toggle:hover,
.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 207, 232, 0.72);
}

.theme-toggle,
.carousel-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

:root[data-theme="night"] .nav-links .language-link,
:root[data-theme="night"] .theme-toggle,
:root[data-theme="night"] .carousel-btn,
:root[data-theme="night"] .button.secondary { background: rgba(255, 255, 255, 0.06); }

.theme-icon,
.carousel-btn img,
.card-icon,
.feature-slide img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.theme-icon-night,
:root[data-theme="night"] .theme-icon-day { display: none; }
:root[data-theme="night"] .theme-icon-night {
  display: block;
  filter: brightness(0) saturate(100%) invert(60%) sepia(93%) saturate(1881%) hue-rotate(141deg) brightness(101%) contrast(101%);
}

:root[data-theme="night"] .carousel-btn {
  border-color: rgba(0, 207, 232, 0.32);
  background: rgba(0, 207, 232, 0.1);
}

:root[data-theme="night"] .carousel-btn img,
:root[data-theme="night"] .feature-slide img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(93%) saturate(1881%) hue-rotate(141deg) brightness(101%) contrast(101%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 88px);
  padding: 44px 0 72px;
}

.hero-copy,
.section-heading,
.contact-copy,
.legal-hero,
.legal-panel {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #008da0;
  font-size: 15px;
  font-weight: 700;
}

.eyebrow::before {
  width: 16px;
  height: 16px;
  background: url("assets/jumeirapps-mark.svg") center / contain no-repeat;
  content: "";
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title {
  display: inline-flex;
  align-items: flex-start;
  gap: 18px;
}

.hero-mark {
  flex: 0 0 auto;
  width: clamp(22px, 2.6vw, 34px);
  height: clamp(22px, 2.6vw, 34px);
  margin-top: 0.18em;
  background: url("assets/jumeirapps-mark.svg") center / contain no-repeat;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 { margin: 24px 0 14px; font-size: 24px; line-height: 1.35; }

.lead,
.contact-copy p,
.app-card p {
  color: var(--muted);
  line-height: 1.85;
}

.lead,
.contact-copy p { max-width: 650px; font-size: 19px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.identity-note {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.identity-note p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.identity-note strong {
  color: var(--ink);
}

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 700;
}

.button.primary,
.contact-form button {
  border-color: transparent;
  color: #00141b;
  background: var(--cyan);
}

.button.secondary { color: var(--ink); background: rgba(255, 255, 255, 0.64); }

.phone-preview { text-align: center; }

.phone-frame {
  position: relative;
  width: min(330px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(6, 26, 61, 0.16);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

:root[data-theme="night"] .phone-frame {
  border-color: rgba(0, 207, 232, 0.18);
  background: rgba(8, 23, 49, 0.72);
}

.phone-frame::before {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #06111f;
  content: "";
  transform: translateX(-50%);
}

:root[data-theme="night"] .phone-frame::before {
  background: #020611;
}

.phone-screen {
  min-height: 560px;
  padding: 76px 28px 34px;
  border: 1px solid rgba(6, 26, 61, 0.12);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 207, 232, 0.13), transparent 42%),
    linear-gradient(160deg, #fff 0%, #f9fbfc 100%);
}

:root[data-theme="night"] .phone-screen {
  border-color: rgba(0, 207, 232, 0.16);
  background:
    linear-gradient(135deg, rgba(0, 207, 232, 0.12), transparent 42%),
    linear-gradient(160deg, #081731 0%, #061a3d 100%);
}

.screen-top { display: flex; justify-content: space-between; margin: 18px 0 32px; }
.screen-top span:first-child { width: 34px; height: 12px; border-radius: 999px; background: var(--cyan); }
.screen-top span:last-child { width: 78px; height: 12px; border-radius: 999px; background: #d2d7de; }

.app-hero-line,
.app-hero-line.short,
.mini-card div span {
  height: 13px;
  border-radius: 999px;
  background: #cfd5de;
}

.app-hero-line { width: 84%; margin: 0 0 16px auto; background: #33415f; }
.app-hero-line.short { width: 54%; margin-bottom: 34px; }

.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(6, 26, 61, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.mini-card.primary-mini { border-color: rgba(0, 207, 232, 0.45); background: rgba(0, 207, 232, 0.08); }
.mini-card img {
  width: 24px;
  filter: var(--icon-filter);
  opacity: 0.82;
}
:root[data-theme="night"] .mini-card {
  border-color: rgba(0, 207, 232, 0.16);
  background: rgba(255, 255, 255, 0.045);
}
:root[data-theme="night"] .mini-card.primary-mini {
  border-color: rgba(0, 207, 232, 0.44);
  background: rgba(0, 207, 232, 0.08);
}
:root[data-theme="night"] .mini-card img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(93%) saturate(1881%) hue-rotate(141deg) brightness(101%) contrast(101%);
  opacity: 0.72;
}
.mini-card div { flex: 1; }
.mini-card div span { display: block; width: 100%; margin-bottom: 10px; }
.mini-card div span:last-child { width: 62%; margin-bottom: 0; }

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.mini-grid span {
  min-height: 76px;
  border: 1px solid rgba(6, 26, 61, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 207, 232, 0.08), rgba(255, 255, 255, 0.7));
}

:root[data-theme="night"] .mini-grid span {
  border-color: rgba(0, 207, 232, 0.14);
  background: linear-gradient(135deg, rgba(0, 207, 232, 0.08), rgba(255, 255, 255, 0.04));
}

.phone-preview p { margin: 24px 0 0; color: #008da0; font-weight: 700; }

.featured,
.cards,
.about-studio,
.product-focus,
.portfolio,
.vision,
.trust-panel,
.contact { padding: 82px 0; }

.section-heading { margin-bottom: 28px; }

.section-intro {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.feature-slide {
  display: none;
  align-items: center;
  gap: 22px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-slide.active { display: flex; }
.feature-slide img {
  width: 42px;
  height: 42px;
  filter: var(--icon-filter);
  opacity: 0.86;
}
:root[data-theme="night"] .feature-slide img {
  opacity: 0.76;
}
.slide-kicker { margin-bottom: 8px; color: #008da0; font-weight: 700; }
.feature-slide h3 { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-card:hover { transform: translateY(-6px); border-color: rgba(0, 207, 232, 0.66); }
.app-card span { color: var(--cyan); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }

.about-panel {
  display: grid;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-panel p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 2;
}

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(0, 207, 232, 0.28);
  border-radius: 999px;
  color: #008da0;
  font-size: 14px;
  font-weight: 800;
  background: rgba(0, 207, 232, 0.07);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-story,
.use-cases article,
.trust-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-story {
  padding: 30px;
  border-radius: 18px;
}

.product-story h3 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.22;
}

.product-story p,
.use-cases p,
.trust-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.use-cases {
  display: grid;
  gap: 14px;
}

.use-cases article {
  min-height: 136px;
  padding: 22px;
  border-radius: 8px;
}

.use-cases span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.use-cases h3 {
  margin: 12px 0 8px;
}

.use-cases p {
  margin: 0;
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.portfolio-list {
  display: grid;
  gap: 22px;
}

.product-suite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.91fr));
  gap: 18px;
  align-items: stretch;
}

.product-lane {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-lane-featured {
  border-color: rgba(0, 207, 232, 0.32);
}

.product-lane h3 {
  margin-top: 0;
  font-size: 30px;
  line-height: 1.24;
}

.product-lane p,
.product-lane li {
  color: var(--muted);
  line-height: 1.8;
}

.product-lane ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-inline-start: 22px;
}

.portfolio-copy {
  min-width: 0;
}

.portfolio-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid rgba(0, 207, 232, 0.34);
  border-radius: 999px;
  color: #008da0;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 207, 232, 0.08);
}

.portfolio-copy h3 {
  margin-top: 0;
  font-size: 34px;
  line-height: 1.2;
}

.portfolio-copy p,
.portfolio-copy li,
.portfolio-visual p {
  color: var(--muted);
  line-height: 1.8;
}

.portfolio-copy ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-inline-start: 22px;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portfolio-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(6, 26, 61, 0.08);
  border-radius: 16px;
  text-align: center;
  background: #ffffff;
}

:root[data-theme="night"] .portfolio-visual {
  border-color: rgba(0, 207, 232, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

#furjan .portfolio-visual {
  align-self: center;
  min-height: auto;
  padding: 20px;
  border-color: rgba(6, 26, 61, 0.08);
  background: #ffffff !important;
  background-image: none !important;
}

:root[data-theme="night"] #furjan .portfolio-visual {
  border-color: rgba(0, 207, 232, 0.16);
  background: rgba(255, 255, 255, 0.045) !important;
}

:root[data-theme="night"] .portfolio-visual > img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(93%) saturate(1881%) hue-rotate(141deg) brightness(101%) contrast(101%);
}

.portfolio-visual img {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  filter: var(--icon-filter);
}

.portfolio-logo {
  width: min(190px, 100%);
  overflow: hidden;
}

.portfolio-logo img {
  width: 100%;
  height: auto;
  margin: 0;
  filter: none;
}

:root[data-theme="night"] .furjan-logo {
  content: url("assets/furjan/furjan-logo-dark.svg");
  filter: none;
}

.portfolio-visual span {
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.portfolio-visual p {
  margin: 6px 0 0;
  font-size: 14px;
}

.vision {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.vision p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 2;
}

.trust-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
}

.trust-panel p {
  margin: 0;
}

.trust-panel strong {
  color: var(--ink);
}

.trust-panel a {
  flex: 0 0 auto;
  color: #008da0;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 42px;
  align-items: start;
}

.contact-copy a { color: #008da0; font-weight: 700; }

.official-contacts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.official-contacts p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.official-contacts span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.official-contacts a {
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}

:root[data-theme="night"] .contact-form input,
:root[data-theme="night"] .contact-form textarea { background: rgba(255, 255, 255, 0.06); }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-note { display: none; margin: 0; font-size: 14px; line-height: 1.6; }
.contact-form.is-success .form-note.success { display: block; color: #008da0; }
.contact-form.is-error .form-note.error { display: block; color: #b42318; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-identity {
  display: grid;
  gap: 6px;
  line-height: 1.7;
}

.footer-identity strong {
  color: var(--ink);
  font-size: 15px;
}

.footer-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.46);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 207, 232, 0.66);
  color: #008da0;
}

.footer-social img {
  width: 20px;
  height: 20px;
  filter: var(--icon-filter);
}

.legal-shell > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal-shell {
  min-height: 100vh;
}

.legal-hero {
  padding: 80px 0 42px;
}

.product-page-hero {
  max-width: none;
}

.product-features {
  padding-top: 24px;
}

.furjan-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.furjan-hero-copy {
  min-width: 0;
}

.furjan-map-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.map-status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 207, 232, 0.34);
  border-radius: 999px;
  color: #008da0;
  font-size: 13px;
  font-weight: 800;
  background: rgba(0, 207, 232, 0.08);
}

html[dir="rtl"] .map-status {
  justify-self: end;
}

.map-field {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(6, 26, 61, 0.09);
  border-radius: 22px;
  background:
    linear-gradient(rgba(6, 26, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 26, 61, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 54%, rgba(0, 207, 232, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 244, 248, 0.66));
  background-size: 42px 42px, 42px 42px, auto, auto;
}

:root[data-theme="night"] .map-field {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 54%, rgba(0, 207, 232, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(7, 20, 42, 0.92), rgba(6, 26, 61, 0.72));
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.range-ring {
  position: absolute;
  left: 50%;
  top: 54%;
  border: 1px solid;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.range-one {
  width: 34%;
  aspect-ratio: 1;
  border-color: rgba(16, 71, 62, 0.42);
  background: rgba(16, 71, 62, 0.05);
}

.range-five {
  width: 58%;
  aspect-ratio: 1;
  border-color: rgba(0, 207, 232, 0.38);
  background: rgba(0, 207, 232, 0.045);
}

.range-ten {
  width: 84%;
  aspect-ratio: 1;
  border-color: rgba(6, 26, 61, 0.12);
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(6, 26, 61, 0.1);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(6, 26, 61, 0.08);
}

:root[data-theme="night"] .map-pin {
  background: rgba(255, 255, 255, 0.1);
}

.user-pin {
  left: 50%;
  top: 54%;
  color: #00141b;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.pin-food { left: 58%; top: 38%; }
.pin-tailor { left: 34%; top: 56%; }
.pin-shop { left: 66%; top: 70%; }
.pin-service { left: 22%; top: 28%; }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.46);
}

:root[data-theme="night"] .map-legend span {
  background: rgba(255, 255, 255, 0.06);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-one { background: #10473e; }
.dot-five { background: var(--cyan); }
.dot-ten { background: #617086; }

.furjan-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ja-map-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  direction: rtl;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ja-map-card.ltr { direction: ltr; }

.ja-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ja-map-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.ja-map-title::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 207, 232, 0.42);
  content: "";
}

.ja-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ja-map-card.ltr .ja-map-legend { justify-content: flex-start; }

.ja-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ja-legend-item:hover,
.ja-legend-item.active {
  color: #008da0;
  border-color: rgba(0, 207, 232, 0.18);
  background: rgba(0, 207, 232, 0.08);
}

.ja-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.ja-dot.cyan { background: var(--cyan); }
.ja-dot.green { background: #10473e; }

.ja-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: rgba(248, 250, 252, 0.92);
  background-image: radial-gradient(rgba(6, 26, 61, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

:root[data-theme="night"] .ja-map-canvas {
  background-color: rgba(7, 20, 42, 0.92);
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.ja-road {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: rgba(6, 26, 61, 0.018);
}

:root[data-theme="night"] .ja-road { background: rgba(255, 255, 255, 0.025); }

.ja-road.h-main {
  top: 50%;
  width: 100%;
  height: 10px;
  border-top: 1px dashed rgba(6, 26, 61, 0.04);
  border-bottom: 1px dashed rgba(6, 26, 61, 0.04);
  transform: translateY(-50%);
}

.ja-road.v-main {
  left: 50%;
  width: 10px;
  height: 100%;
  border-left: 1px dashed rgba(6, 26, 61, 0.04);
  border-right: 1px dashed rgba(6, 26, 61, 0.04);
  transform: translateX(-50%);
}

.ja-road.d-sec {
  top: 20%;
  left: -25%;
  width: 150%;
  height: 6px;
  border-top: 1px dashed rgba(6, 26, 61, 0.04);
  border-bottom: 1px dashed rgba(6, 26, 61, 0.04);
  transform: rotate(-12deg);
}

.ja-house-dot {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.16;
  pointer-events: none;
}

.ja-proximity-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  border: 1.5px dashed var(--line);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ja-proximity-ring.ring-1 {
  width: 30%;
  height: 30%;
  border-color: rgba(16, 71, 62, 0.32);
}

.ja-proximity-ring.ring-2 {
  width: 56%;
  height: 56%;
  border-color: rgba(0, 207, 232, 0.32);
}

.ja-proximity-ring.ring-3 {
  width: 82%;
  height: 82%;
}

.ja-proximity-ring.active {
  border-color: var(--cyan);
  background: rgba(0, 207, 232, 0.045);
  box-shadow: 0 0 0 1px rgba(0, 207, 232, 0.12), inset 0 0 28px rgba(0, 207, 232, 0.06);
}

.ja-ring-label {
  position: absolute;
  z-index: 3;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%);
}

:root[data-theme="night"] .ja-ring-label {
  background: rgba(7, 20, 42, 0.88);
}

.ja-map-card.ltr .ja-ring-label {
  transform: translate(-50%, -50%);
}

.ja-proximity-ring.active + .ja-ring-label {
  color: #008da0;
  border-color: rgba(0, 207, 232, 0.22);
  background: rgba(0, 207, 232, 0.08);
}

.ja-map-pin {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.ja-pin-circle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 207, 232, 0.2);
  border-radius: 50%;
  color: #10473e;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(6, 26, 61, 0.1);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

:root[data-theme="night"] .ja-pin-circle {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ja-pin-circle svg,
.ja-pin-circle img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.ja-pin-circle svg {
  fill: currentColor;
}

.ja-pin-circle img {
  filter: none;
}

:root[data-theme="night"] .ja-pin-circle img {
  filter: invert(1);
}

.ja-map-pin:not(.pin-center):hover .ja-pin-circle img,
.ja-map-pin.selected .ja-pin-circle img {
  filter: none;
}

.ja-map-pin.pin-center {
  z-index: 8;
  width: 42px;
  height: 42px;
}

.ja-map-pin.pin-center .ja-pin-circle {
  width: 42px;
  height: 42px;
  color: #00141b;
  border-color: transparent;
  background: var(--cyan);
}

.ja-pin-pulse {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: rgba(0, 207, 232, 0.18);
  animation: jaPulse 2.6s ease-in-out infinite;
}

@keyframes jaPulse {
  0%, 100% { opacity: 0.38; transform: scale(0.9); }
  50% { opacity: 0.08; transform: scale(1.22); }
}

.ja-map-pin:not(.pin-center):hover,
.ja-map-pin.selected {
  z-index: 12;
  transform: translate(-50%, -50%) scale(1.08);
}

.ja-map-pin:not(.pin-center):hover .ja-pin-circle,
.ja-map-pin.selected .ja-pin-circle {
  color: #00141b;
  border-color: transparent;
  background: var(--cyan);
}

.ja-map-canvas.has-selected .ja-map-pin:not(.selected):not(.pin-center) {
  opacity: 0.42;
}

.ja-map-tooltip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 15;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(6, 26, 61, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

:root[data-theme="night"] .ja-map-tooltip {
  background: rgba(7, 20, 42, 0.94);
}

.ja-map-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.ja-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ja-tooltip-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.ja-tooltip-tag {
  padding: 2px 8px;
  border-radius: 999px;
  color: #008da0;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 207, 232, 0.08);
}

.ja-tooltip-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .ja-pin-pulse { animation: none; }
}

.legal-panel {
  margin-bottom: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin-bottom: 14px;
}

.legal-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.legal-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.64);
  transition: transform 180ms ease, border-color 180ms ease;
}

.legal-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 207, 232, 0.72);
}

:root[data-theme="night"] .legal-links a {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) and (max-device-width: 932px) {
  .hero,
  .contact,
  .furjan-hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .phone-frame { width: min(300px, 100%); }
  .cards { grid-template-columns: 1fr; }
  .furjan-detail-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-suite-grid { grid-template-columns: 1fr; }
  .portfolio-card { grid-template-columns: 1fr; }
  .legal-links { grid-template-columns: 1fr; }
}

@media (max-width: 640px), (hover: none) and (pointer: coarse) and (max-device-width: 932px) {
  .site-shell { width: min(362px, calc(100% - 28px)); }
  .site-header {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 18px;
  }
  .brand { align-self: flex-start; }
  html[dir="rtl"] .brand { align-self: flex-end; }
  .brand img { width: 176px; }
  .nav-links { justify-content: flex-start; gap: 8px; }
  html[dir="rtl"] .nav-links { justify-content: flex-end; }
  .nav-links a { min-height: 38px; padding: 0 10px; font-size: 13px; }
  h1 { font-size: 30px; line-height: 1.2; }
  .hero-title { gap: 10px; }
  .hero-mark {
    width: 18px;
    height: 18px;
    margin-top: 0.22em;
  }
  h2 { font-size: 28px; line-height: 1.24; }
  .lead, .contact-copy p { font-size: 17px; }
  .hero-copy,
  .legal-hero,
  .legal-panel,
  .contact-copy {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .lead,
  .legal-panel p,
  .identity-note p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .identity-note { padding: 16px; }
  .identity-note p { font-size: 15px; }
  .about-panel { padding: 22px; }
  .about-panel p { font-size: 17px; line-height: 1.9; }
  .section-intro { font-size: 16px; }
  .product-story { padding: 22px; }
  .product-story h3 { font-size: 28px; }
  .carousel { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .feature-slide { min-height: 220px; align-items: flex-start; flex-direction: column; }
  .phone-screen { min-height: 500px; padding: 74px 20px 28px; }
  .mini-grid span { min-height: 64px; }
  .portfolio-card { padding: 22px; }
  .portfolio-copy h3 { font-size: 28px; }
  .product-lane { min-height: auto; padding: 22px; }
  .product-lane h3 { font-size: 26px; }
  .portfolio-actions .button { width: 100%; }
  .portfolio-visual { min-height: 220px; }
  .trust-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-hero { padding: 48px 0 28px; }
  .furjan-map-card { padding: 16px; }
  .map-field { min-height: 260px; }
  .map-pin { min-height: 28px; padding: 0 9px; font-size: 11px; }
  .pin-service { left: 18%; top: 24%; }
  .pin-shop { left: 64%; top: 74%; }
  .ja-map-card { padding: 14px; }
  .ja-map-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .ja-map-card.ltr .ja-map-header { align-items: flex-start; }
  html[dir="rtl"] .ja-map-header { align-items: flex-end; }
  .ja-map-legend { justify-content: flex-start; }
  html[dir="rtl"] .ja-map-legend { justify-content: flex-end; }
  .ja-map-canvas {
    min-height: 260px;
    aspect-ratio: 1 / 1;
  }
  .ja-ring-label { font-size: 9px; }
  .ja-map-pin,
  .ja-pin-circle {
    width: 30px;
    height: 30px;
  }
  .ja-map-pin.pin-center,
  .ja-map-pin.pin-center .ja-pin-circle {
    width: 38px;
    height: 38px;
  }
  .legal-panel { padding: 22px; }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-nav { justify-content: flex-start; }
  .footer-social { justify-content: flex-start; }
  .legal-shell > footer { flex-direction: column; }
}
