@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f8ff;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.86);
  --text: #0b1b37;
  --muted: #4d5f81;
  --line: rgba(18, 51, 104, 0.12);
  --primary: #0b63f6;
  --primary-dark: #0846b0;
  --shadow: 0 20px 50px rgba(5, 33, 74, 0.14);
}

@media (prefers-color-scheme: dark) {
  .landing-root {
    --bg: #061225;
    --surface: rgba(10, 21, 39, 0.68);
    --surface-strong: rgba(13, 28, 51, 0.9);
    --text: #eaf1ff;
    --muted: #9db5da;
    --line: rgba(158, 191, 246, 0.16);
    --primary: #5ea6ff;
    --primary-dark: #2b7ce8;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  }

  body:has(.landing-root) {
    color: #eaf1ff;
    background:
      radial-gradient(circle at 10% 10%, rgba(64, 167, 255, 0.2), transparent 46%),
      radial-gradient(circle at 85% 30%, rgba(0, 88, 255, 0.18), transparent 36%),
      radial-gradient(circle at 50% 90%, rgba(124, 180, 255, 0.2), transparent 38%),
      #061225;
  }
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Cairo', 'Segoe UI', sans-serif;
  color: var(--text);
  direction: rtl;
  background:
    radial-gradient(circle at 10% 10%, rgba(64, 167, 255, 0.18), transparent 46%),
    radial-gradient(circle at 85% 30%, rgba(0, 88, 255, 0.16), transparent 36%),
    radial-gradient(circle at 50% 90%, rgba(124, 180, 255, 0.18), transparent 38%),
    var(--bg);
}

body.mobile-menu-open {
  overflow: hidden;
}

html[dir='ltr'] body {
  direction: ltr;
}

a {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 80;
  transform-origin: 0%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #0b63f6, #35b8ff);
}

.landing-root {
  position: relative;
  overflow-x: clip;
}

.reveal-section,
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-card {
  transform: translateY(22px) scale(0.98);
}

.reveal-section.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.42;
  animation: orbFloat 16s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: 8%;
  left: -70px;
  background: radial-gradient(circle, rgba(84, 170, 255, 0.45), rgba(84, 170, 255, 0));
}

.orb-2 {
  width: 420px;
  height: 420px;
  top: 42%;
  right: -120px;
  background: radial-gradient(circle, rgba(13, 99, 246, 0.4), rgba(13, 99, 246, 0));
  animation-delay: 2.5s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  bottom: 4%;
  left: 38%;
  background: radial-gradient(circle, rgba(71, 193, 255, 0.36), rgba(71, 193, 255, 0));
  animation-delay: 1.1s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.05);
  }
}

.landing-root main,
.admin-page {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1160px, calc(100% - 48px));
  margin: 14px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 18px;
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 14px rgba(7, 55, 141, 0.28);
}

.top-nav nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-inline-start: auto;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(11, 99, 246, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.95));
  color: var(--text);
  box-shadow: 0 12px 28px rgba(8, 47, 111, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mobile-menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(8, 47, 111, 0.14);
  border-color: rgba(11, 99, 246, 0.2);
}

.mobile-menu-toggle-icon {
  display: inline-grid;
  gap: 4px;
}

.mobile-menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b63f6, #35b8ff);
}

.mobile-menu-toggle-label {
  font-size: 0.84rem;
  font-weight: 800;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 99, 246, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92));
  box-shadow:
    0 10px 24px rgba(8, 47, 111, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lang-switch-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #4b6897;
  white-space: nowrap;
}

.lang-switch-options {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.06);
}

