/* Controls Tools visual identity & Light/Dark Theme Tokens */
:root {
  color-scheme: light;

  /* RGB Channel Tokens for Tailwind brand.* & CSS variables */
  --ct-bg: 248 250 252;
  --ct-surface: 255 255 255;
  --ct-container: 239 246 255;
  --ct-container-high: 219 234 254;
  --ct-border: 226 232 240;
  --ct-border-light: 203 213 225;
  --ct-primary: 37 99 235;
  --ct-primary-hover: 29 78 216;
  --ct-accent-blue: 37 99 235;
  --ct-accent-green: 4 120 87;
  --ct-accent-cyan: 14 116 144;
  --ct-accent-purple: 124 58 237;
  --ct-aqua: 6 182 212;
  --ct-navy: 7 27 58;
  --ct-text-primary: 15 23 42;
  --ct-text-body: 51 65 85;
  --ct-text-muted: 71 85 105;
  --ct-text-dim: 100 116 139;

  /* Legacy & Semantic Tokens */
  --color-bg: rgb(var(--ct-bg));
  --color-surface: rgb(var(--ct-surface));
  --color-border: rgb(var(--ct-border));
  --color-primary: rgb(var(--ct-primary));
  --color-primary-hover: rgb(var(--ct-primary-hover));
  --color-primary-light: rgb(var(--ct-container));
  --color-aqua: rgb(var(--ct-aqua));
  --color-yellow: #fbbf24;
  --color-navy: rgb(var(--ct-navy));
  --color-ink: rgb(var(--ct-text-primary));
  --color-muted: rgb(var(--ct-text-dim));
  --shadow-card: 0 10px 30px rgb(15 23 42 / 6%);

  --ct-header-bg: rgb(255 255 255 / 95%);
  --ct-ghost-border: #bfdbfe;
  --ct-input-border: #cbd5e1;
  --ct-input-disabled-bg: #f1f5f9;
  --ct-pkg-head-start: #ffffff;
  --ct-pkg-head-end: #eff6ff;
  --ct-badge-bg: #fef3c7;
  --ct-badge-ink: #92400e;
  --ct-channel-bg: #ecfeff;
  --ct-channel-ink: #155e75;
  --ct-danger-bg: #fef2f2;
  --ct-danger-ink: #b91c1c;
  --ct-danger-border: #fecaca;
  --ct-danger-hover: #fee2e2;
  --ct-success-bg: #ecfdf5;
  --ct-success-ink: #047857;
  --ct-success-border: #6ee7b7;
  --ct-warning-bg: #fffbeb;
  --ct-warning-ink: #b45309;
  --ct-warning-border: #fcd34d;
  --ct-table-head-bg: rgb(var(--ct-bg));
  --ct-table-head-ink: #475569;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --ct-bg: 9 14 26;
  --ct-surface: 15 23 42;
  --ct-container: 22 34 58;
  --ct-container-high: 30 47 79;
  --ct-border: 45 62 92;
  --ct-border-light: 67 88 124;
  --ct-primary: 59 130 246;
  --ct-primary-hover: 96 165 250;
  --ct-accent-blue: 96 165 250;
  --ct-accent-green: 52 211 153;
  --ct-accent-cyan: 56 189 248;
  --ct-accent-purple: 167 139 250;
  --ct-aqua: 34 211 238;
  --ct-navy: 5 11 24;
  --ct-text-primary: 248 250 252;
  --ct-text-body: 226 232 240;
  --ct-text-muted: 168 181 200;
  --ct-text-dim: 148 163 184;

  --shadow-card: 0 14px 36px rgb(2 6 23 / 55%);
  --ct-header-bg: rgb(15 23 42 / 92%);
  --ct-ghost-border: rgb(59 130 246 / 45%);
  --ct-input-border: rgb(67 88 124);
  --ct-input-disabled-bg: rgb(17 25 43);
  --ct-pkg-head-start: rgb(22 34 58);
  --ct-pkg-head-end: rgb(15 23 42);
  --ct-badge-bg: rgb(251 191 36 / 18%);
  --ct-badge-ink: #fde68a;
  --ct-channel-bg: rgb(34 211 238 / 14%);
  --ct-channel-ink: #a5f3fc;
  --ct-danger-bg: rgb(220 38 38 / 14%);
  --ct-danger-ink: #fca5a5;
  --ct-danger-border: rgb(248 113 113 / 42%);
  --ct-danger-hover: rgb(220 38 38 / 24%);
  --ct-success-bg: rgb(16 185 129 / 14%);
  --ct-success-ink: #6ee7b7;
  --ct-success-border: rgb(52 211 153 / 45%);
  --ct-warning-bg: rgb(245 158 11 / 14%);
  --ct-warning-ink: #fde68a;
  --ct-warning-border: rgb(251 191 36 / 45%);
  --ct-table-head-bg: rgb(22 34 58);
  --ct-table-head-ink: #cbd5e1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: Cairo, Tahoma, Arial, sans-serif;
  line-height: 1.7;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

:lang(ar) {
  font-family: Cairo, Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}

main { min-width: 0; }
button, input, select, textarea { font: inherit; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }

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

::selection { background: var(--color-primary); color: white; }

.sharp-box, .btn-sharp, .card-sharp, .table-sharp { border-radius: 16px; }

.cyber-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.cyber-card-active { border-color: var(--color-primary); }

main :is(.shadow-sm, .shadow-lg).sharp-box { box-shadow: var(--shadow-card); }

.cyber-card:has(a), .service-card, .btn-primary, .btn-ghost, .btn-danger, .theme-toggle-btn {
  transition: background-color 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out, transform 200ms ease-out, color 200ms ease-out;
}

.cyber-card:has(a):hover, .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgb(37 99 235 / 14%);
  border-color: rgb(var(--ct-primary) / 55%);
}

