/* =========================================================
   THEME v2 — "Aurora" — bold, colorful, motion-rich
   Loaded after site.css and overrides it.
   ========================================================= */
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(../fonts/sora-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url(../fonts/sora-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url(../fonts/sora-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url(../fonts/alexandria-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Alexandria"; font-weight: 800; font-display: swap; src: url(../fonts/alexandria-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Readex Pro"; font-weight: 400; font-display: swap; src: url(../fonts/readex-pro-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Readex Pro"; font-weight: 500; font-display: swap; src: url(../fonts/readex-pro-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Readex Pro"; font-weight: 600; font-display: swap; src: url(../fonts/readex-pro-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --bg: #05060f;
  --bg-2: #090b1a;
  --surface: #0d1124;
  --surface-2: #141a35;
  --line: rgba(160, 170, 255, .12);
  --line-2: rgba(160, 170, 255, .22);
  --text: #f3f5ff;
  --muted: #9aa3c7;
  --accent: #5b7cff;
  --accent-2: #8ea2ff;
  --accent-3: #22e1ff;
  --violet: #9b5cff;
  --pink: #ff4fb3;
  --lime: #c8ff3d;
  --good: #3ff0a1;
  --grad: linear-gradient(110deg, #4f7dff 0%, #9b5cff 45%, #ff4fb3 75%, #ffb44f 100%);
  --grad-cool: linear-gradient(120deg, #22e1ff, #5b7cff 50%, #9b5cff);
  --glow: rgba(110, 90, 255, .45);
  --font: "Inter", "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Alexandria", "Inter", system-ui, sans-serif;
  --radius: 22px;
}
[data-theme="light"] {
  --bg: #f5f6ff; --bg-2: #eceffe; --surface: #ffffff; --surface-2: #f1f3ff;
  --line: rgba(40, 40, 120, .10); --line-2: rgba(40, 40, 120, .18);
  --text: #0b0d24; --muted: #565e85; --accent: #3d5cff; --accent-2: #4b5dff; --accent-3: #0891b2; --lime: #5b8a00; --good: #0f9d6b;
  --glow: rgba(80, 70, 255, .22);
}
body.rtl { --font: "Readex Pro", "Inter", system-ui, sans-serif; --display: "Alexandria", "Sora", system-ui, sans-serif; }

body { font-family: var(--font); background: var(--bg); }
h1, h2, h3, .stat strong, .btn, .kicker, .metric-tiles strong, .case-metrics strong, .res strong { font-family: var(--display); }
h1 { font-weight: 800; letter-spacing: -.035em; }
h2 { font-weight: 800; letter-spacing: -.03em; }
body.rtl h1, body.rtl h2 { letter-spacing: 0; font-weight: 800; }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.kicker { color: var(--lime); }
[data-theme="light"] .kicker { color: var(--accent); }

/* page-wide atmosphere */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
[data-theme="light"] body::before { background-image: linear-gradient(rgba(20,20,90,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,90,.05) 1px, transparent 1px); }
main, .site-footer, .site-header { position: relative; z-index: 1; }
.site-header { z-index: 50; }
.cursor-glow { position: fixed; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0;
  background: radial-gradient(circle, rgba(120, 90, 255, .16), transparent 65%); transform: translate(-50%, -50%); transition: opacity .3s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* buttons */
.btn { border-radius: 14px; font-weight: 700; letter-spacing: -.01em; }
body.rtl .btn { letter-spacing: 0; }
.btn-primary { position: relative; overflow: hidden; background: var(--grad-cool); background-size: 160% 100%; box-shadow: 0 10px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); transition: background-position .5s, transform .2s, box-shadow .2s; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 50px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); }
[data-theme="light"] .btn-ghost { background: #fff; }
.btn-ghost:hover { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155,92,255,.12); }

/* =============== HERO =============== */
.hero2 { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.aurora { position: absolute; inset: -30% -10% auto; height: 140%; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; background: #3b5bff; top: 0; inset-inline-end: -6vw; }
.aurora span:nth-child(2) { width: 34vw; height: 34vw; background: #9b3cff; top: 18%; inset-inline-end: 22vw; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 28vw; height: 28vw; background: #00c2ff; top: 46%; inset-inline-start: -6vw; animation-duration: 26s; opacity: .7; }
.aurora span:nth-child(4) { width: 18vw; height: 18vw; background: #ff3d9a; top: 8%; inset-inline-start: 30vw; animation-duration: 20s; opacity: .45; }
[data-theme="light"] .aurora { opacity: .35; }
[data-theme="light"] .aurora span { mix-blend-mode: multiply; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 3vw) scale(1.1); } 100% { transform: translate(-3vw, 5vw) scale(.92); } }
.hero2 .container { position: relative; }
.hero2-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: var(--text); margin-bottom: 26px; }
body.rtl .pill-live { padding: 7px 8px 7px 16px; }
.pill-live b { padding: 3px 10px; border-radius: 999px; background: var(--lime); color: #0b0d24; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.hero2 h1 { font-size: clamp(2.5rem, 6.4vw, 5.3rem); line-height: 1.02; margin-bottom: 22px; }
body.rtl .hero2 h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.25; }
.hero2 h1 .grad { display: inline; }
.rotator-line { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.5; margin: 0 0 20px; color: var(--text); }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; padding: 0 .35em; margin: 0 .1em; border-radius: 12px;
  background: linear-gradient(110deg, rgba(91,124,255,.22), rgba(155,92,255,.22)); border: 1px solid rgba(155,140,255,.35); overflow: hidden; }
.rotator span { grid-area: 1 / 1; white-space: nowrap; background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(110%); opacity: 0; transition: transform .6s cubic-bezier(.7,0,.2,1), opacity .4s; }
.rotator span.on { transform: none; opacity: 1; }
.rotator span.out { transform: translateY(-110%); opacity: 0; }
.no-js .rotator span:first-child { transform: none; opacity: 1; }
.hero2 .lead { font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 58ch; }
.markets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.markets span { padding: 6px 12px; border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.markets span:first-child { color: var(--text); border-color: transparent; background: none; padding-inline: 0; }

/* hero card stack */
.stage { position: relative; aspect-ratio: 1 / 1.08; perspective: 1400px; max-width: 520px; margin-inline: auto; width: 100%; }
.stage .tiltable { position: absolute; inset: 6% 10% 14% 8%; transform-style: preserve-3d; transition: transform .25s ease-out; }
.ghost-card { position: absolute; inset: 0; border-radius: 34px; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.ghost-card.g1 { background: linear-gradient(140deg, rgba(91,124,255,.55), rgba(155,92,255,.25)); transform: rotate(-9deg) translate(-6%, 3%) translateZ(-60px); animation: sway1 9s ease-in-out infinite; }
.ghost-card.g2 { background: linear-gradient(140deg, rgba(255,79,179,.42), rgba(255,180,79,.22)); transform: rotate(7deg) translate(7%, 2%) translateZ(-30px); animation: sway2 11s ease-in-out infinite; }
@keyframes sway1 { 50% { transform: rotate(-12deg) translate(-8%, 1%) translateZ(-60px); } }
@keyframes sway2 { 50% { transform: rotate(10deg) translate(9%, 4%) translateZ(-30px); } }
.photo-card { position: absolute; inset: 0; border-radius: 34px; overflow: hidden; transform: translateZ(20px); box-shadow: 0 50px 100px -30px rgba(40, 20, 140, .7);
  padding: 2px; background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease-in-out infinite alternate; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; }
.photo-card::after { content: ""; position: absolute; inset: 2px; border-radius: 32px; background: linear-gradient(180deg, transparent 55%, rgba(5,6,15,.7)); pointer-events: none; }
.deck { position: absolute; inset-inline-start: -4%; bottom: 0; width: 64%; height: 128px; z-index: 5; }
.deck .dcard { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 22px;
  background: rgba(14, 17, 40, .78); backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .8s cubic-bezier(.65,0,.25,1), opacity .8s; transform-origin: 50% 100%; }
[data-theme="light"] .deck .dcard { background: rgba(255,255,255,.85); border-color: rgba(40,40,120,.12); }
.dcard .ic-wrap { margin: 0; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-cool); color: #fff; border: 0; flex-shrink: 0; }
.dcard strong { display: block; font-family: var(--display); font-size: 1.75rem; line-height: 1.1; color: var(--lime); direction: ltr; unicode-bidi: isolate; }
[data-theme="light"] .dcard strong { color: var(--accent); }
body.rtl .dcard strong { text-align: right; }
.dcard small { color: var(--muted); font-size: .86rem; line-height: 1.35; display: block; }
.dcard[data-pos="0"] { transform: translateY(0) scale(1); opacity: 1; z-index: 4; }
.dcard[data-pos="1"] { transform: translateY(-16px) scale(.94); opacity: .75; z-index: 3; }
.dcard[data-pos="2"] { transform: translateY(-30px) scale(.88); opacity: .45; z-index: 2; }
.dcard[data-pos="3"], .dcard[data-pos="4"], .dcard[data-pos="5"] { transform: translateY(-40px) scale(.82); opacity: 0; z-index: 1; }
.dcard.leaving { transform: translateY(40px) scale(1.04) rotate(-4deg) !important; opacity: 0 !important; z-index: 5 !important; }
.chip-float { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; font-size: .86rem; font-weight: 700; color: var(--text);
  background: rgba(14,17,40,.7); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); animation: float 6s ease-in-out infinite; }
[data-theme="light"] .chip-float { background: rgba(255,255,255,.85); }
.chip-float:hover { color: var(--text); border-color: var(--violet); }
.chip-float small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.chip-float .dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #ff4fb3, #ffb44f); color: #fff; }
.chip-float.c1 { top: 2%; inset-inline-end: -2%; }
.chip-float.c2 { top: 38%; inset-inline-end: -8%; animation-delay: -3s; }
.chip-float.c2 .dot { background: linear-gradient(135deg, #22e1ff, #5b7cff); }
.orbit { position: absolute; inset: -4% -2% 4% 0; border: 1px dashed rgba(160,170,255,.22); border-radius: 50%; animation: spin 40s linear infinite; pointer-events: none; }
.orbit::after { content: ""; position: absolute; top: 12%; inset-inline-start: 8%; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 20px var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============== RIBBONS (moving banners) =============== */
.ribbons { position: relative; height: 170px; margin: 10px 0 0; overflow: hidden; }
.ribbon { position: absolute; inset-inline: -5%; display: flex; overflow: hidden; padding: 16px 0; white-space: nowrap; }
.ribbon.r1 { top: 30px; background: var(--grad); transform: rotate(-3deg); box-shadow: 0 20px 50px -20px rgba(155,92,255,.6); z-index: 2; }
.ribbon.r2 { top: 40px; background: var(--surface); border-block: 1px solid var(--line-2); transform: rotate(2.5deg); }
.ribbon .track { display: flex; gap: 40px; padding-inline-end: 40px; animation: marquee 30s linear infinite; flex-shrink: 0; }
.ribbon.r2 .track { animation-direction: reverse; animation-duration: 38s; }
body.rtl .ribbon .track { animation-name: marquee-rtl; }
.ribbon .track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); display: inline-flex; align-items: center; gap: 40px; }
.ribbon.r1 .track span { color: #fff; }
.ribbon.r2 .track span { color: transparent; -webkit-text-stroke: 1.2px var(--muted); }
.ribbon .track span::after { content: "✦"; font-size: .8em; }
.ribbon.r1 .track span::after { color: #0b0d24; }
.ribbon.r2 .track span::after { color: var(--lime); -webkit-text-stroke: 0; }

/* stats */
.stats-grid { gap: 14px; }
.stat { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--line); }
.stat::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(155,92,255,.35), transparent 70%); }
.stat strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(1.7rem, 4vw, 3.2rem); overflow-wrap: anywhere; }

/* section headings */
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; }
body.rtl .section-head h2 { line-height: 1.35; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
body.rtl .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.split .w { display: inline-block; }
.js .split .w { opacity: 0; transform: translateY(.6em) rotate(2deg); transition: opacity .6s, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .split.in .w { opacity: 1; transform: none; }

/* bento services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento .svc-card { border-radius: 24px; padding: 28px; isolation: isolate; background: linear-gradient(165deg, var(--surface), var(--bg-2)); }
.bento .svc-card:nth-child(1) { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(155,92,255,.55), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(34,225,255,.35), transparent 60%), var(--surface); }
.bento .svc-card:nth-child(1) h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.bento .svc-card:nth-child(1) p { font-size: 1.05rem; color: var(--text); opacity: .85; }
.bento .svc-card:nth-child(1) .ic-wrap { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.12); color: #fff; margin-bottom: auto; }
.bento .svc-card:nth-child(6) { grid-column: span 2; }
.svc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: conic-gradient(from var(--ang, 0deg), #5b7cff, #9b5cff, #ff4fb3, #22e1ff, #5b7cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinang 4s linear infinite; }
.svc-card:hover::after { opacity: 1; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinang { to { --ang: 360deg; } }
.ic-wrap { background: linear-gradient(135deg, rgba(91,124,255,.25), rgba(155,92,255,.2)); color: #b8c4ff; border-color: rgba(155,140,255,.3); }
[data-theme="light"] .ic-wrap { color: var(--accent); }

/* stacked case cards (sticky stack) */
.stack { display: grid; gap: 22px; }
.stack-card { position: sticky; top: calc(96px + var(--i) * 16px); transform-origin: 50% 0; will-change: transform; }
.stack-card > article { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 380px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #10142e, #0a0c1d); box-shadow: 0 -20px 60px -30px rgba(0,0,0,.8); }
[data-theme="light"] .stack-card > article { background: linear-gradient(160deg, #fff, #f2f4ff); }
.stack-card:nth-child(4n+2) > article { background: linear-gradient(160deg, #1a1035, #0c0a1f); }
.stack-card:nth-child(4n+3) > article { background: linear-gradient(160deg, #071c2c, #08111d); }
.stack-card:nth-child(4n+4) > article { background: linear-gradient(160deg, #24102a, #110a18); }
[data-theme="light"] .stack-card:nth-child(n) > article { background: linear-gradient(160deg, #fff, #f2f4ff); }
.sc-info { padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; gap: 14px; }
.sc-info h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 0; }
.sc-info h3 a { color: var(--text); }
.sc-info p { color: var(--muted); margin: 0; }
.sc-client { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.sc-client .case-logo { width: 52px; height: 52px; }
.sc-client small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.sc-visual { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(20px, 3vw, 36px);
  background: radial-gradient(80% 80% at 70% 20%, rgba(155,92,255,.35), transparent 70%), radial-gradient(70% 70% at 20% 90%, rgba(34,225,255,.22), transparent 70%); }
.sc-visual .spark { height: 150px; }
.big-metric { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; unicode-bidi: isolate; }
body.rtl .big-metric { text-align: right; }
.sc-visual .metric-tiles { margin: 0; }
.sc-visual .metric-tiles div { background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
[data-theme="light"] .sc-visual .metric-tiles div { background: rgba(255,255,255,.7); }
.metric-tiles strong, .case-metrics strong { color: var(--lime); }
[data-theme="light"] .metric-tiles strong, [data-theme="light"] .case-metrics strong { color: var(--good); }
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* process line */
.process { position: relative; }
.process li { border-radius: 24px; background: linear-gradient(165deg, var(--surface), var(--bg-2)); }
.step-n { font-family: var(--display); font-size: 2.4rem; line-height: 1; padding: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; border-radius: 0; }

/* CTA mega banner */
.sc-cta { position: relative; overflow: hidden; border: 0; border-radius: 32px; padding: clamp(30px, 5vw, 64px);
  background: radial-gradient(60% 120% at 100% 0%, rgba(255,79,179,.55), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(34,225,255,.45), transparent 60%), linear-gradient(120deg, #2b2fd8, #6b2bd9); color: #fff; }
.sc-cta h3 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; }
.sc-cta p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
.sc-cta .kicker { color: var(--lime); }
.sc-cta .btn-primary { background: #fff; color: #1b1660; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.sc-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }

/* misc refresh */
.case-card, .post-card, .svc-card, .feature, .skill-group, .timeline > li, .clean-list li, .contact-tile, .chart-card, .quote, .card, .tool-list a { border-radius: 22px; }
.post-card, .case-card { background: linear-gradient(165deg, var(--surface), var(--bg-2)); }
.post-card:hover, .case-card:hover, .svc-card:hover { border-color: rgba(155,92,255,.45); box-shadow: 0 30px 60px -30px rgba(110,80,255,.45); }
.chip { background: rgba(155,92,255,.12); color: #c9b8ff; border-color: rgba(155,92,255,.28); }
[data-theme="light"] .chip { color: var(--accent); }
.chip.active, .chip:hover { background: var(--grad-cool); color: #fff; }
.page-hero::before { background: radial-gradient(600px 300px at 85% 0%, rgba(155,92,255,.28), transparent 70%), radial-gradient(500px 260px at 10% 20%, rgba(34,225,255,.14), transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.clients { background: transparent; }
.client-logo { border-radius: 18px; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .3s, opacity .3s, transform .3s; }
.client-logo:hover { filter: none; opacity: 1; }
.tools-teaser { border-radius: 32px; background: radial-gradient(60% 100% at 100% 100%, rgba(34,225,255,.18), transparent 60%), radial-gradient(60% 100% at 0% 0%, rgba(155,92,255,.22), transparent 60%), var(--surface); }
.read-progress span { background: var(--grad); }
.wa-float { box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 0 0 6px rgba(37,211,102,.12); }

/* responsive */
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .svc-card:nth-child(6) { grid-column: span 1; } }
@media (max-width: 920px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .stage { max-width: 420px; margin-top: 10px; }
  .chip-float.c2 { inset-inline-end: -2%; }
  .stack-card > article { grid-template-columns: 1fr; }
  .stack-card { top: calc(80px + var(--i) * 10px); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; } .bento .svc-card:nth-child(1) { grid-column: auto; min-height: 260px; }
  .deck { width: 78%; height: 112px; inset-inline-start: -2%; }
  .dcard strong { font-size: 1.4rem; }
  .ribbons { height: 140px; }
  .sc-visual .spark { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .split .w { opacity: 1; transform: none; }
  .stack-card { position: relative; top: auto; }
  .aurora span, .ghost-card, .orbit, .ribbon .track { animation: none !important; }
}