.lang-switch-btn {
  min-width: 50px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lang-switch-btn:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch-btn.active {
  color: #fff;
  background: linear-gradient(125deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 18px rgba(11, 99, 246, 0.24);
}

.top-nav nav a {
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.top-nav nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0b63f6, #35b8ff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.top-nav nav a:hover {
  color: var(--text);
}

.top-nav nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(6, 18, 37, 0.28);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  pointer-events: none;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu:not([hidden]) {
  display: block;
}

.mobile-menu-panel {
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(145, 188, 244, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow:
    0 28px 65px rgba(5, 33, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateX(112%);
  transition: transform 240ms ease;
  pointer-events: auto;
  overflow: auto;
}

html[dir='ltr'] .mobile-menu-panel {
  right: auto;
  left: 12px;
  transform: translateX(-112%);
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-menu-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(7, 55, 141, 0.22);
}

.mobile-menu-brand strong,
.mobile-menu-brand span {
  display: block;
}

.mobile-menu-brand strong {
  font-size: 1rem;
}

.mobile-menu-brand span {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

.mobile-menu-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 51, 104, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-links {
  display: grid;
  gap: 10px;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 51, 104, 0.1);
  box-shadow: 0 14px 28px rgba(9, 44, 102, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mobile-menu-links a::after {
  content: '\2039';
  font-size: 1.1rem;
  color: var(--primary);
}

html[dir='ltr'] .mobile-menu-links a::after {
  content: '\203A';
}

.mobile-menu-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 99, 246, 0.22);
  box-shadow: 0 18px 36px rgba(9, 44, 102, 0.12);
}

.hero {
  min-height: 60vh;
  display: grid;
  align-items: center;
  padding: 34px 0 14px;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: relative;
  isolation: isolate;
  min-height: clamp(340px, 46vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 42px;
  perspective: 1000px;
}

.hero-media::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 18%;
  width: 42%;
  height: 74%;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(188, 225, 255, 0.2) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(35%) rotate(10deg);
  opacity: 0.42;
  filter: blur(1px);
  animation: heroSweep 8.4s ease-in-out infinite;
  z-index: 4;
}

.hero-media-grid {
  position: absolute;
  inset: 8% 3% 8% 9%;
  border-radius: 24px;
  z-index: 0;
  border: 1px solid rgba(116, 184, 255, 0.25);
  background-image:
    linear-gradient(rgba(123, 189, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 189, 255, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.32;
  filter: blur(0.2px);
  animation: heroGridShift 18s linear infinite;
}

.hero-media-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(111, 185, 255, 0.4);
  pointer-events: none;
  z-index: 1;
  animation: heroRingPulse 7s ease-in-out infinite;
}

.hero-media-ring-1 {
  width: 190px;
  height: 190px;
  top: -24px;
  right: -22px;
}

.hero-media-ring-2 {
  width: 140px;
  height: 140px;
  bottom: 22px;
  left: -18px;
  animation-delay: 1.6s;
}

.hero-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
  animation: heroPulse 9s ease-in-out infinite;
  filter: saturate(1.04) contrast(1.02);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-media-glow {
  position: absolute;
  inset: -34px -42px auto auto;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  z-index: 1;
  background: radial-gradient(circle, rgba(42, 144, 255, 0.33), rgba(42, 144, 255, 0));
  filter: blur(16px);
  pointer-events: none;
  animation: heroGlow 6.5s ease-in-out infinite;
}

.hero-media img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.hero-media-mini {
  position: absolute;
  right: -10px;
  bottom: -10px;
  left: auto;
  width: clamp(200px, 32vw, 280px);
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 3;
  transform-origin: center;
  overflow: hidden;
}

.hero-media-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(125, 189, 255, 0.22), transparent 58%);
  opacity: 0.72;
  animation: heroMiniAura 5.5s ease-in-out infinite;
}

.hero-media-mini::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(93, 175, 255, 0), rgba(93, 175, 255, 0.95), rgba(93, 175, 255, 0));
}

.hero-media-mini img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 8px;
}

.hero-media-mini p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

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

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes heroRingPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes heroSweep {
  0%,
  100% {
    transform: translateX(35%) rotate(10deg);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-25%) rotate(10deg);
    opacity: 0.52;
  }
}

@keyframes heroMiniAura {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes heroGridShift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 96px 48px, 96px 48px;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(6, 46, 112, 0.28);
  }
  50% {
    box-shadow: 0 24px 44px rgba(10, 71, 170, 0.34);
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 8px 0 18px;
  max-width: 780px;
}

.eyebrow {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-copy {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.08rem;
}

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

.btn {
  border: 1px solid transparent;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-primary {
  background: linear-gradient(125deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-ghost {
  background: var(--surface-strong);
  border-color: var(--line);
  color: var(--text);
}

.section {
  padding: 34px 0;
}

.section-head p {
  color: var(--muted);
}

.netflix-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 26%);
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 14px;
  scroll-snap-type: x mandatory;
}

.netflix-row::-webkit-scrollbar {
  height: 8px;
}

.netflix-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.45);
}

.netflix-card {
  min-height: 360px;
  scroll-snap-align: start;
}