:root[data-theme="dark"] .cyber-card:has(a):hover,
:root[data-theme="dark"] .service-card:hover {
  box-shadow: 0 20px 50px rgb(34 211 238 / 12%);
}

:is(.btn-primary, .btn-ghost, .btn-danger) {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
}

:is(.btn-primary, .btn-ghost, .btn-danger):not(.block, .flex, .hidden) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgb(37 99 235 / 22%);
}

.btn-primary:hover { background: var(--color-primary-hover); }

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-primary-hover);
  border-color: var(--ct-ghost-border);
}

.btn-ghost:hover { background: var(--color-primary-light); }
.btn-danger { background: var(--ct-danger-bg); color: var(--ct-danger-ink); border-color: var(--ct-danger-border); }
.btn-danger:hover { background: var(--ct-danger-hover); }
:is(.btn-primary, .btn-ghost, .btn-danger):active { transform: scale(.98); }
:is(.btn-primary, .btn-ghost, .btn-danger):disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="image"]),
select, textarea, .cyber-input {
  min-height: 46px;
  border: 1px solid var(--ct-input-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out, background-color 180ms ease-out;
}

input[type="checkbox"], input[type="radio"] { accent-color: var(--color-primary); }
input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgb(var(--ct-primary) / 16%);
}
input::placeholder, textarea::placeholder { color: var(--color-muted); }
input:disabled, select:disabled, textarea:disabled { background: var(--ct-input-disabled-bg); color: var(--color-muted); }

/* Semantic Alerts */
.ct-alert-success { background: var(--ct-success-bg); border: 2px solid var(--ct-success-border); color: var(--ct-success-ink); }
.ct-alert-error { background: var(--ct-danger-bg); border: 2px solid var(--ct-danger-border); color: var(--ct-danger-ink); }
.ct-alert-warning { background: var(--ct-warning-bg); border: 2px solid var(--ct-warning-border); color: var(--ct-warning-ink); }

.ct-toast-success { border-color: var(--ct-success-border); color: var(--ct-success-ink); }
.ct-toast-error { border-color: var(--ct-danger-border); color: var(--ct-danger-ink); }
.ct-toast-info { border-color: rgb(var(--ct-primary) / 55%); color: var(--color-primary-hover); }

