/* ── Hero Animations ── */
.hero-visual {
  animation: heroFadeIn 1s ease 0.2s both;
}

.card-stack .pass-card.physical {
  animation: floatCard 5s ease-in-out infinite;
}

.card-stack .pass-card.digital {
  animation: floatCard 5s ease-in-out 1s infinite reverse;
}

.phone-mock {
  animation: floatPhone 4s ease-in-out 0.5s infinite;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}

.card-stack .pass-card.digital {
  animation-name: floatCardDigital;
}

@keyframes floatCardDigital {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}

@keyframes floatPhone {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

/* ── Header extras ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.35rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.btn-nav {
  padding: 0.55rem 1rem !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

.btn-login {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-login:hover {
  color: var(--white);
  border-color: var(--primary);
}

.lang-switch {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.lang-switch.is-active {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(94, 184, 232, 0.12);
}

/* ── RTL (Arabic) ── */
html[dir="rtl"] body,
html[dir="rtl"] .theme-rtl {
  font-family: "Cairo", "DM Sans", sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .logo-platform,
html[dir="rtl"] .section-header h2,
html[dir="rtl"] .stat-number {
  font-family: "Cairo", "Syne", sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .nav-desktop {
  margin-left: 0;
  margin-right: 1rem;
}

html[dir="rtl"] .nav-actions {
  margin-left: 0;
  margin-right: 0.35rem;
  padding-left: 0;
  padding-right: 0.65rem;
  border-left: none;
  border-right: 1px solid rgba(148, 163, 184, 0.22);
}

html[dir="rtl"] .branding-list li {
  padding-left: 0;
  padding-right: 1.35rem;
}

html[dir="rtl"] .branding-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .whatsapp-float {
  left: 1.25rem;
  right: auto;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .hero-text,
html[dir="rtl"] .section-header p,
html[dir="rtl"] .care-card p,
html[dir="rtl"] .feature-card p {
  line-height: 1.75;
}

.mobile-nav-cta {
  display: block !important;
  margin-top: 0.35rem;
  text-align: center !important;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 700 !important;
}

/* ── Gallery ── */
.gallery {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .gallery-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-item:hover {
  border-color: rgba(212, 116, 42, 0.35);
  transform: translateY(-3px);
}

.gallery-thumb {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bg-sidebar), var(--bg-card));
  border-bottom: 1px solid var(--border);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 1rem 1.25rem;
}

.gallery-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.gallery-item span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ── Video ── */
.video-section {
  background: var(--bg);
}

.video-showcase {
  max-width: 960px;
  margin: 0 auto;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.video-wrapper-real {
  aspect-ratio: 16/9;
  cursor: default;
  background: #0f1419;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 80px rgba(212, 116, 42, 0.08);
}

.video-wrapper-real video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0f1419;
}

.hero-cards-showcase {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
  margin: 0 auto;
}

.hero-card-img {
  position: absolute;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
  width: 58%;
  transition: transform 0.4s ease;
}

.hero-card-left {
  top: 8%;
  left: 0;
  transform: rotate(-10deg);
  z-index: 1;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-card-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42%;
  z-index: 3;
  border-radius: 20px;
  animation: floatPhone 4s ease-in-out 0.5s infinite;
}

.hero-card-right {
  bottom: 6%;
  right: 0;
  transform: rotate(8deg);
  z-index: 2;
  animation: floatCardDigital 5s ease-in-out 1s infinite reverse;
}

.hero-cards-showcase:hover .hero-card-left {
  transform: rotate(-6deg) translateY(-6px);
}

.hero-cards-showcase:hover .hero-card-right {
  transform: rotate(4deg) translateY(-6px);
}

.video-placeholder {
  text-align: center;
  padding: 2rem;
}

.video-play {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(212, 116, 42, 0.4);
  transition: transform var(--transition);
}

.video-wrapper:hover .video-play {
  transform: scale(1.08);
}

.video-placeholder p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.video-placeholder strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.testimonial-stars {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ── FAQ ── */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.35rem 1.15rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Price Calculator ── */
.calculator {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calculator-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.calculator-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.calculator-box select,
.calculator-box input[type="range"] {
  width: 100%;
  margin-bottom: 0.5rem;
}

.calculator-box input[type="range"] {
  accent-color: var(--primary);
}

.calc-demo-btn {
  width: 100%;
  margin-top: 1.25rem;
}

.range-value {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.calc-result {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.calc-result-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.calc-result-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
}

.calc-result-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

/* ── Newsletter ── */
.newsletter {
  background: linear-gradient(135deg, rgba(30, 85, 104, 0.2), rgba(212, 116, 42, 0.1));
  border-top: 1px solid var(--border);
}

.newsletter-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
}

.newsletter-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.newsletter-privacy {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.25rem;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.contact-thanks {
  border: 1px solid color-mix(in srgb, var(--success, #22c55e) 45%, transparent);
  background: color-mix(in srgb, var(--success, #22c55e) 12%, var(--surface, #0f172a));
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: thanksIn 0.35s ease;
}

.contact-thanks-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: var(--success, #22c55e);
}

.contact-thanks h3 {
  margin: 0 0 0.5rem;
  color: var(--white, #fff);
  font-size: 1.25rem;
}

.contact-thanks p {
  margin: 0;
  color: var(--gray-300, #cbd5e1);
  line-height: 1.55;
}

.contact-thanks-note {
  margin-top: 0.75rem !important;
  font-size: 0.9rem;
  color: var(--gray-500, #94a3b8) !important;
}

.thanks-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 1200;
  width: min(92vw, 420px);
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #0b1220;
  border: 1px solid color-mix(in srgb, var(--success, #22c55e) 40%, #334155);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #e2e8f0;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.thanks-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.thanks-toast strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 1rem;
}

.thanks-toast p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #cbd5e1;
}

@keyframes thanksIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thanks-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 6rem 1rem 3rem;
}

.thanks-card {
  max-width: 640px;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: color-mix(in srgb, #0f172a 88%, #1e293b);
  border: 1px solid color-mix(in srgb, #22c55e 28%, #334155);
}

.thanks-logo {
  display: block;
  margin: 0 auto 1.25rem;
  max-width: 200px;
  height: auto;
}

.thanks-card h1 {
  margin: 0.5rem 0 0.75rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.thanks-lead {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.thanks-card p {
  color: #94a3b8;
}

.thanks-contact {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid #334155;
  text-align: start;
}

.thanks-contact h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.thanks-contact p {
  margin: 0;
  line-height: 1.6;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .thanks-toast {
    bottom: 5.5rem;
  }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  min-width: 56px;
  height: 56px;
  padding: 0 1rem 0 0.85rem;
  background: #25d366;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), width var(--transition);
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(212, 116, 42, 0.45);
}

.whatsapp-float-icon {
  line-height: 1;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
  max-width: 120px;
  opacity: 1;
}

.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 20, 25, 0.96);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float:hover::after,
.whatsapp-float:focus-visible::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-float {
    padding: 0;
    width: 56px;
    min-width: 56px;
  }

  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float::after {
    display: none;
  }
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--bg-card);
  border-top: 1px solid var(--border-strong);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--gray-500);
  min-width: 240px;
}

.cookie-inner a {
  color: var(--primary);
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ── Industry page hero ── */
.page-hero {
  padding: 130px 0 4rem;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(30, 85, 104, 0.15) 0%, transparent 50%),
    var(--bg);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.page-content {
  padding: 3rem 0 5rem;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.page-content p,
.page-content li {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.industry-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.industry-card-link:hover {
  text-decoration: underline;
}

/* ── Pricing comparison table ── */
.pricing-compare-wrap {
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
}

.pricing-compare-title {
  text-align: center;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.pricing-compare-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.92rem;
  margin: 0 auto 1.6rem;
  max-width: 36rem;
  line-height: 1.5;
}

.pricing-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(165deg, rgba(94, 184, 232, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(8, 12, 22, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 18px 48px rgba(0, 0, 0, 0.35);
}

.pricing-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.pricing-compare th,
.pricing-compare td {
  padding: 0.95rem 1.05rem;
  text-align: center;
  border-bottom: 1px solid rgba(94, 184, 232, 0.08);
  vertical-align: middle;
}

.pricing-compare th:first-child,
.pricing-compare td:first-child {
  text-align: start;
  color: var(--gray-700);
  font-weight: 500;
  position: sticky;
  inset-inline-start: 0;
  z-index: 2;
  background: #0d1420;
  min-width: 11.5rem;
  max-width: 16rem;
}

.pricing-compare thead th {
  background: linear-gradient(180deg, rgba(94, 184, 232, 0.14), rgba(94, 184, 232, 0.06));
  color: var(--white);
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
  padding-block: 1.05rem;
}

.pricing-compare thead th:first-child {
  background: linear-gradient(180deg, rgba(94, 184, 232, 0.16), rgba(13, 20, 32, 0.95));
  z-index: 3;
}

.pricing-compare thead th.is-highlight,
.pricing-compare td.is-highlight {
  background: rgba(94, 184, 232, 0.06);
}

.pricing-compare thead th.is-highlight {
  background: linear-gradient(180deg, rgba(94, 184, 232, 0.22), rgba(94, 184, 232, 0.1));
  box-shadow: inset 0 -2px 0 var(--primary);
}

.pricing-compare tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015);
}

.pricing-compare tbody tr:nth-child(even) td:first-child {
  background: #0e1522;
}

.pricing-compare tbody tr:nth-child(even) td.is-highlight {
  background: rgba(94, 184, 232, 0.075);
}

.pricing-compare tbody tr:hover td {
  background: rgba(94, 184, 232, 0.05);
}

.pricing-compare tbody tr:hover td:first-child {
  background: #101826;
}

.pricing-compare tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-compare td.yes {
  color: var(--success);
  font-weight: 700;
  font-size: 1.05rem;
}

.pricing-compare td.yes span,
.pricing-compare .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success);
  font-size: 0.85rem;
  line-height: 1;
}

.pricing-compare td.no {
  color: var(--gray-500);
  opacity: 0.75;
}

.pricing-compare td.soft {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: normal;
  max-width: 7.5rem;
  margin-inline: auto;
}

.pricing-compare td.price-cell {
  color: var(--white);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.pricing-compare tbody tr.pricing-compare-accent td:first-child {
  color: var(--white);
  font-weight: 600;
}

[dir="rtl"] .pricing-compare th:first-child,
[dir="rtl"] .pricing-compare td:first-child {
  text-align: right;
}

/* ── Mobile sticky CTA ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(15, 20, 25, 0.96);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  gap: 0.65rem;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar .btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  body.has-mobile-cta {
    padding-bottom: 4.5rem;
  }

  .whatsapp-float {
    bottom: 5.5rem;
  }
}

@media (max-width: 1024px) {
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-login {
    display: none;
  }

  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 5rem;
  }

  .hero-cards-showcase {
    height: 300px;
    max-width: 320px;
  }

  .hero-card-img {
    width: 65%;
  }

  .hero-card-center {
    width: 48%;
  }
}

/* ── Professional polish ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.legal-pending {
  margin: 1rem 0 1.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: var(--gray-700);
  line-height: 1.55;
  font-size: 0.92rem;
}

.legal-pending strong {
  color: var(--white);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.75rem;
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.trust-item strong {
  color: var(--white);
  font-size: 0.95rem;
}

.trust-item span:last-child {
  color: var(--gray-500);
  font-size: 0.8rem;
}

.why-section {
  padding: 5rem 0;
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: rgba(212, 116, 42, 0.35);
  transform: translateY(-4px);
}

.why-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.why-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
}

.section-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.82rem;
  margin-top: 1.5rem;
  font-style: italic;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.value-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.page-stat {
  text-align: center;
  padding: 1.25rem;
  background: rgba(212, 116, 42, 0.08);
  border: 1px solid rgba(212, 116, 42, 0.2);
  border-radius: var(--radius);
}

.page-stat strong {
  display: block;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.page-stat span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.subpage-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.subpage-cta h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.subpage-cta p {
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 3rem;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.error-page p {
  color: var(--gray-500);
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.error-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .trust-bar-grid,
  .why-grid,
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .trust-bar-grid,
  .why-grid,
  .industries-grid,
  .values-grid,
  .page-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual,
  .card-stack .pass-card,
  .phone-mock {
    animation: none !important;
  }
}

/* ── Flyer / One-Pager (Print) ── */
.flyer-body {
  background: #fff;
  color: #111;
}

.flyer-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.flyer-toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.flyer-lang-links {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.flyer-lang-links a {
  min-width: 2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gray-300, #cbd5e1);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.flyer-lang-links a[aria-current="page"],
.flyer-lang-links a:hover {
  border-color: var(--primary);
  color: var(--white, #fff);
  background: color-mix(in srgb, var(--primary) 18%, transparent);
}

html[dir="rtl"] .flyer-page,
html[dir="rtl"] .flyer-list,
html[dir="rtl"] .flyer-table,
html[dir="rtl"] .flyer-footer {
  text-align: right;
}

html[dir="rtl"] .flyer-list {
  padding-right: 1.1rem;
  padding-left: 0;
}

.flyer-page {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 2.5rem;
  background: #fff;
  color: #1f2937;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.flyer-header {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 3px solid #d4742a;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.flyer-logo {
  width: auto;
  height: 64px;
  max-width: 280px;
  object-fit: contain;
  border-radius: 10px;
  background: linear-gradient(90deg, #dff5fb 0%, #f0e8ff 100%);
  padding: 6px 10px;
}

.flyer-brand {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.flyer-header h1 {
  font-size: 2rem;
  color: #0f1419;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.flyer-tagline {
  color: #d4742a;
  font-weight: 600;
  font-size: 1rem;
}

.flyer-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.flyer-copy h2,
.flyer-pricing h2 {
  font-size: 1.15rem;
  color: #0f1419;
  margin-bottom: 0.75rem;
}

.flyer-list {
  list-style: none;
  padding: 0;
}

.flyer-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.flyer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d4742a;
  font-weight: 700;
}

.flyer-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.flyer-visual img {
  max-width: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.flyer-visual-app {
  max-width: 140px !important;
}

.flyer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.flyer-table th,
.flyer-table td {
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.flyer-table thead th {
  background: #0f1419;
  color: #fff;
}

.flyer-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.flyer-note {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.flyer-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.flyer-branch {
  background: #f3f4f6;
  border-left: 4px solid #d4742a;
  padding: 0.75rem;
  font-size: 0.85rem;
}

.flyer-branch strong {
  display: block;
  color: #0f1419;
}

.flyer-branch span {
  color: #6b7280;
}

.flyer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 2px solid #0f1419;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.flyer-footer p {
  margin: 0.15rem 0;
  color: #374151;
}

.flyer-qr-placeholder {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.flyer-qr-img {
  width: 88px;
  height: 88px;
  display: block;
  margin-bottom: 0.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
}

.flyer-qr-box {
  width: 88px;
  height: 88px;
  border: 2px dashed #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  .no-print {
    display: none !important;
  }

  body.flyer-body {
    background: #fff;
  }

  .flyer-page {
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .flyer-page {
    margin: 1rem auto 2rem;
    padding: 1.25rem 1rem 1.75rem;
    border-radius: 10px;
  }

  .flyer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    text-align: start;
  }

  .flyer-logo {
    height: 48px;
    max-width: min(220px, 70vw);
  }

  .flyer-header h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .flyer-tagline {
    font-size: 0.92rem;
  }

  .flyer-hero-grid,
  .flyer-branches {
    grid-template-columns: 1fr;
  }

  .flyer-visual {
    justify-content: center;
  }

  .flyer-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: -0.15rem;
  }

  .flyer-table {
    min-width: 480px;
    font-size: 0.8rem;
  }

  /* Card-style pricing rows on narrow phones */
  @media (max-width: 560px) {
    .flyer-table-wrap {
      overflow: visible;
      margin-inline: 0;
    }

    .flyer-table,
    .flyer-table thead,
    .flyer-table tbody,
    .flyer-table th,
    .flyer-table td,
    .flyer-table tr {
      display: block;
      width: 100%;
      min-width: 0;
    }

    .flyer-table thead {
      display: none;
    }

    .flyer-table tr {
      border: 1px solid #e5e7eb;
      border-radius: 10px;
      margin-bottom: 0.65rem;
      padding: 0.65rem 0.75rem;
      background: #fff;
    }

    .flyer-table tbody tr:nth-child(even) {
      background: #f9fafb;
    }

    .flyer-table td {
      border: none;
      padding: 0.2rem 0;
      text-align: start;
    }

    .flyer-table td:first-child {
      font-weight: 700;
      color: #0f1419;
      font-size: 0.95rem;
      margin-bottom: 0.15rem;
    }

    .flyer-table td:nth-child(2)::before {
      content: "Preis: ";
      color: #6b7280;
      font-weight: 600;
    }

    .flyer-table td:nth-child(3)::before {
      content: "Ideal für: ";
      color: #6b7280;
      font-weight: 600;
    }

    html[lang="en"] .flyer-table td:nth-child(2)::before {
      content: "Price: ";
    }

    html[lang="en"] .flyer-table td:nth-child(3)::before {
      content: "Best for: ";
    }

    html[lang="ar"] .flyer-table td:nth-child(2)::before {
      content: "السعر: ";
    }

    html[lang="ar"] .flyer-table td:nth-child(3)::before {
      content: "مناسبة لـ: ";
    }
  }

  .flyer-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .flyer-toolbar-inner {
    gap: 0.65rem;
  }

  .flyer-toolbar-inner .btn {
    flex: 1 1 auto;
    min-height: 44px;
  }
}

/* ── Responsive: phones, tablets, small laptops ── */
html {
  scroll-padding-top: 88px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.hero-grid,
.section,
.pricing-grid {
  min-width: 0;
}

.header {
  padding-top: env(safe-area-inset-top, 0);
}

.header-tools .lang-switch {
  min-width: 2.4rem;
  text-align: center;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .header-tools .lang-switch-group {
    gap: 0.15rem;
  }

  .mobile-nav.open {
    max-height: min(calc(100dvh - var(--header-offset, 72px)), 720px);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 900px) {
  .container {
    padding-inline: 1rem;
  }

  .section-header h2 {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
  }

  .hero-quick-contact {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .hero-quick-link {
    flex: 1 1 auto;
    min-width: min(100%, 140px);
    justify-content: center;
    min-height: 44px;
  }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem;
  }

  .pricing-compare-scroll {
    margin-inline: 0;
    padding-bottom: 0.35rem;
  }

  .pricing-compare {
    min-width: 580px;
    font-size: 0.82rem;
  }

  .pricing-compare th,
  .pricing-compare td {
    padding: 0.75rem 0.7rem;
  }

  .pricing-compare th:first-child,
  .pricing-compare td:first-child {
    min-width: 9.5rem;
  }

  .pricing-compare td.soft {
    font-size: 0.72rem;
    max-width: 5.5rem;
  }

  .care-alert-list {
    gap: 0.45rem;
  }

  .faq-question {
    text-align: start;
    gap: 0.75rem;
    line-height: 1.35;
    min-height: 48px;
  }

  /* Show product cards earlier on phones: badge → title → cards → copy → CTAs */
  .hero-premium .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .hero-premium .hero-content {
    display: contents;
  }

  .hero-premium .hero-badge {
    order: 1;
    margin-inline: auto;
  }

  .hero-premium h1 {
    order: 2;
  }

  .hero-premium .hero-visual {
    order: 3;
    margin-top: 0.15rem;
    width: 100%;
    max-width: min(320px, 90vw);
    margin-inline: auto;
    align-self: center;
  }

  .hero-premium .hero-cards-showcase {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-premium .hero-text {
    order: 4;
    margin-inline: auto;
    max-width: 36rem;
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .hero-premium .hero-actions {
    order: 5;
    margin-inline: auto;
  }

  .hero-premium .hero-quick-contact {
    order: 6;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero.hero-premium,
  .hero {
    padding: 96px 0 40px;
  }

  .hero-cards-showcase {
    height: 250px;
    max-width: min(300px, 86vw);
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding-block: 0.85rem;
  }

  .cookie-banner {
    z-index: 1000;
    padding: 0.75rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  }

  .cookie-inner {
    gap: 0.65rem;
  }

  .cookie-inner p {
    min-width: 0;
    font-size: 0.76rem;
    line-height: 1.4;
    padding-inline-end: 0;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons .btn {
    flex: 1;
    min-height: 44px;
  }

  /* Keep WhatsApp clear of cookie banner */
  body:has(.cookie-banner.visible) .whatsapp-float {
    bottom: calc(9.5rem + env(safe-area-inset-bottom, 0));
  }

  body:has(.cookie-banner.visible) .mobile-cta-bar {
    bottom: auto;
    top: auto;
  }

  body:has(.cookie-banner.visible).has-mobile-cta .whatsapp-float {
    bottom: calc(9.5rem + env(safe-area-inset-bottom, 0));
  }

  body:has(.cookie-banner.visible) .mobile-cta-bar.visible {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats-bar .stats-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: clamp(1.05rem, 5vw, 1.4rem);
    word-break: break-word;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .trust-bar-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .trust-item {
    padding: 0.55rem 0.35rem;
  }

  .trust-item strong {
    font-size: 0.82rem;
  }

  .trust-item span:last-child {
    font-size: 0.72rem;
  }

  .why-grid,
  .features-grid,
  .care-grid,
  .roles-grid,
  .storyboard-grid,
  .testimonials-grid,
  .industries-grid {
    grid-template-columns: 1fr !important;
  }

  .branding-actions,
  .start-cta,
  .cta-actions,
  .hero-actions {
    width: 100%;
  }

  .branding-actions .btn,
  .start-cta .btn,
  .cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .contact-form .btn {
    min-height: 48px;
  }

  .mobile-cta-bar {
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0));
    gap: 0.55rem;
  }

  .mobile-cta-bar .btn {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0));
  }

  html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: max(0.85rem, env(safe-area-inset-left));
  }

  .calculator-box,
  .contact-form,
  .pricing-card {
    padding-inline: 1rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .preview-showcase,
  .browser-content img {
    border-radius: 12px;
  }

  .gallery-grid-5 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .header-tools .lang-switch {
    min-width: 2.15rem;
    padding: 0.4rem 0.35rem;
    font-size: 0.72rem;
  }

  .logo-img {
    max-width: min(120px, 34vw) !important;
    height: 36px !important;
  }

  .hero-cards-showcase {
    height: 220px;
    max-width: 100%;
  }

  .hero-card-img {
    width: 58%;
  }

  .hero-card-center {
    width: 42%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-desktop > a {
    font-size: 0.78rem;
  }

  .nav-desktop {
    gap: 0.25rem 0.55rem;
  }

  .btn-nav {
    padding: 0.45rem 0.75rem !important;
  }
}

/* ── WorkPass Lohn ── */
.lohn-section {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 0% 10%, rgba(94, 184, 232, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 90%, rgba(45, 212, 191, 0.08), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, var(--bg-card) 45%, #0b1220 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lohn-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 3rem;
}

.lohn-copy .section-tag {
  margin-bottom: 0.85rem;
}

.lohn-copy h2 {
  color: var(--white);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.lohn-lead {
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 42rem;
}

.lohn-lead strong {
  color: var(--white);
}

.lohn-steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.lohn-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(94, 184, 232, 0.16);
  border-radius: 14px;
  transition: border-color var(--transition), background var(--transition);
}

.lohn-steps li:hover {
  border-color: rgba(94, 184, 232, 0.4);
  background: rgba(24, 34, 52, 0.9);
}

.lohn-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(94, 184, 232, 0.25), rgba(45, 212, 191, 0.18));
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lohn-steps strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.lohn-steps span {
  display: block;
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.45;
}

.lohn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.lohn-cta-note {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin: 0;
}

.lohn-media {
  margin: 0;
}

.lohn-video-shell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #070b14;
  border: 1px solid rgba(94, 184, 232, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(94, 184, 232, 0.12);
}

.lohn-video-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.95), rgba(17, 24, 39, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lohn-video-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d4a5f;
}

.lohn-video-chrome span:nth-child(1) { background: #ff5f57; }
.lohn-video-chrome span:nth-child(2) { background: #febc2e; }
.lohn-video-chrome span:nth-child(3) { background: #28c840; }

.lohn-video-chrome em {
  margin-inline-start: 0.55rem;
  font-style: normal;
  color: var(--gray-500);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lohn-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.lohn-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #000;
  /* never cover/zoom — show full authored frame */
  transform: none;
}

.lohn-media figcaption {
  margin-top: 0.85rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.lohn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.lohn-card {
  position: relative;
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.35rem 1.2rem 1.25rem;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.lohn-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 184, 232, 0.55), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.lohn-card:hover {
  border-color: rgba(94, 184, 232, 0.35);
  background: rgba(24, 34, 52, 0.92);
  transform: translateY(-4px);
}

.lohn-card:hover::before {
  opacity: 1;
}

.lohn-card-index {
  display: block;
  color: rgba(94, 184, 232, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.lohn-card h3 {
  color: var(--white);
  font-size: 0.98rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.lohn-card p {
  color: var(--gray-500);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.lohn-card code {
  font-size: 0.8em;
  color: var(--primary);
}

.lohn-trust {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  text-align: center;
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.65;
  border: 1px solid rgba(94, 184, 232, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(94, 184, 232, 0.08), transparent 55%),
    rgba(17, 24, 39, 0.65);
}

html[dir="rtl"] .lohn-copy h2 {
  max-width: none;
}

@media (max-width: 1100px) {
  .lohn-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lohn-copy h2 {
    max-width: none;
  }

  .lohn-media {
    order: -1;
  }

  .lohn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lohn-section {
    padding: 4rem 0 3.5rem;
  }

  .lohn-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .lohn-grid {
    grid-template-columns: 1fr;
  }

  .lohn-video-chrome em {
    font-size: 0.72rem;
  }
}

/* ── Workforce Live Map ── */
.livemap-section {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 100% 20%, rgba(94, 184, 232, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(45, 212, 191, 0.08), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #0d1524 50%, #070b14 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.livemap-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: center;
}

.livemap-kicker {
  margin: 0.35rem 0 0.75rem;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.livemap-copy h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.livemap-lead {
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.livemap-lead strong {
  color: var(--white);
}

.livemap-points {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.livemap-points li {
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(94, 184, 232, 0.16);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.72);
}

.livemap-points strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.livemap-points span {
  display: block;
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.45;
}

.livemap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.livemap-note {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.5;
}

.livemap-shell {
  display: grid;
  grid-template-columns: 1fr 140px;
  grid-template-rows: auto 1fr;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(94, 184, 232, 0.28);
  background: #070b14;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(94, 184, 232, 0.1);
}

.livemap-chrome {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  background: linear-gradient(180deg, rgba(24, 34, 52, 0.95), rgba(17, 24, 39, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.livemap-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3d4a5f;
}

.livemap-chrome span:nth-child(1) { background: #ff5f57; }
.livemap-chrome span:nth-child(2) { background: #febc2e; }
.livemap-chrome span:nth-child(3) { background: #28c840; }

.livemap-chrome em {
  margin-inline-start: 0.55rem;
  font-style: normal;
  color: var(--gray-500);
  font-size: 0.78rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.livemap-pulse-dot {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b1220;
  background: #5eead4;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  animation: livemap-live-pulse 1.8s ease-in-out infinite;
}

@keyframes livemap-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); }
}

.livemap-canvas {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 40%, rgba(94, 184, 232, 0.12), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(45, 212, 191, 0.1), transparent 42%),
    linear-gradient(160deg, #0f1a2c 0%, #132033 55%, #0c1422 100%);
  overflow: hidden;
}

.livemap-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 184, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 184, 232, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}

.livemap-zone {
  position: absolute;
  border: 1px dashed rgba(94, 184, 232, 0.35);
  border-radius: 16px;
  background: rgba(94, 184, 232, 0.06);
}

.livemap-zone i {
  position: absolute;
  top: 0.45rem;
  inset-inline-start: 0.55rem;
  font-style: normal;
  font-size: 0.68rem;
  color: rgba(198, 220, 240, 0.75);
  letter-spacing: 0.02em;
}

.livemap-zone-a {
  left: 8%;
  top: 18%;
  width: 42%;
  height: 48%;
}

.livemap-zone-b {
  right: 10%;
  bottom: 14%;
  width: 36%;
  height: 38%;
}

.livemap-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.livemap-pin-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #5eb8e8;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(94, 184, 232, 0.5);
  animation: livemap-pin-pulse 2.4s ease-out infinite;
}

.livemap-pin-dot.is-warn {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
}

.livemap-pin-2 .livemap-pin-dot { animation-delay: 0.4s; }
.livemap-pin-3 .livemap-pin-dot { animation-delay: 0.8s; }
.livemap-pin-4 .livemap-pin-dot { animation-delay: 1.2s; }

@keyframes livemap-pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 184, 232, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(94, 184, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 184, 232, 0); }
}

.livemap-pin-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(7, 11, 20, 0.92);
  border: 1px solid rgba(94, 184, 232, 0.3);
  color: var(--gray-500);
  font-size: 0.68rem;
  line-height: 1.3;
}

.livemap-pin-card strong {
  display: block;
  color: var(--white);
  font-size: 0.72rem;
}

.livemap-pin-card.is-warn {
  border-color: rgba(245, 158, 11, 0.45);
}

.livemap-side {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 18, 32, 0.95);
  padding: 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.livemap-side-title {
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.livemap-side-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.8rem;
}

.livemap-side-row strong {
  color: var(--white);
  font-size: 0.92rem;
}

.livemap-side-row.is-warn strong {
  color: #fbbf24;
}

@media (max-width: 1100px) {
  .livemap-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .livemap-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .livemap-section {
    padding: 4rem 0 3.5rem;
  }

  .livemap-shell {
    grid-template-columns: 1fr;
  }

  .livemap-side {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem 1rem;
  }

  .livemap-side-title {
    grid-column: 1 / -1;
  }

  .livemap-canvas {
    min-height: 280px;
  }

  .livemap-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .livemap-pin-card {
    display: none;
  }
}

html[dir="rtl"] .livemap-zone-a {
  left: auto;
  right: 8%;
}

html[dir="rtl"] .livemap-zone-b {
  right: auto;
  left: 10%;
}

.livemap-visual {
  display: grid;
  gap: 0.9rem;
}

.livemap-shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(94, 184, 232, 0.22);
  background: #070b14;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(45, 212, 191, 0.08),
    0 0 60px rgba(94, 184, 232, 0.08);
  transform: translateZ(0);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.livemap-shot:hover {
  border-color: rgba(94, 236, 214, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(45, 212, 191, 0.12),
    0 0 70px rgba(94, 184, 232, 0.1);
}

.livemap-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 1024 / 401;
  object-fit: cover;
  object-position: center center;
}

.form-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--gray-500);
}

.livemap-shot figcaption {
  padding: 0.75rem 1.05rem 0.9rem;
  color: var(--gray-500);
  font-size: 0.84rem;
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(8, 12, 22, 0.98));
}

.livemap-shot-secondary {
  opacity: 0.96;
}

.livemap-tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.livemap-tech article {
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(94, 184, 232, 0.18);
  background: rgba(17, 24, 39, 0.72);
}

.livemap-tech strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.livemap-tech span {
  color: var(--gray-500);
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .livemap-tech {
    grid-template-columns: 1fr;
  }
}