.netflix-poster-wrap {
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(9, 27, 62, 0.8), rgba(3, 10, 25, 0.95));
  box-shadow: var(--shadow);
}

.netflix-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.netflix-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 11, 27, 0.08) 0%, rgba(2, 11, 27, 0.9) 42%);
}

.netflix-overlay p {
  margin: 0;
  color: rgba(236, 244, 255, 0.9);
  font-size: 0.93rem;
}

.netflix-overlay .text-link {
  color: #9fd4ff;
}

.partners-carousel {
  width: 100%;
  overflow: hidden;
  direction: ltr;
  padding: 8px 0 14px;
}

.partners-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.partners-track.is-animated {
  animation: partners-marquee 26s linear infinite;
}

.partners-carousel:hover .partners-track.is-animated {
  animation-play-state: paused;
}

.partners-group {
  display: flex;
  gap: 14px;
}

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(var(--partners-offset, 0px) * -1));
  }
}

.partner-logo-card {
  text-decoration: none;
  min-height: 220px;
  flex: 0 0 220px;
  border-radius: 18px;
  overflow: hidden;
}

.partner-logo-only {
  min-height: 220px;
  position: relative;
  display: block;
  padding: 0;
  background: #0b1b37;
}

.partner-logo-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease, filter 320ms ease;
  filter: saturate(1.08) contrast(1.03);
}

.partner-logo-card:hover .partner-logo-image {
  transform: scale(1.05);
}

.partner-logo-only::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(3, 12, 28, 0) 0%, rgba(3, 12, 28, 0.7) 100%);
  pointer-events: none;
}

.partner-logo-fallback {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.8), rgba(26, 154, 246, 0.72));
}

.netflix-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.5), rgba(16, 177, 255, 0.38));
}

.grid {
  display: grid;
  gap: 16px;
}

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

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.project-logo-wrap,
.partner-logo-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, rgba(12, 102, 245, 0.2), rgba(12, 102, 245, 0.08));
  overflow: hidden;
}

.project-logo-wrap img,
.partner-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-card {
  text-decoration: none;
}

.text-link {
  text-decoration: underline;
  color: var(--primary);
}

.stat-card strong {
  font-size: 2rem;
  margin-top: 8px;
  display: block;
}

.stats-section .section-head {
  margin-bottom: 14px;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-panel {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(18, 88, 188, 0.2);
  background:
    radial-gradient(circle at top right, rgba(41, 132, 246, 0.16), transparent 42%),
    var(--surface);
}

.stat-panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #0b63f6, #2eb3ff);
}

.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stat-label {
  font-size: 0.98rem;
  font-weight: 700;
}

.stat-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0a56ce;
  border: 1px solid rgba(17, 99, 213, 0.24);
  background: rgba(17, 99, 213, 0.12);
}

.stat-panel strong {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.stat-line {
  margin-top: auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(16, 93, 201, 0.14);
  overflow: hidden;
}

.stat-line::after {
  content: '';
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b63f6, #39beff);
}

.pricing-card.highlight {
  border-color: rgba(48, 146, 255, 0.58);
  box-shadow:
    0 18px 30px rgba(7, 38, 87, 0.2),
    0 0 0 1px rgba(56, 157, 255, 0.35) inset;
}

.pricing-block {
  margin-top: 18px;
}

.pricing-block h3 {
  margin: 0 0 12px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(19, 77, 165, 0.18);
  background:
    radial-gradient(circle at top right, rgba(33, 130, 255, 0.14), transparent 40%),
    var(--surface);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(17, 122, 255, 0.2), rgba(17, 122, 255, 0.8), rgba(17, 122, 255, 0.2));
}

.pricing-card-header h4 {
  margin: 10px 0 8px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}

.pricing-badge.software {
  color: #0a59d5;
  background: rgba(43, 133, 252, 0.16);
  border: 1px solid rgba(43, 133, 252, 0.28);
}

.pricing-badge.hosting {
  color: #0c7f77;
  background: rgba(27, 190, 173, 0.14);
  border: 1px solid rgba(27, 190, 173, 0.28);
}

.price-tag {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
}

.price-tag small {
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(14, 93, 209, 0.08);
}

.feature-check {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(140deg, #0b63f6, #2ea5ff);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.16);
  flex: 0 0 auto;
}

.pricing-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(12, 84, 189, 0.24);
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-contact-btn {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.contact-strip {
  text-align: center;
  padding-bottom: 80px;
}

.contact-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.08);
  color: #0d4d9f;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  width: min(760px, 100%);
  margin: 18px auto 0;
  text-align: start;
}

