/* WebCom POS Landing — Frontend v2.1 (modern) */
.wcom-landing {
  --navy: #0b2239;
  --ink: #12304a;
  --teal: #0d4f6b;
  --accent: #1a7a9c;
  --accent-2: #22b8cf;
  --muted: #5d6b7a;
  --line: #e3eaf1;
  --bg: #f5f8fb;
  --card: #fff;
  --green: #16a34a;
  --gold: #e8b923;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 34, 57, .07);
  --shadow-lg: 0 24px 60px rgba(11, 34, 57, .14);
  /* kept for the order modal styles below */
  --wcom-navy: var(--navy); --wcom-muted: var(--muted); --wcom-border: var(--line); --wcom-green: var(--green);
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wcom-landing * { box-sizing: border-box; }
.wcom-landing a { text-decoration: none; }
html { scroll-behavior: smooth; }
.wcom-landing section[id] { scroll-margin-top: 84px; }

/* ===== Full-screen mode: hide theme chrome ===== */
body.wcom-fullscreen { margin: 0; background: var(--bg, #f5f8fb); }
body.wcom-fullscreen .wcom-landing { width: 100%; }
html.wcom-fs-on body:not(.wcom-fullscreen) :is(
  #masthead, #colophon, #site-header, #site-footer, #header, #footer, #main-header, #main-footer,
  .site-header, .site-footer, .main-header, .main-footer, .footer-widgets, .widget-area,
  .elementor-location-header, .elementor-location-footer,
  [data-elementor-type="header"], [data-elementor-type="footer"],
  .ast-above-header-wrap, .ast-main-header-wrap, .ast-small-footer, .ast-breadcrumbs-wrapper,
  .page-header, .entry-header, .entry-title, .breadcrumbs, .breadcrumb, #wpadminbar-placeholder,
  body > header, body > footer, body > nav, #page > header, #page > footer,
  .webcom-tech-footer, header, footer, .elementor-location-popup
):not(.wcom-header):not(.wcom-footer) { display: none !important; }
html.wcom-fs-on body:not(.wcom-fullscreen) .wcom-landing {
  width: 100%; max-width: 100%; margin-inline: 0; position: relative;
}
html.wcom-fs-on body:not(.wcom-fullscreen) :is(.site-content, .content-area, #content, #primary, .entry-content, main, article, .container, .ast-container, .site-main) {
  padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; max-width: none;
}
.admin-bar .wcom-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wcom-header { top: 46px; } }

/* ===== Header ===== */
.wcom-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.wcom-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11,34,57,.06); background: rgba(255,255,255,.94); }
.wcom-header-inner { max-width: 1180px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 22px; }
.wcom-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 1.2rem; }
.wcom-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), var(--accent-2)); position: relative; box-shadow: 0 6px 16px rgba(26,122,156,.35); }
.wcom-logo-mark::after { content: ""; position: absolute; inset: 9px; border: 2.5px solid #fff; border-radius: 4px; border-left: none; border-bottom: none; transform: rotate(-45deg) translate(2px, 2px); }
.wcom-logo-text small { color: var(--accent); font-weight: 700; margin-inline-start: 3px; }
.wcom-nav { display: flex; gap: 6px; margin-inline-start: auto; margin-inline-end: auto; }
.wcom-nav a { color: var(--ink); font-size: .95rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.wcom-nav a:hover { background: #e9f3f8; color: var(--teal); }
.wcom-nav .wcom-btn-nav-wa { display: none; }

/* ===== Buttons ===== */
.wcom-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; background: var(--navy); color: #fff !important; border: 0; border-radius: 12px; padding: 12px 22px; font-size: .95rem; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.wcom-btn:hover { background: #07192a; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11,34,57,.2); }
.wcom-btn:focus-visible, .wcom-landing a:focus-visible, .wcom-burger:focus-visible { outline: 3px solid rgba(34,184,207,.55); outline-offset: 2px; }
.wcom-btn-header { padding: 10px 20px; border-radius: 999px; white-space: nowrap; background: linear-gradient(135deg, var(--accent), var(--teal)); }
.wcom-btn-header:hover { background: linear-gradient(135deg, var(--teal), var(--navy)); }
.wcom-btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 14px; }
.wcom-btn-primary { background: linear-gradient(135deg, var(--accent), var(--teal)); box-shadow: 0 12px 28px rgba(26,122,156,.35); }
.wcom-btn-primary:hover { background: linear-gradient(135deg, #1d8db3, var(--teal)); box-shadow: 0 16px 34px rgba(26,122,156,.45); }
.wcom-btn-ghost { background: #fff; color: var(--navy) !important; border: 1.5px solid var(--line); }
.wcom-btn-ghost:hover { background: #fff; border-color: var(--accent); box-shadow: 0 10px 22px rgba(11,34,57,.1); }
.wcom-btn-light { background: #fff; color: var(--navy) !important; }
.wcom-btn-light:hover { background: #f1f7fb; }
.wcom-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.55); }
.wcom-btn-outline:hover { background: rgba(255,255,255,.12); }
.wcom-btn-block { width: 100%; }
.wcom-btn[disabled] { opacity: .6; cursor: not-allowed; }

.wcom-burger { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.wcom-burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.wcom-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wcom-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wcom-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.wcom-hero { position: relative; padding: 56px 22px 84px; overflow: hidden; }
.wcom-hero-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(900px 420px at 85% -10%, rgba(34,184,207,.22), transparent 60%),
  radial-gradient(700px 380px at 5% 10%, rgba(13,79,107,.16), transparent 60%),
  linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.wcom-hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11,34,57,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.wcom-hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.wcom-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--teal); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(11,34,57,.06); margin-bottom: 18px; }
.wcom-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.wcom-hero h1 { margin: 0 0 16px; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; background: linear-gradient(135deg, var(--navy) 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wcom-hero p { margin: 0 0 28px; color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.wcom-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wcom-hero-actions.wcom-center { justify-content: center; }
.wcom-landing ul.wcom-chips,
.wcom-chips {
  list-style: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center;
}
.wcom-landing ul.wcom-chips li,
.wcom-chips li {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.wcom-chips li::before { content: "✓"; color: var(--green); margin-inline-end: 6px; font-weight: 800; }
.wcom-chips li::marker { content: none; display: none; }

.wcom-hero-visual { perspective: 1400px; }
.wcom-browser { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotateY(-6deg) rotateX(3deg); transition: transform .5s ease; }
.wcom-hero-visual:hover .wcom-browser { transform: rotateY(0) rotateX(0); }
.wcom-browser-bar { display: flex; gap: 6px; padding: 12px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.wcom-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.wcom-browser-bar i:nth-child(1) { background: #fb7185; } .wcom-browser-bar i:nth-child(2) { background: #fbbf24; } .wcom-browser-bar i:nth-child(3) { background: #4ade80; }
.wcom-browser > img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.wcom-mock { display: grid; grid-template-columns: 70px 1fr; min-height: 300px; background: #f8fafc; }
.wcom-mock-side { background: var(--navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.wcom-mock-side b { height: 10px; border-radius: 6px; background: rgba(255,255,255,.28); } .wcom-mock-side b:first-child { background: var(--accent-2); }
.wcom-mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wcom-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wcom-mock-cards span { height: 52px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 10px rgba(11,34,57,.04); position: relative; }
.wcom-mock-cards span::after { content: ""; position: absolute; right: 12px; top: 14px; width: 40%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.wcom-mock-chart { height: 110px; display: flex; align-items: flex-end; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.wcom-mock-chart em { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.wcom-mock-rows { display: flex; flex-direction: column; gap: 8px; }
.wcom-mock-rows u { height: 12px; border-radius: 6px; background: #e2e8f0; } .wcom-mock-rows u:nth-child(2) { width: 80%; } .wcom-mock-rows u:nth-child(3) { width: 60%; }

/* ===== Section heads ===== */
.wcom-packages, .wcom-steps, .wcom-gallery, .wcom-features, .wcom-faq { max-width: 1180px; margin: 0 auto; padding: 72px 22px; }
.wcom-section-head { text-align: center; margin-bottom: 40px; }
.wcom-kicker { display: inline-block; color: var(--accent); background: #e6f4f9; font-weight: 800; font-size: .8rem; padding: 4px 14px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .02em; }
.wcom-section-head h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.wcom-section-head p { margin: 0; color: var(--muted); }

/* ===== Packages ===== */
.wcom-packages-empty { text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; }
.wcom-packages-empty a { color: var(--accent); font-weight: 700; }
.wcom-packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.wcom-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px 22px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.wcom-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe3ee; }
.wcom-card.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--gold), var(--accent-2)) border-box; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.wcom-card.is-featured:hover { transform: translateY(-16px); }
.wcom-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold), #d4a017); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(212,160,23,.4); }
.wcom-card-name { margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; text-align: center; }
.wcom-card-desc { text-align: center; color: var(--muted); font-size: .86rem; margin: 0 0 14px; min-height: 3em; line-height: 1.6; }
.wcom-card-price { text-align: center; font-size: 1.25rem; font-weight: 800; color: var(--teal); padding: 14px 8px; margin-bottom: 14px; border-radius: 14px; background: #f1f8fb; }
.wcom-card-price.has-price { font-size: 2rem; }
.wcom-card-price small { font-size: .85rem; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }
.wcom-card-features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.wcom-card-features li { position: relative; padding: 7px 28px 7px 0; font-size: .92rem; color: #324559; }
.wcom-card-features li::before { content: ""; position: absolute; right: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.wcom-btn-card { width: 100%; margin-top: auto; }
.wcom-card.is-featured .wcom-btn-card { background: linear-gradient(135deg, var(--accent), var(--teal)); }

/* ---- مقارنة سريعة ---- */
.wcom-landing .wcom-compare {
  margin-top: 28px;
  position: relative;
  z-index: 2;
}
.wcom-landing .wcom-compare-toggle::-webkit-details-marker { display: none; }
.wcom-landing .wcom-compare-toggle::marker { content: ""; }
.wcom-landing .wcom-compare-toggle {
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--text) !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: right !important;
  cursor: pointer !important;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(14, 116, 144, 0.15);
  user-select: none;
}
.wcom-landing .wcom-compare-toggle:hover,
.wcom-landing .wcom-compare-toggle:focus {
  border-color: #cfe3ee !important;
  box-shadow: var(--shadow-lg);
  outline: none;
}
.wcom-landing .wcom-compare-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.wcom-landing .wcom-compare[open] .wcom-compare-toggle {
  border-radius: 14px 14px 0 0 !important;
  border-bottom-color: transparent !important;
  box-shadow: none;
}
.wcom-landing .wcom-compare-toggle-label {
  flex: 1;
  pointer-events: none;
}
.wcom-landing .wcom-compare-toggle-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef6fa !important;
  position: relative;
  pointer-events: none;
}
.wcom-landing .wcom-compare-toggle-icon::before,
.wcom-landing .wcom-compare-toggle-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .2s, opacity .2s;
}
.wcom-landing .wcom-compare-toggle-icon::before {
  width: 12px; height: 2px; top: 13px; left: 8px;
}
.wcom-landing .wcom-compare-toggle-icon::after {
  width: 2px; height: 12px; top: 8px; left: 13px;
}
.wcom-landing .wcom-compare[open] .wcom-compare-toggle-icon::after {
  transform: scaleY(0);
}
.wcom-landing .wcom-compare-panel {
  display: block;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
  padding: 0 0 12px;
  overflow: hidden;
}

/* توافق مع HTML قديم مخزّن في الكاش (زر + لوحة hidden) */
.wcom-landing .wcom-compare-panel[hidden] { display: none !important; }
.wcom-landing .wcom-compare.is-open .wcom-compare-panel[hidden] { display: block !important; }
.wcom-landing .wcom-compare.is-open .wcom-compare-toggle {
  border-radius: 14px 14px 0 0 !important;
  border-bottom-color: transparent !important;
  box-shadow: none;
}
.wcom-landing .wcom-compare.is-open .wcom-compare-toggle-icon::after { transform: scaleY(0); }
.wcom-landing .wcom-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 12px 8px;
  max-width: 100%;
}
.wcom-landing .wcom-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: .9rem;
}
.wcom-landing .wcom-compare-table th,
.wcom-landing .wcom-compare-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}
.wcom-landing .wcom-compare-table thead th {
  font-weight: 800;
  color: var(--text);
  background: #f7fafc;
  white-space: nowrap;
}
.wcom-landing .wcom-compare-table thead th.is-featured { color: var(--accent); }
.wcom-landing .wcom-compare-star { color: var(--gold, #d4a017); margin-inline-start: 2px; font-size: .85em; }
.wcom-landing .wcom-compare-feat-col,
.wcom-landing .wcom-compare-table tbody th {
  text-align: right;
  font-weight: 600;
  color: #324559;
  min-width: 120px;
  max-width: 220px;
}
.wcom-landing .wcom-compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-weight: 800;
  font-size: .95rem;
}
.wcom-landing .wcom-compare-no {
  color: #94a3b8;
  font-weight: 600;
}
.wcom-landing .wcom-compare-hint {
  margin: 4px 16px 0;
  font-size: .8rem;
  color: var(--muted);
}

/* ---- إشارات ثقة ---- */
.wcom-landing .wcom-trust {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}
.wcom-landing .wcom-trust li {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #3d5166 !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 10px 16px 10px 14px !important;
  box-shadow: var(--shadow);
  margin: 0 !important;
}
.wcom-landing .wcom-trust-icon {
  display: flex !important;
  color: var(--teal) !important;
  flex-shrink: 0;
}
.wcom-landing .wcom-trust-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.wcom-link-wa { display: block; text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); text-decoration: underline !important; }
.wcom-link-wa:hover { color: var(--teal); }

/* ===== Steps ===== */
.wcom-steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.wcom-steps-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); }
.wcom-step-num { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--accent), var(--teal)); box-shadow: 0 10px 22px rgba(26,122,156,.32); }
.wcom-steps-grid h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.wcom-steps-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ===== Gallery ===== */
.wcom-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcom-gallery-item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.wcom-gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wcom-gallery-frame { position: relative; aspect-ratio: 16/10; background: #eef2f7; cursor: zoom-in; overflow: hidden; }
.wcom-gallery-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s; }
.wcom-gallery-frame:hover img { transform: scale(1.05); }
.wcom-gallery-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,34,57,.35)); opacity: 0; transition: opacity .25s; }
.wcom-gallery-frame:hover::after { opacity: 1; }
.wcom-gallery-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: .9rem; }
.wcom-zoom-hint { position: absolute; bottom: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.wcom-gallery-item figcaption { text-align: center; padding: 14px; font-weight: 700; font-size: .98rem; }

/* ===== Features ===== */
.wcom-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcom-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.wcom-feature:hover { transform: translateY(-4px); border-color: #b9dcea; }
.wcom-feature-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--teal); background: linear-gradient(135deg, #e3f4fa, #d3eef7); }
.wcom-feature h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; }
.wcom-feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ===== FAQ ===== */
.wcom-faq { max-width: 820px; }
.wcom-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 2px 20px; transition: box-shadow .2s, border-color .2s; }
.wcom-faq-item[open] { border-color: #b9dcea; box-shadow: var(--shadow); }
.wcom-faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wcom-faq-item summary::-webkit-details-marker { display: none; }
.wcom-faq-item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e6f4f9; color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .2s; }
.wcom-faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.wcom-faq-a { color: var(--muted); font-size: .95rem; padding: 0 0 18px; }

/* ===== CTA ===== */
.wcom-cta { max-width: 1180px; margin: 0 auto; padding: 24px 22px 72px; }
.wcom-cta-box { text-align: center; color: #fff; padding: 56px 24px; border-radius: 28px; background:
  radial-gradient(500px 240px at 90% 0%, rgba(34,184,207,.35), transparent 60%),
  linear-gradient(135deg, var(--navy), var(--teal)); box-shadow: var(--shadow-lg); }
.wcom-cta-box h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.wcom-cta-box p { margin: 0 0 24px; color: rgba(255,255,255,.82); }

/* ===== Footer ===== */
.wcom-footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 22px 90px; }
.wcom-footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.wcom-footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.wcom-footer-nav a { color: var(--muted); font-size: .92rem; font-weight: 600; }
.wcom-footer-nav a:hover { color: var(--teal); }
.wcom-footer-copy { margin: 0; color: var(--muted); font-size: .85rem; }

/* ===== Floating WhatsApp ===== */
.wcom-float-wa { position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s; }
.wcom-float-wa:hover { transform: scale(1.08); }
.wcom-float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wcomPulse 2.4s infinite; }
@keyframes wcomPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ===== Lightbox ===== */
.wcom-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,18,32,.9); display: flex; align-items: center; justify-content: center; padding: 24px; }
.wcom-lightbox[hidden] { display: none !important; }
.wcom-lightbox img { max-width: min(1100px, 100%); max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.wcom-lightbox-close { position: absolute; top: 16px; left: 16px; background: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; font-size: 24px; cursor: pointer; line-height: 1; }

/* ===== Scroll reveal ===== */
.wcom-js .wcom-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.wcom-js .wcom-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wcom-js .wcom-reveal { opacity: 1; transform: none; transition: none; }
  .wcom-browser, .wcom-card, .wcom-float-wa::before { transition: none; animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .wcom-hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .wcom-hero p { margin-inline: auto; }
  .wcom-hero-actions, .wcom-chips { justify-content: center; }
  .wcom-browser { transform: none; max-width: 640px; margin: 0 auto; }
  .wcom-packages-grid { grid-template-columns: repeat(2, 1fr); }
  .wcom-card.is-featured { transform: none; }
  .wcom-card.is-featured:hover { transform: translateY(-6px); }
  .wcom-gallery-grid, .wcom-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .wcom-burger { display: flex; }
  .wcom-btn-header { display: none; }
  .wcom-nav { position: absolute; top: 100%; right: 0; left: 0; margin: 0; flex-direction: column; gap: 2px; background: #fff; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,34,57,.1); display: none; }
  .wcom-nav.is-open { display: flex; }
  .wcom-nav a { padding: 12px 14px; border-radius: 12px; }
  .wcom-nav .wcom-btn-nav-wa { display: inline-flex; margin-top: 8px; background: linear-gradient(135deg, var(--accent), var(--teal)); }
  .wcom-steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wcom-hero { padding: 36px 16px 56px; }
  .wcom-hero-actions .wcom-btn { width: 100%; }
  .wcom-packages, .wcom-steps, .wcom-gallery, .wcom-features, .wcom-faq { padding: 52px 16px; }
  .wcom-packages-grid, .wcom-gallery-grid, .wcom-features-grid { grid-template-columns: 1fr; }
  .wcom-card-desc { min-height: 0; }
  .wcom-landing .wcom-trust { gap: 10px; }
  .wcom-landing .wcom-trust li { font-size: .88rem !important; padding: 10px 14px !important; width: 100%; justify-content: center; box-sizing: border-box; }
  /* تثبيت تنسيق عناصر الثقة على الهواتف حتى مع قواعد القوالب الخارجية */
  .wcom-landing ul.wcom-trust { list-style: none !important; display: flex !important; flex-direction: column; align-items: stretch; margin: 20px 0 0 !important; padding: 0 !important; }
  .wcom-landing ul.wcom-trust > li { display: flex !important; list-style: none !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: var(--shadow); text-align: right; }
  .wcom-landing .wcom-compare { width: 100%; max-width: 100%; }
  .wcom-landing .wcom-compare-toggle { width: 100% !important; min-height: 52px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; box-sizing: border-box !important; }
  .wcom-landing .wcom-compare-panel { max-width: 100%; }
  .wcom-landing .wcom-compare-scroll { overflow-x: auto !important; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .wcom-landing .wcom-compare-table { min-width: 480px !important; }
  .wcom-landing .wcom-compare-toggle { font-size: .95rem !important; min-height: 52px; padding: 16px 16px !important; }
  .wcom-landing .wcom-compare { margin-top: 20px; }

  .wcom-cta-box { padding: 40px 18px; border-radius: 22px; }
}

/* ===== v2: order modal & form ===== */
.wcom-link-wa {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--wcom-muted);
  text-decoration: underline;
}
.wcom-link-wa:hover { color: var(--wcom-navy); }
.wcom-btn-block { width: 100%; }

.wcom-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 20, 35, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
.wcom-modal[hidden] { display: none !important; }
.wcom-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  min-width: 0;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 26px 22px 22px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.wcom-modal-box h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  text-align: center;
}
.wcom-modal-close {
  position: absolute;
  top: 10px;
  left: 12px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--wcom-muted);
}
/* Keep the order form within the modal viewport: vertical scrolling remains enabled. */
.wcom-modal-box,
.wcom-modal-box form,
.wcom-modal-box .wcom-field,
.wcom-modal-box .wcom-field input,
.wcom-modal-box .wcom-field select,
.wcom-modal-box .wcom-field textarea,
.wcom-modal-box button {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.wcom-modal-box form { width: 100%; }
.wcom-field {
  display: block;
  margin-bottom: 12px;
}
.wcom-field > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.wcom-field input,
.wcom-field select,
.wcom-field textarea {
  width: 100%;
  border: 1px solid var(--wcom-border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--wcom-navy);
}
.wcom-field input:focus,
.wcom-field select:focus,
.wcom-field textarea:focus {
  outline: 2px solid #1a7a9c;
  outline-offset: 1px;
}
.wcom-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wcom-form-msg {
  color: #b91c1c;
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-bottom: 8px;
}
.wcom-form-msg:empty { display: none; }
.wcom-btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* خيار إنشاء حساب داخل نموذج الطلب */
.wcom-account-opt {
  margin: 14px 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f7f4;
  border: 1px solid #d5e8df;
}
.wcom-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--wcom-ink, #1a2e28);
  line-height: 1.4;
}
.wcom-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--wcom-green, #0d9488);
}
.wcom-check em {
  font-style: normal;
  font-weight: 500;
  color: var(--wcom-muted, #5c6f68);
  font-size: 0.85em;
}
.wcom-account-hint {
  margin: 8px 0 0 28px;
  font-size: 0.82rem;
  color: var(--wcom-muted, #5c6f68);
  line-height: 1.45;
}
.wcom-account-fields {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #c5ddd3;
}
.wcom-account-fields[hidden] { display: none !important; }
.wcom-account-note {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--wcom-muted, #5c6f68);
}
.wcom-success-account {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.9rem;
  line-height: 1.45;
}
.wcom-success-account[hidden],
.wcom-success-login[hidden] { display: none !important; }
.wcom-success .wcom-btn-ghost {
  margin-top: 8px;
  background: transparent;
  color: var(--wcom-ink, #1a2e28);
  border: 1px solid #c5d5cf;
}

.wcom-success { text-align: center; }
.wcom-success[hidden], .wcom-modal-form-wrap[hidden], .wcom-success-code[hidden], .wcom-success-wa[hidden] { display: none !important; }
.wcom-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--wcom-green);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.wcom-success-text { color: var(--wcom-muted); margin: 0 0 12px; }
.wcom-success-code { margin: 0 0 16px; font-size: 0.95rem; }

/* تسجيل مشترك */
.wcom-register {
  padding: 64px 20px 40px;
  max-width: 920px;
  margin: 0 auto;
}
.wcom-register .wcom-section-head {
  text-align: center;
  margin-bottom: 28px;
}
.wcom-register .wcom-section-head h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}
.wcom-register .wcom-section-head p {
  margin: 0;
  color: var(--wcom-muted, #5b6b75);
}
.wcom-register-form {
  background: #fff;
  border: 1px solid rgba(15, 40, 55, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 36px rgba(15, 40, 55, 0.06);
}
.wcom-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .wcom-reg-grid { grid-template-columns: 1fr; }
}
.wcom-reg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.wcom-form-msg.is-ok {
  color: #0e6b57;
  background: #dff1ea;
  padding: 8px 12px;
  border-radius: 8px;
}
.wcom-form-msg:not([hidden]) {
  display: block;
  margin-bottom: 12px;
}


/* ===== تجاوب جوال محسّن ===== */
html, body.wcom-fullscreen, body.wcom-landing-fullscreen {
  overflow-x: hidden !important;
  max-width: 100%;
}
.wcom-landing {
  max-width: 100%;
  overflow-x: hidden;
}
.wcom-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.wcom-header-inner {
  max-width: 100%;
}
@media (max-width: 820px) {
  .wcom-header-inner { padding: 10px 14px; gap: 10px; }
  .wcom-logo-text { font-size: 1.05rem; }
  .wcom-burger { display: flex !important; flex-shrink: 0; }
  .wcom-btn-header { display: none !important; }
  .wcom-float-wa { bottom: max(16px, env(safe-area-inset-bottom)); left: 14px; width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  .wcom-hero { padding: 28px 14px 48px; }
  .wcom-hero h1 { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .wcom-hero p { font-size: 0.98rem; }
  .wcom-hero-actions { flex-direction: column; width: 100%; }
  .wcom-hero-actions .wcom-btn { width: 100%; }
  .wcom-chips { justify-content: center; }
  .wcom-packages, .wcom-steps, .wcom-gallery, .wcom-features, .wcom-faq, .wcom-cta, .wcom-register {
    padding-left: 14px; padding-right: 14px;
  }
  .wcom-packages-grid, .wcom-gallery-grid, .wcom-features-grid { grid-template-columns: 1fr !important; }
  .wcom-card { margin: 0; }
  .wcom-card-actions .wcom-btn { width: 100%; }
  .wcom-register { padding-top: 40px; padding-bottom: 28px; }
  .wcom-register .wcom-section-head h2 { font-size: 1.35rem; }
  .wcom-register-form { padding: 18px 14px; border-radius: 14px; }
  .wcom-reg-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .wcom-field input, .wcom-field select, .wcom-field textarea,
  .wcom-modal input, .wcom-modal select, .wcom-modal textarea {
    font-size: 16px !important;
    min-height: 44px;
    padding: 12px;
  }
  .wcom-reg-actions { flex-direction: column; align-items: stretch; }
  .wcom-reg-actions .wcom-btn { width: 100%; }
  .wcom-modal { padding: 8px; align-items: flex-end; }
  .wcom-modal-box {
    max-width: 100%;
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
  }
  .wcom-cta-box { padding: 28px 16px; border-radius: 18px; }
  .wcom-footer-inner { padding: 24px 14px; }
  .wcom-btn-lg { padding: 14px 18px; font-size: 1rem; }
}
@media (max-width: 380px) {
  .wcom-hero h1 { font-size: 1.4rem; }
  .wcom-pill { font-size: .78rem; }
}


/* ===== v2.6.6: polished package comparison + hide trust strip ===== */
/* ===== v2.6.7: prevent horizontal overflow in order modal ===== */
.wcom-landing .wcom-compare { margin: 30px 0 0; }
.wcom-landing .wcom-compare-toggle {
  min-height: 58px;
  padding: 15px 20px;
  border: 1px solid #dce7ef !important;
  border-radius: 16px !important;
  background: linear-gradient(110deg, #fff 0%, #f5fafc 100%) !important;
  box-shadow: 0 8px 24px rgba(20, 52, 78, .07);
}
.wcom-landing .wcom-compare-toggle:hover,
.wcom-landing .wcom-compare-toggle:focus { border-color: #b8d8e6 !important; }
.wcom-landing .wcom-compare[open] .wcom-compare-toggle { border-radius: 16px 16px 0 0 !important; }
.wcom-landing .wcom-compare-toggle-label { display: flex; align-items: center; gap: 10px; }
.wcom-landing .wcom-compare-toggle-label::before {
  content: "⇄"; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px; flex: 0 0 32px;
  color: #087e91; background: #e4f5f7; font-size: 1.1rem; font-weight: 800;
}
.wcom-landing .wcom-compare-panel {
  border-color: #dce7ef; border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 30px rgba(20, 52, 78, .06); padding-bottom: 16px;
}
.wcom-landing .wcom-compare-intro {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px;
}
.wcom-landing .wcom-compare-intro-mark {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px;
  width: 38px; height: 38px; border-radius: 12px; color: #087e91;
  background: #e4f5f7; font-weight: 900; font-size: 1.1rem;
}
.wcom-landing .wcom-compare-intro h3 { margin: 0 0 4px; color: var(--text); font-size: 1rem; font-weight: 800; }
.wcom-landing .wcom-compare-intro p { margin: 0; color: var(--muted); font-size: .86rem; }
.wcom-landing .wcom-compare-scroll { padding: 8px 14px 12px; scrollbar-width: thin; scrollbar-color: #b8d3df #f1f6f8; }
.wcom-landing .wcom-compare-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.wcom-landing .wcom-compare-table { min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: .91rem; }
.wcom-landing .wcom-compare-table th,
.wcom-landing .wcom-compare-table td { padding: 13px 14px; border-bottom: 1px solid #eaf0f4; }
.wcom-landing .wcom-compare-table thead th {
  position: sticky; top: 0; z-index: 3; background: #f0f6f9;
  color: #263e52; font-size: .9rem; padding-top: 15px; padding-bottom: 15px;
}
.wcom-landing .wcom-compare-table thead th:first-child {
  right: 0; z-index: 5; min-width: 180px; text-align: right;
  border-radius: 0 10px 0 0; box-shadow: -1px 0 0 #e0eaf0;
}
.wcom-landing .wcom-compare-table thead th:last-child { border-radius: 10px 0 0 0; }
.wcom-landing .wcom-compare-table tbody tr:nth-child(even) th,
.wcom-landing .wcom-compare-table tbody tr:nth-child(even) td { background-color: #f9fbfc; }
.wcom-landing .wcom-compare-table tbody tr:hover th,
.wcom-landing .wcom-compare-table tbody tr:hover td { background-color: #f0f8fa; }
.wcom-landing .wcom-compare-table tbody th {
  position: sticky; right: 0; z-index: 2; background: #fff;
  min-width: 180px; max-width: 260px; font-weight: 700; color: #30485b;
  box-shadow: -1px 0 0 #eaf0f4; line-height: 1.55;
}
.wcom-landing .wcom-compare-table td.is-featured-col { background-color: #f1fafb; }
.wcom-landing .wcom-compare-table tbody tr:nth-child(even) td.is-featured-col { background-color: #eaf6f8; }
.wcom-landing .wcom-compare-table thead th.is-featured {
  color: #087e91; background: #e4f5f7; box-shadow: inset 0 -3px 0 #0c8da0;
}
.wcom-landing .wcom-compare-yes {
  width: 28px; height: 28px; background: #e0f6ea; color: #11834b;
  box-shadow: inset 0 0 0 1px rgba(17, 131, 75, .08);
}
.wcom-landing .wcom-compare-no { color: #a3b0bc; font-size: 1.05rem; }
.wcom-landing .wcom-compare-hint {
  margin: 4px 18px 0; padding-top: 12px; border-top: 1px solid #eef3f6;
  line-height: 1.7;
}
/* Hide the three trust/payment/activation items beneath the comparison as requested. */
.wcom-landing ul.wcom-trust { display: none !important; }
@media (max-width: 640px) {
  .wcom-landing .wcom-compare { margin-top: 22px; }
  .wcom-landing .wcom-compare-toggle { padding: 13px 14px !important; }
  .wcom-landing .wcom-compare-intro { padding: 15px 14px 10px; }
  .wcom-landing .wcom-compare-scroll { padding: 6px 8px 10px; }
  .wcom-landing .wcom-compare-table { min-width: 560px !important; font-size: .86rem; }
  .wcom-landing .wcom-compare-table th,
  .wcom-landing .wcom-compare-table td { padding: 11px 10px; }
  .wcom-landing .wcom-compare-table thead th:first-child,
  .wcom-landing .wcom-compare-table tbody th { min-width: 160px; max-width: 190px; }
  .wcom-landing .wcom-compare-intro h3 { font-size: .95rem; }
  .wcom-landing .wcom-compare-intro p { font-size: .8rem; }
}
