/* QcmMaker landing — layout inspired by about.aynid.io, QcmMaker brand palette
   (see DESIGN_SYSTEM_STRATEGY.md: qds_color_primary #46B660, primary_container #DDEFE2,
   background #F3F6F4, text #15201A / #5D6B63, ribbon gold #F6B739).
   Logical properties keep RTL (ar) correct. No build step. */
:root {
  color-scheme: light;
  --g50: #f3f9f5;
  --g100: #e3f5e8;          /* qds secondary_container */
  --g200: #ddefe2;          /* qds primary_container */
  --g300: #a9dcb6;
  --g400: #57c871;          /* qds secondary */
  --g500: #46b660;          /* qds primary — brand */
  --g600: #3d9351;          /* brand accent (legacy web) */
  --g700: #2f7a43;          /* text-safe green on white */
  --g800: #1f5a30;
  --gold: #f6b739;          /* qds ribbon */
  --gold-600: #e0a020;
  --gold-50: #fff8e8;
  --ink: #15201a;           /* qds text_primary */
  --ink-2: #5d6b63;         /* qds text_secondary */
  --ink-3: #87938c;
  --line: #e4ebe6;
  --bg: #ffffff;
  --bg-tint: #f3f6f4;       /* qds background */
  --dark: #141a16;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 32, 26, .05), 0 4px 12px rgba(21, 32, 26, .05);
  --shadow: 0 18px 40px -12px rgba(21, 32, 26, .18);
  --shadow-green: 0 10px 24px -8px rgba(70, 182, 96, .55);
  --container: 1180px;
  --gutter: 16px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif;
  --font-display: "Cabinet Grotesk", "DM Sans", system-ui, "Noto Sans Arabic", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 28px; } }