.contact-hint {
  color: var(--muted);
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 51, 104, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.contact-hint strong {
  color: var(--text);
}

.contact-hint a {
  color: var(--primary);
  text-decoration: none;
}

.social-sidebar {
  position: fixed;
  left: 12px;
  right: auto;
  top: 44%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 30;
}

.social-sidebar a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.social-sidebar a:hover {
  transform: translateX(4px) scale(1.04);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

html[dir='ltr'] .social-sidebar {
  right: 12px;
  left: auto;
}

html[dir='ltr'] .social-sidebar a:hover {
  transform: translateX(-4px) scale(1.04);
}

.social-link-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  flex: 0 0 auto;
}

.social-link-icon span {
  font-weight: 700;
}

.social-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chat-teaser {
  position: relative;
  display: block;
  width: min(312px, calc(100vw - 36px));
  border: 1px solid rgba(16, 57, 118, 0.1);
  border-radius: 22px;
  padding: 14px 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.96));
  color: #123a77;
  text-align: right;
  box-shadow: 0 18px 38px rgba(9, 44, 102, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.chat-teaser.is-dismissed {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

html[dir='ltr'] .chat-teaser {
  text-align: left;
}

.chat-teaser::after {
  content: '';
  position: absolute;
  right: 28px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  background: rgba(248, 251, 255, 0.98);
  border-right: 1px solid rgba(16, 57, 118, 0.08);
  border-bottom: 1px solid rgba(16, 57, 118, 0.08);
}

html[dir='ltr'] .chat-teaser::after {
  left: 28px;
  right: auto;
}

.chat-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(9, 44, 102, 0.18);
}

.chat-teaser-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-teaser-badge {
  display: inline-flex;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.1);
  color: #0d4d9f;
  font-size: 0.73rem;
  font-weight: 800;
}

.chat-teaser-text {
  display: inline-block;
  min-height: 2.9em;
  line-height: 1.75;
  font-size: 0.95rem;
  font-weight: 600;
  color: #173d73;
  white-space: pre-wrap;
}

.chat-teaser-caret {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-right: 4px;
  vertical-align: -0.1em;
  background: rgba(11, 99, 246, 0.78);
  animation: chat-caret-blink 1s steps(1) infinite;
}

html[dir='ltr'] .chat-teaser-caret {
  margin-left: 4px;
  margin-right: 0;
}

@keyframes chat-caret-blink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.chat-toggle {
  border: none;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  padding: 0;
  font-weight: 700;
  color: #fff;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.chat-toggle.chat-toggle-gif-mode {
  padding: 0;
  overflow: visible;
  justify-self: start;
}

.chat-toggle-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(9, 44, 102, 0.18));
}

.chat-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.06);
}

.chat-toggle.chat-toggle-open {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #113c7b;
  border: 1px solid rgba(17, 60, 123, 0.12);
  box-shadow: 0 12px 28px rgba(9, 44, 102, 0.14);
}

.chat-panel {
  width: min(350px, calc(100vw - 24px));
  margin-bottom: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(9, 44, 102, 0.18);
}

.chat-header,
.chat-body {
  padding: 12px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(13, 82, 183, 0.12);
}

.chat-header button {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.chat-body {
  display: grid;
  gap: 10px;
}

.chat-messages {
  display: grid;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  padding-left: 2px;
}

.chat-message {
  max-width: 90%;
  padding: 9px 11px;
  border-radius: 12px;
  line-height: 1.55;
  font-size: 0.92rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message.assistant {
  justify-self: start;
  background: rgba(11, 99, 246, 0.1);
  border: 1px solid rgba(11, 99, 246, 0.18);
  position: relative;
}

.chat-message.assistant::before {
  content: '';
  position: absolute;
  right: 16px;
  top: -8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.82), rgba(44, 149, 255, 0.78));
  box-shadow: 0 0 0 4px rgba(11, 99, 246, 0.08);
}

html[dir='ltr'] .chat-message.assistant::before {
  left: 16px;
  right: auto;
}

.chat-message.user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(130deg, #0b63f6, #0f87ff);
}

.chat-typing {
  font-size: 0.86rem;
  color: var(--muted);
}

.chat-error {
  font-size: 0.82rem;
  color: #b82028;
}

