/* DoubleQ: the light theme (2026 redesign).
   Loaded after style.css (and home.css), it re-skins the whole site: white pages, warm cream bands,
   brand-yellow highlights drawn as solid tags, soft lifted cards, yellow waves, and an illustrated hero.
   All visuals here are drawn in CSS and inline SVG; no third-party artwork. */

/* ---------- Tokens ---------- */
:root {
  --bg: #FFFFFF; --bg-2: #FFF9EA; --surface: #FFFFFF;
  --text: #11161C; --muted: #5C6270; --line: #EFE7D3;
  --accent: #FFC93C; --accent-deep: #FFB800; --accent-soft: #FFF1C4; --accent-ink: #11161C;
  --cta-bg: var(--accent); --cta-fg: var(--accent-ink);
  --cream: #FFF6DA;
  --glow: rgba(255, 201, 60, .28);
  --shadow-card: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(17, 22, 28, .22);
  --shadow-lift: 0 0 0 1px var(--line), 0 28px 56px -30px rgba(17, 22, 28, .32);
  --eyebrow: #6B4E00;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 96C220 58 430 56 650 82S1060 122 1260 100 1400 78 1440 80V120H0Z' fill='%23FFE48A' opacity='.6'/%3E%3Cpath d='M0 70C180 22 370 12 570 46S990 118 1190 86 1380 30 1440 38V120H0Z' fill='%23FFF6DA' opacity='.9'/%3E%3C/svg%3E");
}
.dark {
  --bg: #11161C; --bg-2: #181E27; --surface: #1F2631;
  --text: #F5F6F8; --muted: #A9AFBC; --line: #2C3442;
  --cta-bg: var(--accent); --cta-fg: #11161C;
  --shadow-card: 0 0 0 1px var(--line);
  --eyebrow: var(--accent);
}
/* Arabic: its own typeface; Latin brand words keep Outfit */
html[lang="ar"] { --f-ui: 'IBM Plex Sans Arabic', 'Heebo', Arial, sans-serif; --f-brand: 'Outfit', 'IBM Plex Sans Arabic', Arial, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .tl-item .tl-when { font-family: var(--f-ui); }
html[lang="ar"] .board { --board-label: 132px; }
.lang-switch > [lang="ar"] { font-family: 'IBM Plex Sans Arabic', var(--f-ui); font-weight: 700; font-size: 14px; }

/* ---------- Highlight: a solid yellow tag behind the words ---------- */
.hl, mark {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat; background-size: 100% 100%;
  border-radius: .2em; padding: 0 .16em; color: var(--accent-ink);
}
.dark .hl, .dark mark { background: none; color: var(--accent); padding: 0; }

/* ---------- Section labels: small pills ---------- */
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--eyebrow); font-weight: 700; font-size: 13.5px; line-height: 1.3;
}
.dark .eyebrow { background: rgba(255, 201, 60, .14); }

