:root {
  --ink: #1f1b4d;
  --navy: #221d5a;
  --primary: #2e2a7a;
  --violet: #6c5ce7;
  --lavender: #a99bf0;
  --lavender-soft: #ece9fc;
  --bg: #ffffff;
  --bg-soft: #f5f4fb;
  --line: #e5e3f3;
  --muted: #6b6890;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(34, 29, 90, .08);
  --pattern-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='160' viewBox='0 0 80 160'%3E%3Cg fill='%23ffffff' fill-opacity='.07'%3E%3Crect x='3' y='3' width='34' height='74' rx='17'/%3E%3Crect x='3' y='83' width='34' height='74' rx='17'/%3E%3Crect x='43' y='-37' width='34' height='74' rx='17'/%3E%3Crect x='43' y='43' width='34' height='74' rx='17'/%3E%3Crect x='43' y='123' width='34' height='74' rx='17'/%3E%3C/g%3E%3Cg stroke='%23221d5a' stroke-width='3'%3E%3Cpath d='M20 0v160M60 0v160'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-hero2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='160' viewBox='0 0 80 160'%3E%3Cg fill='%235547bd' fill-opacity='.06'%3E%3Crect x='3' y='3' width='34' height='74' rx='17'/%3E%3Crect x='3' y='83' width='34' height='74' rx='17'/%3E%3Crect x='43' y='-37' width='34' height='74' rx='17'/%3E%3Crect x='43' y='43' width='34' height='74' rx='17'/%3E%3Crect x='43' y='123' width='34' height='74' rx='17'/%3E%3C/g%3E%3Cg stroke='%23f5f3ff' stroke-width='3'%3E%3Cpath d='M20 0v160M60 0v160'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='160' viewBox='0 0 80 160'%3E%3Cg fill='%232e2a7a' fill-opacity='.035'%3E%3Crect x='3' y='3' width='34' height='74' rx='17'/%3E%3Crect x='3' y='83' width='34' height='74' rx='17'/%3E%3Crect x='43' y='-37' width='34' height='74' rx='17'/%3E%3Crect x='43' y='43' width='34' height='74' rx='17'/%3E%3Crect x='43' y='123' width='34' height='74' rx='17'/%3E%3C/g%3E%3C/svg%3E");
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='160' viewBox='0 0 80 160'%3E%3Cg fill='%23f1effd'%3E%3Crect x='3' y='3' width='34' height='74' rx='17'/%3E%3Crect x='3' y='83' width='34' height='74' rx='17'/%3E%3Crect x='43' y='-37' width='34' height='74' rx='17'/%3E%3Crect x='43' y='43' width='34' height='74' rx='17'/%3E%3Crect x='43' y='123' width='34' height='74' rx='17'/%3E%3C/g%3E%3Cg stroke='%23978af0' stroke-width='3'%3E%3Cpath d='M20 0v160M60 0v160'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Readex Pro", "Tajawal", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy) var(--pattern-hero); background-size: 48px 96px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 6px 20px rgba(20, 17, 55, .25);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: #d6d1fb; transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; }
.header .btn-dark { background: var(--lavender); color: var(--navy); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(46, 42, 122, .3); }
.btn-light { background: var(--lavender); color: var(--navy); }
.btn-light:hover { box-shadow: 0 8px 22px rgba(169, 155, 240, .45); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-pill { border-radius: 999px; padding: 10px 20px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #f5f3ff; color: var(--ink); padding: 96px 0 104px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pattern-hero2); background-size: 72px 144px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, #000 75%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, #000 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  inset-inline-start: -120px; top: -160px; background: radial-gradient(circle, rgba(169,155,240,.35), transparent 65%);
}
.hero .container { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 820px; }
.hero p { margin-inline: auto; }
.hero-actions, .trust { justify-content: center; }
.hero .container > * { min-width: 0; }
.hl { background: linear-gradient(90deg, #6c5ce7, #a99bf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--muted); box-shadow: 0 4px 12px rgba(34, 29, 90, .05); }
.trust b { color: var(--ink); }
.showcase { position: relative; height: 470px; }
.screen {
  position: absolute; width: 76%; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 30px 60px rgba(8, 5, 40, .45); cursor: pointer; text-align: start;
  transition: transform .35s, box-shadow .35s; animation: float 6s ease-in-out infinite;
}
.screen .s-bar { height: 28px; background: #f1effa; display: flex; align-items: center; gap: 5px; padding: 0 12px; }
.screen .s-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d1f0; }
.screen .s-bar span { margin-inline-start: auto; font-size: 11px; color: var(--muted); }
.screen .preview { border: 0; }
.screen .s-label { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.screen:nth-child(1) { top: 0; inset-inline-start: 0; transform: rotate(-4deg); z-index: 1; }
.screen:nth-child(2) { top: 130px; inset-inline-end: 0; transform: rotate(3deg); z-index: 2; animation-delay: -2s; }
.screen:nth-child(3) { top: 265px; inset-inline-start: 6%; transform: rotate(-1.5deg); z-index: 3; animation-delay: -4s; }
.screen:hover, .screen:focus-visible { transform: rotate(0) scale(1.04); z-index: 5; box-shadow: 0 36px 70px rgba(8, 5, 40, .55); outline: none; }
@keyframes float { 50% { translate: 0 -10px; } }
.swipe-hint { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: #d8d3ff;
}
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.25; margin: 20px 0 18px; font-weight: 700; }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; }
.hero .chip { border-color: #d9d3f7; color: var(--primary); background: #fff; }
.hero .btn-light { background: var(--primary); color: #fff; }
.hero .btn-light:hover { box-shadow: 0 8px 20px rgba(46, 42, 122, .3); }
.hero .btn-ghost { border-color: #cfc8f6; color: var(--primary); background: #fff; }
.hero .btn-ghost:hover { background: var(--lavender-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.soft { background: var(--bg-soft); }
.eyebrow { color: var(--violet); font-weight: 600; font-size: 15px; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; margin: 6px 0 12px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 620px; }
.section-head { margin-bottom: 44px; }

/* Services */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4cff5; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--lavender-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Pattern divider */
.divider { height: 64px; background: var(--lavender-soft) var(--pattern); background-size: 40px 80px; opacity: .9; }

/* Models */
.models { background: #efedfb; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model {
  background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.model:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(34, 29, 90, .12); }
.preview { aspect-ratio: 16 / 10; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.model-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tag { align-self: flex-start; background: var(--lavender-soft); color: var(--primary); font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.model h3 { font-size: 19px; line-height: 1.5; }
.model p { color: var(--muted); font-size: 14.5px; flex: 1; }
.model .btn { align-self: flex-start; margin-top: 6px; padding: 10px 18px; font-size: 14px; }

/* Mini previews (pure CSS mockups) */
.pv { position: absolute; inset: 0; padding: 14px; font-size: 9px; display: flex; gap: 8px; }
.pv .bar { height: 7px; border-radius: 4px; background: currentColor; opacity: .18; }
.pv-resto { background: #3a2418; color: #f6e6d4; align-items: center; }
.pv-resto .plate { width: 44%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #c3742f 0 30%, #f3ead9 31% 58%, #fff 59% 66%, transparent 67%); flex-shrink: 0; }
.pv-resto .txt { flex: 1; display: grid; gap: 7px; }
.pv-resto .txt b { font-size: 15px; line-height: 1.3; }
.pv-resto .pill { background: #f2b33d; color: #3a2418; border-radius: 6px; padding: 3px 8px; justify-self: start; font-weight: 700; }
.pv-qr { background: #1e3a2f; color: #e6f2ec; }
.pv-qr .phone { width: 38%; background: #fff; border-radius: 10px; padding: 8px; color: #1e3a2f; display: grid; gap: 6px; align-content: start; }
.pv-qr .row { display: flex; justify-content: space-between; align-items: center; background: #eef5f1; border-radius: 6px; padding: 4px 6px; }
.pv-qr .kds { flex: 1; display: grid; gap: 6px; align-content: start; }
.pv-qr .ticket { background: rgba(255,255,255,.1); border-radius: 6px; padding: 6px; display: flex; justify-content: space-between; }
.pv-qr .ok { background: #43c08a; color: #fff; border-radius: 4px; padding: 0 6px; }
.pv-salon { background: #fbf4f6; color: #5a2340; flex-direction: column; }
.pv-salon .slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.pv-salon .slots span { background: #fff; border: 1px solid #ecd3dd; border-radius: 6px; text-align: center; padding: 4px 0; }
.pv-salon .slots .on { background: #b3406f; color: #fff; border-color: #b3406f; }
.pv-dash { background: #f7f7fb; color: var(--ink); flex-direction: column; }
.pv-dash .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.pv-dash .kpis span { background: #fff; border-radius: 6px; padding: 5px; font-weight: 700; font-size: 11px; border: 1px solid var(--line); }
.pv-dash .chart { flex: 1; background: #fff; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; }
.pv-dash .chart i { flex: 1; background: var(--violet); border-radius: 3px 3px 0 0; opacity: .85; }
.pv-table { background: #fff; color: var(--ink); flex-direction: column; }
.pv-table .tr { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; padding: 4px 6px; border-bottom: 1px solid var(--line); align-items: center; }
.pv-table .st { border-radius: 4px; padding: 0 5px; text-align: center; background: #e5f6ee; color: #1f8a5b; }
.pv-table .st.w { background: #fff3dc; color: #a46b00; }
.pv-slides { background: var(--navy); align-items: center; justify-content: center; }
.pv-slides .slide { width: 86%; aspect-ratio: 16/9; background: #fff; border-radius: 6px; display: flex; overflow: hidden; }
.pv-slides .slide .side { width: 34%; background: var(--primary); display: grid; place-items: center; color: var(--lavender); font-size: 22px; }
.pv-slides .slide .main { flex: 1; padding: 10px; display: grid; align-content: center; gap: 4px; color: var(--ink); }
.pv-slides .slide b { font-size: 13px; }
.pv-heat { background: #fff; flex-direction: column; color: var(--ink); }
.pv-heat .hm { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 3px; flex: 1; }
.pv-heat .hm span { border-radius: 3px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { border-top: 2px solid var(--navy); padding-top: 22px; }
.step .num { font-size: 26px; font-weight: 700; color: var(--violet); }
.step h3 { font-size: 18px; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta {
  border-radius: 26px; padding: 44px; color: #fff;
  background: linear-gradient(90deg, rgba(34,29,90,.96), rgba(46,42,122,.9)), var(--pattern);
  background-size: auto, 70px 140px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { color: #c9c4f2; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer img { height: 34px; }
.footer a { color: var(--primary); font-weight: 600; direction: ltr; unicode-bidi: embed; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4);
}
.wa-float svg { width: 28px; height: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Demo modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 17, 55, .6); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; width: min(980px, 100% - 24px); max-height: calc(100% - 40px); margin: 20px auto;
  background: #fff; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); animation: pop .25s ease-out;
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 17px; }
.modal-head .note { font-size: 12.5px; color: var(--muted); }
.modal-close { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-soft); font-size: 20px; flex-shrink: 0; }
.modal-body { overflow: auto; flex: 1; }
.modal-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg-soft); font-size: 14px; }

/* Shared demo widgets */
.demo { padding: 22px; font-size: 14.5px; }
.demo h4 { font-size: 16px; margin-bottom: 10px; }
.d-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.d-tab { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; }
.d-tab.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.d-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.d-item .price { font-weight: 700; color: var(--primary); }
.d-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.d-panel { background: var(--bg-soft); border-radius: 16px; padding: 16px; }
.d-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.d-row:last-child { border-bottom: 0; }
.d-btn { padding: 8px 14px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; font-size: 13.5px; }
.d-btn.alt { background: var(--lavender-soft); color: var(--primary); }
.d-btn:disabled { opacity: .45; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; background: var(--lavender-soft); color: var(--primary); font-weight: 700; }
.d-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.d-choice button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.d-choice button.on { border-color: var(--primary); background: var(--primary); color: #fff; }
.d-choice button:disabled { text-decoration: line-through; opacity: .4; cursor: not-allowed; }
.d-input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.d-kpi { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.d-kpi small { color: var(--muted); display: block; }
.d-kpi b { font-size: 24px; }
.d-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding: 10px 6px 0; border-bottom: 1px solid var(--line); }
.d-chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; font-size: 12px; }
.d-chart .col i { width: 100%; background: var(--violet); border-radius: 6px 6px 0 0; transition: height .6s; }
.d-chart-labels { display: flex; gap: 10px; padding: 6px; font-size: 12px; color: var(--muted); }
.d-chart-labels span { flex: 1; text-align: center; }
.badge { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.b-ok { background: #e3f6ec; color: #1f8a5b; }
.b-wait { background: #fff3dc; color: #a46b00; }
.b-new { background: var(--lavender-soft); color: var(--primary); }
.b-bad { background: #fde7e7; color: #b42318; }
.d-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.d-table th, .d-table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.d-table th { color: var(--muted); font-weight: 500; font-size: 13px; }
.progress { height: 10px; border-radius: 999px; background: var(--lavender-soft); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--violet); transition: width .4s; }
.ring { --p: 0; width: 120px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--violet) calc(var(--p) * 1%), var(--lavender-soft) 0); display: grid; place-items: center; }
.ring span { width: 88px; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.toast { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e3f6ec; color: #17603f; }
.drop { border: 2px dashed #cfc8f6; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); }
.scan { height: 6px; border-radius: 999px; background: var(--lavender-soft); overflow: hidden; margin-top: 12px; }
.scan i { display: block; height: 100%; width: 0; background: var(--violet); transition: width 1.6s ease; }
.heat { display: grid; gap: 4px; font-size: 13px; }
.heat .h-row { display: grid; grid-template-columns: 1.8fr repeat(5, 1fr); gap: 4px; }
.heat .cell { border-radius: 6px; padding: 8px 0; text-align: center; font-weight: 600; cursor: pointer; transition: transform .15s; }
.heat .cell:hover { transform: scale(1.06); }
.heat .lbl { padding: 8px 4px; }
.slide-stage { background: var(--navy); border-radius: 16px; padding: 18px; }
.slide-card { background: #fff; border-radius: 12px; aspect-ratio: 16 / 9; display: flex; overflow: hidden; }
.slide-card .side { width: 30%; background: var(--primary); display: grid; place-items: center; color: var(--lavender); font-size: 44px; }
.slide-card .main { flex: 1; padding: 6% 6%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.slide-card h5 { font-size: clamp(18px, 3vw, 30px); line-height: 1.35; }
.slide-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: #c9c4f2; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.dots i.on { background: var(--lavender); width: 22px; border-radius: 4px; }
.qr-box { width: 120px; height: 120px; background:
  conic-gradient(from 90deg at 30% 30%, #000 25%, #fff 0) 0 0 / 24px 24px; border: 8px solid #fff; outline: 1px solid var(--line); border-radius: 10px; }
.lang-ltr { direction: ltr; text-align: left; }


/* ---------- Ordered pattern backgrounds ---------- */
.soft, .start { background: var(--bg-soft) var(--pattern-soft); background-size: 60px 120px; }
.models { background: #efedfb var(--pattern-soft); background-size: 60px 120px; }

/* ---------- Full project ---------- */
.full { background: #fff; }
.full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.case { margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.case-head b { font-size: 18px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
.case-tags span::before { content: "✓"; color: #1f8a5b; font-weight: 700; }
.case-bar { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.case-bar b { color: var(--ink); }
.timeline { list-style: none; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--lavender), var(--primary)); }
.timeline li { position: relative; display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: transform .2s, box-shadow .2s; }
.timeline li:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.timeline .dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; margin-inline-start: -2px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.timeline h3 { font-size: 16px; margin-bottom: 2px; }
.timeline p { color: var(--muted); font-size: 14px; }

/* ---------- Wizard ---------- */
.wizard { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.wz-progress { height: 6px; background: var(--lavender-soft); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.wz-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--primary)); transition: width .35s; }
.wz-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.wz-steps span { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); }
.wz-steps span.on { background: var(--primary); color: #fff; }
.wz-steps span.done { background: var(--lavender-soft); color: var(--primary); }
.wz-q { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.wz-hint { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; font-size: 14.5px; }
.opt:hover { border-color: #cfc8f6; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .e { font-size: 22px; }
.opt:has(input:checked) { border-color: var(--primary); background: var(--lavender-soft); }
.opt:has(input:checked)::after { content: "✓"; position: absolute; inset-inline-end: 10px; top: 8px; color: var(--primary); font-weight: 700; }
.opt:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.fields .full-w { grid-column: 1 / -1; }
.wz-input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; background: #fff; color: var(--ink); }
.wz-input:focus { outline: none; border-color: var(--violet); }
textarea.wz-input { min-height: 96px; resize: vertical; }
.wz-sub { font-size: 15px; font-weight: 600; margin: 18px 0 10px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wz-err { color: #b42318; font-size: 14px; margin-top: 12px; min-height: 1em; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.summary { background: var(--bg-soft); border-radius: 16px; padding: 18px; white-space: pre-line; font-size: 14.5px; line-height: 1.9; max-height: 340px; overflow: auto; }

/* ---------- Photos ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #f6d9b8, #e7a86c); display: grid; place-items: center; }
.ph::before { content: attr(data-e); font-size: 34px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.food-card { padding: 0; overflow: hidden; }
.food-card .ph { aspect-ratio: 4 / 3; }
.food-card .fc-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.food-card small { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.resto-hero { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 16px; min-height: 150px; color: #fff; display: flex; align-items: flex-end; }
.resto-hero .ph { position: absolute; inset: 0; }
.resto-hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,15,5,.85), rgba(30,15,5,.15)); }
.resto-hero .txt { position: relative; padding: 18px 20px; }
.resto-hero b { font-size: 22px; display: block; }
.mini-ph { width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; }
.mini-ph::before { font-size: 22px; }
.pv .ph { border-radius: 10px; }

/* ---------- Extra demos ---------- */
.stamp-card { background: linear-gradient(135deg, #4a2c1a, #7a4a2a); color: #f6e6d4; border-radius: 20px; padding: 22px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 16px 0; }
.stamps span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(246,230,212,.5); display: grid; place-items: center; font-size: 22px; }
.stamps span.on { background: #f2b33d; border: 0; color: #4a2c1a; }
.bizcard { max-width: 340px; margin-inline: auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; text-align: center; }
.bizcard .cover { height: 110px; background: var(--navy) var(--pattern-hero); background-size: 48px 96px; }
.bizcard .avatar { width: 92px; height: 92px; border-radius: 50%; margin: -46px auto 8px; border: 4px solid #fff; background: var(--lavender); display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--navy); }
.bizcard .links { display: grid; gap: 8px; padding: 16px; }
.bizcard .links button { padding: 12px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.prod-ph { aspect-ratio: 1; border-radius: 12px; }


/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px; background: #fff; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { background: var(--navy) var(--pattern-hero); background-size: 60px 120px; color: #fff; border-color: var(--navy); }
.price-card.featured .p-for, .price-card.featured small, .price-card.featured .p-days { color: #c9c4f2; }
.ribbon { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--lavender); color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.p-emoji { font-size: 28px; }
.price-card h3 { font-size: 19px; }
.p-price { font-size: 20px; font-weight: 700; color: var(--violet); }
.featured .p-price { color: #fff; }
.p-for { color: var(--muted); font-size: 14px; }
.price-card ul { list-style: none; display: grid; gap: 6px; font-size: 14px; flex: 1; align-content: start; }
.price-card li::before { content: "✓ "; color: #1f8a5b; font-weight: 700; }
.featured li::before { color: #7be0b0; }
.p-plus { color: var(--muted); font-size: 13px; }
.p-days { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.featured .p-days { border-color: rgba(255,255,255,.2); }
.price-card .btn { width: 100%; }

/* Wizard: budget tiers & features */
.tier-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-opt { align-items: flex-start; padding: 16px; }
.tier-opt b { display: block; font-size: 16px; }
.tier-opt small { display: block; color: var(--violet); font-weight: 600; }
.tier-opt small.muted { color: var(--muted); font-weight: 400; font-size: 13px; }
.sug { position: absolute; bottom: 10px; inset-inline-end: 10px; background: #e3f6ec; color: #1f8a5b; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.tier-banner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--lavender-soft); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.tier-banner em { font-style: normal; color: var(--muted); font-size: 13px; }
.tier-banner .est b { color: var(--primary); font-size: 17px; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.feat { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14px; }
.feat > span:nth-of-type(2) { flex: 1; }
.feat small { font-size: 12px; white-space: nowrap; }
.feat .fi { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.feat.inc { background: #f1faf5; border-color: #cdebdb; }
.feat.inc .fi { background: #1f8a5b; color: #fff; }
.feat.inc small { color: #1f8a5b; }
.feat.add { cursor: pointer; background: #fff; }
.feat.add input { position: absolute; opacity: 0; pointer-events: none; }
.feat.add .fi { background: var(--lavender-soft); color: var(--primary); }
.feat.add small { color: var(--violet); font-weight: 600; }
.feat.add:has(input:checked) { border-color: var(--primary); background: var(--lavender-soft); }
.feat.add:has(input:checked) .fi { background: var(--primary); color: #fff; }
.feat.add:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.feat.lock { opacity: .55; background: var(--bg-soft); }
.feat.lock small { color: var(--muted); }
.upgrade { margin-top: 16px; width: 100%; }


/* ---------- Education ---------- */
.edu { background: #f3f1fd var(--pattern-soft); background-size: 60px 120px; }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edu-card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.edu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.edu-top { display: flex; gap: 14px; align-items: center; }
.edu-e { width: 52px; height: 52px; border-radius: 14px; background: var(--lavender-soft); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.edu-card h3 { font-size: 17px; line-height: 1.5; }
.edu-price { color: var(--violet); font-weight: 700; font-size: 16px; }
.edu-price small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.edu-price.big { font-size: 28px; color: #fff; }
.edu-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.edu-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 13.5px; color: var(--muted); }
.edu-btns { display: flex; gap: 6px; }
.edu-btns .btn { padding: 8px 14px; font-size: 13.5px; }
.edu-bundle { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 22px; border-radius: 24px; padding: 30px; color: #fff; background: var(--navy) var(--pattern-hero); background-size: 60px 120px; }
.edu-bundle .ribbon { position: static; display: inline-block; margin-bottom: 10px; }
.edu-bundle h3 { font-size: 22px; margin-bottom: 6px; }
.edu-bundle p { color: #c9c4f2; margin-bottom: 12px; }
.edu-bundle ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 14.5px; }
.edu-bundle li::before { content: "✓ "; color: #7be0b0; font-weight: 700; }
.bundle-side { text-align: center; display: grid; gap: 6px; justify-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px 26px; }
.bundle-side small { color: #c9c4f2; }
.bundle-side .btn { margin-top: 8px; }

/* ---------- Private projects ---------- */
.private { margin-top: 40px; border-radius: 24px; padding: 28px; color: #fff; background: var(--navy) var(--pattern-hero); background-size: 60px 120px; }
.private-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.lock-badge { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.private h3 { font-size: 22px; margin-bottom: 4px; }
.private-head p { color: #c9c4f2; max-width: 640px; }
.private-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.private-card { position: relative; border-radius: 14px; overflow: hidden; background: #fff; }
.private-card .preview { filter: blur(7px) saturate(.7); transform: scale(1.08); pointer-events: none; user-select: none; }
.private-card::after { content: ""; position: absolute; inset: 0; background: rgba(34, 29, 90, .25); }
.private-tag { position: absolute; z-index: 1; inset: auto 10px 10px; text-align: center; background: rgba(20, 17, 55, .8); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.private-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; color: #ddd8ff; }

/* ---------- Mobile app showcase ---------- */
.apps { background: linear-gradient(180deg, #fff, #f4f2fd); }
.apps-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.apps-tabs button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14.5px; transition: .2s; }
.apps-tabs button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.app-pane { display: none; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; border-radius: 28px; padding: 32px; background: var(--bgp); border: 1px solid var(--line); }
.app-pane.on { display: grid; animation: pop .3s ease-out; }
.app-info h3 { font-size: 26px; margin: 10px 0 8px; }
.app-info p { color: var(--muted); }
.app-info .tag { background: var(--a2); color: var(--a); }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; overflow-x: auto; padding: 10px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }

.phone { position: relative; flex: 0 0 250px; height: 520px; border-radius: 40px; background: #fff; border: 9px solid #18181b; box-shadow: 0 24px 50px rgba(20, 17, 55, .18); overflow: hidden; display: flex; flex-direction: column; font-size: 11.5px; color: #1d1d1f; scroll-snap-align: center; text-align: start; }
.phone .island { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 76px; height: 20px; border-radius: 999px; background: #18181b; z-index: 3; }
.phone .status { display: flex; justify-content: space-between; padding: 10px 20px 4px; font-size: 10.5px; font-weight: 700; }
.screen-body { flex: 1; overflow-y: auto; padding: 8px 14px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.screen-body::-webkit-scrollbar { display: none; }
.screen-body > * { flex-shrink: 0; }
.phone h5 { font-size: 16px; line-height: 1.4; }
.phone small { display: block; color: #6b6b75; font-size: 10.5px; line-height: 1.5; }
.phone .muted { color: #8a8a93; }
.phone .link { color: var(--a); font-weight: 600; }
.phone .accent { color: var(--a); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ico-btn { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #f2f2f4; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.ico-btn i { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--a); color: #fff; font-size: 9px; font-style: normal; display: grid; place-items: center; padding: 0 3px; transition: transform .2s; }
.ico-btn i.dot { min-width: 8px; height: 8px; padding: 0; top: 4px; right: 4px; background: #e5484d; }
.ico-btn i.bump { transform: scale(1.4); }
.search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #ececf0; border-radius: 14px; padding: 9px 12px; color: #8a8a93; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.search span { margin-inline-start: auto; }
.search.slim { flex: 1; padding: 6px 10px; }
.banner { display: flex; justify-content: space-between; align-items: center; gap: 6px; border-radius: 16px; padding: 14px; color: #fff; min-height: 110px; }
.banner b { display: block; font-size: 15px; line-height: 1.4; margin: 2px 0; }
.banner small { color: rgba(255,255,255,.85); }
.banner .pile { font-size: 28px; line-height: 1.25; text-align: center; flex-shrink: 0; white-space: nowrap; }
.banner.g { background: linear-gradient(135deg, #3f8a3a, #6aa84f); }
.banner.t { background: linear-gradient(135deg, #1f7a6b, #2f9b86); }
.banner.s { background: linear-gradient(135deg, #b5cc6e, #d9e6a8); color: #1d1d1b; }
.banner.s small { color: #3c3c33; }
.banner.p { background: linear-gradient(135deg, #5b2e14, #8c4a24); }
.accent2 { color: #ffb37a; }
.pill-w, .pill-o, .pill-d { margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.pill-w { background: #fff; color: #1d1d1f; }
.pill-o { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.pill-d { background: #1d1d1b; color: #fff; }
.tag-d { display: inline-block; background: #1d1d1b; color: #fff; font-size: 9px; padding: 2px 8px; border-radius: 999px; }
.btn-row { display: flex; gap: 6px; flex-wrap: wrap; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cats span, .grid4 span { display: grid; justify-items: center; gap: 2px; background: #fff; border: 1px solid #efeff2; border-radius: 12px; padding: 8px 2px; font-size: 10px; font-weight: 600; }
.cats em, .grid4 em { font-style: normal; font-size: 22px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.grid4 span { background: var(--a2); border: 0; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hscroll::-webkit-scrollbar { display: none; }
.prod { flex: 0 0 96px; display: grid; gap: 3px; background: #fff; border: 1px solid #efeff2; border-radius: 14px; padding: 8px; }
.prod em { font-style: normal; font-size: 34px; text-align: center; }
.prod strong { color: #1d1d1f; }
.add { background: var(--a); color: #fff; border-radius: 8px; padding: 5px 8px; font-size: 10.5px; font-weight: 700; }
.svc { flex: 0 0 150px; background: #fff; border: 1px solid #efeff2; border-radius: 14px; padding: 8px; display: grid; gap: 4px; }
.svc-img { position: relative; height: 64px; border-radius: 10px; background: var(--a2); display: grid; place-items: center; font-size: 30px; }
.svc-img span { position: absolute; top: 5px; right: 5px; background: #fff; font-size: 8.5px; border-radius: 999px; padding: 1px 6px; font-weight: 700; }
.ok { color: var(--a) !important; }
.svc s { color: #9a9aa3; font-size: 10px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #f4f4f6; border-radius: 12px; padding: 8px 4px; }
.trust-row span { font-size: 9px; text-align: center; line-height: 1.5; }
.tabbar { display: flex; justify-content: space-around; border-top: 1px solid #efeff2; padding: 8px 6px 14px; background: #fff; }
.tabbar span { display: grid; justify-items: center; font-size: 9.5px; color: #9a9aa3; gap: 1px; }
.tabbar b { font-size: 15px; filter: grayscale(1); opacity: .6; }
.tabbar span.on { color: var(--a); font-weight: 700; }
.tabbar span.on b { filter: none; opacity: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { padding: 6px 10px; border-radius: 10px; background: #f2f2f4; font-size: 10.5px; font-weight: 600; }
.chips button.on { background: var(--d, var(--a)); color: #fff; }
.chips.sizes button { display: grid; justify-items: center; width: 52px; }
.chips.sizes small { color: inherit; opacity: .75; font-size: 8.5px; }
.sub-h { font-size: 12px; }
.line { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #efeff2; border-radius: 12px; padding: 8px; }
.line > em { font-style: normal; font-size: 26px; }
.line > div:not(.mini) { flex: 1; }
.line .mini { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.mini .ph, .cof .ph, .special .ph, .cof-hero .ph { width: 100%; height: 100%; }
.mini .ph::before { font-size: 18px; }
.qtybox { display: inline-flex; align-items: center; gap: 6px; }
.qtybox button { width: 22px; height: 22px; border-radius: 7px; background: #f2f2f4; font-weight: 700; }
.qtybox i { font-style: normal; font-weight: 700; min-width: 12px; text-align: center; }
.sum { display: flex; justify-content: space-between; border-bottom: 1px dashed #e6e6ea; padding: 4px 0; }
.p-cta { background: var(--d, var(--a)); color: #fff; border-radius: 14px; padding: 11px; font-weight: 700; font-size: 12px; width: 100%; margin-top: auto; }
.p-cta.sm { width: auto; padding: 9px 12px; border-radius: 999px; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.care-img { position: relative; height: 92px; border-radius: 14px; background: linear-gradient(160deg, #eef0e6, #d9dccd); display: grid; place-items: center; font-size: 38px; margin-bottom: 4px; }
.heart { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%; background: #fff; font-size: 13px; color: #d33; }
.heart.big { position: static; width: 30px; height: 30px; background: #f2f2f4; font-size: 16px; }
.hero-prod { height: 150px; border-radius: 18px; background: radial-gradient(circle at 50% 70%, #fff, #dfe3d2); display: grid; place-items: center; font-size: 64px; position: relative; }
.hero-prod span { position: absolute; bottom: 10px; left: 18px; font-size: 30px; }
.store { display: flex; align-items: center; gap: 8px; }
.store em { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: var(--a); display: grid; place-items: center; }
.store > div { flex: 1; }
.follow { background: #1d1d1b; color: #fff; border-radius: 999px; padding: 6px 10px; font-size: 10px; font-weight: 700; }
.follow.on { background: var(--a); }
.buybar { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; background: #fff; border-radius: 16px; padding: 8px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.buybar b { font-size: 14px; white-space: nowrap; }
.buybar .p-cta.sm { white-space: nowrap; }
.cof { background: #fff; border-radius: 14px; padding: 6px; display: grid; gap: 3px; border: 1px solid #f0e6dc; }
.cof .ph { height: 80px; border-radius: 10px; }
.cof strong { color: var(--a); }
.plus { width: 24px; height: 24px; border-radius: 50%; background: var(--a); color: #fff; font-weight: 700; }
.special { display: flex; align-items: center; gap: 8px; background: var(--a2); border-radius: 14px; padding: 10px; }
.special > div { flex: 1; display: grid; gap: 2px; }
.special .ph { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; }
.special strong { color: var(--a); }
.cof-hero { position: relative; height: 150px; margin: -8px -14px 4px; }
.cof-hero .back { position: absolute; top: 10px; right: 12px; background: #fff; }
.cof-hero .fav { position: absolute; top: 10px; left: 12px; background: #fff; }
.cof-hero .fav.on { color: #d33; }
.extra { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px dashed #e6e6ea; }
.extra span { flex: 1; }
.extra input { accent-color: var(--a); }
.eta { display: flex; align-items: center; justify-content: space-between; background: var(--a2); border-radius: 14px; padding: 12px; }
.eta b { font-size: 18px; color: var(--a); }
.eta em { font-style: normal; font-size: 30px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 11px; left: 12%; right: 12%; height: 2px; background: #e6e6ea; }
.steps span { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 9px; text-align: center; color: #8a8a93; }
.steps i { width: 22px; height: 22px; border-radius: 50%; background: #e6e6ea; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; transition: .3s; }
.steps span.done { color: #1d1d1f; font-weight: 600; }
.steps span.done i { background: var(--a); color: #fff; }
.tech, .help { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #efeff2; border-radius: 12px; padding: 8px; }
.tech em, .help em { font-style: normal; font-size: 24px; }
.tech > div, .help > div { flex: 1; }
.help { justify-content: space-between; }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 6px; border-radius: 14px; padding: 12px; background: linear-gradient(135deg, #5b2e14, #8c4a24); color: #fff; }
.offer span { background: #fff; color: var(--a); border-radius: 8px; padding: 3px 8px; font-weight: 700; font-size: 10px; }
.avatar { background: #ffe1cc; }

/* Real photos inside the phones */
.banner-pic { width: 80px; height: 80px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.banner-pic .ph, .cat-pic .ph, .prod-pic .ph, .svc-img .ph, .care-img .ph, .hero-prod .ph { width: 100%; height: 100%; }
.cat-pic { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; }
.cat-pic .ph::before { font-size: 18px; }
.prod-pic { height: 70px; border-radius: 10px; overflow: hidden; }
.svc-img { overflow: hidden; }
.svc-img span { z-index: 1; }
.care-img { overflow: hidden; }
.care-img .heart { z-index: 1; }
.hero-prod { overflow: hidden; }
.wf .phone img { opacity: 0; }
.wf .phone .ph { background: #e3e3e8 !important; }
.wf .phone .ph::before { filter: grayscale(1) opacity(.25); }

/* Wireframe version: same screen, colors stripped */
.wf-wrap { display: grid; justify-items: center; gap: 10px; margin: 0; }
.wf-wrap figcaption { font-weight: 700; font-size: 15px; color: var(--ink); }
.wf-arrow { align-self: center; font-size: 34px; color: var(--a); }
.wf .phone * { color: #9a9aa3 !important; border-color: #e3e3e8 !important; box-shadow: none !important; }
.wf .phone .banner, .wf .phone .offer, .wf .phone .ico-btn, .wf .phone .cats span, .wf .phone .prod, .wf .phone .pill-w, .wf .phone .search { background: #ececf0 !important; }
.wf .phone em, .wf .phone .pile, .wf .phone .tabbar b { filter: grayscale(1) opacity(.25); }
.wf .phone .offer span, .wf .phone .accent2 { background: #dcdce2 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
  .d-kpis { grid-template-columns: repeat(2, 1fr); }
  .full-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .edu-bundle { grid-template-columns: 1fr; }
  .private-grid { grid-template-columns: repeat(2, 1fr); }
  .app-pane { grid-template-columns: 1fr; padding: 24px; }
  .phones { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 76px; inset-inline: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 16px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .brand img { height: 34px; }
  section { padding: 68px 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .d-split { grid-template-columns: 1fr; }
  .showcase { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 6px 16px 20px; scrollbar-width: none; }
  .showcase::-webkit-scrollbar { display: none; }
  .screen { position: relative; inset: auto !important; flex: 0 0 82%; transform: none !important; animation: none; scroll-snap-align: center; }
  .swipe-hint { display: block; text-align: center; font-size: 13px !important; color: #c9c4f2; margin-top: -4px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust li { font-size: 13px; padding: 7px 12px; }
  .fields { grid-template-columns: 1fr; }
  .tier-opts, .price-grid, .edu-grid, .edu-bundle ul { grid-template-columns: 1fr; }
  .edu-bundle { padding: 22px; }
  .private { padding: 22px 18px; }
  .app-pane { padding: 22px 0; border-radius: 22px; }
  .app-info { padding: 0 18px; }
  .phones { flex-direction: column; align-items: center; gap: 26px; overflow: visible; padding: 10px 0 8px; }
  .phones .phone { flex: none; width: 250px; }
  .apps-tabs { gap: 6px; }
  .apps-tabs button { padding: 8px 12px; font-size: 13.5px; }
  .wf-arrow { display: none; }
  .private-foot .btn { width: 100%; }
  .wizard { padding: 20px; }
  .cta { padding: 30px 22px; }
  .hero { padding: 48px 0 64px; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
