/* ===== Virage — custom styles (orange / black / white) ===== */

:root {
  --brand: #FF6B00;
  --brand-dark: #E05500;
  --ink: #0B0B0C;
  --panel: #141416;
  --line: #26262a;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 120px; }
body { background: var(--ink); }

/* RTL support */
[dir="rtl"] body, [dir="rtl"] { font-family: 'Tajawal', 'Sora', sans-serif; }
[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
/* Latin numbers (prices, phones, countdown) must stay LTR in RTL layout */
.num-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ===== Offer band (-50%) ===== */
.offer-band{background:linear-gradient(90deg,#7a2e00,#e0701a 55%,#f0912f);
  color:#fff;box-shadow:0 2px 14px rgba(0,0,0,.28)}
.offer-band__inner{max-width:1180px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;
  gap:14px;flex-wrap:wrap;justify-content:center;font-size:15px;line-height:1.35}
.offer-band__tag{background:#fff;color:#b8460a;font-weight:900;border-radius:999px;padding:3px 12px;font-size:14px}
.offer-band__txt s{opacity:.72}
.offer-band__txt strong{font-weight:900}
.offer-band__sep{opacity:.55;margin:0 4px}
.offer-band__clock{font-variant-numeric:tabular-nums;font-weight:800;background:rgba(0,0,0,.24);
  border-radius:8px;padding:4px 10px;direction:ltr}
.offer-band__cta{background:#111;color:#fff;text-decoration:none;font-weight:800;border-radius:999px;
  padding:7px 18px;white-space:nowrap}
@media(max-width:640px){
  .offer-band__inner{gap:8px;padding:9px 12px;font-size:13.5px}
  .offer-band__until{display:none}
}
html[dir="rtl"] .offer-band__clock{direction:ltr;unicode-bidi:isolate}

/* Nav */
.nav-link { transition: color .2s; }
.nav-link:hover { color: var(--brand); }
.lang-btn { padding: 6px 10px; color: #9ca3af; transition: all .2s; }
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--brand); color: #fff; }

/* Badges & titles */
.badge-orange {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,0,.12); border: 1px solid rgba(255,107,0,.3);
  color: var(--brand); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1.15; }
.section-sub { margin-top: 1rem; color: #9ca3af; font-size: 1.05rem; max-width: 42rem; }

/* Hero */
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,107,0,.16), transparent 65%);
}
.stat-mini { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.02); }
.stat-num { font-size: 1.5rem; font-weight: 800; }
.stat-label { font-size: .7rem; color: #9ca3af; margin-top: 2px; }

/* Browser mockup */
.browser-frame {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #1b1b1e; border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.url-pill {
  margin-inline-start: 10px; flex: 1; text-align: center;
  background: #0f0f11; border-radius: 8px; padding: 4px 12px;
  font-size: 11px; color: #9ca3af;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; color: #4ade80;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3);
  padding: 3px 10px; border-radius: 999px;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.mock-kpi { background: #0f0f11; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #0f0f11; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; margin-top: 8px; font-size: 12px;
}
.mock-car { font-weight: 600; }
.mock-badge { font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.mock-badge.ok { background: rgba(74,222,128,.12); color: #4ade80; }
.mock-badge.warn { background: rgba(250,204,21,.12); color: #facc15; }
.mock-badge.pending { background: rgba(255,107,0,.12); color: var(--brand); }

/* Floating cards on hero */
.float-card {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; font-size: 11px; max-width: 240px;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  animation: floaty 5s ease-in-out infinite;
}
.float-card-1 { top: -18px; inset-inline-end: -8px; }
.float-card-2 { bottom: -18px; inset-inline-start: -8px; animation-delay: 2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .float-card-1 { top: -14px; inset-inline-end: 4px; }
  .float-card-2 { bottom: -14px; inset-inline-start: 4px; }
}

/* Feature cards */
.feature-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: rgba(255,107,0,.5); transform: translateY(-3px); }
.feature-ico { font-size: 22px; color: var(--brand); margin-bottom: 14px; display: block; }
.feature-h { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.feature-p { color: #9ca3af; font-size: .9rem; line-height: 1.6; }

/* Solution cards */
.solution-card {
  background: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; transition: border-color .25s, transform .25s;
}
.solution-card:hover { border-color: rgba(255,107,0,.5); transform: translateY(-4px); }
.sol-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,107,0,.2), rgba(255,107,0,.05));
  border: 1px solid rgba(255,107,0,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--brand);
}

/* Compare before/after */
.compare-card { border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.compare-before { background: rgba(239,68,68,.04); border-color: rgba(239,68,68,.2); }
.compare-after { background: rgba(255,107,0,.05); border-color: rgba(255,107,0,.35); }
.compare-h { font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li {
  position: relative; padding-inline-start: 26px;
  color: #b7b7bd; font-size: .92rem; line-height: 1.55;
}
.compare-list li::before {
  content: '\f00d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset-inline-start: 0; top: 2px; color: #f87171; font-size: 12px;
}
.compare-list-ok li::before { content: '\f00c'; color: var(--brand); }
.compare-list-ok li { color: #d8d8de; }

/* Showcase */
.showcase-card {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--panel); transition: border-color .25s, transform .25s;
}
.showcase-card:hover { border-color: rgba(255,107,0,.5); transform: translateY(-4px); }
.showcase-screen { border-bottom: 1px solid var(--line); }
.showcase-topbar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: rgba(0,0,0,.35);
}
.mini-car {
  height: 46px; border-radius: 10px; border: 1px solid;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

/* Steps */
.step-card {
  background: var(--ink); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; position: relative; transition: border-color .25s;
}
.step-card:hover { border-color: rgba(255,107,0,.5); }
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(255,107,0,.3);
}
.step-meta {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand); margin-bottom: 8px;
}

/* Pricing */
.pricing-card {
  background: var(--panel); border: 1px solid rgba(255,107,0,.4);
  border-radius: 24px; padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 90px rgba(255,107,0,.08);
}
.pricing-head { text-align: center; }
.price-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: .9rem; color: #d1d5db;
}
.price-val { color: #6b7280; font-size: .8rem; white-space: nowrap; text-decoration: line-through; }
.total-box { background: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.mini-guarantee {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px;
  font-size: .85rem; color: #d1d5db;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--panel);
}

/* ROI table */
.roi-table { border-collapse: separate; border-spacing: 0; }
.roi-table th {
  text-align: start; padding: 14px 16px; font-weight: 700;
  background: var(--panel); border-bottom: 2px solid var(--line);
}
.roi-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: #b7b7bd; }
.roi-table td:first-child { font-weight: 600; color: #fff; }
.roi-good { color: var(--brand) !important; font-weight: 700; }
.roi-table tbody tr:hover { background: rgba(255,255,255,.02); }
@media (max-width: 640px) {
  .roi-table th { padding: 11px 9px; font-size: .78rem; }
  .roi-table td { padding: 10px 9px; font-size: .78rem; }
}

/* FAQ */
.faq-item {
  background: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(255,107,0,.45); }
.faq-item summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: .95rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\2b'; color: var(--brand); font-weight: 800; font-size: 1.1rem;
  transition: transform .25s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: #9ca3af; font-size: .9rem; line-height: 1.65; }

/* Floating WhatsApp */
#wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
#wa-float:hover { transform: scale(1.1); }

/* ===== Phone mockup (WhatsApp flow) ===== */
.phone-frame {
  width: 300px; border-radius: 40px; padding: 12px;
  background: linear-gradient(160deg, #232326, #131315);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 2px rgba(255,107,0,.15);
  position: relative;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #131315; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen { border-radius: 30px; overflow: hidden; background: #0a0f0a; }
.wa-header {
  display: flex; align-items: center; gap: 10px;
  background: #075E54; padding: 26px 14px 12px;
}
.wa-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; flex-shrink: 0;
}
.wa-chat {
  padding: 14px 12px 18px; min-height: 340px;
  background: #0d1410 url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.03"%3E%3Cpath d="M30 10l5 10 10 2-7 8 2 10-10-5-10 5 2-10-7-8 10-2z" fill="%23fff"/%3E%3C/svg%3E');
  display: flex; flex-direction: column; gap: 10px;
}
.wa-msg { max-width: 85%; border-radius: 12px; padding: 8px 10px; color: #e7e7e7; }
.wa-in { background: #1f2c24; align-self: flex-start; border-start-start-radius: 4px; }
.wa-out { background: #005c4b; align-self: flex-end; border-start-end-radius: 4px; }
.wa-time { font-size: 8px; color: rgba(255,255,255,.45); text-align: end; margin-top: 4px; display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
.wa-doc {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  background: rgba(255,255,255,.08); border-radius: 8px; padding: 6px 10px;
  font-size: 10px; font-weight: 600; color: #ffb38a;
}
.wa-booking-card {
  display: flex; align-items: center; gap: 10px; align-self: center;
  background: var(--panel); border: 1px solid rgba(74,222,128,.35);
  border-radius: 12px; padding: 10px 14px; margin-top: 4px;
}
/* chat step-in animation */
.chat-step { opacity: 0; transform: translateY(12px); }
.wa-chat.play .chat-step { animation: chatIn .45s ease forwards; }
.wa-chat.play .chat-step:nth-child(1) { animation-delay: .2s; }
.wa-chat.play .chat-step:nth-child(2) { animation-delay: 1s; }
.wa-chat.play .chat-step:nth-child(3) { animation-delay: 1.8s; }
.wa-chat.play .chat-step:nth-child(4) { animation-delay: 2.6s; }
.wa-chat.play .chat-step:nth-child(5) { animation-delay: 3.5s; }
@keyframes chatIn { to { opacity: 1; transform: translateY(0); } }

.wf-point { display: flex; align-items: flex-start; gap: 14px; color: #d1d5db; font-size: .95rem; }
.wf-point i {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,107,0,.12); border: 1px solid rgba(255,107,0,.3);
  color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* ===== Included services ===== */
.included-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; transition: border-color .25s, transform .25s;
}
.included-card:hover { border-color: rgba(255,107,0,.5); transform: translateY(-3px); }
.inc-tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; color: var(--brand);
  background: rgba(255,107,0,.1); border: 1px solid rgba(255,107,0,.25);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.google-mock { background: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.google-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: #1b1b1e; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 12px; color: #e5e7eb; margin-bottom: 14px;
}
.typing-text { border-inline-end: 2px solid var(--brand); padding-inline-end: 3px; animation: caret 1s step-end infinite; white-space: nowrap; overflow: hidden; }
@keyframes caret { 50% { border-color: transparent; } }
.google-result { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.google-result:last-of-type { border-bottom: none; }
.rank-badge {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 800; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.rank-badge.dim { background: #232326; color: #6b7280; }
.g-title { font-size: 12px; font-weight: 600; color: #93c5fd; }
.g-title.dim { color: #6b7280; }
.g-url { font-size: 10px; color: #4ade80; }
.google-result.rank-1 .g-url { color: #4ade80; }

.migration-steps { display: flex; flex-direction: column; gap: 8px; }
.mig-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; font-size: .82rem; color: #d1d5db;
}
.mig-step i { color: #4ade80; font-size: 11px; }
.mig-step.active { border-color: rgba(255,107,0,.4); color: #fff; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .78rem; color: #d1d5db;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 26px; transition: border-color .25s, transform .25s;
}
.testimonial-card:hover { border-color: rgba(255,107,0,.5); transform: translateY(-3px); }
.stars { color: var(--brand); font-size: 13px; display: flex; gap: 3px; }
.avatar-circle {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ===== Cockpit demo video ===== */
.video-frame {
  border-radius: 26px; border: 1px solid var(--line); overflow: hidden;
  background: #000; max-width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-frame video { display: block; width: 100%; height: auto; }

/* ===== Site booking form mock ===== */

/* ===== Centered section headers ===== */
.badge-orange { display: block; width: fit-content; margin-inline: auto; }
.section-title { text-align: center; margin-inline: auto; }
.section-sub { text-align: center; margin-inline: auto; max-width: 60ch; }
/* Hero keeps its own column alignment (h1 is not a section-title) */
#hero-section .badge-orange { margin-inline: 0; }

/* ===== Footer 3 columns ===== */
.footer-col-title { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: .875rem; }
.footer-links a { color: #9ca3af; transition: color .2s; }
.footer-links a:hover { color: var(--brand); }

/* ===== Language selection modal ===== */
.lang-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(5,5,8,.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 1; transition: opacity .3s ease;
}
.lang-modal.hidden { display: none; }
.lang-modal.closing { opacity: 0; pointer-events: none; }
.lang-modal__card {
  width: 100%; max-width: 380px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 28px 28px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,107,0,.08);
  animation: langModalIn .35s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes langModalIn {
  from { transform: translateY(18px) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.lang-modal__title { font-size: 1.25rem; font-weight: 800; color: #fff; }
.lang-modal__sub { font-size: .85rem; color: #9ca3af; margin-top: 6px; margin-bottom: 24px; }
.lang-modal__options { display: flex; flex-direction: column; gap: 10px; }
.lang-modal__btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 14px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.lang-modal__btn:hover, .lang-modal__btn:focus-visible {
  border-color: var(--brand); background: rgba(255,107,0,.08);
  transform: translateY(-1px); outline: none;
}
.lang-modal__flag { font-size: 1.4rem; line-height: 1; }
.lang-modal__name { flex: 1; text-align: start; }
.lang-modal__arrow { font-size: .8rem; color: var(--brand); opacity: 0; transition: opacity .2s; }
.lang-modal__btn:hover .lang-modal__arrow, .lang-modal__btn:focus-visible .lang-modal__arrow { opacity: 1; }
