/* REQ-459 «عرض CNS» — the sales page (no sign-in). Arabic first, RTL. */
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url(fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Cairo'; font-weight: 200 1000; font-display: swap; src: url(fonts/cairo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-900: #04111f; --navy-800: #071c33; --navy-700: #0b2a4a; --navy-600: #113a63;
  --blue: #1677d2; --blue-2: #3aa0ff; --green: #10b981; --teal: #14b8a6; --amber: #f5a524; --red: #ef4444;
  --ink: #0d1b2a; --ink-2: #3b4a5c; --muted: #6b7a8c; --line: #e3e9f1; --bg: #f5f8fc; --card: #ffffff;
  --grad: linear-gradient(120deg, #3aa0ff 0%, #10b981 100%);
  --radius: 22px; --shadow: 0 10px 30px rgba(11, 42, 74, .08), 0 2px 6px rgba(11, 42, 74, .05);
  --shadow-lg: 0 30px 80px rgba(4, 17, 31, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: .2px; background: rgba(16, 185, 129, .1); padding: 4px 14px; border-radius: 99px; }
.dark .eyebrow { background: rgba(58, 160, 255, .14); color: #8fd0ff; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
h2.title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; margin: 14px 0 10px; }
p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 760px; margin: 0; }
.dark p.lead { color: #b9c9db; }
section { position: relative; padding: clamp(70px, 9vw, 120px) 0; }
section.dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(58, 160, 255, .22), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(16, 185, 129, .18), transparent 60%), var(--navy-800); color: #fff; }
.center { text-align: center; } .center p.lead { margin-inline: auto; }

/* ---------- top bar ---------- */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.top.solid { background: rgba(7, 28, 51, .82); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0, 0, 0, .2); }
.top .bar { display: flex; align-items: center; gap: 14px; height: 70px; }
.logo { background: #fff; border-radius: 14px; padding: 7px 14px; display: flex; align-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.logo img { height: 30px; width: auto; }
.top nav { display: flex; gap: 4px; margin-inline-start: 10px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: #cfe0f2; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 7px 12px; border-radius: 10px; white-space: nowrap; transition: background .2s, color .2s; }
.top nav a:hover, .top nav a.on { background: rgba(255, 255, 255, .1); color: #fff; }
.tbtn { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 12px; padding: 8px 14px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s; }
.tbtn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.tbtn.primary { background: var(--grad); border-color: transparent; box-shadow: 0 8px 24px rgba(16, 185, 129, .35); }
.progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; background: var(--grad); z-index: 60; width: 0; transition: width .1s linear; }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 110px; overflow: hidden; }
.hero canvas#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero .grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 900; letter-spacing: -.5px; margin: 18px 0 18px; }
.hero .for { display: none; margin-top: 4px; font-size: 15px; color: #9fc3e6; }
.hero .for.show { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); padding: 6px 14px; border-radius: 99px; }
.hero .for b { color: #fff; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font-weight: 800; font-size: 16.5px; border-radius: 14px; padding: 14px 24px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px rgba(16, 185, 129, .35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(16, 185, 129, .45); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn.ghost:hover { background: rgba(255, 255, 255, .15); }
.btn.light { background: #fff; color: var(--navy-700); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #d8e7f6; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 7px 14px; border-radius: 99px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }

/* device mockups */
.devices { position: relative; height: 520px; perspective: 1400px; }
.laptop { position: absolute; inset-inline-end: 0; top: 30px; width: 100%; max-width: 640px; transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.laptop .screen { background: #0e1a28; border-radius: 18px 18px 6px 6px; padding: 12px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); }
.laptop .screen .view { border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; background: #f3f6fa; position: relative; }
.laptop .screen .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .8s; }
.laptop .base { height: 16px; margin: 0 -26px; background: linear-gradient(#cfd8e3, #8d9aab); border-radius: 0 0 22px 22px; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
.phone { position: absolute; width: 170px; inset-inline-start: 10px; bottom: -10px; transform: rotate(-6deg); animation: float 6s ease-in-out infinite reverse; z-index: 3; }
.phone .body, .pframe .body { background: #0b1522; border-radius: 30px; padding: 9px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); }
.phone .body .view, .pframe .body .view { border-radius: 22px; overflow: hidden; aspect-ratio: 390/844; background: #fff; }
.phone img, .pframe img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.badge-float { position: absolute; z-index: 4; background: #fff; color: var(--ink); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; animation: float 5s ease-in-out infinite; }
.badge-float small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.badge-float .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.badge-float.b1 { top: 0; inset-inline-start: 8%; }
.badge-float.b2 { bottom: 70px; inset-inline-end: -10px; animation-delay: -2s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: #9fc3e6; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-hint span { width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; border-radius: 2px; background: #fff; translate: -50% 0; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.sector { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 18px; cursor: pointer; text-align: start; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.sector::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .3s; }
.sector > * { position: relative; }
.sector .ic { font-size: 30px; }
.sector b { display: block; font-size: 17px; margin-top: 8px; }
.sector small { color: var(--muted); font-size: 13.5px; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d8ea; }
.sector.on { border-color: transparent; color: #fff; box-shadow: 0 16px 40px rgba(22, 119, 210, .3); }
.sector.on::before { opacity: 1; }
.sector.on small { color: rgba(255, 255, 255, .85); }

/* ---------- pains (flip) ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.flip { perspective: 1200px; height: 250px; cursor: pointer; }
.flip .in3d { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.flip.open .in3d { transform: rotateY(180deg); }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.flip .front { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flip .front .ic { width: 52px; height: 52px; border-radius: 16px; background: #fff1f1; display: grid; place-items: center; font-size: 26px; }
.flip .front b { font-size: 18.5px; margin-top: 16px; }
.flip .front p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.flip .front .hint { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--blue); }
.flip .back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--navy-700), var(--navy-600)); color: #fff; }
.flip .back .ok { width: 52px; height: 52px; border-radius: 16px; background: rgba(16, 185, 129, .18); display: grid; place-items: center; font-size: 26px; }
.flip .back b { font-size: 18px; margin-top: 14px; }
.flip .back p { color: #c9daec; margin: 8px 0 0; font-size: 15px; }

/* ---------- timeline (a day) ---------- */
.day { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.dcol { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 26px; }
.dcol h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dcol.bad h3 { color: #ffb4b4; } .dcol.good h3 { color: #8ff0c9; }
.tl { position: relative; padding-inline-start: 26px; }
.tl::before { content: ''; position: absolute; inset-inline-start: 7px; top: 6px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, .14); }
.tl .fill { position: absolute; inset-inline-start: 7px; top: 6px; width: 2px; height: 0; background: var(--green); transition: height 2.4s ease; }
.dcol.bad .tl .fill { background: var(--red); }
.tl.go .fill { height: calc(100% - 12px); }
.step { position: relative; padding: 6px 0 16px; opacity: .25; transform: translateX(-10px); transition: opacity .5s, transform .5s; }
.tl.go .step { opacity: 1; transform: none; }
.step::before { content: ''; position: absolute; inset-inline-start: -25px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-800); border: 2px solid var(--green); }
.dcol.bad .step::before { border-color: var(--red); }
.step time { font-weight: 900; font-size: 15px; color: #8fd0ff; direction: ltr; display: inline-block; min-width: 58px; }
.step span { color: #e2ecf6; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); cursor: pointer; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.svc::after { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.svc:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(11, 42, 74, .14); }
.svc:hover::after, .svc.open::after { transform: scaleX(1); }
.svc .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 27px; background: linear-gradient(135deg, rgba(58, 160, 255, .14), rgba(16, 185, 129, .14)); }
.svc b { display: block; font-size: 19px; margin-top: 16px; }
.svc p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.svc ul { margin: 0; padding: 0; list-style: none; max-height: 0; overflow: hidden; transition: max-height .5s ease, margin .3s; }
.svc.open ul { max-height: 400px; margin-top: 14px; }
.svc li { position: relative; padding-inline-start: 24px; margin: 7px 0; font-size: 15px; color: var(--ink-2); }
.svc li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 900; }
.svc .more { margin-top: 12px; font-size: 13.5px; font-weight: 800; color: var(--blue); }

/* ---------- sites (connections) ---------- */
.opts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.opt { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #e4eef8; border-radius: 16px; padding: 12px 20px; cursor: pointer; font-weight: 800; font-size: 15.5px; transition: all .25s; text-align: start; }
.opt small { display: block; font-weight: 600; font-size: 12.5px; color: #9fbad6; }
.opt.on { background: #fff; color: var(--navy-700); border-color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.opt.on small { color: var(--muted); }
.opt.best::after { content: 'الأنسب ليكم'; display: inline-block; margin-inline-start: 8px; font-size: 11.5px; background: var(--green); color: #fff; padding: 1px 8px; border-radius: 99px; vertical-align: middle; }
.site-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; margin-top: 30px; align-items: stretch; }
.diagram { background: rgba(4, 17, 31, .55); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 18px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram .node rect { fill: #0f2c4c; stroke: rgba(143, 208, 255, .45); stroke-width: 1.5; }
.diagram .node text { fill: #e8f2fc; font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 700; }
.diagram .node .sub { fill: #8fb3d6; font-size: 12px; font-weight: 600; }
.diagram .wire { fill: none; stroke: rgba(143, 208, 255, .28); stroke-width: 2; stroke-dasharray: 6 6; }
.diagram .tunnel { fill: none; stroke: url(#tg); stroke-width: 4; stroke-linecap: round; }
.diagram .pkt { fill: #10b981; filter: drop-shadow(0 0 6px #10b981); }
.diagram .pkt.b { fill: #3aa0ff; filter: drop-shadow(0 0 6px #3aa0ff); }
.diagram .lock { font-size: 18px; }
.panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.panel h3 { font-size: 22px; }
.panel .fit { display: inline-block; margin-top: 8px; background: #eaf6ff; color: var(--blue); font-weight: 800; font-size: 13.5px; padding: 4px 12px; border-radius: 99px; }
.meters { margin: 18px 0 6px; display: grid; gap: 12px; }
.meter { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.meter .track { height: 10px; background: #edf2f8; border-radius: 99px; overflow: hidden; }
.meter .val { height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.pros { list-style: none; padding: 0; margin: 12px 0 0; }
.pros li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; display: flex; gap: 10px; }
.pros li:last-child { border-bottom: 0; }
.pros li .k { flex: 0 0 22px; font-weight: 900; }
.pros li.p .k { color: var(--green); } .pros li.c .k { color: var(--amber); }
.note-ip { margin-top: 26px; display: flex; gap: 14px; align-items: center; background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35); color: #c7f5e3; border-radius: 18px; padding: 16px 20px; font-weight: 700; }
.note-ip .big { font-size: 28px; }
.later { margin-top: 14px; display: flex; gap: 12px; align-items: center; color: #b9c9db; font-size: 15px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(255, 255, 255, .2); border-radius: 18px; padding: 14px 20px; }
/* recommender */
.rec { margin-top: 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: 18px; align-items: end; }
.rec label { font-size: 14px; font-weight: 700; color: #cfe0f2; display: block; }
.rec output { float: inline-end; color: #fff; font-weight: 900; }
.rec input[type=range] { width: 100%; accent-color: var(--green); margin-top: 8px; }
.rec .seg { display: flex; margin-top: 8px; background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 3px; }
.rec .seg button { flex: 1; border: 0; background: transparent; color: #cfe0f2; border-radius: 9px; padding: 6px 4px; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.rec .seg button.on { background: #fff; color: var(--navy-700); }
.rec .out { background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px; font-weight: 800; }
.rec .out small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }

/* ---------- portal showcase ---------- */
.show { display: grid; grid-template-columns: 340px 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.feats { display: flex; flex-direction: column; gap: 8px; }
.feat { text-align: start; background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: all .25s; display: flex; gap: 12px; align-items: flex-start; }
.feat .ic { flex: 0 0 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: #eef4fb; transition: background .25s; }
.feat b { display: block; font-size: 16.5px; }
.feat small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.feat:hover { background: #fff; border-color: var(--line); }
.feat.on { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.feat.on .ic { background: var(--grad); }
.stage { position: sticky; top: 90px; }
.browser { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser .chrome { height: 40px; background: #eef2f7; display: flex; align-items: center; gap: 7px; padding: 0 14px; direction: ltr; }
.browser .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .browser .chrome i:nth-child(2) { background: #febc2e; } .browser .chrome i:nth-child(3) { background: #28c840; }
.browser .chrome .url { margin-left: 12px; flex: 1; background: #fff; border-radius: 8px; height: 24px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; }
.browser .view { position: relative; aspect-ratio: 16/10; background: #f3f6fa; overflow: hidden; }
.browser .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .6s, transform 1.2s; }
.browser .view img.on { opacity: 1; transform: none; }
.caption { margin-top: 16px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.caption .ic { font-size: 24px; }
.caption b { display: block; font-size: 17px; }
.caption p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.groups { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.group { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 18px; cursor: pointer; font-weight: 800; font-size: 14.5px; color: var(--ink-2); transition: all .25s; }
.group.on { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.allfeat { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fg { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; }
.fg h4 { margin: 0 0 8px; font-size: 16.5px; display: flex; gap: 8px; align-items: center; }
.fg ul { margin: 0; padding: 0; list-style: none; }
.fg li { font-size: 14.5px; color: var(--ink-2); padding: 4px 0; padding-inline-start: 18px; position: relative; }
.fg li::before { content: ''; position: absolute; inset-inline-start: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* phones row */
.phones { display: flex; justify-content: center; gap: 30px; margin-top: 50px; flex-wrap: wrap; }
.pframe { width: 230px; transition: transform .4s; }
.pframe:nth-child(2) { transform: translateY(-26px); }
.pframe:hover { transform: translateY(-10px) scale(1.02); }
.pframe figcaption { text-align: center; margin-top: 14px; font-weight: 800; color: #e3eef9; }

/* ---------- quiz ---------- */
.quiz { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.qlist { display: grid; gap: 10px; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: border-color .2s, box-shadow .2s; }
.q span { flex: 1; font-weight: 700; font-size: 15.5px; }
.q .yn { display: flex; gap: 6px; }
.q .yn button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 5px 14px; font-weight: 800; cursor: pointer; color: var(--ink-2); transition: all .2s; }
.q .yn button.y.on { background: var(--green); border-color: var(--green); color: #fff; }
.q .yn button.n.on { background: var(--red); border-color: var(--red); color: #fff; }
.gauge { position: sticky; top: 90px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; }
.gauge svg { width: 230px; height: 230px; }
.gauge .num { font-size: 56px; font-weight: 900; }
.gauge .verdict { font-weight: 900; font-size: 20px; margin-top: 6px; }
.gauge .tips { text-align: start; margin-top: 14px; display: grid; gap: 8px; }
.gauge .tip { background: #fff7ed; border-radius: 12px; padding: 9px 12px; font-size: 14px; color: #8a4b0b; font-weight: 600; }
.gauge .tip.good { background: #ecfdf5; color: #0f766e; }

/* ---------- layers ---------- */
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.rings { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; width: 100%; }
.ring { position: absolute; border-radius: 50%; display: flex; align-items: flex-start; justify-content: center; border: 1.5px solid rgba(143, 208, 255, .35); cursor: pointer; transition: background .3s, border-color .3s, transform .6s; }
.ring span { margin-top: 3.2%; font-size: clamp(11px, 1.15vw, 14px); font-weight: 800; color: #cfe6ff; background: var(--navy-800); padding: 0 10px; border-radius: 99px; translate: 0 -55%; white-space: nowrap; }
.ring.on { background: rgba(58, 160, 255, .12); border-color: var(--green); }
.ring.on span { color: #fff; background: var(--green); }
.core { position: absolute; inset: 40%; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: clamp(18px, 3vw, 34px); box-shadow: 0 0 60px rgba(16, 185, 129, .6); animation: pulse 2.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 40px rgba(16, 185, 129, .45); } 50% { box-shadow: 0 0 80px rgba(58, 160, 255, .7); } }
.ldesc { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; min-height: 230px; }
.ldesc h3 { font-size: 24px; }
.ldesc p { color: #c9daec; font-size: 16px; }
.ldesc ul { padding-inline-start: 20px; color: #e2ecf6; }

/* ---------- how we work ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; inset-inline: 10%; height: 3px; background: var(--line); }
.steps .bar2 { position: absolute; top: 34px; inset-inline-start: 10%; height: 3px; width: 0; background: var(--grad); transition: width 2s ease; }
.steps.go .bar2 { width: 80%; }
.stp { position: relative; text-align: center; }
.stp .n { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-size: 28px; position: relative; z-index: 1; transition: border-color .4s, transform .4s; }
.steps.go .stp .n { border-color: var(--green); }
.stp:hover .n { transform: scale(1.08); }
.stp b { display: block; margin-top: 14px; font-size: 17px; }
.stp p { color: var(--muted); font-size: 14.5px; margin: 4px 0 0; }

/* ---------- website ---------- */
.site-shots { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 40px; }
.site-shots .browser .view { aspect-ratio: 16/10; }
.site-shots .stack { display: grid; gap: 20px; }
.site-shots .browser .view img { opacity: 1; transform: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.form label { font-size: 14px; font-weight: 700; color: var(--ink-2); display: grid; gap: 6px; }
.form input, .form textarea, .form select { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 15.5px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 119, 210, .12); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .msg { font-weight: 700; font-size: 15px; } .form .msg.ok { color: var(--green); } .form .msg.err { color: var(--red); }
.form { position: relative; } .form .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.cards-c { display: grid; gap: 14px; }
.cc { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 18px 20px; text-decoration: none; color: #fff; transition: background .2s, transform .2s; }
.cc:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.cc .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: rgba(16, 185, 129, .18); }
.cc b { display: block; font-size: 17px; }
.cc small { color: #a9c0d8; font-size: 14px; direction: ltr; display: inline-block; }
.qrs { display: flex; gap: 16px; }
.qrbox { background: #fff; border-radius: 18px; padding: 12px; text-align: center; color: var(--ink); width: 160px; }
.qrbox img { width: 136px; height: 136px; margin: 0 auto; }
.qrbox small { display: block; font-weight: 800; font-size: 13px; margin-top: 6px; }
footer { background: var(--navy-900); color: #8ea5bd; padding: 30px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* ---------- presentation mode ---------- */
body.present section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; }
html.present { scroll-snap-type: y mandatory; }
.pnav { position: fixed; z-index: 55; inset-inline-start: 18px; bottom: 18px; display: none; gap: 8px; }
body.present .pnav { display: flex; }
.pnav button { width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(7, 28, 51, .85); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-lg); }
.dots { position: fixed; z-index: 55; inset-inline-end: 16px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 10px; }
.dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(120, 140, 165, .45); display: block; transition: all .25s; position: relative; }
.dots a.on { background: var(--green); height: 26px; border-radius: 6px; }
.dots a span { position: absolute; inset-inline-end: 20px; top: 50%; translate: 0 -50%; white-space: nowrap; background: var(--navy-700); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dots a:hover span { opacity: 1; }
.toast { position: fixed; bottom: 20px; left: 50%; translate: -50% 20px; background: var(--navy-700); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 700; opacity: 0; transition: all .3s; z-index: 70; pointer-events: none; }
.toast.on { opacity: 1; translate: -50% 0; }
.forbox { display: none; position: fixed; z-index: 80; inset: 0; background: rgba(4, 17, 31, .6); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.forbox.on { display: flex; }
.forbox .in { background: #fff; border-radius: 20px; padding: 24px; width: min(420px, 92vw); display: grid; gap: 12px; }
.forbox input { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero .grid, .site-grid, .show, .quiz, .layers, .contact, .day, .site-shots { grid-template-columns: 1fr; }
  .devices { height: 420px; }
  .sectors, .pains { grid-template-columns: repeat(2, 1fr); }
  .services, .allfeat { grid-template-columns: repeat(2, 1fr); }
  .rec { grid-template-columns: 1fr 1fr; }
  .stage, .gauge { position: static; }
  .show .stage { order: -1; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  .pains, .services, .allfeat, .steps, .rec { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 10px; } .sector { padding: 14px 12px; } .sector small { display: none; }
  .steps::before, .steps .bar2 { display: none; }
  .devices { height: 330px; } .phone { width: 120px; } .badge-float { display: none; }
  .form .row2 { grid-template-columns: 1fr; }
  .dots { display: none; }
  .top .tbtn.hide-sm { display: none; }
  .pframe { width: 200px; } .pframe:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
@media print {
  .top, .dots, .pnav, .progress, .scroll-hint, canvas, .forbox, .toast, .form, .rec { display: none !important; }
  section { padding: 40px 0; break-inside: avoid; } section.dark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rv { opacity: 1 !important; transform: none !important; }
  .flip { height: auto; } .flip .in3d { transform: none !important; } .flip .face { position: static; } .flip .back { transform: none; margin-top: 8px; }
  .svc ul { max-height: none; margin-top: 10px; }
  .hero { min-height: auto; padding-top: 40px; }
}