.chat-input-row {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
}

.chat-input-row input {
  border: 1px solid rgba(17, 86, 184, 0.2);
  border-radius: 11px;
  min-height: 40px;
  padding: 9px 11px;
  font: inherit;
}

.chat-input-row input:focus {
  outline: none;
  border-color: rgba(11, 99, 246, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.12);
}

.chat-input-row button {
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, #0b63f6, #0f87ff);
}

.chat-input-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.page-loader,
.admin-auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-auth-card {
  width: min(540px, calc(100% - 32px));
  margin: 0 auto;
}

.admin-page {
  position: relative;
  width: min(1240px, calc(100% - 24px));
  padding: 22px 0 54px;
}

.admin-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 16%, rgba(21, 132, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(33, 96, 216, 0.13), transparent 28%),
    radial-gradient(circle at 40% 90%, rgba(35, 176, 255, 0.1), transparent 30%);
}

.admin-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(17, 75, 166, 0.14);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(8, 44, 106, 0.1);
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.admin-nav-card {
  position: sticky;
  top: 92px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(18, 82, 176, 0.14);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px rgba(8, 44, 106, 0.08);
}

.admin-nav-title {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2c4f85;
}

.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: right;
  padding: 10px 12px;
  border: 1px solid rgba(25, 86, 182, 0.16);
  border-radius: 12px;
  cursor: pointer;
  color: #1b355f;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.tab::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(17, 74, 168, 0.2);
  transition: background 160ms ease;
}

.tab:hover {
  transform: translateX(-2px);
  border-color: rgba(13, 87, 194, 0.3);
  box-shadow: 0 10px 16px rgba(8, 54, 129, 0.15);
  filter: brightness(1.03);
}

.tab.active {
  color: #fff;
  background: linear-gradient(125deg, #0d73ff, #0752cb);
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(8, 66, 164, 0.3);
}

.tab.active::before {
  background: rgba(255, 255, 255, 0.85);
}

.admin-content {
  min-width: 0;
  display: grid;
  gap: 14px;
  overflow-x: clip;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-overview-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admin-summary-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(14, 79, 176, 0.14);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 28px rgba(8, 44, 106, 0.08);
}

.admin-summary-card.mini {
  padding: 14px;
}

.admin-summary-card strong,
.admin-summary-card h3,
.admin-summary-card p {
  position: relative;
  z-index: 1;
}

.admin-summary-card strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin: 8px 0 4px;
}

.admin-summary-card h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-summary-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-summary-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f5ece;
  letter-spacing: 0.03em;
}

.admin-summary-glow {
  position: absolute;
  inset: auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.4;
  pointer-events: none;
}

.admin-summary-glow-1 {
  top: -20px;
  left: -20px;
  background: rgba(14, 99, 214, 0.24);
}

.admin-summary-glow-2 {
  top: -24px;
  right: -18px;
  background: rgba(39, 181, 255, 0.22);
}

.admin-summary-glow-3 {
  bottom: -28px;
  left: 14%;
  background: rgba(36, 144, 255, 0.22);
}

.admin-summary-glow-4 {
  bottom: -26px;
  right: 10%;
  background: rgba(90, 127, 255, 0.2);
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-form-stack {
  display: grid;
  gap: 16px;
}

.admin-form-group {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 84, 180, 0.12);
  background:
    radial-gradient(circle at top right, rgba(39, 144, 255, 0.08), transparent 34%),
    rgba(247, 251, 255, 0.92);
}

.admin-form-group h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.admin-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-field span {
  font-size: 0.87rem;
  font-weight: 800;
  color: #284674;
}

.admin-field-full {
  grid-column: 1 / -1;
}

.grid-form {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: start;
}

.grid-form > button {
  grid-column: 1 / -1;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  border: 1px solid rgba(17, 86, 184, 0.18);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admin-form input,
.admin-form select {
  min-height: 46px;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: rgba(11, 99, 246, 0.44);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.14);
}

.admin-form textarea {
  min-height: 122px;
  resize: vertical;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: #6b82aa;
}

.grid-form > textarea {
  grid-column: 1 / -1;
}

.grid-form > .checkbox-row {
  width: 100%;
  min-height: 46px;
}

.image-upload-field {
  display: grid;
  gap: 10px;
}