.hl { color: var(--g500); background: linear-gradient(90deg, var(--g500), var(--g600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__ext { font-size: .75em; opacity: .7; }
.btn--primary { background: var(--g500); color: #fff; box-shadow: var(--shadow-green); }
.btn--primary:hover { background: var(--g600); }
.btn--outline { color: var(--g700); border-color: var(--g500); background: #fff; }
.btn--outline:hover { background: var(--g50); }
.btn--ghost { color: var(--ink); background: var(--bg-tint); }
.btn--ghost:hover { background: var(--g100); }
.btn--gold { background: var(--gold); color: #2b1d00; box-shadow: 0 10px 24px -8px rgba(246, 183, 57, .7); }
.btn--gold:hover { background: var(--gold-600); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.1); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, transform .2s ease; }
.pill:hover { transform: translateY(-1px); }
.pill--primary { background: var(--g500); color: #fff; }
.pill--primary:hover { background: var(--g600); }
.pill--gold { background: var(--gold-50); color: #7a5300; border: 1.5px solid var(--gold); }
.pill--gold:hover { background: #ffefc7; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.topbar.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(21,32,26,.06); }
.topbar__inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 23px/1 var(--font-display); flex-shrink: 0; }
.brand b { color: var(--g500); font-weight: 800; }
.brand img { border-radius: 10px; }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.nav > a:hover { background: var(--g100); color: var(--g700); }
.nav__licence { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 18px; color: var(--ink); cursor: pointer; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; color: var(--ink); font-weight: 600; font-size: 13px; background: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary i:first-child { color: var(--g500); }
.lang__chev { font-size: 10px; opacity: .6; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.lang li a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lang li a b { width: 22px; color: var(--ink-3); font-size: 12px; font-weight: 700; padding-top: 1px; }
.lang li a:hover { background: var(--g50); }
.lang li a[aria-current] { background: var(--g100); color: var(--g700); font-weight: 600; }
@media (max-width: 1020px) {
  .burger { display: inline-grid; place-items: center; }
  .hide-sm { display: none; }
  .topbar__actions { margin-inline-start: auto; }
  .nav { position: absolute; inset-inline: 0; top: 70px; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px var(--gutter) 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 12px; font-size: 16px; }
  .nav__licence { display: flex; align-items: center; gap: 8px; color: #7a5300 !important; }
  .lang { margin-top: 8px; }
  .lang ul { position: static; box-shadow: none; border: 0; padding: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6fbf7 0%, #eaf6ee 60%, #fff 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(70,182,96,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(70,182,96,.07) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #c8ecd2; inset-inline-end: -120px; top: -140px; }
.blob--2 { width: 380px; height: 380px; background: #fff1cf; inset-inline-start: -160px; bottom: 40px; opacity: .6; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 72px 56px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--g200); color: var(--g700); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g500); box-shadow: 0 0 0 4px rgba(70,182,96,.2); }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; margin-bottom: 30px; }
.licence-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid #f3dfae; color: var(--ink); text-decoration: none; font-size: 14.5px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .2s ease; }
[dir="rtl"] .licence-chip { padding: 8px 8px 8px 18px; }
.licence-chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.licence-chip b { color: #9a6a00; }
.licence-chip__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2b1d00; font-size: 13px; flex-shrink: 0; }
.licence-chip > i { color: #9a6a00; font-size: 13px; }

.hero__visual { position: relative; height: 580px; }
.ring { position: absolute; width: 470px; height: 470px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(70,182,96,.18), rgba(70,182,96,0) 68%); border: 1px dashed rgba(70,182,96,.35); }
.hero__visual .phone { position: absolute; }
.hero__visual .phone--front { width: 262px; left: 50%; top: 18px; transform: translateX(-38%); z-index: 3; }
.hero__visual .phone--back { width: 232px; left: 50%; top: 80px; transform: translateX(-112%) rotate(-7deg); z-index: 2; }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; color: var(--ink); animation: floaty 6s ease-in-out infinite; }
.float--correct { inset-inline-end: 0; top: 120px; color: var(--g700); }
.float--correct i { font-size: 20px; color: var(--g500); }
.float--score { inset-inline-start: 0; bottom: 110px; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; animation-delay: -2s; }
.float--score small { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.float--score b { font: 800 24px/1 var(--font-display); color: var(--ink); }
.float--score .bar { display: block; width: 100%; height: 6px; border-radius: 6px; background: var(--g100); margin-top: 6px; overflow: hidden; }
.float--score .bar i { display: block; height: 100%; width: 93%; background: linear-gradient(90deg, var(--g400), var(--g600)); border-radius: 6px; }
.float--file { inset-inline-end: 24px; bottom: 54px; animation-delay: -4s; }
.float--file img { border-radius: 6px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float, .marquee__track { animation: none !important; } }

.marquee { direction: ltr; position: relative; overflow: hidden; padding: 6px 0 36px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 500; font-size: 14px; color: var(--ink); white-space: nowrap; }
.chip i { color: var(--g500); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-block: 44px 24px; gap: 24px; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero .actions { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero__visual { height: 470px; width: 100%; max-width: 440px; margin-inline: auto; }
  .ring { width: 360px; height: 360px; }
  .hero__visual .phone--front { width: 210px; }
  .hero__visual .phone--back { width: 176px; top: 64px; transform: translateX(-96%) rotate(-7deg); }
  .hero__visual .phone--front { transform: translateX(-30%); }
  .float { font-size: 13px; padding: 10px 12px; }
  .float--correct { top: 70px; }
  .float--score { bottom: 80px; min-width: 128px; }
  .float--file { bottom: 24px; }
}
@media (max-width: 480px) {
  .hero .actions .btn { flex: 1 1 100%; }
  .licence-chip { font-size: 13.5px; text-align: start; border-radius: 18px; }
}

/* ---------- Phone frame ---------- */
.phone { position: relative; padding: 8px; border-radius: 40px; background: #0d100e; box-shadow: 0 30px 60px -20px rgba(21,32,26,.45), 0 0 0 1.5px #2a302c inset; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.phone img { width: 100%; aspect-ratio: 540 / 1130; object-fit: cover; object-position: top; border-radius: 32px; background: #0d100e; }

/* ---------- Sections ---------- */
.section { padding-block: 100px; position: relative; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: radial-gradient(900px 420px at 50% 0%, rgba(70,182,96,.28), transparent 70%), var(--dark); color: rgba(255,255,255,.72); }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.head p { font-size: 18px; margin: 0; }
.head--light h2 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--g100); color: var(--g700); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g500); }
.eyebrow--dark { background: rgba(70,182,96,.16); color: var(--g400); }
.eyebrow--gold { background: var(--gold-50); color: #9a6a00; border: 1px solid #f3dfae; }
@media (max-width: 640px) { .section { padding-block: 68px; } .head { margin-bottom: 36px; } }

/* Why (dark) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(4px); transition: border-color .25s ease, transform .25s ease; }
.why:hover { border-color: rgba(70,182,96,.45); transform: translateY(-3px); }
.why__emoji { font-size: 30px; display: block; margin-bottom: 14px; }
.why__tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(70,182,96,.18); color: var(--g400); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.why__before { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); color: rgba(255,255,255,.45); font-size: 14px; margin-bottom: 10px; }
.why__after { display: flex; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; margin: 0; }
.why__after i { color: var(--g400); margin-top: 4px; font-size: 13px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Video */
.section--video { background: linear-gradient(180deg, #fff, var(--g50)); overflow: hidden; }
.video { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.video__text h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.video__text > p { font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.video__frame { position: relative; display: grid; place-items: center; min-height: 600px; }
.video__frame .ring { width: 520px; height: 520px; }
.phone--video { position: relative; z-index: 1; width: 300px; }
.phone--video .yt, .phone--video iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 32px; overflow: hidden; background: var(--g500); }
.yt { position: relative; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--g600); font-size: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .2s ease; }
.yt__play i { margin-inline-start: 4px; }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); }
.yt__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (max-width: 900px) {
  .video { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .video__text { display: flex; flex-direction: column; align-items: center; }
  .video__text .actions { justify-content: center; }
  .video__frame { min-height: 0; }
  .video__frame .ring { width: 360px; height: 360px; }
  .phone--video { width: 250px; }
}

/* Ecosystem tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 14px var(--font); cursor: pointer; transition: all .2s ease; }
[dir="rtl"] .tab { padding: 8px 10px 8px 18px; }
.tab img, .tab .glyph { width: 26px; height: 26px; border-radius: 8px; }
.tab:hover { border-color: var(--g300); color: var(--ink); }
.tab.is-active { background: var(--g500); border-color: var(--g500); color: #fff; box-shadow: var(--shadow-green); }
.glyph { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--g400), var(--g600)); color: #fff; font-size: 13px; }
.eco-panel { display: none; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.eco-panel.is-active, .no-js .eco-panel { display: grid; }
html:not(.js) .eco-panel { display: grid; margin-bottom: 24px; }
.eco-panel__visual { position: relative; min-height: 470px; background: linear-gradient(135deg, var(--g100), #f7fbf8); overflow: hidden; display: grid; place-items: center; padding: 32px; }
.deco { position: absolute; border-radius: 50%; background: rgba(70,182,96,.12); }
.deco--1 { width: 220px; height: 220px; inset-inline-end: -60px; top: -60px; }
.deco--2 { width: 160px; height: 160px; inset-inline-start: -50px; bottom: -50px; background: rgba(246,183,57,.14); }
.eco-panel__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.eco-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eco-panel__head img, .eco-panel__head .glyph { width: 44px; height: 44px; border-radius: 12px; font-size: 20px; }
.eco-panel__head strong { font: 800 22px var(--font-display); color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--g100); color: var(--g700); font-size: 12px; font-weight: 600; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--g500); }
.eco-panel h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.eco-panel .actions { margin-top: 24px; }
.eco__more { text-align: center; color: var(--ink-3); margin: 26px 0 0; font-size: 15px; }
.eco__more i { color: var(--g500); margin-inline-end: 6px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.checks li i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--g500); color: #fff; font-size: 11px; margin-top: 1px; }
@media (max-width: 900px) {
  .eco-panel { grid-template-columns: 1fr; }
  html:not(.js) .eco-panel { grid-template-columns: 1fr; }
  .eco-panel__visual { min-height: 380px; }
  .eco-panel__body { padding: 28px 22px; }
}

.duo { position: relative; width: 100%; max-width: 380px; height: 420px; }
.duo .phone { position: absolute; }
.duo .phone--front { width: 196px; inset-inline-start: 12%; top: 0; z-index: 2; }
.duo .phone--back { width: 176px; inset-inline-end: 6%; top: 46px; transform: rotate(6deg); }
@media (max-width: 480px) { .duo { height: 340px; } .duo .phone--front { width: 160px; } .duo .phone--back { width: 144px; } }

/* Browser mock (web reader) */
.browser { position: relative; z-index: 1; width: 100%; max-width: 480px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(21,32,26,.35); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eef1ef; }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser__bar > i:nth-child(2) { background: #febc2e; }
.browser__bar > i:nth-child(3) { background: #28c840; }
.browser__bar span { flex: 1; margin-inline-start: 12px; text-align: center; font-size: 12px; color: var(--ink-3); background: #fff; border-radius: 8px; padding: 4px 10px; }
.browser__bar span i { font-size: 10px; color: var(--g500); }
.browser__appbar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--g500); color: #fff; font-size: 14px; }
.browser__appbar b { flex: 1; font-weight: 600; }
.browser__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; background: #f3f6f4; }
.qcard { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding-bottom: 8px; position: relative; }
.qcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.qcard span { display: block; height: 6px; margin: 8px 8px 0; border-radius: 4px; background: #e2e7e4; }
.qcard span.short { width: 55%; height: 5px; margin-top: 5px; background: #eef1ef; }
.qcard em { display: block; width: max-content; margin: 8px 8px 0 auto; padding: 2px 8px; border: 1px solid var(--g500); border-radius: 4px; color: var(--g600); font-style: normal; font-size: 8px; font-weight: 700; }
[dir="rtl"] .qcard em { margin: 8px auto 0 8px; }

/* Plugin visual */
.appvisual { position: relative; z-index: 1; width: 100%; max-width: 360px; height: 340px; display: grid; place-items: center; }
.appvisual__icon { width: 150px; height: 150px; border-radius: 36px; box-shadow: 0 30px 50px -18px rgba(21,32,26,.45); }
.appvisual .float { animation-duration: 7s; }
.appvisual .float--a { inset-inline-start: 0; top: 40px; }
.appvisual .float--a i { color: var(--g500); }
.appvisual .float--a b { letter-spacing: 2px; color: var(--ink-3); }
.appvisual .float--b { inset-inline-end: 0; bottom: 40px; animation-delay: -3s; }
.appvisual .float--b i { color: var(--gold-600); }
.appvisual--qcmtopdf .float--a i { color: #e53935; }

/* Numbered blocks */
.blocks { display: grid; gap: 56px; position: relative; }
.blocks::before { content: ""; position: absolute; inset-block: 40px; left: 50%; width: 2px; background: linear-gradient(var(--g200), transparent); }
.block { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.block__visual { position: relative; min-height: 480px; display: grid; place-items: center; padding: 40px 20px 24px; background: linear-gradient(135deg, var(--g100), #f8fcf9); overflow: hidden; }
.num { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--g500); color: #fff; font: 800 16px var(--font-display); box-shadow: 0 0 0 6px rgba(70,182,96,.15); }
.block__body { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.block__body h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.block__body > p { font-size: 17px; }
.block--reverse .block__visual { order: 2; }
@media (max-width: 900px) {
  .blocks::before { display: none; }
  .block { grid-template-columns: 1fr; }
  .block--reverse .block__visual { order: 0; }
  .block__visual { min-height: 400px; }
  .block__body { padding: 28px 22px; }
}

/* Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { position: relative; overflow: hidden; text-align: center; padding: 34px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cap::after { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; inset-inline-end: -40px; top: -40px; background: var(--g50); }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap__icon { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--g400), var(--g600)); color: #fff; font-size: 22px; box-shadow: var(--shadow-green); margin-bottom: 18px; }
.cap__icon--alt { background: linear-gradient(135deg, #ffd27a, var(--gold-600)); box-shadow: 0 10px 24px -8px rgba(246,183,57,.7); }
.cap h3 { position: relative; font-size: 20px; }
.cap p { position: relative; font-size: 15px; margin: 0; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* Gallery */
.section--gallery { padding-bottom: 72px; }
.gallery { position: relative; }
.gallery__track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 28px; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 220px; scroll-snap-align: center; text-align: center; }
.gallery__item .phone { box-shadow: 0 20px 40px -18px rgba(21,32,26,.4); }
.gallery__item span { display: block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--ink); }
.gallery__nav { position: absolute; top: 40%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 16px; color: var(--g700); }
.gallery__nav--prev { inset-inline-start: 14px; }
.gallery__nav--next { inset-inline-end: 14px; }
@media (max-width: 640px) { .gallery__nav { display: none; } .gallery__item { flex-basis: 62vw; } }

/* Licences */
.section--licences { background: linear-gradient(180deg, #fff 0%, var(--gold-50) 100%); }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: -20px 0 44px; }
.benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #f3dfae; font-weight: 600; font-size: 14px; color: var(--ink); }
.benefits i { color: var(--gold-600); }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; padding: 32px 26px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.offer h3 { font-size: 22px; }
.offer p { flex: 1; }
.offer--featured { border: 2px solid var(--gold); box-shadow: 0 24px 48px -20px rgba(246,183,57,.55); }
.offer__tag { position: absolute; top: -14px; inset-inline-start: 24px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #2b1d00; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.offer__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--gold-50); color: #9a6a00; font-size: 21px; margin-bottom: 18px; border: 1px solid #f3dfae; }
.how { margin-top: 64px; text-align: center; }
.how h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; font: 800 18px var(--font-display); background: linear-gradient(135deg, var(--g500), var(--g700)); box-shadow: var(--shadow-green); margin-bottom: 14px; }
.step:nth-child(2) .step__num { background: linear-gradient(135deg, var(--g400), var(--g600)); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #ffd27a, var(--gold-600)); box-shadow: 0 10px 24px -8px rgba(246,183,57,.7); }
.step__icon { display: block; color: var(--g500); font-size: 18px; margin-bottom: 8px; }
.step strong { display: block; font: 700 19px var(--font-display); color: var(--ink); margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; }
.lic-note { text-align: center; color: var(--ink-3); font-size: 14px; margin: 32px auto 0; max-width: 680px; }
.lic-note i { margin-inline-end: 6px; color: var(--g500); }
@media (max-width: 900px) { .offers, .steps { grid-template-columns: 1fr; } .offer--featured { order: -1; } }

/* Guide / beta */
.helps { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.help { display: flex; gap: 22px; align-items: flex-start; padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.help .cap__icon { flex-shrink: 0; margin: 0; }
.help h3 { font-size: 26px; font-weight: 800; }
.help .actions { margin-top: 8px; }
@media (max-width: 900px) { .helps { grid-template-columns: 1fr; } .help { flex-direction: column; padding: 28px 22px; } }

/* CTA band */
.cta { position: relative; overflow: hidden; padding-block: 96px; text-align: center; color: rgba(255,255,255,.88); background: linear-gradient(135deg, var(--g500) 0%, var(--g600) 55%, var(--g800) 100%); }
.cta__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.cta__inner { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
.cta .hl { background: none; -webkit-text-fill-color: #d6f5de; color: #d6f5de; }
.cta p { font-size: 18px; max-width: 620px; margin: 0 auto 30px; }

/* Footer */
.footer { background: #1a1a1a; color: rgba(255,255,255,.65); padding-top: 64px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer h4 { font-family: var(--font); color: rgba(255,255,255,.5); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__brand p { margin: 14px 0 18px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 15px; transition: background-color .2s ease; }
.socials a:hover { background: var(--g500); }
.footer .lang { margin-top: 10px; }
.footer .lang summary { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.footer .lang ul { top: auto; bottom: calc(100% + 8px); inset-inline-end: auto; inset-inline-start: 0; }
.footer .lang li a { color: var(--ink); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: 13px; color: rgba(255,255,255,.45); text-align: center; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
