/* Additive public-page styling. Account, authentication and admin layouts retain their styles. */
.feature-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;align-content:start;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.feature-card>.icon-tile{width:44px;height:44px;margin:0}
.feature-card>div:not(.feature-preview){min-width:0}
.feature-preview{grid-column:1/-1;order:-1;margin:-10px -10px 3px;border-radius:14px;overflow:hidden;background:#fff9ed}
.feature-preview img{display:block;width:100%;height:160px;object-fit:contain}
.feature-card:hover{transform:translateY(-4px);border-color:#dbc28c;box-shadow:0 16px 40px #5b421012}
.industry-card{overflow:hidden;position:relative;padding-top:170px}
.industry-preview{position:absolute;inset:0 0 auto;width:100%;height:150px;object-fit:cover}
.industry-card>.industry-number{top:170px}
.industry-card>.icon{position:relative}
.product-showcase{background:linear-gradient(135deg,#fff 55%,#fff8e9)}
.showcase-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px;padding:7px;border:1px solid #ebe2d2;background:#fff;border-radius:14px;width:fit-content}
.showcase-tabs button{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#625a4f;cursor:pointer;padding:13px 20px;font:inherit;font-size:13px;font-weight:600;border-radius:9px;min-height:44px}
.showcase-tabs button[aria-selected=true]{background:#171717;color:#efd18b;box-shadow:0 4px 12px #00000014}
.showcase-tabs button .icon{width:19px;height:19px}
.showcase-panel{display:grid;grid-template-columns:1.2fr 1fr;gap:55px;align-items:center}
.showcase-panel[hidden]{display:none}
.showcase-screen{border:1px solid #e7d7b7;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 22px 65px #7d5e1212}
.screen-chrome{display:flex;align-items:center;gap:10px;background:#171717;color:#fff;padding:18px 24px;font-size:14px}
.screen-chrome>span:last-child{margin-inline-start:auto;font-size:10px;color:#d9c69c}
.screen-dot{width:8px;height:8px;border-radius:50%;background:#d4a853;box-shadow:0 0 0 4px #d4a85322}
.showcase-screen>img{display:block;width:100%;height:auto}
.screen-labels{display:flex;gap:15px;justify-content:space-around;padding:17px;background:#fff;border-top:1px solid #f0e8d9;flex-wrap:wrap}
.screen-labels>span{display:flex;gap:5px;align-items:center;font-size:10px;color:#6f6250}
.screen-labels .icon{width:14px;height:14px;color:#a5711c}
.showcase-copy h3{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:24px 0 18px;max-width:380px}
.showcase-copy>p{color:#647080;font-size:15px;line-height:1.8;max-width:390px}
.showcase-copy .text-link{margin-top:18px}
.showcase-copy .showcase-note{font-size:11px;margin-top:28px;line-height:1.6;color:#8a8173}
.mobile-concept-grid,.hardware-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:55px}
.mobile-concept h2,.hardware-grid h2,.brand-story h2{font-size:40px;line-height:1.2;letter-spacing:-1.3px}
.mobile-concept-visual{margin:0;border-radius:24px;overflow:hidden;border:1px solid #e9dabd;box-shadow:0 18px 60px #7d5e1212;background:#fff}
.mobile-concept-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.mobile-concept-visual figcaption{background:#fff;padding:13px 18px;font-size:10px;color:#807460}
.concept-points{list-style:none;margin:28px 0;padding:0;display:grid;gap:20px}
.concept-points li{display:flex;gap:15px;align-items:center}
.concept-points .icon{width:24px;height:24px;color:#b67d23;flex-shrink:0}
.concept-points strong{display:block;font-size:13px}
.concept-points span{display:block;font-size:11px;color:#707986;margin-top:5px}
.hardware-grid{grid-template-columns:1fr 1fr}
.hardware-visual{background:#fff9ed;border-radius:24px;overflow:hidden;border:1px solid #eee0c5}
.hardware-visual img{width:100%;height:auto;display:block}
.visual-caption{display:block;padding:16px 24px;font-size:12px;color:#8a6832;background:#fff}
.hardware-tags{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0}
.hardware-tags>span{display:inline-flex;align-items:center;gap:8px;border:1px solid #eadbc0;background:#fffbf2;border-radius:9px;padding:10px 12px;font-size:11px}
.hardware-tags .icon{width:18px;height:18px;color:#a5711c}
.brand-story-banner{background:#171717;border:1px solid #70532c;border-radius:30px;position:relative;overflow:hidden;padding:50px;min-height:320px}
.brand-story-banner>img{position:absolute;bottom:0;inset-inline-end:0;width:60%;opacity:.45;pointer-events:none}
.brand-story-banner>div{position:relative;max-width:600px}
.brand-story-banner h2{color:#fff}
.brand-story-banner p:not(.eyebrow){color:#c8c0b3;max-width:440px;font-size:14px;line-height:1.8;margin:22px 0}
.brand-story-banner .button.outline{border-color:#d4a853;color:#edd192;background:#151515}
.journey-heading{display:flex;gap:24px;align-items:baseline;margin:40px 0 25px}
.journey-heading h3{font-size:24px;letter-spacing:-.6px}
.journey-heading p{font-size:12px;color:#77808c}
.business-journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:0;list-style:none}
.business-journey li{position:relative;padding:24px;border:1px solid #ece3d3;border-radius:18px;background:#fffcf6}
.journey-icon{display:grid;place-items:center;width:44px;height:44px;background:#f6e5bf;color:#a26d17;border-radius:50%;margin-bottom:20px}
.business-journey h3{font-size:18px;margin:0 0 12px}
.business-journey p{font-size:12px;color:#737c89;line-height:1.8;margin:0}
.proposal-section{background:#fffaf1}
.proposal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.proposal-card{padding:28px 23px;background:#fff;border:1px solid #eddfc6;border-radius:18px}
.proposal-card h3{font-size:17px;margin:23px 0 12px}
.proposal-card p{font-size:12px;color:#687482;line-height:1.8}
.proposal-action{display:flex;gap:15px;align-items:center;padding:25px 0 0}
.proposal-action>.icon{color:#a5711c;width:24px;height:24px;flex-shrink:0}
.proposal-action p{font-size:13px;color:#6f685a;margin:0}
.proposal-action .button{margin-inline-start:auto;white-space:nowrap}
.contact-paths{background:linear-gradient(180deg,#fff,#fff9ed)}
.contact-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.contact-path{border:1px solid #e9dfcd;background:#fff;border-radius:20px;padding:30px;text-decoration:none;color:#171717;box-shadow:0 10px 30px #62431608;transition:transform .2s,border-color .2s}
.contact-path:hover{transform:translateY(-3px);border-color:#d4a853}
.contact-path h3{font-size:20px;margin:23px 0 12px}
.contact-path p{font-size:12px;color:#737c89;line-height:1.8;margin-bottom:20px}
.bottom-cta{position:relative;overflow:hidden;background-image:url('/assets/visuals/saudi-skyline.svg');background-repeat:no-repeat;background-position:right bottom;background-size:430px auto}
.bottom-cta>.container{position:relative}
.site-footer{position:relative;overflow:hidden;background-image:linear-gradient(90deg,#111 65%,#111a),url('/assets/visuals/saudi-skyline.svg');background-repeat:no-repeat;background-size:auto,450px auto;background-position:center,right bottom}
.site-footer>.container{position:relative}
[lang=ar] .bottom-cta{background-position:left bottom}
[lang=ar] .showcase-copy h3,[lang=ar] .journey-heading h3,[lang=ar] .mobile-concept h2,[lang=ar] .hardware-grid h2,[lang=ar] .brand-story h2{letter-spacing:0;line-height:1.55}
@media(prefers-reduced-motion:reduce){.feature-card,.contact-path{transition:none}.feature-card:hover,.contact-path:hover{transform:none}}
@media(max-width:1000px){.showcase-panel,.mobile-concept-grid,.hardware-grid{gap:30px}.business-journey,.proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-path-grid{gap:14px}.contact-path{padding:22px}.mobile-concept h2,.hardware-grid h2{font-size:32px}.showcase-copy h3{font-size:27px}}
@media(max-width:760px){.feature-card{padding:24px 20px;gap:15px}.feature-preview img{height:155px}.showcase-tabs{width:100%;gap:5px}.showcase-tabs button{flex:1;justify-content:center;font-size:11px;padding:12px 8px;gap:5px}.showcase-tabs .icon{display:none}.showcase-panel,.mobile-concept-grid,.hardware-grid{grid-template-columns:1fr;gap:30px}.showcase-copy h3{max-width:none;font-size:28px;margin-top:18px}.showcase-copy>p{max-width:none;font-size:14px}.showcase-copy .showcase-note{margin-bottom:0}.screen-chrome{padding:16px}.screen-labels{gap:10px;padding:13px}.screen-labels>span{font-size:9px}.mobile-concept h2,.hardware-grid h2,.brand-story h2{font-size:32px}.brand-story-banner{padding:30px 23px;border-radius:22px}.brand-story-banner>img{width:100%;opacity:.16}.journey-heading{display:block}.journey-heading p{margin-top:12px}.business-journey,.proposal-grid{gap:13px}.business-journey li,.proposal-card{padding:23px 18px}.business-journey h3,.proposal-card h3{font-size:16px}.proposal-action{flex-wrap:wrap}.proposal-action p{flex:1}.proposal-action .button{margin-inline-start:0;width:100%;justify-content:center}.contact-path-grid{grid-template-columns:1fr}.contact-path{padding:26px}.bottom-cta{background-size:250px auto}.industry-card{padding-top:175px}.industry-card>.industry-number{top:170px}}
@media(max-width:400px){.business-journey,.proposal-grid{grid-template-columns:1fr}.showcase-tabs button{font-size:10px}.feature-card{grid-template-columns:38px minmax(0,1fr)}.feature-card>.icon-tile{width:38px;height:38px}.feature-preview img{height:170px}}
/* Compact illustrated homepage tiles inspired by the reference cards. */
.solutions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.solution-tile{display:grid;grid-template-columns:29px minmax(0,1fr) 112px;gap:11px;align-items:start;background:#fff;border:1px solid #eadfce;border-radius:15px;padding:21px 15px;box-shadow:0 6px 22px #67471906;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.solution-tile:hover{border-color:#d1b375;box-shadow:0 12px 30px #67471910}
.solution-icon{color:#b1791e;display:grid;place-items:center;width:29px;height:35px}
.solution-icon .icon{width:26px;height:26px}
.solution-copy{min-width:0}
.solution-copy h3{font-size:14px;line-height:1.35;margin:0 0 8px;letter-spacing:-.3px}
.solution-copy p{font-size:11px;line-height:1.65;color:#78808c;margin:0 0 11px}
.solution-copy .text-link{font-size:10px;gap:6px}
.solution-copy .text-link .icon{width:14px;height:14px}
.solution-image{width:112px;height:113px;object-fit:contain;border-radius:10px;background:#fffaf0;align-self:center;object-position:center}
.solutions-caption{font-size:11px;color:#938571;text-align:center;margin:22px 0 0}
[lang=ar] .solution-copy h3{letter-spacing:0;line-height:1.7}
@media(min-width:1600px){.solution-tile{grid-template-columns:32px minmax(0,1fr) 130px}.solution-image{width:130px;height:120px}}
@media(max-width:1100px){.solutions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.solutions-grid{grid-template-columns:1fr;gap:13px}.solution-tile{grid-template-columns:31px minmax(0,1fr) 108px;gap:11px;padding:21px 15px}.solution-image{width:108px;height:112px}.solution-copy h3{font-size:14px}.solution-copy p{font-size:11px}}
@media(max-width:360px){.solution-tile{grid-template-columns:26px minmax(0,1fr) 84px;gap:8px;padding:18px 12px}.solution-image{width:84px;height:105px}.solution-copy h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){.solution-tile{transition:none}}
/* Hero icon ribbon and compact, image-rich product cards. */
.solution-nav-wrap{position:relative;z-index:2;margin-top:-20px}
.solution-nav{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));padding:21px 10px;background:#fff;border:1px solid #e9dfd0;border-radius:17px;box-shadow:0 10px 35px #70541b0c}
.solution-nav a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;text-align:center;text-decoration:none;color:#313438;font-size:10px;line-height:1.45;padding:0 8px;border-inline-end:1px solid #eee8dd;min-height:69px}
.solution-nav a:last-child{border:0}
.solution-nav .icon{width:25px;height:25px;color:#b77a1c;flex-shrink:0}
.solution-nav a:hover{color:#a26a12}
.solution-nav a:focus-visible{outline:2px solid #d4a853;outline-offset:4px;border-radius:4px}
.home-solutions{padding:22px 0 30px;background:linear-gradient(180deg,#fff,#fffaf2)}
.home-solutions .section-heading{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:0;border:0}
.solution-tile{grid-template-columns:28px minmax(0,1fr) 128px;gap:10px;padding:16px 14px;min-height:146px;scroll-margin-top:115px;align-items:start}
.solution-art{display:block;align-self:center;width:128px;height:104px;border-radius:10px;background-color:#fffefc;background-image:url('/assets/visuals/feature-art-atlas.png');background-size:300% 400%;background-repeat:no-repeat}
.art-invoicing{background-position:0% 0%}.art-inventory{background-position:50% 0%}.art-branches{background-position:100% 0%}
.art-sales{background-position:0% 33.333333%}.art-products{background-position:50% 33.333333%}.art-customer{background-position:100% 33.333333%}
.art-permissions{background-position:0% 66.666667%}.art-checkout{background-position:50% 66.666667%}.art-payments{background-position:100% 66.666667%}
.art-cloud{background-position:0% 100%}.art-language{background-position:50% 100%}.art-hardware{background-position:100% 100%}
@media(min-width:1600px){.solution-tile{grid-template-columns:30px minmax(0,1fr) 150px}.solution-art{width:150px;height:113px}}
@media(max-width:1100px){.solution-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 0}.solution-nav a:nth-child(6n){border:0}.solution-tile{grid-template-columns:29px minmax(0,1fr) 128px}}
@media(max-width:760px){.solution-nav-wrap{margin-top:0}.solution-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding:20px 9px;gap:20px 0}.solution-nav a{font-size:9px;padding-inline:5px}.solution-nav a:nth-child(6n){border-inline-end:1px solid #eee8dd}.solution-nav a:nth-child(4n){border:0}.solution-nav .icon{width:23px;height:23px}.solution-tile{grid-template-columns:26px minmax(0,1fr) 115px;gap:9px;padding:19px 12px}.solution-art{width:115px;height:100px}.home-solutions{padding-top:20px}}
@media(max-width:360px){.solution-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.solution-nav a:nth-child(4n){border-inline-end:1px solid #eee8dd}.solution-nav a:nth-child(3n){border:0}.solution-tile{grid-template-columns:24px minmax(0,1fr) 93px;gap:8px}.solution-art{width:93px;height:82px}}

/* Preserve the square atlas cell proportions at every breakpoint. */
.solution-art{height:auto;aspect-ratio:4/3}

/* The generated atlas uses slightly uneven row spacing. Match its true
   row boundaries so neighboring illustrations never bleed into a card. */
.art-sales,.art-products,.art-customer{background-size:300% 450.45045%;aspect-ratio:1.5015015}
.art-sales{background-position:0% 32.3907468%}.art-products{background-position:50% 32.3907468%}.art-customer{background-position:100% 32.3907468%}
.art-permissions,.art-checkout,.art-payments{background-size:300% 413.22314%;aspect-ratio:1.37741047}
.art-permissions{background-position:0% 62.5329815%}.art-checkout{background-position:50% 62.5329815%}.art-payments{background-position:100% 62.5329815%}
.art-cloud,.art-language,.art-hardware{background-size:300% 352.112676%;aspect-ratio:1.17370892;background-position-y:100%}
@media(max-width:360px){.hero h1{overflow-wrap:anywhere}.feature-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-nav a{min-width:0;overflow-wrap:anywhere}}

/* Let the illustrated section use the available desktop width instead of
   inheriting the narrower reading width used by the rest of the site. */
@media(min-width:1101px){
 .solution-nav-wrap,.home-solutions>.container{width:calc(100% - clamp(48px,6vw,160px));max-width:none;margin-inline:auto}
 .solution-nav{padding:clamp(22px,1.6vw,34px) 12px}
 .solution-nav a{font-size:clamp(10px,.7vw,14px);gap:12px;padding-inline:clamp(7px,.7vw,18px);min-height:78px}
 .solution-nav .icon{width:clamp(26px,1.8vw,38px);height:clamp(26px,1.8vw,38px)}
 .solutions-grid{gap:clamp(16px,1.15vw,28px)}
 .solution-tile{grid-template-columns:clamp(28px,2vw,42px) minmax(0,1fr) clamp(128px,10vw,230px);gap:clamp(12px,1vw,24px);padding:clamp(20px,1.5vw,34px);min-height:clamp(160px,12vw,270px)}
 .solution-icon{width:100%;height:42px}.solution-icon .icon{width:clamp(26px,1.8vw,36px);height:clamp(26px,1.8vw,36px)}
 .solution-art{width:100%;max-width:230px}
 .solution-copy h3{font-size:clamp(14px,1vw,21px);margin-bottom:10px}
 .solution-copy p{font-size:clamp(11px,.8vw,16px);line-height:1.65;margin-bottom:16px}
 .solution-copy .text-link{font-size:clamp(10px,.75vw,15px)}
}

/* Decorative network stays beneath readable cards and never intercepts taps. */
.home-solutions{position:relative;isolation:isolate;overflow:hidden}
.home-solutions>.container{position:relative;z-index:1}
.particle-network{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.home-solutions .solution-tile{background:#fff}


/* ==========================================================================
   ULTRA VISUAL UPGRADE 2026: DARK MODE, TRUST BADGES, LIVE POS, ESTIMATOR
   ========================================================================== */

/* Dark Theme Variables & System */
[data-theme="dark"] {
  --ink: #f0f3f6;
  --cream: #121824;
  --muted: #9aa4b2;
  --line: #263040;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}
[data-theme="dark"] body {
  background: #0b0f17;
  color: var(--ink);
}
[data-theme="dark"] .site-header {
  background: rgba(11, 15, 23, 0.95);
  border-bottom-color: #1e2636;
}
[data-theme="dark"] .brand {
  color: #f0f3f6;
}
[data-theme="dark"] .main-nav a {
  color: #c9d1d9;
}
[data-theme="dark"] .main-nav a:hover,
[data-theme="dark"] .main-nav a[aria-current] {
  color: #f7d58b;
}
[data-theme="dark"] .hero {
  background: #0d121c;
}
[data-theme="dark"] .hero-wash {
  background: linear-gradient(90deg, rgba(11,15,23,0.95), rgba(11,15,23,0.85) 30%, rgba(11,15,23,0.3) 56%, transparent 75%);
}
[data-theme="dark"] .hero-description {
  color: #b0bac9;
}
[data-theme="dark"] .hero-small {
  color: #8c98a9;
}
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .solution-tile,
[data-theme="dark"] .industry-card,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .form-card,
[data-theme="dark"] .benefit-strip,
[data-theme="dark"] .showcase-screen,
[data-theme="dark"] .proposal-card,
[data-theme="dark"] .contact-path,
[data-theme="dark"] .callout-card {
  background: #131b2a;
  border-color: #242f42;
  color: #f0f3f6;
}
[data-theme="dark"] .section-cream {
  background: linear-gradient(130deg, #0e1420, #111827 65%, #0b0f17);
}
[data-theme="dark"] .benefit-strip > div > .icon,
[data-theme="dark"] .icon-tile {
  background: linear-gradient(130deg, #241d10, #362912);
  color: #efc774;
}
[data-theme="dark"] .theme-toggle {
  background: #172030;
  border-color: #2b384e;
  color: #f0c978;
}
[data-theme="dark"] .theme-toggle:hover {
  background: #202b3d;
  border-color: #d4a853;
}
[data-theme="dark"] input:not([type=checkbox]):not([type=radio]),
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #0f1622;
  border-color: #273447;
  color: #f0f3f6;
}
[data-theme="dark"] .main-nav {
  background: #111827;
}
[data-theme="dark"] .solution-nav {
  background: #131b2a;
  border-color: #242f42;
}
[data-theme="dark"] .solution-nav a {
  color: #d0d7de;
  border-inline-end-color: #242f42;
}
[data-theme="dark"] .button.secondary,
[data-theme="dark"] .button.outline {
  background: #172030;
  border-color: #4a3b1d;
  color: #efc774;
}
[data-theme="dark"] .button.secondary:hover,
[data-theme="dark"] .button.outline:hover {
  background: #243046;
}
[data-theme="dark"] .numbered-list > div > span {
  background: #2a2010;
  border-color: #5d461f;
  color: #f7d58b;
}

/* Theme Switcher Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e9dfd0;
  background: #fff;
  color: #625a4f;
  transition: all .25s ease;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: #d4a853;
  color: #a56c13;
  transform: rotate(15deg);
  background: #fffdf8;
}
.theme-icon-light, .theme-icon-dark { display: flex; align-items: center; justify-content: center; }
.theme-icon-light .icon, .theme-icon-dark .icon { width: 18px; height: 18px; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: flex; color: #f0c978; }
html:not([data-theme="dark"]) .theme-icon-dark { display: none; }
html:not([data-theme="dark"]) .theme-icon-light { display: flex; color: #a26814; }

.theme-toggle-mobile {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
  color: inherit;
  width: 100%;
  text-align: start;
}
@media(max-width:760px) {
  .theme-toggle-mobile { display: flex !important; }
}

/* Saudi Trust & Compliance Strip */
.trust-strip-wrap {
  margin-top: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,249,240,0.98));
  border: 1px solid #ebdcc5;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(183, 128, 34, 0.07);
  backdrop-filter: blur(8px);
}
[data-theme="dark"] .trust-strip {
  background: linear-gradient(135deg, rgba(20,28,42,0.95), rgba(27,37,56,0.98));
  border-color: #384660;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7e6, #fdedcb);
  color: #b78022;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(183,128,34,0.15);
  border: 1px solid #eed6aa;
}
[data-theme="dark"] .trust-badge-icon {
  background: linear-gradient(135deg, #2b2210, #3d2f13);
  color: #f3cf7e;
  border-color: #5d481f;
}
.trust-badge-icon.zatca-icon {
  color: #107c41;
  background: linear-gradient(135deg, #eaf8ef, #d4f2de);
  border-color: #a3e2b8;
}
[data-theme="dark"] .trust-badge-icon.zatca-icon {
  color: #34d399;
  background: linear-gradient(135deg, #06351d, #0b4d2c);
  border-color: #166534;
}
.trust-badge-icon svg { width: 22px; height: 22px; }
.trust-badge-text strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 3px;
}
.trust-badge-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* Stats Counter Strip */
.stats-counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 22px 24px;
  background: #111723;
  color: #fff;
  border-radius: 14px;
  border: 1px solid #2e3b52;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}
.stat-counter-item {
  text-align: center;
  border-inline-end: 1px solid #283449;
  padding: 0 12px;
}
.stat-counter-item:last-child {
  border-inline-end: none;
}
.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f7d58b;
  background: linear-gradient(135deg, #ffe4a8, #d89f36);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: #b0bac9;
  font-weight: 500;
}

/* Interactive Live POS Terminal */
.interactive-pos-section {
  padding-top: 40px;
  padding-bottom: 80px;
}
.pos-terminal-chassis {
  background: #13171f;
  border-radius: 24px;
  border: 2px solid #362e1d;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,168,83,0.25);
  overflow: hidden;
  color: #fff;
  position: relative;
}
.pos-chassis-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #0d1016;
  border-bottom: 1px solid #2a2416;
  font-size: 12px;
}
.pos-topbar-left, .pos-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-indicator.online {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: pulseStatus 2s infinite;
}
@keyframes pulseStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}
.pos-branch-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #1c2230;
  border-radius: 20px;
  font-size: 11px;
  color: #e5b967;
}
.pos-branch-tag .icon { width: 14px; height: 14px; color: #d4a853; }
.pos-live-clock {
  font-family: monospace;
  font-weight: 700;
  color: #a4b1c7;
  letter-spacing: 0.05em;
}

.pos-chassis-screen {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  min-height: 540px;
}
.pos-catalog-panel {
  padding: 24px;
  background: #181d28;
  border-inline-end: 1px solid #2a2416;
  display: flex;
  flex-direction: column;
}
.pos-cat-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pos-cat-btn {
  padding: 8px 16px;
  border-radius: 20px;
  background: #222938;
  color: #b0bac9;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #2f394c;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.pos-cat-btn:hover {
  background: #2b3447;
  color: #fff;
}
.pos-cat-btn.active {
  background: linear-gradient(135deg, #d4a853, #b88224);
  color: #120e06;
  border-color: #e5b967;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(184,130,36,0.3);
}

.pos-item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex: 1;
}
.pos-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #1f2636;
  border: 1px solid #2d384c;
  border-radius: 14px;
  padding: 16px 10px;
  color: #fff;
  cursor: pointer;
  transition: all .18s ease;
  position: relative;
  overflow: hidden;
}
.pos-item-card:hover {
  background: #273146;
  border-color: #d4a853;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.pos-item-card:active {
  transform: scale(0.96);
}
.pos-item-icon {
  font-size: 32px;
  margin-bottom: 8px;
  display: block;
}
.pos-item-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #f0f3f6;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pos-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #f5d183;
}
.pos-item-price small {
  font-size: 10px;
  color: #c99b42;
  font-weight: 600;
}

/* Receipt Panel */
.pos-receipt-panel {
  background: #11151e;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.receipt-tape-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #d4a853;
}
.receipt-tape-header span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.receipt-tape-header .icon { width: 16px; height: 16px; }
.receipt-clear-btn {
  background: #262c3a;
  border: 1px solid #363e52;
  color: #a4b1c7;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.receipt-clear-btn:hover {
  background: #343c4e;
  color: #fff;
}

/* Authentic Paper Thermal Receipt */
.pos-receipt-sheet {
  background: #fff;
  color: #171717;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace, sans-serif;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.receipt-merchant {
  text-align: center;
  line-height: 1.4;
}
.receipt-merchant strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #111;
}
.receipt-merchant small {
  font-size: 10px;
  color: #666;
}
.receipt-tax-no small {
  font-size: 10px;
  font-family: monospace;
  font-weight: 700;
  color: #222;
}
.receipt-inv-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: #777;
  font-family: monospace;
}
.receipt-divider {
  border-top: 1px dashed #bbb;
  margin: 10px 0;
}

.receipt-items-list {
  flex: 1;
  max-height: 160px;
  overflow-y: auto;
  font-size: 11px;
}
.receipt-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dotted #eee;
}
.receipt-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.receipt-item-name {
  font-weight: 600;
  color: #222;
}
.receipt-item-qty-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.receipt-qty-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #f4f4f4;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.receipt-qty-btn:hover {
  background: #ddd;
}
.receipt-item-total {
  font-weight: 700;
  font-family: monospace;
  font-size: 12px;
}
.receipt-empty-notice {
  text-align: center;
  color: #999;
  padding: 30px 10px;
  font-size: 11px;
}

/* Receipt Totals */
.receipt-breakdown {
  font-size: 11px;
  padding-top: 4px;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: #555;
}
.receipt-row.grand-total {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  border-top: 1px solid #111;
  padding-top: 6px;
  margin-top: 6px;
}
.receipt-row.grand-total strong {
  color: #a86b10;
  font-family: monospace;
  font-size: 16px;
}

.receipt-qr-wrap {
  text-align: center;
  margin-top: 10px;
  padding-top: 6px;
}
.pos-qr-box {
  display: inline-block;
  background: #fff;
  padding: 6px;
  border: 1px solid #eee;
  border-radius: 6px;
}
.pos-qr-box canvas, .pos-qr-box img {
  display: block;
  width: 76px !important;
  height: 76px !important;
  margin: 0 auto;
}
.receipt-qr-wrap small {
  display: block;
  font-size: 9px;
  color: #888;
  margin-top: 3px;
}

/* Success Overlay */
.receipt-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: fadeIn .25s ease-out;
  z-index: 10;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.success-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.seal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #107c41;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(16,124,65,0.3);
  animation: popSeal .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popSeal { from { transform: scale(0); } to { transform: scale(1); } }
.success-seal strong {
  font-size: 17px;
  color: #107c41;
}
.success-seal p {
  font-size: 12px;
  color: #555;
  margin: 0 0 10px;
}

/* Pay Bar */
.pos-pay-bar {
  margin-top: 16px;
}
.pos-checkout-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #d4a853;
  background: linear-gradient(135deg, #e5b967, #bc8322);
  color: #120e06;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(188,131,34,0.35);
  position: relative;
  overflow: hidden;
  transition: all .2s;
}
.pos-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(188,131,34,0.5);
}
.pos-checkout-btn .btn-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.pos-checkout-btn .icon { width: 20px; height: 20px; }
.btn-shine {
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shineSweep 3s infinite;
}
@keyframes shineSweep {
  0% { left: -100%; }
  25%, 100% { left: 200%; }
}
.pay-sum {
  font-family: monospace;
  font-size: 14px;
  background: rgba(0,0,0,0.18);
  padding: 4px 8px;
  border-radius: 6px;
}

.pos-payment-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.pay-chip {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pay-chip.mada-chip { background: #00704a; color: #fff; }
.pay-chip.apple-chip { background: #000; color: #fff; border: 1px solid #444; }
.pay-chip.visa-chip { background: #1a1f71; color: #f7b600; font-style: italic; }

/* Interactive Pricing & Hardware Estimator */
.estimator-section {
  padding: 60px 0;
}
.estimator-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 36px;
  overflow: hidden;
}
[data-theme="dark"] .estimator-card {
  background: #141b28;
  border-color: #273449;
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}
.estimator-group {
  margin-bottom: 26px;
}
.estimator-group-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.estimator-group-header label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.est-val-badge {
  background: #fff5e0;
  color: #a86b10;
  border: 1px solid #ebd09c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 750;
}
[data-theme="dark"] .est-val-badge {
  background: #2a2010;
  color: #f7d58b;
  border-color: #5d461f;
}
.estimator-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #ede6d8;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  accent-color: #b88224;
}
[data-theme="dark"] .estimator-slider {
  background: #253145;
}
.slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}

.hardware-selection-list {
  display: grid;
  gap: 12px;
}
.hw-check-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e8decb;
  background: #fffcf7;
  cursor: pointer;
  transition: all .18s;
  user-select: none;
}
[data-theme="dark"] .hw-check-card {
  background: #1a2334;
  border-color: #2b3952;
}
.hw-check-card:hover {
  border-color: #d4a853;
  background: #fff9ed;
}
[data-theme="dark"] .hw-check-card:hover {
  background: #202c42;
}
.hw-check-card input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #b88224;
  cursor: pointer;
}
.hw-info {
  flex: 1;
  min-width: 0;
}
.hw-info strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}
.hw-info small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.hw-price {
  font-size: 13px;
  font-weight: 750;
  color: #a86b10;
  white-space: nowrap;
}
[data-theme="dark"] .hw-price {
  color: #f7d58b;
}

/* Estimator Summary Card */
.estimator-summary {
  background: linear-gradient(135deg, #121824, #1a2335);
  border: 1px solid #334158;
  border-radius: 18px;
  padding: 30px 26px;
  color: #fff;
  box-shadow: 0 16px 45px rgba(0,0,0,0.25);
  position: sticky;
  top: 110px;
}
.summary-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 750;
  color: #f0c770;
  display: block;
  margin-bottom: 6px;
}
.summary-top h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}
.summary-top p {
  font-size: 12px;
  color: #9aa7bc;
  margin: 0 0 20px;
}
.summary-lines {
  display: grid;
  gap: 12px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: #cbd5e1;
}
.summary-line strong {
  font-weight: 700;
  color: #fff;
  font-family: monospace;
  font-size: 14px;
}
.line-dots {
  flex: 1;
  border-bottom: 1px dotted #3b4961;
  margin: 0 10px;
}
.summary-line-detail small {
  font-size: 11px;
  color: #7d8ea6;
  margin-top: -6px;
  display: block;
}
.free-tag {
  color: #34d399 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  background: rgba(52,211,153,0.15);
  padding: 2px 8px;
  border-radius: 4px;
}
.summary-divider {
  border-top: 1px solid #2f3d54;
  margin: 16px 0;
}
.summary-total-block {
  display: grid;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #2a374c;
}
.total-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.total-title {
  font-size: 12px;
  color: #9aa7bc;
}
.total-amount-large {
  font-size: 24px;
  font-weight: 800;
  color: #f5d183;
}
.total-amount-large small {
  font-size: 12px;
  color: #cbd5e1;
}
.total-amount-medium {
  font-size: 18px;
  font-weight: 750;
  color: #fff;
}
.summary-action {
  margin-top: 20px;
}
.summary-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #8393aa;
  margin: 12px 0 0;
  line-height: 1.4;
}
.summary-footnote .icon { width: 14px; height: 14px; color: #d4a853; }

/* Saudi Business Stories Carousel */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fffaf1, #fff);
}
[data-theme="dark"] .testimonials-section {
  background: linear-gradient(180deg, #0e131d, #0b0f17);
}
.testimonials-carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonials-track {
  position: relative;
  min-height: 320px;
}
.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
  border: 1px solid #edd9b9;
  border-radius: 22px;
  padding: 38px 40px;
  box-shadow: 0 16px 45px rgba(183,128,34,0.08);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .testimonial-card {
  background: #141b28;
  border-color: #2e3a4e;
  box-shadow: 0 16px 45px rgba(0,0,0,0.3);
}
.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  position: relative;
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #e5a932;
}
.testimonial-stars .icon { width: 18px; height: 18px; }
.verified-merchant-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #eaf8ef;
  color: #107c41;
  border: 1px solid #b6e7c7;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 650;
}
[data-theme="dark"] .verified-merchant-badge {
  background: #08331d;
  color: #34d399;
  border-color: #14532d;
}
.verified-merchant-badge .icon { width: 14px; height: 14px; }

.testimonial-quote {
  margin: 0 0 20px;
  flex: 1;
}
.testimonial-quote p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}
[lang=ar] .testimonial-quote p {
  font-style: normal;
  font-size: 16px;
  line-height: 1.95;
}

.testimonial-metric-pill {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff8eb;
  border: 1px solid #fae4be;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 650;
  color: #a86b10;
  margin-bottom: 24px;
  width: fit-content;
}
[data-theme="dark"] .testimonial-metric-pill {
  background: #251d10;
  border-color: #4f3b1b;
  color: #f7d58b;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.riyadh-avatar { background: linear-gradient(135deg, #107c41, #0a522b); }
.jeddah-avatar { background: linear-gradient(135deg, #b88224, #825a13); }
.dammam-avatar { background: linear-gradient(135deg, #1e3a8a, #0f172a); }

.author-meta strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.author-meta small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.carousel-nav-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ebdcc5;
  background: #fff;
  color: #a86b10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
[data-theme="dark"] .carousel-arrow {
  background: #172030;
  border-color: #2b3952;
  color: #f5d183;
}
.carousel-arrow:hover {
  background: #d4a853;
  color: #120e06;
  border-color: #d4a853;
  transform: scale(1.08);
}
.carousel-arrow .icon { width: 18px; height: 18px; }
.rotate-180 { transform: rotate(180deg); }

.carousel-indicators {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9cebd;
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.carousel-dot.active {
  width: 26px;
  border-radius: 10px;
  background: #b88224;
}

/* Card Spotlight Hover Glow */
.feature-card, .industry-card, .plan-card, .solution-tile, .pos-item-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before, .industry-card::before, .plan-card::before, .solution-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(212, 168, 83, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
}
.feature-card:hover::before, .industry-card:hover::before, .plan-card:hover::before, .solution-tile:hover::before {
  opacity: 1;
}

/* Responsive queries */
@media(max-width: 1050px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats-counter-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-counter-item:nth-child(2) { border-inline-end: none; }
  .pos-chassis-screen { grid-template-columns: 1fr; }
  .pos-catalog-panel { border-inline-end: none; border-bottom: 1px solid #2a2416; }
  .estimator-grid { grid-template-columns: 1fr; }
  .estimator-summary { position: static; }
}
@media(max-width: 760px) {
  .hero-typed-wrap { min-height: 48px; margin-bottom: 14px; }
  #hero-typed { font-size: clamp(15px, 4.2vw, 18px) !important; }
  .trust-strip { grid-template-columns: 1fr; padding: 18px; }
  .stats-counter-strip { grid-template-columns: repeat(2, 1fr); padding: 18px 14px; }
  .stat-number { font-size: 26px; }
  .pos-item-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { padding: 26px 20px; }
  .estimator-card { padding: 22px 18px; }
}

/* Hardware Specifications Table (Image 2 styling) */
.hw-specs-table-box {
  margin-top: 20px;
  border-radius: 12px;
  border: 1px solid #2a2416;
  background: rgba(14, 18, 28, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hw-table-header {
  display: grid;
  grid-template-columns: 1.4fr 2fr 0.8fr;
  padding: 11px 16px;
  background: rgba(212, 168, 83, 0.09);
  border-bottom: 1px solid #2a2416;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #d4a853);
}
.hw-table-row {
  display: grid;
  grid-template-columns: 1.4fr 2fr 0.8fr;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: #cbd5e1;
  align-items: center;
  transition: background .2s ease;
}
.hw-table-row:last-child {
  border-bottom: none;
}
.hw-table-row:hover {
  background: rgba(212, 168, 83, 0.05);
}
.hw-table-row strong {
  color: #f8fafc;
  font-weight: 600;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
  color: #fbbf24;
}
.text-end {
  text-align: end;
}

@media (max-width: 650px) {
  .hw-table-header {
    display: none;
  }
  .hw-table-row {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 12px 14px;
  }
  .hw-table-row span:nth-child(1) {
    grid-column: 1 / 2;
  }
  .hw-table-row span:nth-child(3) {
    grid-column: 2 / 3;
    font-weight: 700;
  }
  .hw-table-row span:nth-child(2) {
    grid-column: 1 / -1;
    font-size: 12px;
    color: #94a3b8;
  }
}

/* Ambient Gold Atmosphere Orbs */
.interactive-pos-section, .estimator-section {
  position: relative;
  overflow: hidden;
}
.interactive-pos-section::before, .estimator-section::before {
  content: "";
  position: absolute;
  top: -80px;
  inset-inline-end: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.interactive-pos-section > *, .estimator-section > * {
  position: relative;
  z-index: 1;
}


/* ==========================================================================
   BUTTON SHIMMER & LUXURY POLISH
   ========================================================================== */
.button:not(.outline) {
  position: relative;
  overflow: hidden;
}
.button:not(.outline)::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -60%;
  width: 45%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: rotate(25deg);
  animation: btn-gleam 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes btn-gleam {
  0%, 65% {
    left: -60%;
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 1;
  }
}

/* ==========================================================================
   LIVE SAUDI ACTIVITY SOCIAL PROOF TICKER
   ========================================================================== */
.saudi-activity-ticker {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 440px;
  padding: 10px 18px;
  background: rgba(15, 18, 25, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 168, 83, 0.12);
  color: #f1f5f9;
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}
.saudi-activity-ticker.visible {
  opacity: 1;
  transform: translateY(0);
}
.ticker-pulse-wrap {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.ticker-pulse-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.ticker-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: ticker-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes ticker-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  transition: all 0.25s ease;
}
.ticker-icon {
  font-size: 14px;
}
.ticker-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: #e2e8f0;
}
.ticker-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color .2s;
}
.ticker-close-btn:hover {
  color: #fff;
}
@media (max-width: 650px) {
  .saudi-activity-ticker {
    bottom: 90px;
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    max-width: none;
    font-size: 12px;
  }
}

/* ==========================================================================
   ZATCA PHASE 2 SIMULATOR
   ========================================================================== */
.zatca-simulator-section {
  position: relative;
  overflow: hidden;
}
.zatca-sim-card {
  border-radius: 20px;
  border: 1px solid #2a2416;
  background: rgba(14, 18, 28, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 28px;
  overflow: hidden;
}
.zatca-profiles-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.zatca-profile-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #2a2416;
  background: rgba(21, 26, 38, 0.6);
  color: #94a3b8;
  cursor: pointer;
  transition: all .25s ease;
  text-align: start;
}
.zatca-profile-btn:hover {
  border-color: rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.05);
  color: #f1f5f9;
}
.zatca-profile-btn.active {
  border-color: var(--primary, #d4a853);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.16), rgba(162, 104, 20, 0.08));
  color: #f8fafc;
  box-shadow: 0 4px 18px rgba(212, 168, 83, 0.18);
}
.zatca-p-icon {
  font-size: 24px;
}
.zatca-p-text strong {
  display: block;
  font-size: 14px;
  color: inherit;
}
.zatca-p-text small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
}

.zatca-sim-body {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: start;
}

/* Realistic Thermal Paper Receipt */
.zatca-receipt-wrapper {
  display: flex;
  justify-content: center;
}
.zatca-thermal-paper {
  width: 100%;
  max-width: 340px;
  background: #fff;
  color: #121212;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.receipt-sawtooth-top, .receipt-sawtooth-bottom {
  height: 8px;
  width: 100%;
  background-color: transparent;
  background-image: linear-gradient(135deg, #0e121c 25%, transparent 25%),
                    linear-gradient(225deg, #0e121c 25%, transparent 25%);
  background-size: 12px 8px;
}
.receipt-sawtooth-bottom {
  background-image: linear-gradient(315deg, #0e121c 25%, transparent 25%),
                    linear-gradient(45deg, #0e121c 25%, transparent 25%);
}
.zatca-receipt-content {
  padding: 20px 22px;
}
.zatca-receipt-head {
  text-align: center;
}
.zatca-gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.zatca-gov-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.zatca-receipt-head h4 {
  font-size: 14px;
  letter-spacing: 0.05em;
  margin: 4px 0 2px;
  color: #0f172a;
  font-weight: 800;
}
.zatca-ar-title {
  font-size: 12px;
  color: #475569;
  margin-bottom: 10px;
}
.zatca-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  font-size: 10px;
  text-align: start;
  color: #334155;
  border-top: 1px dashed #cbd5e1;
  padding-top: 8px;
}
.zatca-receipt-divider-dash {
  border-top: 1px dashed #cbd5e1;
  margin: 12px 0;
}
.zatca-items-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zatca-item-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  color: #1e293b;
}
.zatca-item-desc strong {
  display: block;
  color: #0f172a;
}
.zatca-item-desc small {
  color: #64748b;
  font-size: 10px;
}
.zatca-item-sum {
  font-weight: 700;
  color: #0f172a;
}
.zatca-totals-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #334155;
}
.zatca-total-row {
  display: flex;
  justify-content: space-between;
}
.zatca-total-row.grand {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid #0f172a;
  padding-top: 6px;
  margin-top: 4px;
}

/* Animated Laser Scanner over QR Code */
.zatca-qr-container {
  text-align: center;
  margin-top: 12px;
}
.zatca-scanner-target {
  position: relative;
  display: inline-block;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.zatca-qr-render {
  display: flex;
  justify-content: center;
}
.zatca-qr-render img, .zatca-qr-render canvas {
  display: block;
  max-width: 110px;
  height: auto;
}
.zatca-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #eab308, #f59e0b, transparent);
  box-shadow: 0 0 12px #eab308, 0 0 4px #fff;
  top: 0;
  animation: laser-sweep 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}
.zatca-laser-glow {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.25), transparent);
  top: 0;
  animation: laser-glow 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes laser-sweep {
  0% { top: 4%; }
  100% { top: 94%; }
}
@keyframes laser-glow {
  0% { top: 4%; }
  100% { top: 86%; }
}
.zatca-qr-caption {
  font-size: 10px;
  color: #047857;
  font-weight: 700;
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.zatca-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  cursor: pointer;
  transition: all .2s;
}
.zatca-inspect-btn:hover {
  background: #b88224;
  color: #fff;
}

/* Inspector Panel */
.zatca-inspector-panel {
  background: rgba(18, 22, 34, 0.85);
  border: 1px solid #2a2416;
  border-radius: 16px;
  padding: 24px;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zatca-inspector-panel.pulse-highlight {
  border-color: #d4a853;
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.35);
  transform: scale(1.01);
}
.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.inspector-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #f1f5f9;
}
.inspector-badge {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.inspector-intro {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.5;
}
.zatca-tags-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zatca-tag-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(10, 13, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.zatca-tag-item.highlight-tag {
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(212, 168, 83, 0.06);
}
.tag-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 11px;
}
.tag-number {
  font-weight: 700;
  color: var(--primary, #d4a853);
  letter-spacing: 0.04em;
}
.tag-label {
  color: #94a3b8;
}
.tag-value {
  font-size: 13px;
  color: #f1f5f9;
}
.tag-hash {
  color: #38bdf8;
  word-break: break-all;
  font-size: 11px;
}
.inspector-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #2a2416;
}
.compliance-guarantee {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #10b981;
}
.compliance-guarantee svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.compliance-guarantee strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  margin-bottom: 2px;
}
.compliance-guarantee p {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}
@media(max-width: 900px) {
  .zatca-profiles-bar { grid-template-columns: 1fr; }
  .zatca-sim-body { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TRANSFORMATION (BEFORE VS AFTER)
   ========================================================================== */
.transformation-section {
  position: relative;
  overflow: hidden;
}
.transform-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 36px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #0f141f;
  border: 1px solid #2e2617;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: fit-content;
}
[data-theme="light"] .transform-toggle-wrap {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.transform-toggle-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}
.transform-toggle-btn strong {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  transition: color .2s ease;
}
.transform-toggle-btn small {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin-inline-start: 4px;
  transition: color .2s ease;
}
[data-theme="light"] .transform-toggle-btn strong {
  color: #1e293b;
}
[data-theme="light"] .transform-toggle-btn small {
  color: #475569;
}

/* Active State: Arabian POS Pro (Bold, vibrant luxury gold with white text) */
.transform-toggle-btn#btn-show-after.active {
  background: linear-gradient(135deg, #b88224, #875710) !important;
  border: 1px solid #d4a853 !important;
  box-shadow: 0 4px 16px rgba(184, 130, 36, 0.45) !important;
}
.transform-toggle-btn#btn-show-after.active strong {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.transform-toggle-btn#btn-show-after.active small {
  color: #fef08a !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Active State: Traditional Systems (Bold crimson red with white text) */
.transform-toggle-btn#btn-show-before.active {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45) !important;
}
.transform-toggle-btn#btn-show-before.active strong {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.transform-toggle-btn#btn-show-before.active small {
  color: #fecaca !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gold-dot { background: #fef08a; box-shadow: 0 0 8px #d4a853; }
.red-dot { background: #fecaca; box-shadow: 0 0 8px #ef4444; }

.transform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.transform-card {
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #2a2416;
  background: rgba(14, 18, 28, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .35s ease;
}
.transform-card.card-before {
  border-color: rgba(239, 68, 68, 0.25);
}
.transform-card.card-after {
  border-color: rgba(212, 168, 83, 0.35);
  background: rgba(18, 24, 38, 0.75);
}
.transform-card.highlighted {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.card-after.highlighted {
  border-color: #d4a853;
  box-shadow: 0 20px 50px rgba(212, 168, 83, 0.22);
}
.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}
.badge-before {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.badge-after {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.transform-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.transform-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.li-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.list-before .li-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.list-after .li-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.transform-list strong {
  display: block;
  font-size: 14px;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.transform-list p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
}
.transform-card-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #2a2416;
}
@media(max-width: 850px) {
  .transform-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LAUNCHERS: SUPPORT & LUXURY WHATSAPP CONCIERGE ALIGNMENT
   ========================================================================== */
.chat-launcher {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 54px !important;
  height: 54px !important;
  z-index: 990 !important;
  margin: 0 !important;
}
[lang=ar] .chat-launcher, [dir=rtl] .chat-launcher {
  right: auto !important;
  left: 24px !important;
}

.luxury-whatsapp-wrapper {
  position: fixed !important;
  right: 90px !important;
  bottom: 24px !important;
  z-index: 991 !important;
  margin: 0 !important;
}
[lang=ar] .luxury-whatsapp-wrapper, [dir=rtl] .luxury-whatsapp-wrapper {
  right: auto !important;
  left: 90px !important;
}

.whatsapp-launcher {
  position: relative !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
  cursor: pointer !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
  text-decoration: none !important;
  right: auto !important;
  bottom: auto !important;
}
.whatsapp-launcher:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55) !important;
}
.whatsapp-launcher svg {
  width: 28px !important;
  height: 28px !important;
  position: relative !important;
  z-index: 2 !important;
  fill: currentColor !important;
}

@media (max-width: 760px) {
  .chat-launcher {
    right: 16px !important;
    bottom: 18px !important;
    width: 48px !important;
    height: 48px !important;
  }
  [lang=ar] .chat-launcher, [dir=rtl] .chat-launcher {
    left: 16px !important;
    right: auto !important;
  }
  .luxury-whatsapp-wrapper {
    right: 74px !important;
    bottom: 18px !important;
  }
  [lang=ar] .luxury-whatsapp-wrapper, [dir=rtl] .luxury-whatsapp-wrapper {
    left: 74px !important;
    right: auto !important;
  }
  .whatsapp-launcher {
    width: 48px !important;
    height: 48px !important;
  }
  .whatsapp-launcher svg {
    width: 24px !important;
    height: 24px !important;
  }
}
.radar-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: radar-pulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
.radar-pulse-ring.delay {
  animation-delay: 1.2s;
}
@keyframes radar-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.whatsapp-concierge-card {
  position: absolute;
  bottom: 74px;
  inset-inline-end: 0;
  width: 320px;
  padding: 18px 20px;
  background: rgba(15, 18, 25, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  color: #f1f5f9;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.whatsapp-concierge-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.concierge-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.concierge-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.avatar-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f1219;
}
.concierge-meta {
  flex: 1;
}
.concierge-meta strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
}
.green-text {
  color: #10b981;
  font-size: 11px;
}
.concierge-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}
.concierge-msg {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 14px;
}
.concierge-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  transition: background .2s;
}
.concierge-action-btn:hover {
  background: #1ebd5b;
}

/* ==========================================================================
   LIVE FAQ SEARCH ENGINE
   ========================================================================== */
.faq-live-search-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.faq-search-icon {
  position: absolute;
  inset-inline-start: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.faq-search-icon svg {
  width: 18px;
  height: 18px;
}
.faq-search-input {
  width: 100%;
  padding: 12px 42px;
  border-radius: 12px;
  border: 1px solid #2a2416;
  background: rgba(14, 18, 28, 0.7);
  color: #f8fafc;
  font-size: 14px;
  outline: none;
  transition: all .25s ease;
}
.faq-search-input:focus {
  border-color: var(--primary, #d4a853);
  box-shadow: 0 0 16px rgba(212, 168, 83, 0.25);
}
.faq-clear-btn {
  position: absolute;
  inset-inline-end: 14px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
}
.faq-empty-state {
  padding: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
  background: rgba(14, 18, 28, 0.4);
  border-radius: 12px;
  border: 1px dashed #2a2416;
}
.faq-highlight {
  background: rgba(212, 168, 83, 0.35);
  color: #fbbf24;
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 700;
}


/* ==========================================================================
   SELECTED SETUP BANNER & ESTIMATOR WHATSAPP CTA
   ========================================================================== */
.selected-setup-banner {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.16), rgba(184, 130, 36, 0.08));
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.setup-banner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.setup-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary, #d4a853);
}
.setup-banner-badge svg {
  width: 14px;
  height: 14px;
}
.setup-banner-head strong {
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
}
.setup-banner-head strong small {
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
}
.setup-banner-detail {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}
.whatsapp-direct-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #10b981;
  margin-top: 12px;
  font-weight: 500;
}
.whatsapp-direct-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}
.estimator-whatsapp-cta {
  margin-top: 10px;
  background: transparent !important;
  border: 1px solid #25d366 !important;
  color: #25d366 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all .2s ease;
}
.estimator-whatsapp-cta:hover {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.estimator-whatsapp-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


/* ==========================================================================
   12. CERTIFIED HARDWARE STATION EXPLORER
   ========================================================================== */
.hw-station-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}
.hw-station-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  background: var(--card-bg, #161616);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
}
.hw-counter-wrapper {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1f1f23 0%, #121214 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.05);
}
.hw-counter-surface {
  position: relative;
  min-height: 380px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 12px;
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
}
.hw-counter-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 168, 83, 0.06), transparent 60%);
  pointer-events: none;
}
.hw-counter-edge {
  height: 14px;
  background: linear-gradient(180deg, #2b2b30 0%, #17171a 100%);
  border-top: 1px solid rgba(212, 168, 83, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.hw-item {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  user-select: none;
}
.hw-item:hover, .hw-item.active {
  transform: translateY(-8px) scale(1.03);
}
.hw-item.active .hw-item-label {
  color: var(--gold, #d4a853);
  font-weight: 700;
}
.hw-hotspot-pin {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4a853;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.8);
  z-index: 5;
}
.hw-pin-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #d4a853;
  animation: pin-pulse 1.8s infinite ease-out;
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hw-item-label {
  font-size: 11px;
  text-align: center;
  margin-top: 10px;
  color: #a3a3a3;
  transition: color 0.2s ease;
  max-width: 90px;
  line-height: 1.25;
}

/* Terminal Styling */
.hw-terminal-unit {
  width: 140px;
}
.hw-terminal-body {
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hw-terminal-screen {
  width: 130px;
  height: 95px;
  background: #000;
  border: 2px solid #333;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6), inset 0 0 12px rgba(212, 168, 83, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.screen-header {
  background: #18181b;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #d4a853;
  font-weight: 700;
  border-bottom: 1px solid #27272a;
}
.screen-content {
  padding: 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0c0c0e;
}
.screen-cart-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.screen-line-item {
  font-size: 8px;
  color: #94a3b8;
}
.screen-cart-total {
  font-size: 12px;
  color: #22c55e;
  font-weight: 800;
}
.screen-badge {
  font-size: 7px;
  background: rgba(212, 168, 83, 0.2);
  color: #d4a853;
  padding: 2px 4px;
  border-radius: 3px;
  align-self: flex-start;
  font-weight: 600;
}
.hw-terminal-stand {
  width: 24px;
  height: 32px;
  background: linear-gradient(180deg, #3f3f46 0%, #18181b 100%);
  margin-top: -2px;
}
.hw-terminal-base {
  width: 75px;
  height: 10px;
  background: #27272a;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Printer Styling */
.hw-printer-unit {
  width: 90px;
}
.hw-printer-body {
  width: 78px;
  height: 72px;
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  border: 1px solid #3f3f46;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.printer-feed-slot {
  width: 58px;
  height: 6px;
  background: #09090b;
  border-radius: 3px;
  margin-top: 12px;
  position: relative;
}
.printer-paper-rollout {
  position: absolute;
  bottom: 5px;
  left: 5px;
  width: 48px;
  height: 0px;
  background: #ffffff;
  color: #000;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 5px;
  padding: 0 3px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  z-index: 4;
}
.printer-paper-rollout.rollout {
  height: 68px;
}
.mini-receipt-header {
  font-weight: 800;
  text-align: center;
  margin-top: 2px;
}
.mini-receipt-dash {
  font-size: 4px;
  overflow: hidden;
  white-space: nowrap;
}
.mini-receipt-total {
  font-weight: 800;
  color: #000;
}
.mini-receipt-qr {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
}
.mini-qr-box {
  width: 14px;
  height: 14px;
  background: #000;
}
.printer-indicator-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  position: absolute;
  bottom: 8px;
  right: 10px;
}

/* Scanner Styling */
.hw-scanner-unit {
  width: 80px;
}
.hw-scanner-body {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.scanner-head {
  width: 54px;
  height: 48px;
  background: #27272a;
  border-radius: 8px 8px 4px 4px;
  border: 1px solid #3f3f46;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-window {
  width: 38px;
  height: 32px;
  background: #09090b;
  border: 1px solid #18181b;
  border-radius: 4px;
}
.scanner-infrared-beam {
  position: absolute;
  width: 44px;
  height: 2px;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.scanner-infrared-beam.active {
  opacity: 1;
  animation: laser-sweep 0.7s infinite alternate ease-in-out;
}
@keyframes laser-sweep {
  0% { transform: translateY(-12px); }
  100% { transform: translateY(12px); }
}
.scanner-grip {
  width: 18px;
  height: 36px;
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  transform: rotate(-10deg);
  margin-top: -4px;
}
.scanner-cradle {
  width: 50px;
  height: 10px;
  background: #18181b;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Cash Drawer Styling */
.hw-drawer-unit {
  width: 130px;
}
.hw-drawer-outer {
  width: 120px;
  height: 42px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 4px;
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}
.hw-drawer-slide {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 34px;
  background: #27272a;
  border-radius: 3px;
  border: 1px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.hw-drawer-slide.popped {
  transform: translateY(32px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}
.drawer-slots {
  display: flex;
  gap: 3px;
}
.drawer-slots .slot {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 3px;
  border-radius: 2px;
  color: #fff;
}
.slot.bill-500 { background: #3b82f6; }
.slot.bill-100 { background: #ef4444; }
.slot.bill-50 { background: #22c55e; }
.slot.coins { background: #d4a853; color:#000; }
.drawer-handle {
  width: 24px;
  height: 4px;
  background: #52525b;
  border-radius: 2px;
}

/* Customer Display Styling */
.hw-display-unit {
  width: 85px;
}
.hw-display-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.display-screen {
  width: 80px;
  height: 40px;
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.disp-welcome {
  font-size: 7px;
  color: #38bdf8;
  font-family: monospace;
}
.disp-price {
  font-size: 10px;
  color: #22c55e;
  font-weight: 800;
  font-family: monospace;
}
.display-pole {
  width: 8px;
  height: 46px;
  background: linear-gradient(180deg, #3f3f46 0%, #18181b 100%);
}

/* Simulation Action Bar */
.hw-sim-controls {
  padding: 14px 20px;
  background: rgba(10, 10, 10, 0.9);
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-run-btn {
  background: #d4a853 !important;
  color: #000 !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.sim-status-label {
  font-size: 12px;
  color: #a3a3a3;
  font-style: italic;
}

/* Hardware Detail Sidebar */
.hw-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hw-tabs-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.hw-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hw-tab-btn:hover, .hw-tab-btn.active {
  background: #d4a853;
  color: #000;
  border-color: #d4a853;
}
.hw-pane-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hw-pane-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4a853;
  font-weight: 700;
}
.hw-pane-head h3 {
  font-size: 19px;
  margin: 4px 0 8px;
  color: #fff;
}
.hw-pane-head p {
  font-size: 13px;
  line-height: 1.5;
  color: #a3a3a3;
}
.hw-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}
.hw-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.hw-spec-row span {
  color: #737373;
}
.hw-spec-row strong {
  color: #e2e8f0;
}
.hw-pane-footer {
  margin-top: 6px;
}

/* ==========================================================================
   13. SAUDI MERCHANT ROI CALCULATOR
   ========================================================================== */
.roi-calc-section {
  padding: 60px 0 80px;
  position: relative;
}
.roi-calc-card {
  background: var(--card-bg, #161616);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.roi-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}
.roi-col-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}
.roi-slider-group {
  margin-bottom: 22px;
}
.roi-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.roi-label-row label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.roi-badge-val {
  background: rgba(212, 168, 83, 0.15);
  color: #d4a853;
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.roi-range-input {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d4a853;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.roi-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.roi-slider-marks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #737373;
  margin-top: 6px;
}
.roi-note-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(212, 168, 83, 0.05);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: #d4a853;
  margin-top: 10px;
}
.roi-note-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.roi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.roi-metric-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.roi-metric-box:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 168, 83, 0.35);
}
.roi-metric-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.roi-metric-label {
  font-size: 11px;
  color: #a3a3a3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.roi-metric-num {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 4px 0;
}
.roi-metric-num small {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}
.roi-metric-sub {
  font-size: 11px;
  color: #737373;
  line-height: 1.35;
}
.roi-summary-banner {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.18) 0%, rgba(20, 20, 20, 0.95) 100%);
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.roi-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.roi-summary-label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}
.roi-summary-total {
  font-size: 22px;
  font-weight: 850;
  color: #d4a853;
}
.roi-demo-cta {
  background: #d4a853 !important;
  color: #000 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   14. ZATCA TLV RAW HEX INSPECTOR & CUSTOM VALIDATOR
   ========================================================================== */
.inspector-tabs-toggle {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ins-tab-toggle {
  background: transparent;
  border: none;
  color: #a3a3a3;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ins-tab-toggle:hover, .ins-tab-toggle.active {
  background: #d4a853;
  color: #000;
}
.raw-tlv-table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.tlv-byte-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.tlv-byte-table th {
  background: #18181b;
  padding: 8px 10px;
  text-align: left;
  color: #d4a853;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tlv-byte-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: monospace;
  color: #e2e8f0;
}
.tlv-base64-box {
  background: #09090b;
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 10px;
  padding: 12px;
  margin-top: 14px;
}
.tlv-b64-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #a3a3a3;
  margin-bottom: 6px;
}
.tlv-b64-code {
  display: block;
  font-size: 11px;
  word-break: break-all;
  color: #d4a853;
  max-height: 80px;
  overflow-y: auto;
}
.custom-zatca-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.form-row-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row-custom label {
  font-size: 11px;
  color: #a3a3a3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-row-custom input {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* ==========================================================================
   15. ULTRA-LUXURY AMBIENT SPOTLIGHT & 3D PARALLAX TILT
   ========================================================================== */
.card, .hw-station-card, .roi-calc-card, .zatca-sim-card, .hero {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before, .hw-station-card::before, .roi-calc-card::before, .zatca-sim-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, -200px) var(--mouse-y, -200px), rgba(212, 168, 83, 0.08), transparent 45%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.card:hover::before, .hw-station-card:hover::before, .roi-calc-card:hover::before, .zatca-sim-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   16. MOBILE RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 900px) {
  .hw-station-card {
    grid-template-columns: 1fr;
  }
  .roi-calc-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hw-counter-surface {
    flex-wrap: wrap;
    min-height: auto;
    padding: 16px 8px;
    justify-content: center;
    gap: 16px;
  }
  .hw-terminal-unit, .hw-printer-unit, .hw-scanner-unit, .hw-drawer-unit, .hw-display-unit {
    width: auto;
  }
  .hw-sim-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .roi-metrics-grid {
    grid-template-columns: 1fr;
  }
  .form-row-custom {
    grid-template-columns: 1fr;
  }
  .roi-summary-banner {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   ULTRA-PRO HARDWARE SUITE & ROI DASHBOARD (LIGHT & DARK COMPATIBLE)
   ========================================================================== */
.hw-master-chassis, .roi-master-chassis {
  background: #13171f !important;
  border-radius: 24px !important;
  border: 2px solid #362e1d !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 83, 0.25) !important;
  overflow: hidden !important;
  margin: 32px 0 !important;
  color: #f1f5f9 !important;
}
.hw-chassis-topbar, .roi-chassis-topbar {
  background: #1a1f2c;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hw-sim-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hw-sim-play-btn {
  background: linear-gradient(135deg, #efc774, #dcab48 50%, #c48b24) !important;
  color: #120e06 !important;
  border: 1px solid #e4b45b !important;
  font-weight: 750 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.35) !important;
  transition: all 0.2s ease !important;
}
.hw-sim-play-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.5) !important;
}
.hw-sim-live-status {
  font-size: 12px;
  color: #cbd5e1;
  font-style: italic;
}
.hw-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.hw-pulse-dot, .roi-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
/* 4-Step Simulation Tracker */
.hw-steps-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #161a25;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hw-step-node {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  transition: all 0.3s ease;
}
.hw-step-node.active {
  opacity: 1;
  transform: scale(1.05);
}
.hw-step-node.active .step-num {
  background: #d4a853;
  color: #000;
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.8);
}
.hw-step-node.active .step-text {
  color: #d4a853;
  font-weight: 700;
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #272d3d;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-text {
  font-size: 12px;
  color: #94a3b8;
}
.hw-step-line {
  flex: 1;
  height: 2px;
  background: #272d3d;
  margin: 0 14px;
}
/* Hardware Grid Suite */
.hw-grid-suite {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 26px;
}
.hw-card-unit {
  background: #1a1f2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
  position: relative;
}
.hw-card-unit:hover, .hw-card-unit.active {
  border-color: rgba(212, 168, 83, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 168, 83, 0.15);
  transform: translateY(-4px);
}
.hw-unit-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hw-unit-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a853;
  flex-shrink: 0;
}
.hw-unit-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.hw-unit-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hw-tag-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a853;
  font-weight: 700;
}
.hw-unit-meta h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  line-height: 1.25;
}
/* Vector Mockups */
.hw-screen-mockup {
  height: 120px;
  background: #0d1017;
  border-radius: 10px;
  border: 1px solid #272d3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.mockup-bezel {
  width: 100%;
  height: 95px;
  background: #000;
  border: 2px solid #333d52;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(212, 168, 83, 0.1);
}
.mockup-display {
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-size: 9px;
}
.mockup-top {
  display: flex;
  justify-content: space-between;
  color: #d4a853;
  font-weight: 700;
  border-bottom: 1px solid #222;
  padding-bottom: 2px;
}
.mockup-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 10px;
}
.mockup-cart-row strong {
  color: #22c55e;
  font-size: 12px;
}
.mockup-status-strip {
  display: flex;
  gap: 4px;
}
.status-pill {
  font-size: 7px;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: 600;
}
.status-pill.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.status-pill.gold { background: rgba(212, 168, 83, 0.2); color: #d4a853; }
.mockup-stand {
  width: 36px;
  height: 6px;
  background: #272d3d;
  border-radius: 0 0 4px 4px;
}
/* Printer Mockup */
.hw-printer-mockup {
  height: 120px;
  background: #0d1017;
  border-radius: 10px;
  border: 1px solid #272d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.printer-chassis {
  width: 110px;
  height: 75px;
  background: #181d29;
  border: 1px solid #363e52;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.printer-feed-gap {
  width: 80px;
  height: 6px;
  background: #000;
  border-radius: 3px;
  margin-top: 10px;
  position: relative;
}
.printer-paper-eject {
  position: absolute;
  bottom: 4px;
  left: 6px;
  width: 68px;
  height: 0px;
  background: #fff;
  color: #000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 6px;
  z-index: 5;
  border-radius: 2px 2px 0 0;
}
.printer-paper-eject.ejected {
  height: 74px;
}
.paper-body {
  padding: 3px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.paper-divider {
  border-top: 1px dashed #777;
  margin: 1px 0;
}
.paper-total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}
.paper-qr-preview {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}
.paper-qr-matrix {
  width: 14px;
  height: 14px;
  background: #000;
}
.printer-front-plate {
  margin-top: auto;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.printer-led-online {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.printer-brand-logo {
  font-size: 8px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.05em;
}
/* Scanner Mockup */
.hw-scanner-mockup {
  height: 120px;
  background: #0d1017;
  border-radius: 10px;
  border: 1px solid #272d3d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.scanner-sensor-hood {
  width: 70px;
  height: 56px;
  background: #181d29;
  border: 1px solid #363e52;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-glass-lens {
  width: 50px;
  height: 38px;
  background: #090c12;
  border: 1px solid #1e2433;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.scanner-laser-sweep {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.scanner-laser-sweep.firing {
  opacity: 1;
  animation: laser-bounce 0.6s infinite alternate ease-in-out;
}
@keyframes laser-bounce {
  0% { transform: translateY(-14px); }
  100% { transform: translateY(14px); }
}
.scanner-read-badge {
  font-size: 9px;
  color: #94a3b8;
  font-family: monospace;
}
/* Cash Drawer Mockup */
.hw-drawer-mockup {
  height: 120px;
  background: #0d1017;
  border-radius: 10px;
  border: 1px solid #272d3d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}
.drawer-casing {
  width: 140px;
  height: 48px;
  background: #181d29;
  border: 1px solid #363e52;
  border-radius: 6px;
  position: relative;
}
.drawer-sliding-tray {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 40px;
  background: #252b3b;
  border: 1px solid #475569;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}
.drawer-sliding-tray.open {
  transform: translateY(28px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.tray-compartments {
  display: flex;
  gap: 3px;
}
.tray-slot {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 2px;
  color: #fff;
}
.tray-slot.b-500 { background: #3b82f6; }
.tray-slot.b-100 { background: #ef4444; }
.tray-slot.b-50 { background: #22c55e; }
.tray-slot.coins { background: #d4a853; color: #000; }
.tray-front-grip {
  width: 22px;
  height: 4px;
  background: #64748b;
  border-radius: 2px;
}
/* Chips & Action Buttons */
.hw-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hw-specs-chips span {
  font-size: 10px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hw-action-btn {
  width: 100% !important;
  justify-content: center !important;
  font-size: 12px !important;
  border-color: rgba(212, 168, 83, 0.35) !important;
  color: #e2e8f0 !important;
}
.hw-action-btn:hover {
  background: rgba(212, 168, 83, 0.15) !important;
  border-color: #d4a853 !important;
  color: #fff !important;
}
/* Chassis Footer */
.hw-chassis-footer {
  background: #161a25;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.hw-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hw-footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.15);
  color: #d4a853;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hw-footer-icon svg {
  width: 18px;
  height: 18px;
}
.hw-footer-item strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
}
.hw-footer-item small {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
}

/* ==========================================================================
   ROI EXECUTIVE DASHBOARD STYLING
   ========================================================================== */
.roi-top-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.preset-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}
.roi-preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.roi-preset-btn:hover, .roi-preset-btn.active {
  background: #d4a853;
  color: #000;
  border-color: #d4a853;
  font-weight: 700;
}
.roi-chassis-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  padding: 28px;
}
.roi-panel-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.roi-panel-heading {
  font-size: 18px;
  color: #fff;
  margin: 0;
  font-weight: 700;
}
.roi-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.roi-input-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.roi-input-meta label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.roi-val-badge {
  background: rgba(212, 168, 83, 0.15);
  color: #d4a853;
  border: 1px solid rgba(212, 168, 83, 0.35);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
}
.roi-slider-track-wrap {
  position: relative;
  width: 100%;
}
.roi-styled-slider {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.roi-styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4a853;
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.roi-styled-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.roi-ticks-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
}
.roi-counters-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.counter-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.counter-pill:hover, .counter-pill.active {
  background: #d4a853;
  color: #000;
  border-color: #d4a853;
  font-weight: 700;
}
.roi-benchmark-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: #d4a853;
  margin-top: 6px;
}
.roi-benchmark-tip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* KPI Cards */
.roi-panel-kpis {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-kpis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.roi-kpi-card {
  background: #1a1f2c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}
.roi-kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 168, 83, 0.4);
}
.kpi-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpi-icon-bubble.gold-bubble { background: rgba(212, 168, 83, 0.15); color: #d4a853; }
.kpi-icon-bubble.green-bubble { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.kpi-icon-bubble.blue-bubble { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.kpi-icon-bubble.purple-bubble { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.kpi-icon-bubble svg { width: 20px; height: 20px; }
.kpi-mini-tag {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
}
.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
}
.kpi-big-num {
  font-size: 26px;
  font-weight: 850;
  color: #fff;
  line-height: 1.1;
  margin: 4px 0 2px;
}
.kpi-big-num small {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}
.kpi-desc {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}
/* Total Banner */
.roi-total-banner {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2) 0%, rgba(26, 31, 44, 0.95) 100%);
  border: 1px solid rgba(212, 168, 83, 0.45);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.total-banner-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.total-label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}
.total-sum-num {
  font-size: 24px;
  font-weight: 900;
  color: #d4a853;
}
.roi-claim-cta {
  background: linear-gradient(135deg, #efc774, #dcab48 50%, #c48b24) !important;
  color: #120e06 !important;
  font-weight: 750 !important;
  border: 1px solid #e4b45b !important;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .roi-chassis-body {
    grid-template-columns: 1fr;
  }
  .hw-steps-tracker {
    display: none;
  }
}
@media (max-width: 600px) {
  .roi-kpis-grid {
    grid-template-columns: 1fr;
  }
  .roi-total-banner {
    flex-direction: column;
    text-align: center;
  }
  .roi-claim-cta {
    width: 100%;
  }
}


/* ==========================================================================
   ULTRA-LUXURY ANIMATED HERO VIDEO TOUR PILL & THEATER MODAL
   ========================================================================== */
.hero-video-cta-wrap {
  margin-top: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.hero-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 235, 0.92));
  border: 1.5px solid rgba(212, 168, 83, 0.55);
  border-radius: 999px;
  padding: 6px 20px 6px 8px;
  text-decoration: none !important;
  color: #1c1917 !important;
  box-shadow: 0 4px 20px rgba(183, 128, 34, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

[data-theme="dark"] .hero-video-pill {
  background: linear-gradient(135deg, rgba(26, 31, 44, 0.94), rgba(19, 23, 31, 0.96));
  border-color: rgba(212, 168, 83, 0.45);
  color: #f8fafc !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[dir="rtl"] .hero-video-pill {
  padding: 6px 8px 6px 20px;
}

/* Hover & Active Lift */
.hero-video-pill:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: #d4a853;
  box-shadow: 0 10px 32px rgba(183, 128, 34, 0.28), 0 0 0 2px rgba(212, 168, 83, 0.3);
}

.hero-video-pill:active {
  transform: translateY(0) scale(0.99);
}

/* Ambient Shimmer Sweep */
.hero-video-pill::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(25deg);
  animation: pill-shimmer-sweep 3.8s infinite ease-in-out;
  pointer-events: none;
}

[data-theme="dark"] .hero-video-pill::before {
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.25), transparent);
}

@keyframes pill-shimmer-sweep {
  0%, 45% { left: -120%; }
  75%, 100% { left: 180%; }
}

/* Circular Play Orb */
.video-play-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efc774, #dcab48 50%, #c48b24);
  color: #120e06;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 3px 12px rgba(212, 168, 83, 0.45);
  transition: transform 0.25s ease;
}

.hero-video-pill:hover .video-play-orb {
  transform: scale(1.1);
}

.video-play-svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  fill: #120e06;
}

[dir="rtl"] .video-play-svg {
  margin-left: 0;
  margin-right: 2px;
  transform: rotate(180deg);
}

/* Radar Pulse Waves */
.video-radar-wave {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #d4a853;
  opacity: 0.8;
  animation: video-radar-pulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

.video-radar-wave.delay {
  animation-delay: 1.1s;
}

@keyframes video-radar-pulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Text Block */
.video-pill-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  text-align: left;
}

[dir="rtl"] .video-pill-text-wrap {
  text-align: right;
}

.video-pill-title {
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: inherit;
}

.video-pill-sub {
  font-size: 11px;
  color: #8c744b;
  font-weight: 600;
}

[data-theme="dark"] .video-pill-sub {
  color: #d4a853;
}

/* Action & HD Chip */
.video-pill-action {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

[dir="rtl"] .video-pill-action {
  margin-left: 0;
  margin-right: 8px;
}

.video-badge-hd {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(212, 168, 83, 0.16);
  color: #b78022;
  border: 1px solid rgba(212, 168, 83, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

[data-theme="dark"] .video-badge-hd {
  color: #efc774;
  background: rgba(212, 168, 83, 0.2);
}

.video-arrow-svg {
  width: 14px;
  height: 14px;
  color: #b78022;
  transition: transform 0.2s ease;
}

[dir="rtl"] .video-arrow-svg {
  transform: rotate(180deg);
}

.hero-video-pill:hover .video-arrow-svg {
  transform: translateX(4px);
}

[dir="rtl"] .hero-video-pill:hover .video-arrow-svg {
  transform: rotate(180deg) translateX(4px);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .hero-video-cta-wrap {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 6px;
  }
  .hero-video-pill {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    padding: 7px 16px 7px 8px;
    justify-content: space-between;
  }
  [dir="rtl"] .hero-video-pill {
    padding: 7px 8px 7px 16px;
  }
  .video-pill-title {
    font-size: 13px;
  }
  .video-pill-sub {
    font-size: 10.5px;
  }
}

/* ==========================================================================
   THEATER VIDEO MODAL LIGHTBOX
   ========================================================================== */
.video-theater-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.video-theater-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-theater-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-theater-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-theater-modal.active .video-theater-container {
  transform: scale(1);
}

.video-theater-card {
  background: #11141c;
  border: 2px solid rgba(212, 168, 83, 0.45);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 168, 83, 0.25);
}

.video-theater-header {
  background: #171c26;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

.video-theater-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.video-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.video-theater-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-theater-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
  transform: rotate(90deg);
}

.video-theater-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.video-theater-frame-wrap iframe,
.video-theater-frame-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.video-theater-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-theater-ext-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d4a853;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.video-theater-ext-btn:hover {
  background: rgba(212, 168, 83, 0.25);
  color: #fff;
  border-color: rgba(212, 168, 83, 0.5);
  transform: scale(1.08);
}

.video-theater-footer {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #94a3b8;
}

.video-theater-footer-note {
  color: #94a3b8;
}

.video-theater-footer-link {
  color: #d4a853 !important;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.video-theater-footer-link:hover {
  color: #f59e0b !important;
  text-decoration: underline !important;
}

.video-theater-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0b0f19;
  color: #f8fafc;
  padding: 24px;
  text-align: center;
  z-index: 5;
}

.video-fallback-icon {
  font-size: 40px;
  margin-bottom: 8px;
}


/* ==========================================================================
   17. ULTRA MASTER ENHANCEMENTS: PROGRESS BAR, SPOTLIGHT, DOCK, MAP & PRINTER
   ========================================================================== */

/* 1. Gold Laser Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #b78022, #d4a853, #f59e0b, #eab308);
  z-index: 100000;
  box-shadow: 0 0 10px rgba(212, 168, 83, 0.8), 0 0 4px rgba(245, 158, 11, 0.9);
  transition: width 0.08s linear;
  pointer-events: none;
}
[dir="rtl"] .scroll-progress-bar {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, #b78022, #d4a853, #f59e0b, #eab308);
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(212, 168, 83, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(212, 168, 83, 0.35) !important;
  box-shadow: 0 8px 25px rgba(183, 128, 34, 0.12);
}

/* 2. Spotlight Search Command Pill */
.search-command-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
[data-theme="light"] .search-command-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #334155;
}
.search-command-pill:hover {
  background: rgba(212, 168, 83, 0.18);
  border-color: rgba(212, 168, 83, 0.55);
  color: #f8fafc;
  transform: translateY(-1px);
}
.search-kbd {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d4a853;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* 3. Spotlight Command Palette Modal */
.spotlight-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  padding-left: 16px;
  padding-right: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-modal.active {
  opacity: 1;
  visibility: visible;
}
.spotlight-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.spotlight-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background: #0f172a;
  border: 1.5px solid rgba(212, 168, 83, 0.4);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 168, 83, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: spotlight-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes spotlight-pop {
  0% { transform: scale(0.96) translateY(-10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.spotlight-search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d4a853;
}
.spotlight-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 16px;
  color: #f8fafc;
  outline: none;
  font-family: inherit;
}
.spotlight-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.spotlight-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.spotlight-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spotlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none !important;
  transition: all 0.18s ease;
  font-size: 14px;
}
.spotlight-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spotlight-item-badge {
  font-size: 11px;
  font-weight: 600;
  color: #d4a853;
  background: rgba(212, 168, 83, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}
.spotlight-item:hover, .spotlight-item.active {
  background: rgba(212, 168, 83, 0.16);
  color: #f8fafc;
  transform: translateX(3px);
}
[dir="rtl"] .spotlight-item:hover, [dir="rtl"] .spotlight-item.active {
  transform: translateX(-3px);
}
.spotlight-footer {
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: #64748b;
}
.spotlight-hint kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 1px 4px;
  color: #cbd5e1;
  font-size: 10px;
  margin-right: 3px;
}

/* 4. Floating Luxury Quick-Action Dock */
.floating-quick-dock {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1.5px solid rgba(212, 168, 83, 0.4);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 168, 83, 0.15);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
[data-theme="light"] .floating-quick-dock {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 10px 30px rgba(183, 128, 34, 0.2);
}
.floating-quick-dock.dock-hidden {
  transform: translateX(-50%) translateY(90px);
  opacity: 0;
  pointer-events: none;
}
.dock-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 12.5px;
  font-weight: 650;
  color: #f8fafc;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
[data-theme="light"] .dock-item {
  color: #1e293b;
}
.dock-whatsapp {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.35));
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80 !important;
}
.dock-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: dock-dot-pulse 1.8s infinite;
}
@keyframes dock-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.dock-demo {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.25), rgba(183, 128, 34, 0.4));
  border-color: rgba(212, 168, 83, 0.6);
  color: #fde047 !important;
}
.dock-item:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

/* 5. Saudi Map Interactive Styles */
.saudi-map-section {
  position: relative;
  overflow: hidden;
}
.saudi-map-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(26, 31, 44, 0.92));
  border: 1.5px solid rgba(212, 168, 83, 0.35);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .saudi-map-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.94));
  border-color: rgba(212, 168, 83, 0.45);
  box-shadow: 0 15px 35px rgba(183, 128, 34, 0.12);
}
.saudi-map-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 750;
  display: flex;
  align-items: center;
  justify-content: center;
}
.saudi-svg-map {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}
.saudi-map-nodes {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}
.saudi-map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
}
.map-node-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4a853;
  border: 2px solid #ffffff;
  display: block;
  box-shadow: 0 0 14px #d4a853;
  transition: transform 0.2s ease;
}
.saudi-map-node:hover .map-node-core, .saudi-map-node.active .map-node-core {
  transform: scale(1.3);
  background: #f59e0b;
}
.map-node-radar {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid #d4a853;
  animation: map-radar 2.2s infinite ease-out;
}
.map-node-radar.delay {
  animation-delay: 1.1s;
}
@keyframes map-radar {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-node-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(212, 168, 83, 0.4);
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
}
.saudi-map-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.map-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}
.panel-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.map-city-header h3 {
  font-size: 24px;
  margin: 0 0 4px;
  color: #f8fafc;
}
[data-theme="light"] .map-city-header h3 {
  color: #0f172a;
}
.map-city-header p {
  color: #d4a853;
  font-size: 14px;
  margin: 0;
}
.map-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.map-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
[data-theme="light"] .map-metric-box {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}
.metric-num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}
.metric-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}
.map-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #cbd5e1;
}
[data-theme="light"] .map-detail-item {
  color: #334155;
}
.map-detail-item svg {
  color: #d4a853;
  flex-shrink: 0;
}
.map-panel-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.saudi-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.city-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.city-chip-btn.active, .city-chip-btn:hover {
  background: rgba(212, 168, 83, 0.22);
  border-color: rgba(212, 168, 83, 0.6);
  color: #fde047;
  transform: translateY(-1px);
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a853;
}
.chip-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  color: #94a3b8;
}

/* 6. Thermal Printer Casing Styles */
.zatca-printer-casing {
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1.5px solid rgba(212, 168, 83, 0.35);
  border-radius: 16px 16px 4px 4px;
  padding: 12px 16px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: -4px;
  position: relative;
  z-index: 4;
}
[data-theme="light"] .zatca-printer-casing {
  background: linear-gradient(180deg, #f8fafc, #e2e8f0);
  border-color: rgba(212, 168, 83, 0.45);
}
.printer-casing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.printer-brand-strip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.printer-status-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.led-green {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.led-blue {
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}
.printer-model-name {
  font-size: 11.5px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.printer-print-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #d4a853, #b78022);
  color: #0b0f19;
  font-size: 12px;
  font-weight: 750;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(212, 168, 83, 0.4);
  font-family: inherit;
}
.printer-print-action-btn:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.1);
}
.printer-btn-speed {
  background: rgba(0,0,0,0.25);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.printer-paper-mouth {
  height: 6px;
  background: #020617;
  border-radius: 3px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@keyframes thermal-print-feed {
  0% { transform: translateY(-30px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}
.printing-active #zatca-thermal-paper {
  animation: thermal-print-feed 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 7. Before vs. After Drag Slider */
.split-slider-container {
  position: relative;
  width: 100%;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 168, 83, 0.35);
  background: #0b0f19;
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: 24px;
  cursor: ew-resize;
}
.split-slider-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.layer-after {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(26, 31, 44, 0.92));
  z-index: 1;
}
.layer-before {
  background: linear-gradient(135deg, rgba(35, 18, 18, 0.96), rgba(45, 22, 22, 0.94));
  z-index: 2;
  width: 50%;
  border-right: 2px solid #d4a853;
}
[dir="rtl"] .layer-before {
  border-right: none;
  border-left: 2px solid #d4a853;
}
.split-layer-content {
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}
.split-layer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.badge-after {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.badge-before {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.split-visual-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.split-visual-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
}
.split-visual-stats span {
  font-size: 12px;
  color: #94a3b8;
}
.split-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d4a853;
  z-index: 5;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.split-handle-line {
  flex: 1;
  width: 2px;
  background: #d4a853;
}
.split-handle-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d4a853);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(212, 168, 83, 0.8);
  border: 2px solid #ffffff;
}

/* 8. Dynamic Spline Chart in ROI Calculator */
.roi-spline-chart-wrap {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.spline-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.spline-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}
.spline-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.roi-spline-svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}
.spline-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
}

/* 9. Testimonial Soundbars */
.soundbar-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.soundbar-wave .bar {
  width: 2.5px;
  background: #d4a853;
  border-radius: 1px;
  animation: soundbar-dance 1.2s infinite ease-in-out alternate;
}
.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 80%; animation-delay: 0.3s; }
.bar-3 { height: 100%; animation-delay: 0.5s; }
.bar-4 { height: 60%; animation-delay: 0.2s; }
@keyframes soundbar-dance {
  0% { height: 25%; }
  100% { height: 100%; }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .saudi-map-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .split-visual-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .floating-quick-dock {
    bottom: 12px;
    padding: 4px 6px;
    max-width: 95vw;
  }
  .dock-item {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .dock-label {
    display: none;
  }
  .dock-whatsapp .dock-label, .dock-demo .dock-label {
    display: inline;
  }
  .search-command-pill .search-kbd {
    display: none;
  }
  .spotlight-modal {
    padding-top: 5vh;
  }
}


/* ==========================================================================
   ULTRA CONTRAST & RESPONSIVE FIXES (DARK + LIGHT MODES)
   ========================================================================== */

/* 1. SITE HEADER: Spacing, Contrast & Zero-Wrap Guarantee */
.site-header .container {
  width: min(1360px, calc(100% - 36px)) !important;
}
.header-inner {
  gap: 16px !important;
}
.main-nav {
  gap: 18px !important;
}
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

/* Prevent unwanted wrapping on all header CTA elements */
.login-link,
.button,
.button.small,
.download-nav-btn,
.search-command-pill {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.login-link {
  font-size: 13px !important;
  font-weight: 650 !important;
  padding: 6px 4px !important;
}
[data-theme="light"] .login-link {
  color: #0f172a !important;
}
[data-theme="light"] .login-link:hover {
  color: #b88224 !important;
}
[data-theme="dark"] .login-link {
  color: #f1f5f9 !important;
}
[data-theme="dark"] .login-link:hover {
  color: #f59e0b !important;
}

/* Search Command Pill & [Ctrl K] */
.search-command-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
[data-theme="light"] .search-command-pill {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] .search-command-pill:hover {
  background: #ffffff !important;
  border-color: #d4a853 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.2) !important;
}
[data-theme="dark"] .search-command-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16) !important;
  color: #f1f5f9 !important;
}
[data-theme="dark"] .search-command-pill:hover {
  background: rgba(212, 168, 83, 0.18) !important;
  border-color: rgba(212, 168, 83, 0.6) !important;
  color: #ffffff !important;
}

/* [Ctrl K] kbd badge inside search pill */
.search-kbd {
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  letter-spacing: 0.05em !important;
  display: inline-block !important;
  line-height: 1.2 !important;
}
[data-theme="light"] .search-kbd {
  background: #e2e8f0 !important;
  border: 1px solid #94a3b8 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .search-kbd {
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(212, 168, 83, 0.35) !important;
  color: #fde047 !important;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}
[data-theme="light"] .theme-toggle {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f8fafc !important;
}
.theme-toggle:hover {
  border-color: #d4a853 !important;
  transform: rotate(15deg) scale(1.06) !important;
}

/* Responsive collapse for header actions on medium desktop */
@media (max-width: 1240px) {
  .download-nav-btn span {
    display: none !important;
  }
  .download-nav-btn {
    padding: 9px 12px !important;
  }
}
@media (max-width: 1100px) {
  .search-pill-text {
    display: none !important;
  }
  .search-command-pill {
    padding: 6px 9px !important;
  }
}

/* 2. HARDWARE ECOSYSTEM ACTION BUTTONS (.hw-action-btn) */
.hw-action-btn,
[data-theme="light"] .hw-action-btn,
[data-theme="dark"] .hw-action-btn {
  width: 100% !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: 0.2px !important;
  padding: 11px 16px !important;
  border-radius: 9px !important;
  white-space: nowrap !important;
  background: #0f172a !important;
  border: 1.5px solid rgba(212, 168, 83, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.22s ease !important;
}
.hw-action-btn svg,
.hw-action-btn .icon,
[data-theme="light"] .hw-action-btn svg,
[data-theme="light"] .hw-action-btn .icon {
  color: #d4a853 !important;
  stroke: #d4a853 !important;
}
.hw-action-btn:hover,
[data-theme="light"] .hw-action-btn:hover,
[data-theme="dark"] .hw-action-btn:hover {
  background: linear-gradient(135deg, #d4a853, #b88224) !important;
  border-color: #f59e0b !important;
  color: #0b0f19 !important;
  box-shadow: 0 6px 22px rgba(212, 168, 83, 0.45) !important;
  transform: translateY(-2px) !important;
}
.hw-action-btn:hover svg,
.hw-action-btn:hover .icon,
[data-theme="light"] .hw-action-btn:hover svg,
[data-theme="light"] .hw-action-btn:hover .icon {
  color: #0b0f19 !important;
  stroke: #0b0f19 !important;
}

/* 3. BEFORE VS. AFTER TRANSFORMATION SLIDER & CARDS */
.split-slider-container {
  position: relative !important;
  width: 100% !important;
  min-height: 210px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  margin-bottom: 24px !important;
  cursor: ew-resize !important;
}
[data-theme="dark"] .split-slider-container {
  background: #0b0f19 !important;
  border: 1.5px solid rgba(212, 168, 83, 0.4) !important;
}
[data-theme="light"] .split-slider-container {
  background: #ffffff !important;
  border: 1.5px solid rgba(212, 168, 83, 0.5) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.split-slider-layer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Background Layer (After / ArabianPOS) */
.layer-after {
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
}
[data-theme="dark"] .layer-after {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(26, 31, 44, 0.96)) !important;
  color: #f8fafc !important;
}
[data-theme="light"] .layer-after {
  background: linear-gradient(135deg, #f0fdf4, #e6f7ec) !important;
  color: #0f172a !important;
}

/* Foreground Layer (Before / Legacy) - Always 100% width, clipped cleanly with clip-path */
.layer-before {
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0) !important;
  -webkit-clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0) !important;
  border-right: none !important;
}
[data-theme="dark"] .layer-before {
  background: linear-gradient(135deg, rgba(42, 14, 14, 0.98), rgba(30, 10, 10, 0.98)) !important;
  color: #f8fafc !important;
}
[data-theme="light"] .layer-before {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6) !important;
  color: #0f172a !important;
}

.split-layer-content {
  padding: 24px !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.split-layer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 16px !important;
  width: fit-content !important;
}
[data-theme="dark"] .badge-after {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
[data-theme="light"] .badge-after {
  background: rgba(34, 197, 94, 0.18) !important;
  color: #15803d !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
}
[data-theme="dark"] .badge-before {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}
[data-theme="light"] .badge-before {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #b91c1c !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.split-visual-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.split-visual-stats strong {
  display: block !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}
[data-theme="dark"] .split-visual-stats span {
  font-size: 12px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}
[data-theme="light"] .split-visual-stats span {
  font-size: 12px !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

/* Transformation Cards in Light & Dark Mode */
[data-theme="light"] .transform-card.card-before {
  background: #fff8f8 !important;
  border: 1.5px solid #fecaca !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.06) !important;
}
[data-theme="light"] .transform-card.card-after {
  background: #f6fef8 !important;
  border: 1.5px solid #bbf7d0 !important;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.06) !important;
}
[data-theme="light"] .transform-list strong {
  color: #0f172a !important;
}
[data-theme="light"] .transform-list p {
  color: #475569 !important;
}

/* 4. SPOTLIGHT MODAL LIGHT THEME CONTRAST */
[data-theme="light"] .spotlight-dialog {
  background: #ffffff !important;
  border: 1.5px solid rgba(212, 168, 83, 0.5) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 25px rgba(212, 168, 83, 0.15) !important;
}
[data-theme="light"] .spotlight-search-header {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #b88224 !important;
}
[data-theme="light"] .spotlight-input {
  color: #0f172a !important;
}
[data-theme="light"] .spotlight-input::placeholder {
  color: #94a3b8 !important;
}
[data-theme="light"] .spotlight-close-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}
[data-theme="light"] .spotlight-item {
  color: #334155 !important;
}
[data-theme="light"] .spotlight-item:hover,
[data-theme="light"] .spotlight-item.active {
  background: #fef9ee !important;
  color: #925c08 !important;
}
[data-theme="light"] .spotlight-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}
[data-theme="light"] .spotlight-hint kbd {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

/* 5. SAUDI MAP CITY CHIPS CONTRAST */
[data-theme="light"] .city-chip-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}
[data-theme="light"] .city-chip-btn.active,
[data-theme="light"] .city-chip-btn:hover {
  background: #fef3c7 !important;
  border-color: #d4a853 !important;
  color: #92400e !important;
}

/* Responsive slider adjustments for phones */
@media (max-width: 680px) {
  .split-slider-container {
    min-height: 250px !important;
  }
  .split-layer-content {
    padding: 16px 14px !important;
  }
  .split-layer-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
    margin-bottom: 12px !important;
  }
  .split-visual-stats strong {
    font-size: 18px !important;
  }
  .split-visual-stats span {
    font-size: 10.5px !important;
  }
}


/* Explicitly hide [Ctrl K] badge and Spotlight modal footer */
.search-kbd,
.spotlight-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.search-command-pill {
  padding: 7px 15px !important;
}


/* ==========================================================================
   ULTRA SUITE 2.0 STYLES (PC + MOBILE, DARK + LIGHT, LTR + RTL)
   1. Industry Preset Switcher
   2. 10-Second Cashier Speed Challenge
   3. 3D Hardware Device Lineup
   4. Live ZATCA Phase 2 QR Decoder & Validator
   5. Kitchen Display System (KDS) & Barista Screen Simulator
   6. Multi-Branch Cloud HQ Analytics Dashboard
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Industry Preset Switcher
   -------------------------------------------------------------------------- */
.industry-switcher-section {
  padding-top: 10px;
  padding-bottom: 30px;
}
.ind-switcher-card {
  background: #111622;
  border: 1.5px solid rgba(212, 168, 83, 0.4);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 168, 83, 0.12);
  color: #f8fafc;
}
[data-theme="light"] .ind-switcher-card {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 15px 45px rgba(183, 128, 34, 0.1);
  color: #0f172a;
}
.ind-switcher-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}
.ind-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: #d4a853;
  background: rgba(212, 168, 83, 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ind-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4a853;
  box-shadow: 0 0 8px #d4a853;
}
.ind-switcher-header h3 {
  font-size: 26px;
  font-weight: 750;
  margin-bottom: 8px;
}
.ind-switcher-header p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}
[data-theme="light"] .ind-switcher-header p {
  color: #475569;
}

.ind-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.ind-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  font-family: inherit;
  color: inherit;
}
[dir="rtl"] .ind-tab-btn {
  text-align: right;
}
[data-theme="light"] .ind-tab-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.ind-tab-btn:hover, .ind-tab-btn.active {
  background: rgba(212, 168, 83, 0.14);
  border-color: #d4a853;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.2);
}
[data-theme="light"] .ind-tab-btn.active {
  background: #fef8ee;
  border-color: #d4a853;
}
.ind-tab-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.ind-tab-meta strong {
  display: block;
  font-size: 13.5px;
  color: #f8fafc;
  margin-bottom: 2px;
}
[data-theme="light"] .ind-tab-meta strong {
  color: #0f172a;
}
.ind-tab-meta small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}
[data-theme="light"] .ind-tab-meta small {
  color: #64748b;
}

.ind-showcase-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px;
}
[data-theme="light"] .ind-showcase-panel {
  background: #fdfaf6;
  border-color: rgba(212, 168, 83, 0.25);
}
.ind-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.ind-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #d4a853;
  background: rgba(212, 168, 83, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.ind-focus-header h4 {
  font-size: 22px;
  margin-bottom: 8px;
}
.ind-focus-header p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}
[data-theme="light"] .ind-focus-header p {
  color: #475569;
}

.ind-stats-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ind-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 100px;
}
[data-theme="light"] .ind-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ind-chip strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #d4a853;
}
.ind-chip span {
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .ind-chip span {
  color: #64748b;
}

.ind-features-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ind-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
}
[data-theme="light"] .ind-check-item {
  color: #334155;
}
.ind-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ind-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Terminal Mini Mockup Screen */
.ind-screen-card {
  background: #0b0f19;
  border: 1.5px solid rgba(212, 168, 83, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ind-screen-top {
  background: #161c2c;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ind-live-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}
.ind-screen-cats {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
}
.ind-cat-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  white-space: nowrap;
}
.ind-cat-pill.active {
  background: #d4a853;
  color: #0b0f19;
  font-weight: 700;
}
.ind-screen-items {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.ind-item-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.ind-item-tile .item-name {
  font-size: 12px;
  font-weight: 600;
  color: #f8fafc;
}
.ind-item-tile .item-price {
  font-size: 12.5px;
  color: #d4a853;
  font-weight: 750;
}
.ind-screen-summary {
  background: #111726;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 2px;
}
.summary-line.gold {
  color: #d4a853;
  font-size: 12.5px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   2. 10-Second Cashier Speed Challenge
   -------------------------------------------------------------------------- */
.speed-challenge-section {
  padding: 40px 0;
}
.speed-game-card {
  background: linear-gradient(135deg, #0e1320, #131a2b);
  border: 2px solid #2d2616;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 168, 83, 0.15);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .speed-game-card {
  background: linear-gradient(135deg, #ffffff, #faf5eb);
  border-color: rgba(212, 168, 83, 0.55);
  box-shadow: 0 20px 50px rgba(183, 128, 34, 0.12);
  color: #0f172a;
}
.speed-game-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px;
}
.speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.speed-game-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.speed-game-header p {
  font-size: 14.5px;
  color: #94a3b8;
  margin: 0;
}
[data-theme="light"] .speed-game-header p {
  color: #475569;
}

.speed-timer-bar {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(212, 168, 83, 0.35);
  border-radius: 16px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
[data-theme="light"] .speed-timer-bar {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.45);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.speed-timer-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.timer-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.1em;
}
.timer-digits {
  font-size: 38px;
  font-weight: 900;
  color: #d4a853;
  font-family: monospace, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1;
}
.timer-digits small {
  font-size: 20px;
  color: #e2e8f0;
  font-weight: 600;
}
[data-theme="light"] .timer-digits small {
  color: #475569;
}
.speed-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 999px;
}
[data-theme="light"] .speed-status-badge {
  color: #334155;
  background: #f1f5f9;
}
.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}
.speed-status-badge.running .status-pulse-dot {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: status-blink 0.8s infinite alternate;
}
@keyframes status-blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.speed-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}
[data-theme="light"] .speed-reset-btn {
  color: #475569;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.speed-reset-btn:hover {
  background: rgba(212, 168, 83, 0.2);
  color: #d4a853;
}

.speed-steps-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.speed-step-col {
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}
[data-theme="light"] .speed-step-col {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}
.speed-step-col.disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.5);
}
.speed-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d4a853;
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.speed-step-title strong {
  display: block;
  font-size: 14.5px;
  color: #f8fafc;
}
[data-theme="light"] .speed-step-title strong {
  color: #0f172a;
}
.speed-step-title small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .speed-step-title small {
  color: #64748b;
}

.speed-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.speed-item-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
[dir="rtl"] .speed-item-btn {
  text-align: right;
  align-items: flex-start;
}
[data-theme="light"] .speed-item-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.speed-item-btn:hover {
  border-color: #d4a853;
  background: rgba(212, 168, 83, 0.1);
}
.speed-item-btn.selected {
  background: rgba(34, 197, 94, 0.14);
  border-color: #22c55e;
}
.item-emoji {
  font-size: 20px;
}
.item-text strong {
  display: block;
  font-size: 12px;
  color: #f8fafc;
}
[data-theme="light"] .item-text strong {
  color: #0f172a;
}
.item-text small {
  display: block;
  font-size: 11px;
  color: #d4a853;
  font-weight: 700;
}
.item-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
[dir="rtl"] .item-check {
  right: auto;
  left: 6px;
}
.speed-item-btn.selected .item-check {
  display: flex;
}

.speed-promo-btn {
  width: 100%;
  background: rgba(212, 168, 83, 0.12);
  border: 1.5px dashed #d4a853;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
}
[dir="rtl"] .speed-promo-btn {
  text-align: right;
}
.promo-icon {
  font-size: 22px;
}
.promo-text strong {
  display: block;
  font-size: 13px;
  color: #d4a853;
}
.promo-text small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}
[data-theme="light"] .promo-text small {
  color: #64748b;
}
.promo-applied-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: #22c55e;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
[dir="rtl"] .promo-applied-badge {
  right: auto;
  left: 12px;
}
.speed-promo-btn.applied {
  background: rgba(34, 197, 94, 0.16);
  border: 1.5px solid #22c55e;
}
.speed-promo-btn.applied .promo-applied-badge {
  display: flex;
}

.speed-cart-tally {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
}
[data-theme="light"] .speed-cart-tally {
  background: #f8fafc;
}
.tally-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}
[data-theme="light"] .tally-row {
  color: #475569;
}
.tally-row.green strong {
  color: #4ade80;
}
.tally-row.gold {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4px;
  margin-top: 4px;
}
.tally-row.gold strong {
  color: #d4a853;
  font-size: 14px;
}

.speed-mada-btn {
  width: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: 2px solid #34d399;
  border-radius: 12px;
  padding: 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transition: all 0.22s ease;
  font-family: inherit;
}
.speed-mada-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}
.mada-logo-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.speed-mada-btn strong {
  font-size: 14px;
  letter-spacing: 0.05em;
}
.speed-mada-btn small {
  font-size: 11px;
  opacity: 0.9;
}

/* Victory Overlay */
.speed-victory-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: victory-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .speed-victory-overlay {
  background: rgba(255, 255, 255, 0.96);
}
@keyframes victory-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.speed-victory-card {
  text-align: center;
  max-width: 480px;
}
.victory-medal {
  font-size: 52px;
  margin-bottom: 8px;
  animation: victory-bounce 1s infinite alternate;
}
@keyframes victory-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
.victory-rank {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.18);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.speed-victory-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.speed-victory-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
[data-theme="light"] .speed-victory-card p {
  color: #475569;
}
.victory-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 24px;
}
[data-theme="light"] .victory-metrics-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.v-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}
.v-metric span {
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .v-metric span {
  color: #64748b;
}
.victory-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   3. 3D Hardware Device Lineup
   -------------------------------------------------------------------------- */
.hardware-lineup-section {
  padding: 40px 0;
}
.hw-lineup-card {
  background: #111520;
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
[data-theme="light"] .hw-lineup-card {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 20px 50px rgba(183, 128, 34, 0.12);
  color: #0f172a;
}
.hw-device-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.hw-tab-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  font-family: inherit;
  color: inherit;
}
[dir="rtl"] .hw-tab-pill {
  text-align: right;
}
[data-theme="light"] .hw-tab-pill {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.hw-tab-pill.active, .hw-tab-pill:hover {
  background: rgba(212, 168, 83, 0.16);
  border-color: #d4a853;
  transform: translateY(-2px);
}
[data-theme="light"] .hw-tab-pill.active {
  background: #fef8ee;
  border-color: #d4a853;
}
.hw-pill-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.hw-pill-text strong {
  display: block;
  font-size: 14px;
  color: #f8fafc;
}
[data-theme="light"] .hw-pill-text strong {
  color: #0f172a;
}
.hw-pill-text small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .hw-pill-text small {
  color: #64748b;
}

.hw-stage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px;
  align-items: center;
}
[data-theme="light"] .hw-stage-container {
  background: #fcf9f5;
  border-color: rgba(212, 168, 83, 0.25);
}
.hw-stage-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hw-cert-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.hw-device-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.hw-device-header p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 0;
}
[data-theme="light"] .hw-device-header p {
  color: #475569;
}

.hw-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hw-spec-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}
[data-theme="light"] .hw-spec-node {
  background: #ffffff;
  border-color: #e2e8f0;
}
.spec-label {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 2px;
}
[data-theme="light"] .spec-label {
  color: #64748b;
}
.hw-spec-node strong {
  display: block;
  font-size: 12.5px;
  color: #f8fafc;
}
[data-theme="light"] .hw-spec-node strong {
  color: #0f172a;
}

.hw-hotspot-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hotspot-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
[data-theme="light"] .hotspot-chip {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
.hotspot-chip.active {
  background: rgba(212, 168, 83, 0.2);
  border-color: #d4a853;
  color: #fde047;
}
[data-theme="light"] .hotspot-chip.active {
  background: #fef3c7;
  color: #92400e;
}
.spot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a853;
}
.hw-stage-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hw-warranty-pill {
  font-size: 11.5px;
  color: #22c55e;
  font-weight: 600;
}

/* 3D Visual Stage */
.hw-stage-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 320px;
}
.hw-3d-canvas {
  width: 100%;
  max-width: 380px;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  position: relative;
}
.hw-device-art {
  width: 100%;
  height: 100%;
}
.hw-art-svg {
  width: 100%;
  height: auto;
  display: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
}
.hw-art-svg.active {
  display: block;
}
.hw-radar-point {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.radar-p1 { top: 35%; left: 45%; }
.radar-p2 { bottom: 25%; right: 40%; }
.radar-dot {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #d4a853;
}
.radar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #d4a853;
  animation: radar-wave 2s infinite ease-out;
}
@keyframes radar-wave {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   4. Live ZATCA Phase 2 QR Decoder & Validator
   -------------------------------------------------------------------------- */
.zatca-validator-section {
  padding: 40px 0;
}
.zatca-lab-card {
  background: #0f1422;
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
[data-theme="light"] .zatca-lab-card {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 20px 50px rgba(183, 128, 34, 0.12);
  color: #0f172a;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.15fr;
  gap: 24px;
}
.lab-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.lab-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d4a853;
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.lab-box-header h4 {
  font-size: 16px;
  margin: 0;
  color: #f8fafc;
}
[data-theme="light"] .lab-box-header h4 {
  color: #0f172a;
}
.lab-box-header p {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
}
[data-theme="light"] .lab-box-header p {
  color: #64748b;
}

.lab-presets-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lab-preset-chip {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  font-family: inherit;
}
[data-theme="light"] .lab-preset-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.lab-preset-chip.active {
  background: rgba(212, 168, 83, 0.2);
  border-color: #d4a853;
  color: #fde047;
  font-weight: 700;
}
[data-theme="light"] .lab-preset-chip.active {
  background: #fef3c7;
  color: #92400e;
}

.lab-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lab-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.lab-field-group label {
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
}
[data-theme="light"] .lab-field-group label {
  color: #334155;
}
.lab-field-row {
  display: flex;
  gap: 10px;
}
.lab-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  color: #f8fafc;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="light"] .lab-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.lab-input.readonly {
  background: rgba(255, 255, 255, 0.02);
  color: #4ade80;
  font-weight: 700;
}
.lab-compliance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
  padding: 9px 12px;
  border-radius: 8px;
}

/* Scanner Column */
.lab-col-scanner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lab-scanner-frame {
  position: relative;
  width: 220px;
  height: 220px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
  overflow: hidden;
}
.qr-canvas-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-canvas-holder img, .qr-canvas-holder canvas {
  max-width: 100%;
  height: auto;
}
.scanner-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444, 0 0 20px #ef4444;
  top: 15%;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
.scanner-laser-line.sweeping {
  opacity: 1;
  animation: laser-sweep 1.2s ease-in-out infinite alternate;
}
@keyframes laser-sweep {
  0% { top: 10%; }
  100% { top: 88%; }
}
.scanner-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #d4a853;
  border-style: solid;
}
.scanner-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.scanner-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.scanner-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.scanner-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.scanner-live-badge {
  position: absolute;
  bottom: 8px;
  background: rgba(15, 23, 42, 0.85);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 5px;
}
.rec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
}
.scanner-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.scanner-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  font-family: inherit;
}
[data-theme="light"] .scanner-action-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.scanner-action-btn:hover {
  background: rgba(212, 168, 83, 0.2);
  border-color: #d4a853;
  color: #fde047;
}

/* TLV Inspector Column */
.tlv-tags-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.tlv-item-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
[data-theme="light"] .tlv-item-node {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.tlv-tag-id {
  font-size: 10px;
  font-weight: 800;
  color: #d4a853;
  background: rgba(212, 168, 83, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.tlv-tag-info {
  flex: 1;
  overflow: hidden;
}
.tlv-tag-info strong {
  display: block;
  font-size: 11px;
  color: #cbd5e1;
}
[data-theme="light"] .tlv-tag-info strong {
  color: #334155;
}
.tlv-tag-info code {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: monospace;
}
.tlv-valid-pill {
  font-size: 9px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}
.tlv-crypto-seal {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.seal-icon {
  font-size: 20px;
}
.tlv-crypto-seal strong {
  display: block;
  font-size: 12px;
  color: #4ade80;
}
.tlv-crypto-seal small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}
[data-theme="light"] .tlv-crypto-seal small {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   5. Kitchen Display System (KDS) & Barista Screen Simulator
   -------------------------------------------------------------------------- */
.kds-simulator-section {
  padding: 40px 0;
}
.kds-master-card {
  background: #101522;
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
[data-theme="light"] .kds-master-card {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 20px 50px rgba(183, 128, 34, 0.12);
  color: #0f172a;
}
.kds-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.kds-view-tabs {
  display: flex;
  gap: 8px;
}
.kds-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
[data-theme="light"] .kds-tab-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.kds-tab-btn.active {
  background: rgba(212, 168, 83, 0.2);
  border-color: #d4a853;
  color: #fde047;
}
[data-theme="light"] .kds-tab-btn.active {
  background: #fef3c7;
  color: #92400e;
}
.view-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.kds-live-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #4ade80;
}
.kds-sync-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.kds-dual-stage {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
}
.kds-deck-pos, .kds-deck-kitchen {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
[data-theme="light"] .kds-deck-pos, [data-theme="light"] .kds-deck-kitchen {
  background: #fcf9f5;
  border-color: rgba(212, 168, 83, 0.25);
}
.kds-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.deck-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  padding: 2px 7px;
  border-radius: 4px;
}
.deck-badge.gold {
  color: #d4a853;
  background: rgba(212, 168, 83, 0.14);
}
.deck-title h4 {
  font-size: 17px;
  margin: 4px 0 0;
}
.deck-hint {
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .deck-hint {
  color: #64748b;
}

.kds-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kds-menu-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  transition: all 0.18s ease;
}
[dir="rtl"] .kds-menu-item {
  text-align: right;
}
[data-theme="light"] .kds-menu-item {
  background: #ffffff;
  border-color: #e2e8f0;
}
.kds-menu-item:hover {
  background: rgba(212, 168, 83, 0.12);
  border-color: #d4a853;
  transform: translateY(-1px);
}
.m-emoji {
  font-size: 20px;
}
.m-meta strong {
  display: block;
  font-size: 12px;
  color: #f8fafc;
}
[data-theme="light"] .m-meta strong {
  color: #0f172a;
}
.m-meta small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
}
[data-theme="light"] .m-meta small {
  color: #64748b;
}
.m-price {
  font-size: 11.5px;
  font-weight: 750;
  color: #d4a853;
  margin-top: 4px;
}

.kds-pos-cart {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[data-theme="light"] .kds-pos-cart {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.pos-cart-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
[data-theme="light"] .pos-cart-header {
  color: #334155;
  border-bottom-color: #e2e8f0;
}
.pos-cart-items-list {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-placeholder {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  padding: 20px 10px;
}
.pos-cart-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #f8fafc;
}
[data-theme="light"] .pos-cart-item-row {
  color: #0f172a;
}
.pos-cart-item-row small {
  display: block;
  color: #94a3b8;
  font-size: 10px;
}
.pos-cart-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
[data-theme="light"] .pos-cart-footer {
  border-top-color: #e2e8f0;
}
.pos-cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #d4a853;
}

/* Kitchen KDS Board */
.kds-tickets-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  min-height: 220px;
}
.kds-ticket-card {
  background: #1e2434;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}
[data-theme="light"] .kds-ticket-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.new-ticket-arrive {
  animation: ticket-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ticket-slide-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ticket-header {
  background: #283146;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
[data-theme="light"] .ticket-header {
  background: #f1f5f9;
}
.t-num {
  font-weight: 800;
  color: #f8fafc;
}
[data-theme="light"] .t-num {
  color: #0f172a;
}
.t-table {
  color: #94a3b8;
  font-size: 10px;
}
.t-timer {
  font-weight: 800;
  font-family: monospace;
  padding: 2px 5px;
  border-radius: 4px;
}
.timer-green {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}
.timer-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}
.timer-red {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.ticket-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
}
.ticket-item-line {
  display: flex;
  gap: 6px;
}
.ticket-item-line .qty {
  font-weight: 800;
  color: #d4a853;
}
.ticket-item-line strong {
  display: block;
  color: #f8fafc;
}
[data-theme="light"] .ticket-item-line strong {
  color: #0f172a;
}
.ticket-item-line small {
  display: block;
  color: #94a3b8;
  font-size: 9.5px;
}
.ticket-footer {
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ticket-bump-btn {
  width: 100%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.ticket-bump-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.kds-ready-strip {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
[data-theme="light"] .kds-ready-strip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.ready-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4ade80;
}
.ready-pulse-orb {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.ready-numbers-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ready-pill {
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}
.ready-pill.kds-pulse {
  animation: ready-flash 0.5s 2;
}
@keyframes ready-flash {
  0%, 100% { background: rgba(34, 197, 94, 0.15); }
  50% { background: #22c55e; color: #fff; }
}

/* --------------------------------------------------------------------------
   6. Multi-Branch Cloud HQ Analytics Dashboard
   -------------------------------------------------------------------------- */
.multi-branch-section {
  padding: 40px 0;
}
.branch-chassis-card {
  background: #0f1422;
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}
[data-theme="light"] .branch-chassis-card {
  background: #ffffff;
  border-color: rgba(212, 168, 83, 0.5);
  box-shadow: 0 20px 50px rgba(183, 128, 34, 0.12);
  color: #0f172a;
}
.branch-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.branch-selector-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.branch-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
[data-theme="light"] .branch-tab-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.branch-tab-btn.active, .branch-tab-btn:hover {
  background: rgba(212, 168, 83, 0.2);
  border-color: #d4a853;
  color: #fde047;
}
[data-theme="light"] .branch-tab-btn.active {
  background: #fef3c7;
  color: #92400e;
}
.b-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.r-riyadh { background: #d4a853; }
.r-jeddah { background: #3b82f6; }
.r-khobar { background: #10b981; }

.branch-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #4ade80;
}
.live-pulse-glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.branch-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.b-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
[data-theme="light"] .b-metric-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.b-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}
.b-trend-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
.b-trend-pill.positive {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.b-trend-pill.green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.b-trend-pill.gold {
  background: rgba(212, 168, 83, 0.15);
  color: #d4a853;
}
.b-metric-val {
  font-size: 28px;
  font-weight: 800;
  color: #f8fafc;
  transition: color 0.3s ease, transform 0.3s ease;
}
[data-theme="light"] .b-metric-val {
  color: #0f172a;
}
.b-metric-val.tick-glow {
  transform: scale(1.03);
}
.b-metric-sub {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
  margin-top: 4px;
}
[data-theme="light"] .b-metric-sub {
  color: #64748b;
  border-top-color: #e2e8f0;
}

.branch-graph-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}
.branch-chart-card, .branch-feed-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
}
[data-theme="light"] .branch-chart-card, [data-theme="light"] .branch-feed-card {
  background: #fdfaf6;
  border-color: rgba(212, 168, 83, 0.25);
}
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.chart-card-header h5 {
  font-size: 16px;
  margin: 0;
  color: #f8fafc;
}
[data-theme="light"] .chart-card-header h5 {
  color: #0f172a;
}
.chart-currency {
  font-size: 12px;
  color: #d4a853;
  font-weight: normal;
}
.chart-card-header small {
  font-size: 11px;
  color: #94a3b8;
}
[data-theme="light"] .chart-card-header small {
  color: #64748b;
}
.chart-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #cbd5e1;
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-dot.gold { background: #d4a853; }
.legend-dot.muted { background: #64748b; }

.branch-svg-chart-wrap {
  width: 100%;
}
.branch-svg-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.feed-header h5 {
  font-size: 16px;
  margin: 0;
  color: #f8fafc;
}
[data-theme="light"] .feed-header h5 {
  color: #0f172a;
}
.feed-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.branch-tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tx-item-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
}
[data-theme="light"] .tx-item-row {
  background: #ffffff;
  border-color: #e2e8f0;
}
.new-tx-fade {
  animation: tx-fade-in 0.4s ease-out;
}
@keyframes tx-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tx-icon-city {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.tx-info {
  flex: 1;
}
.tx-info strong {
  display: block;
  font-size: 12px;
  color: #f8fafc;
}
[data-theme="light"] .tx-info strong {
  color: #0f172a;
}
.tx-info small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
}
[data-theme="light"] .tx-info small {
  color: #64748b;
}
.tx-amount {
  text-align: right;
}
[dir="rtl"] .tx-amount {
  text-align: left;
}
.tx-amount strong {
  display: block;
  font-size: 12.5px;
  color: #22c55e;
  font-weight: 750;
}
.tx-amount small {
  display: block;
  font-size: 9.5px;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN FOR SMARTPHONES & TABLETS (< 900px, < 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .ind-tabs-nav {
    grid-template-columns: 1fr 1fr;
  }
  .ind-showcase-panel {
    grid-template-columns: 1fr;
  }
  .speed-steps-container {
    grid-template-columns: 1fr;
  }
  .hw-device-tabs {
    grid-template-columns: 1fr;
  }
  .hw-stage-container {
    grid-template-columns: 1fr;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .kds-dual-stage {
    grid-template-columns: 1fr;
  }
  .branch-metrics-row {
    grid-template-columns: 1fr;
  }
  .branch-graph-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ind-switcher-card,
  .speed-game-card,
  .hw-lineup-card,
  .zatca-lab-card,
  .kds-master-card,
  .branch-chassis-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .ind-tabs-nav {
    grid-template-columns: 1fr;
  }
  .speed-game-header h2,
  .hw-device-header h3 {
    font-size: 24px;
  }
  .timer-digits {
    font-size: 32px;
  }
  .b-metric-val {
    font-size: 24px;
  }
  .kds-tickets-board {
    grid-template-columns: 1fr;
  }
}


/* Explicit QR target sizing and rendering */
.qr-canvas-holder {
  width: 170px !important;
  height: 170px !important;
  min-width: 170px !important;
  min-height: 170px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
}
.qr-canvas-holder svg {
  width: 160px !important;
  height: 160px !important;
  max-width: 100% !important;
  display: block !important;
  margin: auto !important;
  shape-rendering: crispEdges !important;
}
.qr-canvas-holder svg rect {
  fill: #ffffff !important;
}
.qr-canvas-holder svg path {
  fill: #0f172a !important;
}

/* Explicit rules: prevent ready-pill from ever floating and hide city-chips */
.ready-pill {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
}
.ready-pill.kds-pulse {
  animation: ready-flash 0.5s 2;
}
.saudi-city-chips {
  display: none !important;
}


/* ==========================================================================
   NEXT-WAVE INTERACTIVE ENHANCEMENTS: 360 ROTATOR, NFC SIMULATOR, QUICK DOCK
   ========================================================================== */

/* 1. Hardware 360° Rotator Toolbar */
.hw-rotator-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
}
[data-theme="light"] .hw-rotator-toolbar {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
}

.rotator-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.2px;
}
[data-theme="light"] .rotator-hint-pill {
  color: #475569;
}
.rotator-hint-pill svg {
  color: #10b981;
  animation: rotate-hint-spin 6s linear infinite;
}
@keyframes rotate-hint-spin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.hw-angle-presets {
  display: flex;
  align-items: center;
  gap: 6px;
}

.angle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .angle-btn {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.angle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
}
[data-theme="light"] .angle-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #10b981;
}
.angle-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.angle-btn.reset {
  font-size: 14px;
  padding: 5px 10px;
}

/* 3D Canvas Dragging state */
.hw-3d-visual {
  cursor: grab;
  touch-action: pan-y;
}
.hw-3d-visual.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.hw-3d-canvas {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
.hw-3d-visual.is-dragging .hw-3d-canvas {
  transition: none !important;
}

/* 2. Contactless NFC Simulator Button in Live POS */
.nfc-tap-simulator-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.14));
  border: 1.5px dashed rgba(16, 185, 129, 0.55);
  border-radius: 14px;
  color: #10b981;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .nfc-tap-simulator-btn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
  border-color: rgba(16, 185, 129, 0.65);
  color: #047857;
}
.nfc-tap-simulator-btn:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.25));
  border-style: solid;
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}
.nfc-tap-simulator-btn:active,
.nfc-tap-simulator-btn.is-tapping {
  transform: scale(0.97);
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  border-style: solid;
}
.nfc-icon {
  font-size: 16px;
  display: inline-flex;
}
.nfc-pulse-ring {
  position: absolute;
  top: 50%;
  left: 28px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #10b981;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
}
.nfc-tap-simulator-btn.is-tapping .nfc-pulse-ring {
  animation: nfc-wave 0.8s ease-out forwards;
}
@keyframes nfc-wave {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; border-color: #10b981; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; border-color: #34d399; }
}

/* 3. Floating Quick-Jump Module Dock */
.module-quick-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  max-width: 96vw;
}
.module-quick-dock.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.quick-dock-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .quick-dock-inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
[data-theme="light"] .dock-pill {
  color: #475569;
}
.dock-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
[data-theme="light"] .dock-pill:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}
.dock-pill.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.dock-ico {
  font-size: 15px;
  line-height: 1;
}

.dock-collapse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-inline-start: 2px;
}
[data-theme="light"] .dock-collapse-btn {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
  color: #64748b;
}
.dock-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
[data-theme="light"] .dock-collapse-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

/* Collapsed state */
.module-quick-dock.is-collapsed .dock-pill .dock-txt {
  display: none;
}
.module-quick-dock.is-collapsed .dock-pill {
  padding: 8px 10px;
}
.module-quick-dock.is-collapsed .dock-collapse-btn svg {
  transform: rotate(180deg);
}

/* Mobile responsive dock */
@media (max-width: 640px) {
  .hw-rotator-toolbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 10px 12px;
    gap: 8px;
  }
  .hw-angle-presets {
    justify-content: space-between;
    width: 100%;
  }
  .angle-btn {
    flex: 1;
    padding: 6px 4px;
    font-size: 11px;
  }
  .angle-btn.reset {
    flex: 0 0 32px;
  }
  .module-quick-dock {
    bottom: 16px;
    max-width: 98vw;
  }
  .quick-dock-inner {
    padding: 4px 6px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quick-dock-inner::-webkit-scrollbar {
    display: none;
  }
  .dock-pill {
    padding: 6px 10px;
    font-size: 12px;
    gap: 5px;
  }
  .dock-pill .dock-txt {
    font-size: 11px;
  }
}

/* Floating Quick Dock - Ultra Contrast Dark & Light Themes */
[data-theme="light"] .floating-quick-dock {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(183, 128, 34, 0.45) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 0 15px rgba(183, 128, 34, 0.08) !important;
}

[data-theme="light"] .floating-quick-dock .dock-item {
  color: #0f172a !important;
}

[data-theme="light"] .dock-whatsapp {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.22)) !important;
  border-color: #16a34a !important;
  color: #14532d !important;
}
[data-theme="light"] .dock-whatsapp svg {
  fill: #14532d !important;
}

[data-theme="light"] .dock-demo {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.22), rgba(183, 128, 34, 0.32)) !important;
  border-color: #b45309 !important;
  color: #78350f !important;
}
[data-theme="light"] .dock-demo svg {
  stroke: #78350f !important;
  fill: #78350f !important;
}

[data-theme="light"] .dock-call {
  color: #0f172a !important;
}
[data-theme="light"] .dock-call svg {
  stroke: #0f172a !important;
}

[data-theme="light"] .dock-theme-toggle {
  color: #0f172a !important;
}
[data-theme="light"] .dock-theme-toggle svg {
  stroke: #0f172a !important;
}

[data-theme="light"] .dock-lang {
  color: #0f172a !important;
}

[data-theme="light"] .dock-item:hover {
  background: rgba(15, 23, 42, 0.08) !important;
}


/* ==========================================================================
   WAVE 2 INTERACTIVE ENHANCEMENTS: THERMAL PRINT, UBL HASH, Z-REPORT, AUDIO
   ========================================================================== */

/* 1. Thermal Receipt Stamp & Paper Feed Animation */
.zatca-receipt-stamp {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-top: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px dashed #10b981;
  border-radius: 8px;
  color: #065f46;
  transform: rotate(-1.5deg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .zatca-receipt-stamp {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}
.zatca-receipt-stamp.is-stamped {
  display: flex;
  animation: stampPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes stampPop {
  0% { transform: scale(1.3) rotate(-6deg); opacity: 0; }
  100% { transform: scale(1) rotate(-1.5deg); opacity: 1; }
}
.stamp-seal-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  background: #10b981;
  color: #ffffff;
  border-radius: 4px;
}
.zatca-receipt-stamp strong {
  font-size: 11px;
  display: block;
}
.zatca-receipt-stamp small {
  font-size: 9.5px;
  opacity: 0.85;
}

.pos-receipt-sheet.paper-feeding {
  animation: paperFeed 0.5s ease-out;
}
@keyframes paperFeed {
  0% { transform: translateY(-24px); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 2. ZATCA UBL 2.1 Cryptographic Hash Inspector */
.tlv-copy-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-inline-start: auto;
}
[data-theme="light"] .tlv-copy-tag-btn {
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
}
.tlv-copy-tag-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
}

.zatca-ubl-accordion {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.4);
}
[data-theme="light"] .zatca-ubl-accordion {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(248, 250, 252, 0.8);
}
.ubl-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
}
.ubl-accordion-btn .acc-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}
.zatca-ubl-accordion.is-open .ubl-accordion-btn .acc-arrow {
  transform: rotate(180deg);
}
.ubl-accordion-body {
  padding: 0 14px 12px;
}
.ubl-code-block {
  margin: 0;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  color: #34d399;
  overflow-x: auto;
}
[data-theme="light"] .ubl-code-block {
  background: #0f172a;
  color: #38bdf8;
}

.zatca-copy-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #10b981;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.zatca-copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 3. Multi-Branch Register Shift Z-Report Drawer */
.register-quick-pills {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.reg-pill {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}
[data-theme="light"] .reg-pill {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #475569;
}
.reg-pill:hover,
.reg-pill.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: transparent;
}

.register-z-drawer {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="light"] .register-z-drawer {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.z-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.z-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #d4a853;
  text-transform: uppercase;
}
.z-drawer-head h5 {
  margin: 2px 0;
  font-size: 15px;
  color: inherit;
}
.z-drawer-head small {
  color: #94a3b8;
  font-size: 11.5px;
}
[data-theme="light"] .z-drawer-head small {
  color: #64748b;
}
.z-drawer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.z-stat-cell {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .z-stat-cell {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
.z-stat-cell span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 3px;
}
[data-theme="light"] .z-stat-cell span {
  color: #64748b;
}
.z-stat-cell strong {
  font-size: 14px;
  color: inherit;
}

@media (max-width: 768px) {
  .z-drawer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 4. Sound Toggle Button in Header */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
[data-theme="light"] .sound-toggle-btn {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.04);
  color: #1e293b;
}
.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}
[data-theme="light"] .sound-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.08);
}


/* ==========================================================================
   WAVE 3 INTERACTIVE ENHANCEMENTS: CONFETTI, S-TIER RANK, MAP PULSE, DOCK TRACK
   ========================================================================== */

/* 1. Speed Challenge Confetti & S-Tier Rank Badge */
.speed-victory-card {
  position: relative;
  overflow: hidden;
}
.victory-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}
.confetti-piece {
  position: absolute;
  top: 10%;
  width: 9px;
  height: 14px;
  border-radius: 2px;
  pointer-events: none;
  animation: confettiFall 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  80% { opacity: 0.9; }
  100% { transform: translateY(320px) rotate(720deg) scale(0.3); opacity: 0; }
}

.speed-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  margin: 8px auto 14px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(245, 158, 11, 0.3));
  border: 1px solid rgba(212, 168, 83, 0.55);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  color: #fbbf24;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.2);
}
[data-theme="light"] .speed-rank-pill {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.16), rgba(245, 158, 11, 0.22));
  border-color: #b45309;
  color: #78350f;
}
.rank-star {
  color: #f59e0b;
}

/* 2. Saudi Map Shockwave Pulse */
.saudi-map-node.radar-active .map-node-core {
  animation: mapNodePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes mapNodePop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.6); }
  100% { transform: scale(1); }
}
.saudi-map-node.radar-active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d4a853;
  transform: translate(-50%, -50%) scale(1);
  animation: mapShockwave 1s ease-out forwards;
  pointer-events: none;
}
@keyframes mapShockwave {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; border-color: #d4a853; }
  100% { transform: translate(-50%, -50%) scale(4.5); opacity: 0; border-color: #f59e0b; }
}

/* 3. Dock Glowing Scroll Progress Track */
.dock-scroll-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  position: relative;
}
[data-theme="light"] .dock-scroll-track {
  background: rgba(15, 23, 42, 0.08);
}
.dock-scroll-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4, #d4a853);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  transition: width 0.12s ease-out;
}
