/* Nevinx — site styles v3. RTL (Arabic) and LTR (English) via logical properties. */
:root {
  --bg: #070B16;
  --bg-2: #0A0F1F;
  --panel: #0F1629;
  --panel-2: #141D33;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --blue: #2F6BFF;
  --blue-2: #6F9BFF;
  --blue-dark: #1F4FD1;
  --mint: #2EE6A8;
  --text: #FFFFFF;
  --muted: #A9B2C7;
  --dim: #6B7590;
  --radius: 22px;
  --max: 1220px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-head: "Sora", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
a { color: var(--blue-2); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(46, 230, 168, .3); }

.container { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.grad { background-image: linear-gradient(100deg, var(--blue-2) 10%, var(--mint) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .grad { background-image: linear-gradient(260deg, var(--blue-2) 10%, var(--mint) 90%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
[dir="rtl"] .btn:hover .i { transform: scaleX(-1) translateX(4px); }
.btn-primary { background: linear-gradient(180deg, #4A80FF, var(--blue)); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 14px 34px -12px rgba(47, 107, 255, .85); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 20px 44px -12px rgba(47, 107, 255, .95); }
.btn-ghost { color: #fff; border-color: var(--border-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .07); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .94rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 22, .6); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(7, 11, 22, .85); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { flex: none; display: inline-flex; }
.logo img { height: 30px; width: auto; }
.nav nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: 2px; }
.nav ul a { display: inline-flex; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s, background .2s; }
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { color: var(--mint); text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid rgba(46, 230, 168, .35); border-radius: 999px; padding: 8px 15px; transition: all .2s; }
.lang:hover { color: #fff; border-color: var(--mint); background: rgba(46, 230, 168, .08); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .close, .nav.is-open .menu-toggle .open { display: none; }
.nav.is-open .menu-toggle .close { display: block; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-bg .gridlines { position: absolute; inset: -2px; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 72%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: var(--blue); top: -180px; inset-inline-end: -120px; }
.orb-2 { width: 380px; height: 380px; background: var(--mint); bottom: -200px; inset-inline-start: -120px; opacity: .22; animation-delay: -6s; }
.orb-3 { width: 260px; height: 260px; background: #7B5CFF; top: 30%; inset-inline-start: 40%; opacity: .18; animation-delay: -12s; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46, 230, 168, .18); animation: pulse 2.4s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
html[lang="ar"] .hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.7rem); }
.hero .lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 54ch; margin-top: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { width: 18px; height: 18px; color: var(--mint); }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }

/* Hero stage: dashboard + code panel */
.stage { position: relative; direction: ltr; min-height: 470px; animation: rise 1.1s .2s var(--ease) both; }
.panel { position: absolute; background: linear-gradient(180deg, rgba(20, 29, 51, .96), rgba(15, 22, 41, .96)); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; }
.bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.bar > span:first-child { background: #FF5F57; opacity: .7; }
.bar > span:nth-child(2) { background: #FEBC2E; opacity: .7; }
.bar > span:nth-child(3) { background: #28C840; opacity: .7; }
.bar .url { margin-inline-start: 10px; flex: 1; display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); background: rgba(255, 255, 255, .05); border-radius: 7px; padding: 4px 10px; font-family: var(--font-body); }
.bar .url .i { width: 12px; height: 12px; color: var(--mint); }
.dash { inset-inline-start: 0; top: 0; width: 88%; }
.dash-body { display: grid; grid-template-columns: 54px 1fr; min-height: 330px; }
.dash-side { border-inline-end: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dash-side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.dash-side span:first-child { background: var(--blue); }
.dash-main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, .025); }
.kpi i { display: block; height: 7px; width: 50%; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.kpi b { display: block; height: 14px; width: 70%; margin-top: 10px; border-radius: 5px; background: rgba(255, 255, 255, .32); }
.kpi:nth-child(2) b { background: var(--mint); opacity: .75; }
.chart { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: rgba(255, 255, 255, .02); }
.chart svg { width: 100%; height: 130px; display: block; }
.chart .area { fill: url(#g-area); }
.chart .line { fill: none; stroke: var(--blue-2); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .6s var(--ease) forwards; }
.chart .gl { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.code { inset-inline-end: 0; bottom: 0; width: 64%; }
.code pre { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: .8rem; line-height: 1.75; color: #D6DCEB; white-space: pre; overflow: hidden; }
.code .k { color: #8FB0FF; } .code .f { color: var(--mint); } .code .s { color: #FFC56E; } .code .b { color: #FF7AA8; } .code .c { color: var(--dim); }
.caret { display: inline-block; width: 7px; height: 1em; background: var(--mint); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: rgba(15, 22, 41, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--border-2); border-radius: 14px; padding: 9px 14px 9px 9px; font-size: .86rem; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7); animation: float 6s ease-in-out infinite; font-family: var(--font-ar); }
html[lang="en"] .chip { font-family: var(--font-body); }
.chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(46, 230, 168, .14); color: var(--mint); }
.chip .ic .i { width: 16px; height: 16px; }
.chip-a { top: -18px; right: 14%; }
.chip-b { top: 46%; left: -26px; animation-delay: -2s; }
.chip-b .ic { background: rgba(47, 107, 255, .2); color: var(--blue-2); }
.chip-c { bottom: -22px; right: -14px; animation-delay: -4s; }

/* Marquee */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 14px; padding-inline: 26px; font-size: 1.12rem; font-weight: 600; color: #D6DCEB; white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-inline-start: 26px; opacity: .8; }

/* Sections */
section { padding-block: clamp(84px, 10vw, 128px); position: relative; }
.alt { background: var(--bg-2); }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.12rem; }

/* Spotlight surface */
.spot { position: relative; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, .13), transparent 45%), var(--panel); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .35s var(--ease), transform .35s var(--ease); }
.spot:hover { border-color: rgba(111, 155, 255, .35); transform: translateY(-4px); }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.show { padding: 14px 14px 30px; overflow: hidden; }
.mock { direction: ltr; height: 230px; border-radius: 14px; background: linear-gradient(180deg, #121B31, #0C1324); border: 1px solid var(--border); overflow: hidden; position: relative; }
.mock .bar { padding: 9px 11px; }
.mock .bar > span { width: 8px; height: 8px; }
.show h3 { font-size: 1.3rem; margin: 26px 16px 8px; }
.show p { color: var(--muted); margin-inline: 16px; }
.m { display: block; border-radius: 5px; background: rgba(255, 255, 255, .1); }
/* website mock */
.m-site { padding: 14px; display: grid; gap: 9px; }
.m-site .top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.m-site .top .m { width: 46px; height: 8px; background: rgba(255, 255, 255, .3); }
.m-site .top div { display: flex; gap: 6px; }
.m-site .top div .m { width: 22px; height: 6px; background: rgba(255, 255, 255, .12); }
.m-site .h { height: 14px; width: 74%; background: rgba(255, 255, 255, .28); }
.m-site .h2 { height: 14px; width: 48%; background: linear-gradient(90deg, var(--blue-2), var(--mint)); opacity: .8; }
.m-site .t { height: 6px; width: 84%; }
.m-site .btns { display: flex; gap: 8px; margin-top: 4px; }
.m-site .btns .m { width: 62px; height: 20px; border-radius: 999px; background: var(--blue); }
.m-site .btns .m + .m { background: transparent; border: 1px solid rgba(255, 255, 255, .22); }
.m-site .art { position: absolute; inset-inline-end: 14px; bottom: 14px; width: 92px; height: 92px; border-radius: 18px; background: linear-gradient(135deg, rgba(47, 107, 255, .7), rgba(46, 230, 168, .5)); transform: rotate(8deg); transition: transform .6s var(--ease); }
.show:hover .m-site .art { transform: rotate(0) scale(1.05); }
/* dashboard mock */
.m-dash { display: grid; grid-template-columns: 38px 1fr; height: calc(100% - 27px); }
.m-dash .side { border-inline-end: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 12px; }
.m-dash .side .m { width: 16px; height: 16px; border-radius: 5px; }
.m-dash .side .m:first-child { background: var(--mint); }
.m-dash .main { padding: 12px; display: grid; gap: 10px; align-content: start; }
.m-dash .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.m-dash .cards .m { height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); }
.m-dash .bars { display: flex; align-items: flex-end; gap: 7px; height: 100px; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.m-dash .bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--blue-2), rgba(47, 107, 255, .3)); transform-origin: bottom; transition: transform .6s var(--ease); }
.m-dash .bars span:nth-child(1) { height: 40%; } .m-dash .bars span:nth-child(2) { height: 65%; } .m-dash .bars span:nth-child(3) { height: 50%; } .m-dash .bars span:nth-child(4) { height: 82%; } .m-dash .bars span:nth-child(5) { height: 60%; } .m-dash .bars span:nth-child(6) { height: 92%; background: linear-gradient(180deg, var(--mint), rgba(46, 230, 168, .3)); } .m-dash .bars span:nth-child(7) { height: 72%; }
.show:hover .m-dash .bars span { transform: scaleY(1.08); }
/* store mock */
.m-store { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.m-store .p { border-radius: 10px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); padding: 7px; display: grid; gap: 6px; }
.m-store .img { height: 58px; border-radius: 7px; transition: transform .5s var(--ease); }
.m-store .p:nth-child(1) .img { background: linear-gradient(135deg, #2F6BFF, #6F9BFF); }
.m-store .p:nth-child(2) .img { background: linear-gradient(135deg, #2EE6A8, #1BA57A); }
.m-store .p:nth-child(3) .img { background: linear-gradient(135deg, #7B5CFF, #B39CFF); }
.m-store .p:nth-child(4) .img { background: linear-gradient(135deg, #FFC56E, #FF8E5E); }
.m-store .p:nth-child(5) .img { background: linear-gradient(135deg, #FF7AA8, #C94F7C); }
.m-store .p:nth-child(6) .img { background: linear-gradient(135deg, #3BC8FF, #2F6BFF); }
.m-store .p .m { height: 5px; width: 80%; }
.m-store .p .m + .m { width: 45%; background: rgba(46, 230, 168, .6); }
.show:hover .m-store .img { transform: scale(1.05); }
.cart { position: absolute; top: 4px; inset-inline-end: 10px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 34px; }
.service .icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: linear-gradient(145deg, rgba(47, 107, 255, .25), rgba(47, 107, 255, .06)); border: 1px solid rgba(111, 155, 255, .25); color: var(--blue-2); transition: all .35s var(--ease); }
.service .icon .i { width: 24px; height: 24px; }
.service:hover .icon { background: var(--blue); color: #fff; border-color: transparent; box-shadow: 0 10px 26px -8px rgba(47, 107, 255, .8); }
.service h3 { font-size: 1.24rem; margin-bottom: 10px; }
.service p { color: var(--muted); }

/* Security feature */
.secure { margin-top: 22px; position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #0E1A2C, #0B1322); border: 1px solid rgba(46, 230, 168, .2); }
.secure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 360px at 85% 50%, rgba(46, 230, 168, .18), transparent 70%), radial-gradient(420px 300px at 5% 0%, rgba(47, 107, 255, .22), transparent 70%); }
[dir="rtl"] .secure::before { background: radial-gradient(520px 360px at 15% 50%, rgba(46, 230, 168, .18), transparent 70%), radial-gradient(420px 300px at 95% 0%, rgba(47, 107, 255, .22), transparent 70%); }
.secure h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 18ch; }
.secure p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; max-width: 58ch; }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i { color: var(--mint); margin-top: 5px; }
.secure .btn { margin-top: 32px; }
.shield { position: relative; justify-self: center; width: min(280px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.shield .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(46, 230, 168, .25); }
.shield .r1 { inset: 0; border-style: dashed; animation: spin 40s linear infinite; }
.shield .r2 { inset: 14%; border-color: rgba(46, 230, 168, .35); animation: ping 3.2s ease-out infinite; }
.shield .r3 { inset: 14%; }
.shield .core { width: 42%; aspect-ratio: 1; border-radius: 30%; background: linear-gradient(145deg, #16223A, #0F1629); border: 1px solid rgba(46, 230, 168, .45); display: grid; place-items: center; color: var(--mint); box-shadow: 0 0 70px -6px rgba(46, 230, 168, .5); }
.shield .core .i { width: 48%; height: 48%; stroke-width: 1.8; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { padding: 32px; }
.step .num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; background: var(--panel-2); border: 1px solid var(--border-2); margin-bottom: 22px; position: relative; z-index: 1; }
html[lang="ar"] .step .num { font-family: var(--font-ar); font-size: 1.15rem; }
.step:last-child .num { background: var(--blue); border-color: transparent; box-shadow: 0 0 30px -4px rgba(47, 107, 255, .8); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (min-width: 1001px) { .steps::before { content: ""; position: absolute; top: 57px; inset-inline: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 155, 255, .4), rgba(46, 230, 168, .4), transparent); } }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-intro .section-head { margin-bottom: 32px; }
.why-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { padding: 32px; }
.why-item .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(46, 230, 168, .1); color: var(--mint); margin-bottom: 20px; border: 1px solid rgba(46, 230, 168, .2); }
.why-item .ic .i { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.16rem; margin-bottom: 8px; }
.why-item p { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; transition: border-color .25s; }
.faq details[open] { border-color: rgba(111, 155, 255, .35); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: transform .3s var(--ease), background .3s; }
.faq .plus .i { width: 16px; height: 16px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--blue); }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* CTA + contact */
.contact { overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 460px at 50% 0%, rgba(47, 107, 255, .3), transparent 70%); }
.contact .section-head h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.contact-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(46, 230, 168, .1); color: var(--mint); border: 1px solid rgba(46, 230, 168, .2); margin-bottom: 6px; }
.contact-card .ic .i { width: 22px; height: 22px; }
.contact-card .label { color: var(--muted); font-size: .95rem; }
.contact-card a.value { color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; word-break: break-word; transition: color .2s; }
.contact-card a.value:hover { color: var(--mint); }
.phones { display: grid; gap: 6px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.socials a { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid var(--border-2); text-decoration: none; transition: all .3s var(--ease); }
.socials a .i { width: 22px; height: 22px; }
.socials a:hover { color: var(--bg); background: var(--mint); border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 12px 26px -10px rgba(46, 230, 168, .7); }
.footer-socials { margin-top: 22px; gap: 10px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 12px; }
.footer-socials a .i { width: 18px; height: 18px; }

/* Footer */
.site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--border); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-block: 60px 44px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: var(--dim); }

/* 404 */
.page-404 { min-height: 100vh; display: flex; align-items: center; }
.page-404 .container { width: 100%; }
.page-404 .logo { display: flex; width: max-content; margin-bottom: 56px; }
.page-404 h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.page-404 .lead { color: var(--muted); font-size: 1.2rem; margin-top: 20px; }
.page-404 .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .35s var(--ease); }
.js .stagger.is-visible > * { opacity: 1; transform: none; }
.js .stagger.is-visible > *:nth-child(2) { transition-delay: .08s, .08s, 0s; }
.js .stagger.is-visible > *:nth-child(3) { transition-delay: .16s, .16s, 0s; }
.js .stagger.is-visible > *:nth-child(4) { transition-delay: .24s, .24s, 0s; }
.js .stagger.is-visible > *:nth-child(5) { transition-delay: .32s, .32s, 0s; }
.js .stagger.is-visible > *:nth-child(6) { transition-delay: .4s, .4s, 0s; }
.js .stagger.is-visible > .spot:hover { transform: translateY(-4px); transition-delay: 0s; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, 30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(46, 230, 168, .18); } 50% { box-shadow: 0 0 0 8px rgba(46, 230, 168, .04); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .why-grid, .faq-grid, .secure { grid-template-columns: 1fr; }
  .stage { max-width: 600px; width: 100%; margin-inline: auto; margin-top: 20px; }
  .why-intro { position: static; }
  .showcase, .services, .contact-box { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .shield { width: 190px; justify-self: start; order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: rgba(7, 11, 22, .98); border-bottom: 1px solid var(--border); padding: 12px 24px 22px; }
  .js .nav.is-open nav { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav ul a { display: flex; padding: 13px 14px; font-size: 1.05rem; }
  .js .nav-actions { margin-inline-start: auto; }
  html:not(.js) .nav { flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .nav nav { order: 3; width: 100%; flex: none; justify-content: flex-start; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
  html:not(.js) .nav-actions { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .nav-cta { display: none; }
  .showcase, .services, .contact-box, .steps, .why-items { grid-template-columns: 1fr; }
  .hero .actions .btn { flex: 1 1 100%; }
  .stage { min-height: 400px; }
  .dash { width: 100%; }
  .code { width: 86%; }
  .code pre { font-size: .72rem; }
  .chip { font-size: .78rem; }
  .chip-b { left: -6px; }
  .service, .step, .why-item, .contact-card { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chart .line { stroke-dashoffset: 0; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}