/* ---------- Buttons ---------- */
.btn-yellow { background: var(--cta-bg); color: var(--cta-fg); box-shadow: 0 12px 26px -14px rgba(214, 150, 0, .9); }
.btn-yellow:hover { background: var(--accent-deep); box-shadow: 0 18px 32px -16px rgba(214, 150, 0, .95); }
.btn-ghost { background: var(--surface); box-shadow: 0 0 0 1.5px var(--line), 0 10px 22px -18px rgba(17, 22, 28, .4); }
.btn-ghost:hover { box-shadow: 0 0 0 1.5px var(--text), 0 10px 22px -18px rgba(17, 22, 28, .4); }
.dark .btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-dark { background: var(--accent-ink); color: #fff; }

/* ---------- Header: white bar, dark call to action ---------- */
.site-header { background: color-mix(in srgb, #fff 92%, transparent); }
.site-header::after { opacity: 1; }
.site-header .btn-yellow { background: var(--accent-ink); color: #fff; box-shadow: none; }
.site-header .btn-yellow:hover { background: #000; }
.main-nav a.active { background: var(--accent-soft); }
.lang-switch > .current { background: var(--accent); color: var(--accent-ink); }

/* ---------- Icon tiles: yellow, lifted ---------- */
.ic, .cap-icon {
  background: linear-gradient(150deg, #FFD95E, var(--accent-deep)); color: var(--accent-ink);
  box-shadow: 0 10px 20px -10px rgba(214, 150, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.ic { width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
.dark .ic, .cmp.with .node .ic { background: rgba(255, 201, 60, .14); color: var(--accent); box-shadow: none; }

/* ---------- Cards: white, softly lifted ---------- */
.now-card, .trust-card, .start-steps li, .card, .usecase, .pg, .step-body, .faq-item, .cap, .value, .member {
  background: var(--surface); box-shadow: var(--shadow-card); border-radius: 24px;
}
.now-card, .trust-card, .start-steps li, .usecase { transition: transform .35s var(--ease), box-shadow .35s; }
.now-card:hover, .trust-card:hover, .start-steps li:hover, .usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.dark .card, .dark .now-card, .dark .trust-card { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.faq-item.open { box-shadow: 0 0 0 1.5px var(--accent-deep), 0 18px 40px -26px rgba(17, 22, 28, .22); }
.pg.gain { background: var(--accent-soft); box-shadow: 0 0 0 1px #F5DE98; }
.chips span, .chips-row li { background: var(--accent-soft); box-shadow: none; color: var(--eyebrow); }
.dark .chips span, .dark .chips-row li { background: rgba(255, 201, 60, .12); color: var(--accent); }

/* ---------- Forms ---------- */
.field input, .field select, .field textarea { background: #FFFDF6; border-color: var(--line); }

/* ---------- Footer: rises out of a yellow wave ---------- */
.site-footer {
  border-top: 0; padding-top: 150px;
  background: var(--wave) top center / 100% 110px no-repeat, linear-gradient(transparent 108px, var(--cream) 108px);
}
.footer-brand .hl { color: var(--accent-ink); }
.footer-bottom { border-top-color: #F1DFA8; }

/* ==========================================================
   Home
   ========================================================== */
.sec-head h2 { font-weight: 900; }

/* ---------- Hero: copy beside an illustrated package and phone ---------- */
.hero2 {
  position: relative; overflow: clip; padding: calc(var(--nav-h) + 56px) 0 150px;
  background: radial-gradient(760px 560px at 80% 46%, #FFF0BC 0%, rgba(255, 240, 188, 0) 64%), radial-gradient(600px 300px at 4% 0%, #FFF8E1, transparent 70%), #fff;
}
html[dir="rtl"] .hero2 { background: radial-gradient(760px 560px at 20% 46%, #FFF0BC 0%, rgba(255, 240, 188, 0) 64%), radial-gradient(600px 300px at 96% 0%, #FFF8E1, transparent 70%), #fff; }
.hero2::after { content: ''; position: absolute; inset: auto 0 0; height: 120px; background: var(--wave) bottom center / 100% 100% no-repeat; pointer-events: none; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 32px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 8px 16px; border-radius: 999px; background: var(--accent-soft); font: 700 14px var(--f-brand); margin-bottom: 24px; }
.badge .eyes { font-size: 15px; }
.hero2 h1 { font-size: clamp(40px, 4.7vw, 66px); font-weight: 900; line-height: 1.14; letter-spacing: -0.03em; }
.hero2 h1 .hl { padding: 0 .18em; }
.hero2 .lead { margin: 24px 0 34px; font-size: 19px; max-width: 44ch; }
.hero2-aud { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--muted); max-width: 46ch; }
.hero2-aud .ic { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }

/* The illustration: a package and a phone on a glowing plinth, with floating tiles */
.hero2-art { position: relative; height: 540px; }
.art-plinth {
  position: absolute; bottom: 36px; inset-inline: 4% 4%; height: 104px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #fff 0 46%, #FFF4CF 72%, #FFE58C 100%);
  box-shadow: 0 0 0 5px #FFD54F, 0 0 0 11px rgba(255, 213, 79, .32), 0 0 60px 16px rgba(255, 201, 60, .55), inset 0 -14px 22px rgba(255, 184, 0, .32);
}
.art-orbit { position: absolute; inset: 18% 2% 10%; border-radius: 50%; border: 2px solid rgba(255, 201, 60, .45); transform: rotate(-14deg); }
.art-orbit::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(255, 184, 0, .35); }
.art-box {
  position: absolute; bottom: 92px; inset-inline-start: 6%; z-index: 2; width: 46%; max-width: 230px; aspect-ratio: .8;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 18px 18px; border-radius: 20px;
  background: linear-gradient(165deg, #FFDA5C 0%, #FFC21A 62%, #F5B000 100%);
  box-shadow: inset -16px 0 0 rgba(160, 100, 0, .08), inset 0 2px 0 rgba(255, 255, 255, .5), 0 34px 50px -24px rgba(150, 95, 0, .65);
  transform: rotate(-3deg);
}
.art-box::before { content: ''; position: absolute; inset: 0 0 auto; height: 16px; border-radius: 20px 20px 4px 4px; background: rgba(255, 255, 255, .35); }
.art-box .eyes { font-size: 26px; --eye-ring: var(--accent-ink); }
.art-box .bigqr { width: 74%; padding: 9%; gap: 5%; border-radius: 14px; box-shadow: 0 10px 20px -12px rgba(120, 80, 0, .6); }
.art-box .scan-hint { display: flex; align-items: center; gap: 6px; font-size: 18px; color: var(--accent-ink); }
.art-box .scan-hint i { width: 26px; height: 3px; border-radius: 3px; background: var(--accent-ink); opacity: .7; }
.art-phone {
  position: absolute; bottom: 64px; inset-inline-end: 6%; z-index: 3; width: 46%; max-width: 236px; aspect-ratio: .52;
  padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #2B2F38, #0D0F13);
  box-shadow: 0 0 0 1.5px #3A3F4A, 0 44px 70px -30px rgba(17, 22, 28, .6); transform: rotate(4deg);
}
.art-screen { height: 100%; border-radius: 30px; background: #FAFAF7; color: var(--ink-ui); overflow: hidden; display: flex; flex-direction: column; font-size: 11.5px; }
.art-top { display: flex; justify-content: center; padding: 26px 12px 10px; background: #fff; }
.art-top img { height: 14px; width: auto; }
.art-product { display: flex; align-items: center; gap: 10px; margin: 10px 10px 8px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #F0EBDD; }
.art-product .thumb { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(150deg, #FFD95E, var(--accent-deep)); }
.art-product b { display: block; font-size: 12px; line-height: 1.25; }
.art-product .stars { color: var(--accent-deep); font-size: 10px; letter-spacing: 1px; }
.art-menu { list-style: none; margin: 0 10px; padding: 0; display: grid; gap: 6px; }
.art-menu li { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #F0EBDD; font-weight: 600; line-height: 1.25; }
.art-menu li > span:first-child { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center; font-size: 12px; background: var(--accent-soft); color: #8A6200; }
.art-menu li:first-child { background: var(--accent); box-shadow: none; }
.art-menu li:first-child > span:first-child { background: #fff; }
.art-input { margin: auto 10px 12px; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #F0EBDD; color: #8A8F9C; }
.float {
  position: absolute; z-index: 4; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  background: #fff; color: #D99A00; font-size: 26px; box-shadow: 0 18px 32px -16px rgba(17, 22, 28, .35), 0 0 0 1px #F4ECD6;
  animation: float 6s ease-in-out infinite;
}
.float.f1 { top: 12%; inset-inline-start: 2%; }
.float.f2 { top: 2%; inset-inline-end: 22%; animation-delay: -2s; }
.float.f3 { top: 40%; inset-inline-end: -1%; animation-delay: -4s; }
.art-product .thumb img { width: 86%; height: auto; }
.art-headphones, .art-burger { position: absolute; z-index: 4; height: auto; filter: drop-shadow(0 16px 18px rgba(150, 95, 0, .22)); pointer-events: none; }
.art-headphones { top: 5%; inset-inline-start: 28%; width: 25%; rotate: -12deg; animation: float 7s ease-in-out infinite; animation-delay: -3s; }
.art-burger { bottom: 18px; inset-inline-start: 34%; width: 24%; }
.spark { position: absolute; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 4px rgba(255, 201, 60, .6); }
.spark.s1 { top: 30%; inset-inline-start: 40%; } .spark.s2 { top: 8%; inset-inline-start: 18%; width: 6px; height: 6px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats: three lifted cards right after the opening ---------- */
.stats2 { padding: 8px 0 var(--sec-pad); background: linear-gradient(var(--cream), #fff 240px); }
.stats2 .stat-row { border-top: 0; padding-top: 0; gap: 20px; }
.stats2 .stat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num ic" "txt txt"; align-items: center; column-gap: 16px;
  padding: 28px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-card);
}
.stats2 .stat .num { grid-area: num; font-size: clamp(46px, 4.6vw, 66px); margin-bottom: 10px; }
.stats2 .stat p { grid-area: txt; max-width: none; }
.stats2 .stat-art { grid-area: ic; width: 96px; height: auto; filter: drop-shadow(0 12px 14px rgba(150, 95, 0, .2)); }
.stats2 .sources { text-align: center; margin-top: 26px; }
.stats2 .sources span { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--eyebrow); font-weight: 600; }

/* ---------- Demo: the phone sits on a yellow halo ---------- */
.demo-device { position: relative; }
.demo-device::before { content: ''; position: absolute; width: 480px; height: 480px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #FFE58C 0%, #FFF3CC 45%, transparent 70%); pointer-events: none; }
.demo .phone { z-index: 1; }
.demo-list li { background: #fff; box-shadow: var(--shadow-card); }
.demo-list .n { background: var(--accent-soft); box-shadow: none; }
.motion .demo-list li.on { background: #fff; box-shadow: 0 0 0 1.5px var(--accent-deep), 0 18px 40px -26px rgba(17, 22, 28, .25); }

/* ---------- Try it ---------- */
.try-card { background: linear-gradient(120deg, #FFF6D6, #FFFDF4); box-shadow: 0 0 0 1px #F6E3A6; }
.try .bigqr { background: #fff; box-shadow: 0 16px 30px -18px rgba(150, 95, 0, .55); }

/* ---------- Problem ---------- */
.problem { background: var(--bg-2); }
.cmp { box-shadow: var(--shadow-card); }
.cmp.today .node { background: #FFFBF0; }
.cmp.with { background: radial-gradient(520px 320px at 20% 0%, rgba(255, 201, 60, .16), transparent 70%), #11161C; }

/* ---------- Four engines: each its own warm card ---------- */
.engine {
  border-top: 0; padding: 44px; margin-bottom: 24px; border-radius: 32px;
  background: linear-gradient(135deg, #FFFBF0, #FFF4D3); box-shadow: 0 0 0 1px #F6E8BF;
}
.engine .tag { display: inline-flex; padding-block: 4px; padding-inline: 4px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; }
.engine .tag span { background: var(--accent-ink); color: var(--accent); }
.basket-art { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-bottom: 16px; }
.basket-art img { height: auto; filter: drop-shadow(0 14px 16px rgba(150, 95, 0, .22)); }
.basket-art img:first-child { width: 150px; } .basket-art img:last-child { width: 86px; }
.engine-visual { background: radial-gradient(70% 70% at 50% 40%, rgba(255, 213, 79, .35), transparent 72%), #fff; box-shadow: 0 0 0 1px #F6E8BF; }

/* ---------- Why now, solutions ---------- */
.now { background: var(--bg-2); }
.solutions { background: #fff; }

/* ---------- Trust: the cards float over a soft wave ---------- */
.trust { background: var(--wave) bottom center / 100% 140px no-repeat, #fff; }

/* ---------- Getting started ---------- */
.start-steps .n { box-shadow: 0 10px 20px -10px rgba(214, 150, 0, .85); }

/* ---------- Pilot: the closing dark box with a yellow glow ---------- */
.pilot-box { background: radial-gradient(700px 420px at 85% 0%, rgba(255, 201, 60, .22), transparent 65%), #11161C; }
html[dir="rtl"] .pilot-box { background: radial-gradient(700px 420px at 15% 0%, rgba(255, 201, 60, .22), transparent 65%), #11161C; }

/* ==========================================================
   Inner pages
   ========================================================== */
.page-hero {
  background: radial-gradient(700px 420px at 82% 30%, #FFF0BC, rgba(255, 240, 188, 0) 66%), radial-gradient(520px 300px at 6% 0%, #FFF8E1, transparent 70%), #fff;
}
html[dir="rtl"] .page-hero { background: radial-gradient(700px 420px at 18% 30%, #FFF0BC, rgba(255, 240, 188, 0) 66%), radial-gradient(520px 300px at 94% 0%, #FFF8E1, transparent 70%), #fff; }
.section.dark, .sol.dark { background: #11161C; }
.cta-strip { position: relative; overflow: clip; background: linear-gradient(120deg, #FFD54F, var(--accent) 55%, #FFC21A); }
.cta-strip::before { content: ''; position: absolute; inset: auto 0 0; height: 90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70C180 22 370 12 570 46S990 118 1190 86 1380 30 1440 38V120H0Z' fill='%23ffffff' opacity='.22'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none; }
.cta-strip .container { position: relative; }
.login-side { background: linear-gradient(150deg, #FFD95E, var(--accent) 50%, #FFC21A); }
.step.on .step-num, .tl-item.on .tl-dot { box-shadow: 0 10px 20px -10px rgba(214, 150, 0, .85); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .hero2 { padding-bottom: 120px; }
  .hero2-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero2-copy { text-align: center; }
  .hero2 .lead { margin-inline: auto; }
  .hero2 .ctas { justify-content: center; }
  .hero2-aud { margin-inline: auto; justify-content: center; text-align: start; }
  .hero2-art { height: 580px; max-width: 520px; width: 100%; margin: 0 auto; }
  .engine { padding: 28px; }
}
@media (max-width: 640px) {
  .hero2 { padding-top: calc(var(--nav-h) + 36px); }
  .hero2 h1 { font-size: 40px; }
  .hero2 .lead { font-size: 17px; }
  .hero2 { padding-bottom: 70px; }
  .hero2::after { height: 70px; }
  .hero2-art { height: 460px; }
  .stats2 .stat-art { width: 80px; }
  .art-phone { inset-inline-end: 0; width: 56%; bottom: 50px; }
  .art-box { inset-inline-start: 0; width: 44%; bottom: 72px; }
  .art-plinth { bottom: 24px; height: 80px; }
  .art-screen { font-size: 9.5px; }
  .art-top { padding: 18px 10px 6px; }
  .art-top img { height: 11px; }
  .art-product { margin: 6px 7px; padding: 6px; gap: 6px; }
  .art-product .thumb { width: 28px; height: 28px; font-size: 15px; }
  .art-product b { font-size: 10px; }
  .art-menu { margin: 0 7px; gap: 4px; }
  .art-menu li { padding: 5px 7px; gap: 6px; border-radius: 9px; }
  .art-menu li > span:first-child { width: 17px; height: 17px; font-size: 10px; border-radius: 5px; }
  .art-input { margin: auto 7px 9px; padding: 5px 9px; }
  .float { width: 46px; height: 46px; border-radius: 14px; font-size: 21px; }
  .float.f2 { display: none; }
  .demo-device::before { width: 340px; height: 340px; }
  .stats2 .stat { padding: 22px; }
  .engine { padding: 22px 18px; border-radius: 26px; }
  .site-footer { padding-top: 120px; background-size: 100% 80px, auto; background-image: var(--wave), linear-gradient(transparent 78px, var(--cream) 78px); }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