/* Theme Toggle Button */
.theme-toggle-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding-inline: .65rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  cursor: pointer;
}
.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
}
.theme-icon-sun { display: none; }
.theme-icon-moon { display: inline-flex; }
:root[data-theme="dark"] .theme-icon-sun { display: inline-flex; color: #fbbf24; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }

/* Dark Mode Safety Overrides for Legacy Hardcoded Tailwind Status Utilities */
:root[data-theme="dark"] .bg-white { background-color: rgb(var(--ct-surface)) !important; }
:root[data-theme="dark"] .border-blue-200 { border-color: rgb(var(--ct-primary) / 40%) !important; }
:root[data-theme="dark"] .text-green-700 { color: #6ee7b7 !important; }
:root[data-theme="dark"] .text-red-700 { color: #fca5a5 !important; }
:root[data-theme="dark"] .text-yellow-700 { color: #fde68a !important; }
:root[data-theme="dark"] .text-amber-700 { color: #fcd34d !important; }
:root[data-theme="dark"] .text-blue-700 { color: #93c5fd !important; }
:root[data-theme="dark"] .text-gray-700 { color: #cbd5e1 !important; }
:root[data-theme="dark"] .bg-green-500\/10 { background-color: rgb(16 185 129 / 18%) !important; }
:root[data-theme="dark"] .bg-red-500\/10 { background-color: rgb(239 68 68 / 18%) !important; }
:root[data-theme="dark"] .bg-yellow-500\/10,
:root[data-theme="dark"] .bg-amber-500\/10 { background-color: rgb(245 158 11 / 18%) !important; }
:root[data-theme="dark"] .bg-gray-500\/10 { background-color: rgb(148 163 184 / 18%) !important; }

.site-header { background: var(--ct-header-bg); }
.site-header [data-purpose="site-brand"] { min-width: 0; }
#mobile-burger-btn { min-width: 44px; min-height: 44px; }
#main-sidebar { width: min(280px, 90vw); }
#main-sidebar nav a { min-height: 44px; }
#main-sidebar nav a > svg {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  padding: .45rem;
  border: 1px solid currentColor;
  border-radius: .7rem;
  background: var(--color-primary-light);
}
.sidebar-toggle-btn {
  min-width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-inline: .75rem;
  border: 1px solid var(--color-primary-hover);
  border-radius: 12px;
  background: var(--color-primary);
  color: white;
  font-size: .8125rem;
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.sidebar-toggle-btn:hover { background: var(--color-primary-hover); }
.sidebar-toggle-btn:active { transform: scale(.97); }
@media (max-width: 639px) {
  .sidebar-toggle-btn { width: 44px; padding-inline: 0; }
  .sidebar-toggle-label { display: none; }
}
.sidebar-close-btn {
  display: none;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-primary-hover);
  font-size: 1.5rem;
  line-height: 1;
}
.sidebar-close-btn:hover { background: var(--color-primary-light); }
[data-page="admin-package-form"] .cyber-input[aria-invalid="true"] {
  border-color: #dc2626;
}
@media (min-width: 1024px) {
  .dashboard-shell { margin-inline-start: 280px; }
  body.sidebar-is-collapsed #main-sidebar { transform: translateX(100%); visibility: hidden; }
  body.sidebar-is-collapsed .dashboard-shell { margin-inline-start: 0; }
}
@media (max-width: 1023px) {
  #main-sidebar.translate-x-full { visibility: hidden; }
  .sidebar-close-btn { display: inline-grid; }
}

.landing-hero {
  color: white;
  background:
    radial-gradient(ellipse at 90% 0%, rgb(6 182 212 / 26%), transparent 46%),
    radial-gradient(ellipse at 10% 100%, rgb(37 99 235 / 26%), transparent 42%),
    linear-gradient(135deg, #071b3a 0%, #143885 60%, #0b526e 100%);
}
:root[data-theme="dark"] .landing-hero {
  background:
    radial-gradient(ellipse at 90% 0%, rgb(34 211 238 / 22%), transparent 48%),
    radial-gradient(ellipse at 10% 100%, rgb(59 130 246 / 24%), transparent 44%),
    linear-gradient(135deg, #040b18 0%, #0c214b 58%, #09354d 100%);
}
.landing-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  font-weight: 900;
  line-height: 1.3;
}
.landing-hero .hero-highlight { color: #a5f3fc; }
.landing-hero .hero-description { color: #e2e8f0; line-height: 1.85; }
.landing-hero .btn-primary { background: var(--color-yellow); color: #0f172a; }
.landing-hero .btn-primary:hover { background: #fcd34d; }
.landing-hero .btn-ghost { background: rgb(255 255 255 / 10%); color: white; border-color: rgb(255 255 255 / 55%); }
.landing-hero .btn-ghost:hover { background: rgb(255 255 255 / 18%); }
.landing-hero :focus-visible { outline-color: #fcd34d; }

.package-heading { background: linear-gradient(180deg, var(--ct-pkg-head-start), var(--ct-pkg-head-end)); }
.package-badge { background: var(--ct-badge-bg); color: var(--ct-badge-ink); }
.package-channels { display: flex; flex-wrap: wrap; gap: .5rem; }
.package-channels li { background: var(--ct-channel-bg); color: var(--ct-channel-ink); padding: .3rem .65rem; border-radius: 999px; font-size: .8rem; }

/* Figma Package System Design (Light & Dark + Animated Brand Icons + Stacked Rows) */
.ct-pricing-section {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 5.75rem;
  border-bottom: 2px solid var(--color-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(64, 92, 246, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfcff 0%, #f6f8fc 100%);
}
:root[data-theme="dark"] .ct-pricing-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 103, 245, 0.16), transparent 36rem),
    linear-gradient(180deg, #070d1d 0%, #0b1328 100%);
}
.ct-pricing-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
}
.ct-pricing-glow-one { top: 18%; right: -160px; background: #526df8; }
.ct-pricing-glow-two { bottom: -140px; left: -160px; background: #4dd8bc; }
:root[data-theme="dark"] .ct-pricing-glow { opacity: 0.16; }

.ct-pricing-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1140px);
  margin-inline: auto;
}
.ct-pricing-hero { text-align: center; }
.ct-pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid #e1e6f5;
  border-radius: 999px;
  color: #4051a8;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(38, 54, 114, 0.06);
}
:root[data-theme="dark"] .ct-pricing-eyebrow {
  border-color: rgba(148, 163, 184, 0.22);
  color: #93c5fd;
  background: rgba(17, 24, 39, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.ct-pricing-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f67f5;
  box-shadow: 0 0 0 5px rgba(79, 103, 245, 0.14);
}
.ct-pricing-hero h2 {
  margin-top: 20px;
  color: #101a35;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ct-pricing-hero h2 span { color: #4963f4; }
:root[data-theme="dark"] .ct-pricing-hero h2 { color: #f8fafc; }
:root[data-theme="dark"] .ct-pricing-hero h2 span { color: #60a5fa; }
.ct-pricing-hero p {
  max-width: 650px;
  margin: 14px auto 0;
  color: #66718b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}
:root[data-theme="dark"] .ct-pricing-hero p { color: #94a3b8; }

.ct-package-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 940px;
  margin: 34px auto 26px;
}
.ct-package-tab {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid #e1e6f0;
  border-radius: 16px;
  color: #63708a;
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.ct-package-tab:hover {
  border-color: #bcc6fa;
  color: #3349c3;
  transform: translateY(-2px);
}
.ct-package-tab b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  flex: none;
  border: 1px solid #e1e5ee;
  border-radius: 9px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.ct-package-tab[aria-selected="true"] {
  border-color: #5069f6;
  color: #334ecc;
  background: #f3f5ff;
  box-shadow: inset 0 0 0 1px #5069f6, 0 10px 30px rgba(65, 87, 220, 0.12);
}
.ct-package-tab[aria-selected="true"] b {
  color: #ffffff;
  border-color: #5069f6;
  background: #5069f6;
}
:root[data-theme="dark"] .ct-package-tab {
  border-color: rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.82);
}
:root[data-theme="dark"] .ct-package-tab:hover {
  border-color: rgba(96, 165, 250, 0.55);
  color: #93c5fd;
}
:root[data-theme="dark"] .ct-package-tab b {
  border-color: rgba(148, 163, 184, 0.24);
  background: #0b1222;
  color: #cbd5e1;
}
:root[data-theme="dark"] .ct-package-tab[aria-selected="true"] {
  border-color: #60a5fa;
  color: #ffffff;
  background: rgba(37, 99, 235, 0.22);
  box-shadow: inset 0 0 0 1px #60a5fa, 0 12px 32px rgba(37, 99, 235, 0.25);
}
:root[data-theme="dark"] .ct-package-tab[aria-selected="true"] b {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #ffffff;
}

.ct-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin-inline: auto;
  align-items: stretch;
}
.ct-pricing-grid[data-visible-count="1"] {
  max-width: 940px;
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 960px) {
  .ct-pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
}

.ct-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(215, 221, 236, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(25, 37, 82, 0.11), 0 3px 8px rgba(37, 48, 87, 0.04);
  backdrop-filter: blur(16px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ct-pricing-card.hidden {
  display: none;
}
.ct-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 86px rgba(25, 37, 82, 0.15), 0 4px 12px rgba(37, 48, 87, 0.06);
}
.ct-pricing-card--featured {
  border-color: rgba(80, 105, 246, 0.45);
}
:root[data-theme="dark"] .ct-pricing-card {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 3px 10px rgba(0, 0, 0, 0.3);
}
:root[data-theme="dark"] .ct-pricing-card--featured {
  border-color: rgba(96, 165, 250, 0.55);
}

.ct-card-accent {
  height: 5px;
  background: linear-gradient(90deg, #44d6b5, #526af6 52%, #8b5cf6);
}
.ct-card-accent--emerald {
  background: linear-gradient(90deg, #10b981, #06b6d4 52%, #3b82f6);
}
.ct-card-accent--violet {
  background: linear-gradient(90deg, #8b5cf6, #ec4899 52%, #526af6);
}
.ct-card-accent--amber {
  background: linear-gradient(90deg, #f59e0b, #f97316 52%, #526af6);
}
.ct-compare-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.ct-compare-brand-icon {
  --ct-item-rgb: 80 104 239;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  flex: none;
  border-radius: 16px;
  color: rgb(var(--ct-item-rgb));
  background: rgb(var(--ct-item-rgb) / 13%);
  border: 1px solid rgb(var(--ct-item-rgb) / 26%);
  box-shadow: 0 10px 22px rgb(var(--ct-item-rgb) / 14%);
  transition: transform 0.28s cubic-bezier(.2, .8, .2, 1);
}
.ct-pricing-card:hover .ct-compare-brand-icon {
  transform: scale(1.07) rotate(-3deg);
}
.ct-compare-brand-icon svg {
  width: 26px;
  height: 26px;
}
:root[data-theme="dark"] .ct-compare-brand-icon {
  background: rgb(var(--ct-item-rgb) / 20%);
  border-color: rgb(var(--ct-item-rgb) / 36%);
}
.ct-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px 30px;
  background:
    linear-gradient(135deg, rgba(238, 242, 255, 0.86), rgba(251, 252, 255, 0.45)),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(82, 106, 246, 0.02) 12px, rgba(82, 106, 246, 0.02) 24px);
}
:root[data-theme="dark"] .ct-card-header {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.45)),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(96, 165, 250, 0.03) 12px, rgba(96, 165, 250, 0.03) 24px);
}
.ct-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ct-popular-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 8px;
  color: #3a54d6;
  background: #e5eaff;
  font-size: 12px;
  font-weight: 800;
}
.ct-discount-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  color: #047857;
  background: #dcfce7;
  font-size: 11px;
  font-weight: 800;
}
.ct-category-pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #dce2f4;
  color: #475569;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
}
:root[data-theme="dark"] .ct-popular-badge { background: rgba(59, 130, 246, 0.24); color: #93c5fd; }
:root[data-theme="dark"] .ct-discount-badge { background: rgba(16, 185, 129, 0.22); color: #6ee7b7; }
:root[data-theme="dark"] .ct-category-pill {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
}

.ct-card-header h3 {
  color: #121c36;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}
.ct-card-header h3 strong { font-weight: 800; }
:root[data-theme="dark"] .ct-card-header h3 { color: #f8fafc; }
.ct-card-subtitle {
  margin-top: 5px;
  color: #778198;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
:root[data-theme="dark"] .ct-card-subtitle { color: #94a3b8; }

.ct-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
}
.ct-price {
  display: flex;
  direction: ltr;
  align-items: flex-start;
  color: #101a35;
}
:root[data-theme="dark"] .ct-price { color: #f8fafc; }
.ct-price > strong {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.ct-price .ct-currency {
  margin: 4px 5px 0 0;
  color: #4f68f5;
  font-size: 24px;
  font-weight: 800;
}
:root[data-theme="dark"] .ct-price .ct-currency { color: #60a5fa; }
.ct-price-meta {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 6px;
}
.ct-price-meta b {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.ct-price-meta small {
  color: #7c8498;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
:root[data-theme="dark"] .ct-price-meta small { color: #94a3b8; }
.ct-compare-price {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

.ct-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #edf0f6;
  border-bottom: 1px solid #edf0f6;
}
.ct-stats[data-stat-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.ct-stats[data-stat-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-stats[data-stat-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root[data-theme="dark"] .ct-stats {
  border-color: rgba(148, 163, 184, 0.16);
}
.ct-stat-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px;
}
.ct-stat-cell + .ct-stat-cell {
  border-inline-start: 1px solid #edf0f6;
}
:root[data-theme="dark"] .ct-stat-cell + .ct-stat-cell {
  border-inline-start-color: rgba(148, 163, 184, 0.16);
}
.ct-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: none;
  border-radius: 12px;
  color: #5068ef;
  background: #f0f3ff;
}
:root[data-theme="dark"] .ct-stat-icon {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.18);
}
.ct-stat-icon svg { width: 20px; height: 20px; }
.ct-stat-cell p { display: flex; flex-direction: column; min-width: 0; }
.ct-stat-cell strong {
  color: #17203a;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ct-stat-cell small {
  margin-top: 2px;
  color: #8a92a7;
  font-size: 11px;
  font-weight: 600;
}
:root[data-theme="dark"] .ct-stat-cell strong { color: #f1f5f9; }
:root[data-theme="dark"] .ct-stat-cell small { color: #94a3b8; }

.ct-platform-section { padding: 28px 36px 32px; }
.ct-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.ct-section-title h4 {
  color: #182139;
  font-size: 18px;
  font-weight: 800;
}
.ct-section-title p {
  margin-top: 3px;
  color: #8a92a5;
  font-size: 12px;
}
.ct-section-title > span {
  padding: 6px 10px;
  border: 1px solid #e2e6f1;
  border-radius: 9px;
  color: #63708a;
  background: #fafbfe;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
:root[data-theme="dark"] .ct-section-title h4 { color: #f8fafc; }
:root[data-theme="dark"] .ct-section-title p { color: #94a3b8; }
:root[data-theme="dark"] .ct-section-title > span {
  border-color: rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);
}
.ct-card-description {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6eaf4;
  background: #f8faff;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
}
:root[data-theme="dark"] .ct-card-description {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(30, 41, 59, 0.55);
  color: #cbd5e1;
}

.ct-platform-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-platform-list--compact { gap: 8px; }

.ct-tone-telegram { --ct-item-rgb: 34 158 217; }
.ct-tone-whatsapp { --ct-item-rgb: 34 197 94; }
.ct-tone-facebook { --ct-item-rgb: 24 119 242; }
.ct-tone-business { --ct-item-rgb: 18 140 126; }
.ct-tone-email { --ct-item-rgb: 99 102 241; }
.ct-tone-instagram { --ct-item-rgb: 225 48 108; }
.ct-tone-violet { --ct-item-rgb: 139 92 246; }
.ct-tone-amber { --ct-item-rgb: 245 158 11; }
.ct-tone-cyan { --ct-item-rgb: 6 182 212; }
.ct-tone-emerald { --ct-item-rgb: 16 185 129; }
.ct-tone-indigo { --ct-item-rgb: 80 104 239; }

.ct-platform-item {
  --ct-item-rgb: 80 104 239;
  --ct-delay: 0ms;
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid #e9ecf3;
  border-radius: 16px;
  background: #fbfcfe;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.ct-platform-list--compact .ct-platform-item {
  min-height: 54px;
  padding: 8px 11px;
  border-radius: 13px;
  gap: 11px;
}
.ct-platform-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 4px;
  background: rgb(var(--ct-item-rgb));
  content: '';
  opacity: 0.6;
}
.ct-platform-item:hover {
  border-color: rgb(var(--ct-item-rgb) / 30%);
  box-shadow: 0 9px 24px rgb(var(--ct-item-rgb) / 11%);
  transform: translateX(-4px);
}
:root[data-theme="dark"] .ct-platform-item {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(17, 26, 46, 0.88);
}
:root[data-theme="dark"] .ct-platform-item:hover {
  border-color: rgb(var(--ct-item-rgb) / 48%);
  box-shadow: 0 10px 26px rgb(var(--ct-item-rgb) / 16%);
}

.ct-platform-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: none;
  border-radius: 13px;
  color: rgb(var(--ct-item-rgb));
  background: rgb(var(--ct-item-rgb) / 11%);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), background-color 0.25s ease;
}
.ct-platform-list--compact .ct-platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
:root[data-theme="dark"] .ct-platform-icon {
  background: rgb(var(--ct-item-rgb) / 18%);
}
.ct-platform-item:hover .ct-platform-icon {
  transform: scale(1.08) rotate(-4deg);
}
.ct-platform-icon svg { width: 23px; height: 23px; }
.ct-platform-list--compact .ct-platform-icon svg { width: 19px; height: 19px; }

.ct-platform-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.ct-item-kicker {
  color: rgb(var(--ct-item-rgb));
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 2px;
}
.ct-platform-copy strong {
  color: #202941;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}
.ct-platform-copy small {
  margin-top: 3px;
  color: #9299a9;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}
:root[data-theme="dark"] .ct-platform-copy strong { color: #f1f5f9; }
:root[data-theme="dark"] .ct-platform-copy small { color: #94a3b8; }

.ct-check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #5068ed;
  background: #edf0ff;
}
:root[data-theme="dark"] .ct-check {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.2);
}
.ct-check svg { width: 16px; height: 16px; }

.ct-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 36px;
  border-top: 1px solid #edf0f6;
  background: #fafbfe;
}
:root[data-theme="dark"] .ct-card-footer {
  border-top-color: rgba(148, 163, 184, 0.16);
  background: rgba(11, 18, 34, 0.78);
}
.ct-guarantee {
  display: flex;
  align-items: center;
  gap: 11px;
}
.ct-guarantee > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: none;
  border-radius: 12px;
  color: #18a984;
  background: #e9faf5;
}
:root[data-theme="dark"] .ct-guarantee > span {
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
}
.ct-guarantee svg { width: 20px; height: 20px; }
.ct-guarantee p { display: flex; flex-direction: column; }
.ct-guarantee strong { color: #283249; font-size: 13px; font-weight: 800; }
.ct-guarantee small { margin-top: 2px; color: #9299a8; font-size: 11px; }
:root[data-theme="dark"] .ct-guarantee strong { color: #f1f5f9; }
:root[data-theme="dark"] .ct-guarantee small { color: #94a3b8; }

.ct-subscribe-btn {
  display: inline-flex;
  min-width: 190px;
  height: 54px;
  padding-inline: 22px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap;
  border: 0;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #536cf8, #4057df);
  box-shadow: 0 12px 24px rgba(65, 86, 224, 0.24);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ct-subscribe-btn:hover {
  box-shadow: 0 16px 30px rgba(65, 86, 224, 0.34);
  transform: translateY(-2px);
}
.ct-subscribe-btn:active { transform: translateY(0); }
.ct-subscribe-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.ct-subscribe-btn:hover svg { transform: translateX(-4px); }

.ct-stagger-0 { --ct-delay: 0ms; }
.ct-stagger-1 { --ct-delay: 70ms; }
.ct-stagger-2 { --ct-delay: 140ms; }
.ct-stagger-3 { --ct-delay: 210ms; }
.ct-stagger-4 { --ct-delay: 280ms; }
.ct-stagger-5 { --ct-delay: 350ms; }
.ct-stagger-6 { --ct-delay: 420ms; }
.ct-stagger-7 { --ct-delay: 490ms; }
.ct-stagger-8 { --ct-delay: 560ms; }
.ct-stagger-9 { --ct-delay: 630ms; }

@keyframes ctPulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79, 103, 245, 0.14); }
  50% { box-shadow: 0 0 0 9px rgba(79, 103, 245, 0); }
}
@keyframes ctPlatformEnter {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes ctIconWave {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2.5px) scale(1.06); }
}

@media (prefers-reduced-motion: no-preference) {
  .ct-pricing-eyebrow-dot { animation: ctPulseDot 2s ease-in-out infinite; }
  .ct-platform-item { animation: ctPlatformEnter 0.48s calc(0.08s + var(--ct-delay)) ease both; }
  .ct-platform-icon svg {
    animation: ctIconWave 3.2s calc(var(--ct-delay) * 1.4) ease-in-out infinite;
  }
  .ct-stat-icon svg {
    animation: ctIconWave 3.6s ease-in-out infinite;
  }
  .ct-platform-item:hover .ct-platform-icon svg {
    animation: none;
  }
}

@media (max-width: 700px) {
  .ct-pricing-section { padding: 3rem 0 3.75rem; }
  .ct-pricing-shell { width: min(100% - 24px, 1140px); }
  .ct-pricing-hero h2 { margin-top: 16px; font-size: 32px; }
  .ct-pricing-hero p { font-size: 14px; }
  .ct-package-tabs { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 26px auto 22px; }
  .ct-package-tab { min-height: 52px; }
  .ct-card-header { align-items: flex-start; flex-direction: column; padding: 26px 22px; gap: 18px; }
  .ct-price-block { align-items: flex-start; }
  .ct-price > strong { font-size: 54px; }
  .ct-stats[data-stat-cols] { grid-template-columns: minmax(0, 1fr); }
  .ct-stat-cell { justify-content: flex-start; padding: 15px 22px; }
  .ct-stat-cell + .ct-stat-cell { border-inline-start: 0; border-top: 1px solid #edf0f6; }
  :root[data-theme="dark"] .ct-stat-cell + .ct-stat-cell { border-top-color: rgba(148, 163, 184, 0.16); }
  .ct-platform-section { padding: 24px 18px; }
  .ct-card-footer { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .ct-subscribe-btn { width: 100%; }
  .ct-compare-head-row { gap: 12px; }
  .ct-compare-brand-icon { width: 46px; height: 46px; border-radius: 14px; }
  .ct-compare-brand-icon svg { width: 22px; height: 22px; }
}

/* Lazy YouTube Facade */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #071b3a;
  border: 1px solid var(--color-border);
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: rgb(7 27 58 / 45%);
  color: white;
  cursor: pointer;
  transition: background-color 180ms ease-out;
}
.yt-play-btn:hover { background: rgb(7 27 58 / 28%); }
.yt-play-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgb(37 99 235 / 92%);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgb(0 0 0 / 35%);
  transition: transform 180ms ease-out, background-color 180ms ease-out;
}
.yt-play-btn:hover .yt-play-circle { transform: scale(1.08); background: var(--color-primary-hover); }

/* Animated Icons & Progressive Scroll Reveals */
@keyframes ctFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes ctPulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--ct-primary) / 20%); }
  50% { box-shadow: 0 0 0 7px rgb(var(--ct-primary) / 0%); }
}
@media (prefers-reduced-motion: no-preference) {
  .ct-icon-anim { animation: ctFloatSoft 3.6s ease-in-out infinite; }
  .ct-badge-pulse { animation: ctPulseRing 2.8s ease-in-out infinite; }
  .service-card:hover .ct-icon-anim { transform: scale(1.1) rotate(-3deg); transition: transform 200ms ease-out; }
  html.js-motion-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 420ms ease-out, transform 420ms ease-out;
  }
  html.js-motion-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Report & Analytics Shell */
.report-shell { width: min(100%, 1280px); margin-inline: auto; padding: clamp(1rem, 4vw, 2rem); display: grid; gap: 1.5rem; }
.report-heading, .report-section-heading { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.report-heading h1 { color: var(--color-ink); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.3; }
.report-heading p { color: var(--color-muted); margin-top: .5rem; }
.report-toolbar, .report-panel, .report-metric {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.report-toolbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: end; padding: 1.25rem; }
.report-toolbar label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 700; flex: 1 1 8rem; }
.report-toolbar :is(input, select) { padding: .5rem .65rem; width: 100%; font-weight: 700; }
.report-toolbar .report-muted { align-self: center; }
.report-period label { max-width: 14rem; }
.report-period .report-muted { margin-inline-start: auto; }
.report-panel { padding: clamp(1rem, 3vw, 1.5rem); min-width: 0; }
.report-panel h2 { color: var(--color-ink); font-size: 1.125rem; font-weight: 800; }
.report-panel > p { margin-top: .65rem; }
.report-muted { color: var(--color-muted); font-size: .82rem; }
.report-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); gap: .8rem; }
.report-metric { display: grid; align-content: start; gap: .4rem; padding: 1.125rem; }
.report-metric span, .report-metric small { font-size: .8rem; color: var(--color-muted); }
.report-metric strong { color: var(--color-primary-hover); font-size: 2rem; line-height: 1.25; font-weight: 800; font-variant-numeric: tabular-nums; }
.report-metric .report-country { font-size: 1.35rem; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.report-table-wrap { overflow: auto; max-height: 33rem; margin-top: .8rem; }
.report-table { width: 100%; text-align: start; border-collapse: collapse; font-size: .83rem; }
.report-visit-table { min-width: 780px; }
.report-table :is(th, td) { text-align: start; padding: .68rem .6rem; border-bottom: 1px solid var(--color-border); }
.report-table thead th { position: sticky; top: 0; background: var(--ct-table-head-bg); color: var(--ct-table-head-ink); white-space: nowrap; }
.report-table tbody tr:hover { background: var(--color-primary-light); }
.report-table a { color: var(--color-primary-hover); text-decoration: underline; text-underline-offset: 3px; }
.report-path { display: block; text-align: start; color: var(--color-muted); overflow-wrap: anywhere; }
.report-chart { display: flex; gap: clamp(2px, .65vw, 9px); margin-top: 1rem; }
.report-chart-column { flex: 1 1 0; min-width: 0; position: relative; padding-bottom: 1.25rem; }
.report-chart-track { height: 9rem; display: flex; flex-direction: column; justify-content: end; background: var(--color-bg); border-radius: 6px; overflow: hidden; }
.report-chart-track span { width: 100%; background: linear-gradient(to top, var(--color-primary), var(--color-aqua)); border-start-start-radius: 6px; border-start-end-radius: 6px; }
.report-chart time { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: .68rem; white-space: nowrap; color: var(--color-muted); }
.report-chart-column:first-child time { left: 0; transform: none; }
.report-chart-column:last-child time { right: 0; left: auto; transform: none; }
.report-chart-data { margin-top: 1rem; color: var(--color-muted); font-size: .85rem; }
.report-chart-data summary { cursor: pointer; color: var(--color-primary-hover); }
.report-chart-data dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .5rem; margin-top: .75rem; }
.report-chart-data dl div { display: flex; justify-content: space-between; gap: .5rem; background: var(--color-bg); border-radius: 8px; padding: .3rem .6rem; }
.report-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding-top: 1rem; }

#toast-container { position: fixed; inset: 1rem auto auto 1rem; z-index: 100; display: grid; gap: .75rem; pointer-events: none; }
.cyber-toast {
  pointer-events: auto;
  width: min(400px, calc(100vw - 2rem));
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: .875rem 1.125rem;
  box-shadow: var(--shadow-card);
  transition: opacity 200ms ease-out;
}

@media (max-width: 730px) {
  .report-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Collapsible Dropdown Footer (Mobile & Desktop, Cairo Bold) */
.ct-footer {
  position: relative;
  background: linear-gradient(180deg, #0b1428 0%, #070e1d 100%);
  color: #cbd5e1;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-family: Cairo, Tahoma, Arial, sans-serif;
}
.ct-footer::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(59, 130, 246, 0.72) 35%, rgba(6, 182, 212, 0.72) 65%, transparent 95%);
  content: '';
  pointer-events: none;
}
:root[data-theme="dark"] .ct-footer {
  background: linear-gradient(180deg, #070d1c 0%, #050914 100%);
  border-top-color: rgba(148, 163, 184, 0.2);
}

.ct-footer-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 2.5rem 1rem 1.75rem;
}
@media (min-width: 640px) {
  .ct-footer-inner {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .ct-footer-inner {
    padding-inline: 2rem;
  }
}

.ct-footer-brand-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
@media (min-width: 768px) {
  .ct-footer-brand-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.ct-footer-brand-copy {
  max-width: 42rem;
  margin: 0.5rem 0 0;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.75;
}
.ct-footer-wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  font-size: 0.8125rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.ct-footer-wa-cta:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(110, 231, 183, 0.6);
  color: #ecfdf5;
  transform: translateY(-1px);
}

.ct-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .ct-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .ct-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.ct-footer-block {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
.ct-footer-block.is-open {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
}

.ct-footer-heading {
  margin: 0;
}
.ct-footer-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: start;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.ct-footer-trigger:hover {
  background: rgba(255, 255, 255, 0.045);
}
.ct-footer-trigger:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: -2px;
  border-radius: 14px;
}
.ct-footer-trigger-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.ct-footer-title-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.26);
}
.ct-footer-chevron {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, color 180ms ease;
}
.ct-footer-block.is-open .ct-footer-chevron {
  transform: rotate(180deg);
  background: rgba(59, 130, 246, 0.24);
  color: #ffffff;
}

.ct-footer-panel {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease;
}
html.js-footer-ready .ct-footer-block:not(.is-open) .ct-footer-panel {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}
.ct-footer-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.ct-footer-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.75rem 0.875rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ct-footer-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.ct-footer-link:hover {
  background: rgba(59, 130, 246, 0.16);
  color: #ffffff;
  transform: translateX(-3px);
}
.ct-footer-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.6);
  flex: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.ct-footer-link:hover .ct-footer-link-dot {
  background: #38bdf8;
  transform: scale(1.25);
}

.ct-footer-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.ct-footer-contact-icon--wa {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}
.ct-footer-contact-icon--fb {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}
.ct-footer-contact-icon--yt {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
}
.ct-footer-contact-icon--info {
  background: rgba(6, 182, 212, 0.16);
  color: #22d3ee;
}

.ct-footer-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.4rem 0.65rem;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.ct-footer-bottom {
  padding-top: 1.25rem;
  padding-bottom: 4.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}
@media (min-width: 640px) {
  .ct-footer-bottom {
    flex-direction: row;
    padding-bottom: 0.75rem;
    padding-inline-start: 5.5rem;
    padding-inline-end: 0;
  }
}
@media (min-width: 1024px) {
  .ct-footer-bottom {
    padding-bottom: 0.25rem;
    padding-inline-start: 5.5rem;
    padding-inline-end: 0;
  }
}
.ct-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.ct-footer-legal a {
  color: #cbd5e1;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}
.ct-footer-legal a:hover {
  color: #ffffff;
}

/* Floating Multi-Channel Contact Hub (Bottom-Right) */
.ct-fab-hub {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  pointer-events: none;
}
.ct-fab-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}
.ct-fab-hub.is-open .ct-fab-actions {
  pointer-events: auto;
  visibility: visible;
}
.ct-fab-item {
  position: relative;
  opacity: 0;
  transform: translateY(14px) scale(0.75);
  transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ct-fab-hub.is-open .ct-fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ct-fab-hub.is-open .ct-fab-item:nth-child(4) { transition-delay: 0ms; }
.ct-fab-hub.is-open .ct-fab-item:nth-child(3) { transition-delay: 45ms; }
.ct-fab-hub.is-open .ct-fab-item:nth-child(2) { transition-delay: 90ms; }
.ct-fab-hub.is-open .ct-fab-item:nth-child(1) { transition-delay: 135ms; }

.ct-fab-btn {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms ease;
}
.ct-fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}
.ct-fab-btn:active {
  transform: scale(0.95);
}
.ct-fab-btn:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.ct-fab-btn--whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.ct-fab-btn--phone { background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%); }
.ct-fab-btn--facebook { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.ct-fab-btn--youtube { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }

.ct-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}
.ct-fab-btn:hover .ct-fab-tooltip,
.ct-fab-btn:focus-visible .ct-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ct-fab-toggle {
  position: relative;
  pointer-events: auto;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366 0%, #15803d 100%);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.38);
  transition: background 240ms ease, transform 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 220ms ease;
}
.ct-fab-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.45);
}
.ct-fab-toggle:active {
  transform: scale(0.95);
}
.ct-fab-toggle:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}
.ct-fab-toggle::before {
  position: absolute;
  inset: -7px;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.24);
  content: '';
  z-index: -1;
  transition: opacity 220ms ease;
}
@keyframes ctFabPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.16); opacity: 0.15; }
}
@media (prefers-reduced-motion: no-preference) {
  .ct-fab-toggle::before {
    animation: ctFabPulse 2.4s ease-in-out infinite;
  }
}
.ct-fab-hub.is-open .ct-fab-toggle {
  background: linear-gradient(135deg, #52525b 0%, #3f3f46 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.38);
}
.ct-fab-hub.is-open .ct-fab-toggle::before {
  animation: none;
  opacity: 0.28;
  background: rgba(71, 85, 105, 0.28);
}

.ct-fab-icon-chat,
.ct-fab-icon-close {
  position: absolute;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ct-fab-icon-chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.ct-fab-icon-close {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}
.ct-fab-hub.is-open .ct-fab-icon-chat {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}
.ct-fab-hub.is-open .ct-fab-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  html.js-motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