.image-upload-picker {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.image-upload-picker input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.image-upload-preview {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 88px;
  padding: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(17, 86, 184, 0.2);
  background: rgba(248, 251, 255, 0.76);
}

.image-upload-preview.is-empty {
  justify-content: center;
  color: #6d84ab;
  font-size: 0.92rem;
}

.image-upload-status {
  font-size: 0.9rem;
  color: #5d759f;
}

.image-upload-preview img {
  width: 100%;
  max-width: 180px;
  max-height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(17, 86, 184, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  user-select: none;
}

.admin-page .checkbox-row input[type='checkbox'],
.admin-auth-page .checkbox-row input[type='checkbox'] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(89, 123, 177, 0.55);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease, box-shadow 180ms ease;
}

.admin-page .checkbox-row input[type='checkbox']::before,
.admin-auth-page .checkbox-row input[type='checkbox']::before {
  content: '';
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 140ms ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 17%, 84% 0, 39% 62%);
  background: #fff;
}

.admin-page .checkbox-row input[type='checkbox']:checked,
.admin-auth-page .checkbox-row input[type='checkbox']:checked {
  background: linear-gradient(145deg, #0b63f6, #0846b0);
  border-color: transparent;
  box-shadow: 0 8px 14px rgba(9, 74, 184, 0.34);
}

.admin-page .checkbox-row input[type='checkbox']:checked::before,
.admin-auth-page .checkbox-row input[type='checkbox']:checked::before {
  transform: scale(1);
}

.admin-page .checkbox-row input[type='checkbox']:hover,
.admin-auth-page .checkbox-row input[type='checkbox']:hover {
  transform: translateY(-1px);
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  padding: 14px 15px;
  border: 1px solid rgba(16, 84, 182, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 12px 24px rgba(8, 42, 108, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-item > div:first-child {
  min-width: 0;
}

.admin-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-item-media {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #0b63f6, #18a3ff);
}

.admin-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-item-copy {
  min-width: 0;
}

.admin-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 99, 211, 0.26);
  box-shadow: 0 16px 28px rgba(8, 42, 108, 0.12);
}

.admin-item strong {
  font-size: 1rem;
}

.admin-item p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-contact-actions {
  justify-content: flex-start;
}

.admin-contact-delete-form {
  margin-top: -6px;
  margin-bottom: 12px;
}

.admin-contact-delete-form .action-delete {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 14px;
  min-width: 130px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #d83a47, #a81d2a);
  box-shadow: 0 8px 16px rgba(188, 31, 46, 0.3);
}

.admin-contact-delete-form .action-delete:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.inline-action-form {
  margin: 0;
}

.row-actions button {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 14px;
  min-width: 88px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.row-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 8px 14px;
  min-width: 88px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(135deg, #0b63f6, #0846b0);
  box-shadow: 0 8px 16px rgba(11, 89, 214, 0.28);
}

.row-actions a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.row-actions button:hover {
  transform: translateY(-1px);
}

.row-actions button:first-child {
  background: linear-gradient(135deg, #0b63f6, #0846b0);
  box-shadow: 0 8px 16px rgba(11, 89, 214, 0.28);
}

.row-actions button:first-child:hover {
  filter: brightness(1.08);
}

.row-actions button:last-child {
  background: linear-gradient(135deg, #d83a47, #a81d2a);
  box-shadow: 0 8px 16px rgba(188, 31, 46, 0.3);
}

.row-actions button:last-child:hover {
  filter: brightness(1.07);
}

.notice {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 84, 180, 0.14);
  margin-bottom: 12px;
  box-shadow: 0 8px 16px rgba(8, 45, 109, 0.06);
  color: #173766;
}

.notice.error {
  border-color: rgba(186, 30, 30, 0.32);
  background: rgba(255, 244, 244, 0.82);
}

.notice.success {
  border-color: rgba(21, 153, 76, 0.33);
  background: rgba(242, 255, 248, 0.82);
}

.admin-section {
  width: 100%;
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(14, 79, 176, 0.14);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(8, 44, 106, 0.09);
  overflow: hidden;
}

.admin-section h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-inline-note {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(17, 84, 180, 0.12);
  background: rgba(247, 251, 255, 0.92);
  color: #214374;
  line-height: 1.6;
}

.admin-inline-note a {
  color: var(--primary);
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 90, 187, 0.14);
  background: rgba(17, 90, 187, 0.08);
  color: #20457b;
  font-size: 0.84rem;
  font-weight: 700;
}

.chatbot-preview-card {
  margin-bottom: 14px;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(16, 79, 171, 0.14);
  background:
    radial-gradient(circle at top right, rgba(39, 144, 255, 0.14), transparent 38%),
    rgba(247, 251, 255, 0.92);
}

.chatbot-preview-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.1);
  color: #0d4d9f;
  font-size: 0.76rem;
  font-weight: 800;
}

.chatbot-preview-card p {
  margin: 10px 0 0;
  white-space: pre-wrap;
  line-height: 1.7;
  color: #173d73;
}

.admin-auth-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(14, 80, 176, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 36px rgba(8, 44, 106, 0.11);
}

.admin-auth-card h1 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .landing-root main,
  .top-nav {
    width: min(1160px, calc(100% - 28px));
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero {
    min-height: auto;
    padding: 24px 0 12px;
  }
  .hero-media {
    min-height: auto;
    padding: 8px 8px 26px;
    display: grid;
    justify-items: center;
  }
  .hero-main-img {
    width: min(100%, 700px);
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .netflix-row {
    grid-auto-columns: minmax(210px, 40%);
  }
  .partner-logo-card {
    flex-basis: 200px;
  }
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ambient-orb {
    opacity: 0.3;
  }
  .hero-media-ring {
    opacity: 0.7;
  }
  .hero-media-grid {
    opacity: 0.24;
  }
  .hero-media-mini {
    position: static;
    right: auto;
    bottom: auto;
    width: min(420px, 82%);
    margin-top: 14px;
  }
  .social-sidebar {
    display: none;
  }

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

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

  .admin-nav-card {
    position: static;
    padding: 12px;
  }

  .admin-nav-title {
    margin-bottom: 8px;
  }

  .admin-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .tab {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    text-align: center;
    min-height: 42px;
  }

  .tab:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 760px) {
  .landing-root main,
  .top-nav {
    width: min(1160px, calc(100% - 16px));
  }
  .netflix-row {
    grid-auto-columns: minmax(220px, 74%);
  }
  .partner-logo-card {
    flex-basis: 170px;
  }
  .top-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .top-nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .top-nav nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .lang-switch {
    margin-inline-start: 0;
    padding-inline: 10px 6px;
    gap: 8px;
  }
  .lang-switch-label {
    font-size: 0.72rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mobile-menu-panel {
    top: 8px;
    bottom: 8px;
    right: 8px;
    width: min(340px, calc(100vw - 16px));
    padding: 16px;
    border-radius: 24px;
  }
  html[dir='ltr'] .mobile-menu-panel {
    left: 8px;
  }
  .hero-media-mini {
    position: static;
    width: min(100%, 420px);
    margin-top: 14px;
  }
  .hero-main-img {
    width: min(100%, 100vw - 16px);
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 18px;
  }
  .hero-media {
    min-height: auto;
    padding: 0;
    width: 100%;
  }
  .hero {
    padding: 14px 0 6px;
  }
  .hero-media-ring,
  .hero-media-grid {
    display: none;
  }
  .hero-media::after {
    display: none;
  }
  .cards-2,
  .cards-3,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .contact-meta-grid {
    grid-template-columns: 1fr;
  }
  .admin-overview-grid,
  .admin-overview-grid.compact {
    grid-template-columns: 1fr;
  }
  .stats-list {
    grid-template-columns: 1fr;
  }
  .admin-item {
    grid-template-columns: 1fr;
  }
  .pricing-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .pricing-contact-btn {
    width: 100%;
  }
  .admin-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .admin-header .btn {
    width: 100%;
  }
  .admin-page {
    width: min(1240px, calc(100% - 14px));
  }
  .admin-tabs {
    gap: 7px;
  }
  .admin-content {
    gap: 12px;
  }
  .grid-form > button {
    width: 100%;
    justify-self: stretch;
  }
  .row-actions {
    justify-content: stretch;
  }
  .row-actions button {
    flex: 1 1 calc(50% - 4px);
  }
  .admin-section {
    padding: 14px;
  }
  .admin-section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .checkbox-row {
    width: 100%;
  }

  .admin-contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-form > .checkbox-row {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .partners-track.is-animated {
    animation: none !important;
  }

  .hero-media::after,
  .hero-media-grid,
  .hero-media-ring,
  .hero-media-glow,
  .hero-main-img,
  .hero-media-mini,
  .hero-media-mini::before {
    animation: none !important;
  }
}
