/* =====================================================================
   CeevTech — public design system (v3, 2026-11-03)
   One stylesheet for every public page: tokens, type, components,
   page sections, motion, dark mode, RTL, responsive.
   Brand: electric blue #005EFE on white; navy for text; soft blue tints.
   No gradient text, no glass blur on content, no glow, no particles.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #005efe;
  --brand-rgb: 0,94,254;
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --blue-200: #b9d0ff;
  --blue-300: #7eabff;
  --blue-500: #005efe;
  --blue-600: #0052e0;
  --blue-700: #0044bb;
  --navy: #071a3d;
  --navy-2: #0c2552;
  --green: #12a46f;
  --amber: #e08a00;
  --red: #d93025;
  --cyan: #0ea5c9;
  --fx-rgb: 0,94,254;

  --bg: #ffffff;
  --bg-soft: #edf3fd;
  --bg-tint: #e3ecfb;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f9ff;
  --border: #d6e2f3;
  --border-2: #bccde9;
  --text: #0a1a3a;
  --text-soft: #43557a;
  --text-mut: #6a7c9d;

  --shadow-sm: 0 1px 2px rgba(10,26,58,.05), 0 6px 16px -10px rgba(10,26,58,.16);
  --shadow-md: 0 10px 30px -12px rgba(10,26,58,.16), 0 2px 6px rgba(10,26,58,.04);
  --shadow-lg: 0 24px 50px -20px rgba(10,26,58,.28);
  --glow: none;
  --glow-lg: none;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --nav-h: 72px;
  --nav-top: 0px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', Consolas, 'JetBrains Mono', monospace;
  --font-ar: 'Cairo', 'Inter', system-ui, sans-serif;

  --grad-brand: #005efe;
  --grad-tri: #005efe;
  --grad-hero: #005efe;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a1224;
  --bg-soft: #0d1830;
  --bg-tint: #10203f;
  --bg-elev: #111d36;
  --surface: #111d36;
  --surface-2: #15233f;
  --border: #1f2f50;
  --border-2: #2c4170;
  --text: #eef3ff;
  --text-soft: #b6c3dd;
  --text-mut: #8a9abb;
  --blue-50: rgba(0,94,254,.14);
  --blue-100: rgba(0,94,254,.24);
  --blue-600: #6ea2ff;
  --blue-700: #8fb7ff;
  --green: #35c48f;
  --amber: #f5b14a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,.55);
  --shadow-lg: 0 24px 50px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  font-family: var(--font); font-size: 16.5px; line-height: 1.65;
  background: var(--bg); color: var(--text);
  overflow-x: clip; max-width: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .15s; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--brand-rgb),.18); }
:focus-visible { outline: 3px solid rgba(var(--brand-rgb),.4); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #c5d3ea; border-radius: 99px; border: 3px solid var(--bg); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #2c4170; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.18; color: var(--text); overflow-wrap: anywhere; }
h1 { font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { overflow-wrap: anywhere; }
.lead { color: var(--text-soft); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.accent { color: var(--brand); }
.gradient-text, .gradient-text.shine { color: var(--brand); }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.is-hidden { display: none !important; }
.desktop-only { display: inline-flex; }

/* Font Awesome icons rendered by icon() */
i.icon { display: inline-block; line-height: 1; vertical-align: middle; width: 1.25em; text-align: center; flex: none; }
.btn i.icon, .nav-links i.icon { width: auto; }
svg.icon { display: inline-block; vertical-align: middle; }

/* ---------- 3. Layout primitives ---------- */
.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
section { position: relative; padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.center, .center .section-head { text-align: center; margin-inline: auto; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tag { font-size: .78rem; font-weight: 600; color: var(--brand); }
.tag.new { background: var(--blue-50); color: var(--blue-700); padding: 3px 9px; border-radius: 6px; }
.new-tag { font-size: .62rem; font-weight: 800; letter-spacing: .1em; color: #fff; background: var(--brand); padding: 3px 8px; border-radius: 99px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: var(--text-mut); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 22px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 6px 16px -6px rgba(var(--brand-rgb),.55); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.btn-ghost { background: var(--bg-elev); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { min-height: 50px; padding: 13px 28px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .86rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(var(--brand-rgb),.35); outline-offset: 2px; }
.hero-cta, .lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. Navbar ---------- */
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1001; padding: 12px 20px; border-radius: 10px; font-weight: 600; background: var(--brand); color: #fff; transition: top .2s; }
.skip-link:focus-visible { top: 12px; }
.navbar {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
[data-theme="dark"] .navbar { background: rgba(10,18,36,.92); }
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 18px -10px rgba(10,26,58,.18); }
.nav-inner { width: min(100% - 32px, var(--maxw)); margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 34px; width: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .94rem; color: var(--text-soft); }
.nav-links a:hover { background: var(--bg-soft); color: var(--text); }
.nav-links a.active { color: var(--brand); font-weight: 600; }
.nav-cta { display: none; }
.has-sub > a { padding-right: 26px; }
.has-sub > a::before {
  content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.has-sub:hover > a::before, .has-sub:focus-within > a::before { transform: translateY(-30%) rotate(-135deg); }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 150;
  display: flex; flex-direction: column; gap: 2px; min-width: 260px; padding: 8px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%); }
.sub-menu a { display: block; width: 100%; padding: 10px 14px; border-radius: 8px; white-space: nowrap; font-size: .92rem; }
.sub-menu a:hover, .sub-menu a.active { background: var(--bg-soft); color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .nav-toggle { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); display: grid; place-items: center; }
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--border-2); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.nav-toggle { display: none; }

/* Mobile menu: full-height sheet under the navbar */
@media (max-width: 1020px) {
  .desktop-only { display: none !important; }
  .nav-toggle { display: grid; position: relative; }
  .nav-toggle[aria-expanded="true"] .icon { opacity: 0; }
  .nav-toggle[aria-expanded="true"]::after { content: "\00d7"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; line-height: 1; color: var(--text); }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 120;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 18px calc(24px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--border);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  html:has(.nav-links.open), html:has(.nav-links.open) body { overflow: hidden; }
  .nav-links > li > a { display: flex; justify-content: space-between; min-height: 48px; padding: 12px; border-radius: 10px; font-size: 1.02rem; font-weight: 600; color: var(--text); }
  .nav-links > li > a.active { color: var(--brand); background: var(--bg-soft); }
  .nav-links > li:not(.nav-cta) { border-bottom: 1px solid var(--border); }
  .has-sub > a { padding-right: 12px; }
  .has-sub > a::before, .has-sub::after { display: none; }
  .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 0 12px; position: static; transform: none; opacity: 1; visibility: inherit; pointer-events: auto; background: none; border: 0; box-shadow: none; min-width: 0; }
  .sub-menu a { padding: 10px; border-radius: 9px; font-size: .86rem; font-weight: 500; line-height: 1.3; min-height: 44px; display: flex; align-items: center; color: var(--text-soft); background: var(--bg-soft); border: 1px solid var(--border); white-space: normal; }
  .sub-menu a.active { color: var(--brand); border-color: rgba(var(--brand-rgb),.35); }
  .nav-links .nav-cta { display: block; margin-top: 18px; }
  .nav-links .nav-cta .btn { width: 100%; min-height: 50px; color: #fff; }
  html:has(.nav-links.open) .wa-float, html:has(.nav-links.open) .to-top { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (max-width: 760px) { :root { --nav-h: 64px; } .brand-logo { height: 30px; width: 30px; } }

/* ---------- 6. Cards and surfaces ---------- */
.card, .glass {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.card:hover { border-color: rgba(var(--brand-rgb),.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: .96rem; }
.card-ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--brand); margin-bottom: 18px; }
.card-features { margin-top: 16px; display: grid; gap: 8px; }
.card-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-soft); }
.card-features .icon, .card-features i { color: var(--green); flex: none; margin-top: 3px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--brand); font-size: .92rem; min-height: 24px; }
.card-link .icon { transition: transform .2s var(--ease); }
.card:hover .card-link .icon { transform: translateX(4px); }
.tilt-glare { display: none; }

/* ---------- 7. Inner page hero ---------- */
.page-hero {
  padding: 60px 0 44px;
  background: radial-gradient(900px 300px at 85% -60px, rgba(var(--brand-rgb),.07), transparent 70%), linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 720px; color: var(--text-soft); font-size: 1.08rem; margin-top: 14px; }
.page-hero .hero-cta { margin-top: 24px; }

/* ---------- 8. Home ---------- */
.hv2 {
  padding: 68px 0 76px; position: relative;
  background: radial-gradient(1000px 420px at 88% -120px, rgba(var(--brand-rgb),.09), transparent 70%), linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--border);
}
.hv2::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 380px; pointer-events: none;
  background-image: radial-gradient(rgba(var(--brand-rgb),.16) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 70%); mask-image: linear-gradient(200deg, #000 10%, transparent 70%);
}
.hv2 .container { position: relative; }
.hv2-head { max-width: 760px; }
.hv2 h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); margin-bottom: 16px; }
.hv2 .lead { max-width: 620px; }
.hv2-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: var(--text-soft); font-size: .92rem; }
.hv2-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hv2-trust i { color: var(--brand); }
.hv2-trust .stars i { color: #f5a623; }
.hv2-trust b { color: var(--text); }
.hv2-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin-top: 36px; }
.hv2-card { padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; }
.hv2-card .hv2-tag { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.hv2-card h2 { font-size: 1.6rem; margin: 0; }
.hv2-card p { margin: 0; color: var(--text-soft); }
.hv2-card ul { margin: 4px 0 0; display: grid; gap: 8px; }
.hv2-card li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: .97rem; }
.hv2-card li i.icon { color: var(--green); margin-top: 3px; width: 1.1em; }
.hv2-card .hv2-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.hv2-note { margin-top: 24px; color: var(--text-mut); font-size: .95rem; }
.hv2-note a { color: var(--brand); font-weight: 600; }
.hv2-shot { position: relative; border-radius: 14px; background: linear-gradient(160deg, var(--bg-tint), var(--bg-soft)); border: 1px solid var(--border); padding: 18px; display: flex; justify-content: center; align-items: center; height: 390px; overflow: hidden; perspective: 1200px; }
.hv2-shot small.cap { position: absolute; right: 12px; bottom: 8px; font-size: .7rem; color: var(--text-mut); }
.hv2-shot-photo { gap: 14px; }
.hv2-shot-photo img { height: 340px; width: auto; border: 5px solid #0a1122; border-radius: 22px; box-shadow: var(--shadow-md); background: #fff; transition: transform .5s var(--ease); }
.hv2-shot-erp img { width: 100%; max-width: 460px; height: auto; border: 1px solid var(--border-2); border-radius: 12px; box-shadow: var(--shadow-md); transition: transform .5s var(--ease); }
/* Subtle 3D on the product shots: desktop pointers only, meaning-bearing, no scripts */
@media (hover: hover) and (pointer: fine) {
  .hv2-shot-photo img:first-child { transform: rotateY(8deg) translateZ(0); }
  .hv2-shot-photo img:last-child { transform: rotateY(-8deg) translateZ(0); }
  .hv2-shot-erp img { transform: rotateY(-5deg) rotateX(2deg); }
  .hv2-card:hover .hv2-shot img { transform: none; }
}
.hv2-dots { display: none; }
.home-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.home-list li > a, .home-list li > div {
  display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 20px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.home-list li > a:hover { border-color: rgba(var(--brand-rgb),.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.home-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--brand); font-size: 1.05rem; }
.home-ico i.icon { width: auto; }
.home-list h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.home-list li > a:hover h3 { color: var(--brand); }
.home-list p { margin: 0; color: var(--text-soft); font-size: .93rem; line-height: 1.55; }
.lp-note { margin: 14px 0 0; }
.lp-note a { color: var(--brand); font-weight: 600; }
.home-projects { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.home-projects .project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.home-shot { display: block; aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(rgba(var(--brand-rgb),.18) 1px, transparent 1.4px) 0 0/18px 18px, linear-gradient(150deg, var(--bg-tint), var(--bg-soft)); }
.home-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s var(--ease); }
.project-card:hover .home-shot img { transform: scale(1.03); }
.home-projects .project-body { padding: 18px 20px 22px; }
.home-projects h3 { font-size: 1.08rem; margin: 6px 0; }
.home-reviews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.home-reviews figure { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.home-reviews .stars { color: #f5a623; font-size: .85rem; letter-spacing: 2px; }
.home-reviews blockquote { color: var(--text); font-size: 1rem; flex: 1; }
.home-reviews figcaption { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: .92rem; padding-top: 14px; border-top: 1px solid var(--border); }
.avatar-i, .avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--brand); font-weight: 700; font-size: .85rem; flex: none; }
.home-reviews figcaption span.src { display: block; font-weight: 400; font-size: .8rem; color: var(--text-mut); }

/* ---------- 9. Service and product landing pages ---------- */
.lp-hero {
  padding: 52px 0 60px;
  background: radial-gradient(900px 320px at 90% -80px, rgba(var(--brand-rgb),.07), transparent 70%), linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--border);
}
.lp-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 56px; align-items: start; }
.lp-hero h1 { margin: 0 0 18px; }
.lp-answer { font-size: 1.1rem; color: var(--text-soft); max-width: 640px; }
.lp-actions { margin-top: 26px; }
.lp-store { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lp-store a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); font-weight: 600; font-size: .92rem; }
.lp-store a:hover { border-color: var(--brand); color: var(--brand); }
.lp-switch { margin-top: 18px; font-size: .95rem; }
.lp-switch a { color: var(--brand); font-weight: 600; }
.lp-glance { border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 28px; background: var(--bg-elev); box-shadow: var(--shadow-md); }
.lp-glance h2 { font-size: 1.05rem; margin: 0 0 12px; }
.lp-glance dt { font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mut); padding-top: 12px; border-top: 1px solid var(--border); }
.lp-glance dt:first-of-type { border-top: 0; padding-top: 0; }
.lp-glance dd { margin: 3px 0 12px; font-size: .96rem; color: var(--text); }
.lp-gallery-sec { padding-top: 0; }
.lp-gallery { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.lp-gallery img { height: 520px; width: auto; border: 6px solid #0a1122; border-radius: 28px; background: #fff; box-shadow: var(--shadow-md); }
.lp-gallery-cap { text-align: center; color: var(--text-mut); font-size: .85rem; margin-top: 14px; }
.lp-sec { padding: 80px 0; }
.lp-soft, section[style*="bg-soft"] { background: var(--bg-soft) !important; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 56px; align-items: start; }
.lp-split-head { position: sticky; top: calc(var(--nav-h) + 24px); }
.lp-split-head h2 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); margin: 4px 0 0; }
.lp-rows { display: grid; gap: 12px; }
.lp-rows li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elev); transition: border-color .2s, transform .2s var(--ease); }
.lp-rows li:hover { border-color: rgba(var(--brand-rgb),.35); transform: translateY(-2px); }
.lp-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--blue-50); }
.lp-rows h3, .lp-why h3 { font-size: 1.06rem; margin: 2px 0 4px; }
.lp-rows p, .lp-why p { color: var(--text-soft); }
.lp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-why li { padding: 20px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border-2); }
.lp-faq details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 20px; background: var(--bg-elev); margin-bottom: 10px; }
.lp-faq details[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--brand); flex: none; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq p { margin: 10px 0 0; color: var(--text-soft); max-width: 680px; }
.lp-more { padding: 48px 0; }
.lp-more p { margin: 0 0 10px; color: var(--text-soft); max-width: 860px; }
.lp-more a { color: var(--brand); }
.lp-also { margin-bottom: 12px; }
.glance dt, .glance dd { display: block; }

/* ---------- 10. Pricing ---------- */
.price-block { scroll-margin-top: calc(var(--nav-h) + 16px); }
.price-split-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 30px 0 0; }
.split-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border-2); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.split-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.split-card > .icon { margin-left: auto; color: var(--brand); flex: none; }
.split-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--brand); }
.split-txt b { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.05rem; }
.split-txt small { display: block; color: var(--text-soft); font-size: .86rem; margin-top: 2px; }
.erp-trial { display: flex; align-items: center; gap: 16px; max-width: 920px; margin: 0 0 44px; padding: 16px 18px 16px 20px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid rgba(var(--brand-rgb),.28); }
.erp-trial-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--brand); color: #fff; }
.erp-trial b { display: block; font-family: var(--font-display); font-size: 1.06rem; }
.erp-trial small { color: var(--text-soft); font-size: .88rem; }
.erp-trial .btn { margin-left: auto; }
.erp-included { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; }
.erp-included span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: .92rem; }
.erp-included .icon { color: var(--green); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.pricing-grid.cols-4 { display: flex !important; flex-wrap: wrap; justify-content: center; }
.pricing-grid.cols-4 > .price-card { flex: 0 1 calc(25% - 17px); min-width: 240px; }
.support-grid { display: flex !important; }
.support-grid > .price-card { flex: 0 1 380px; }
.price-card { display: flex; flex-direction: column; padding: 34px 26px; overflow: visible; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -22px rgba(var(--brand-rgb),.55); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; padding: 6px 14px; border-radius: 99px; background: var(--brand); color: #fff; z-index: 2; }
.price-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.price-card .price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; color: var(--text); }
.price-card .period { color: var(--text-mut); font-size: .82rem; }
.price-card .desc { color: var(--text-soft); font-size: .92rem; margin: 14px 0 18px; }
.price-features { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; align-content: start; }
.price-features li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-soft); }
.price-features .icon { color: var(--green); flex: none; }
.compare-wrap { overflow-x: auto; margin-top: 44px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--bg-elev); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare thead th { font-family: var(--font-display); background: var(--bg-soft); font-size: .92rem; }
table.compare td.center, table.compare th.center { text-align: center; }
table.compare .icon { color: var(--green); }
table.compare tbody tr:hover { background: var(--surface-2); }
table.compare tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; border: 0; box-shadow: none; background: none; }
  table.compare { min-width: 0; display: block; }
  table.compare thead { display: none; }
  table.compare tbody, table.compare tr, table.compare td { display: block; }
  table.compare tr { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elev); margin-bottom: 10px; padding: 8px 14px; }
  table.compare td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); text-align: left !important; }
  table.compare td:first-child { font-size: 1rem; }
  table.compare td:last-child { border-bottom: 0; }
  table.compare td[data-label]:not(:first-child)::before { content: attr(data-label); color: var(--text-mut); font-size: .86rem; }
}

/* ---------- 11. Portfolio ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn { min-height: 40px; padding: 8px 18px; border-radius: 99px; font-weight: 600; font-size: .88rem; border: 1px solid var(--border); color: var(--text-soft); background: var(--bg-elev); transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.project-grid .project-card { flex: 0 1 calc((100% - 2*22px)/3); }
.project-card { overflow: hidden; padding: 0; }
.project-thumb { height: 195px; position: relative; overflow: hidden; display: grid; place-items: center; }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 60%, rgba(0,0,0,.28)); z-index: 2; pointer-events: none; }
.project-thumb .icon { width: 66px; height: 66px; color: #fff; opacity: .95; z-index: 1; }
.project-preview { cursor: pointer; }
.project-preview img { transition: transform .5s var(--ease); }
.project-card:hover .project-preview img { transform: scale(1.04); }
.preview-expand { position: absolute; z-index: 3; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fff; background: rgba(7,26,61,.7); opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.project-card:hover .preview-expand, .project-card:focus-within .preview-expand { opacity: 1; transform: none; }
@media (hover: none) { .preview-expand { opacity: 1; transform: none; } }
.project-body { padding: 24px; }
.project-cat, .post-cat { color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-body h3 { font-size: 1.18rem; margin: 8px 0; }
.project-body p { color: var(--text-soft); font-size: .93rem; }
.tech-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.tech-tags span { font-size: .74rem; padding: 5px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.live-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.live-modal[hidden] { display: none; }
.live-backdrop { position: absolute; inset: 0; background: rgba(7,26,61,.66); }
.live-window { position: relative; width: min(1100px, 94vw); height: min(760px, 88vh); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--bg-elev); box-shadow: var(--shadow-lg); }
.live-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.live-dots { display: inline-flex; gap: 7px; }
.live-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--border-2); }
.live-url { flex: 1; font-size: .82rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-newtab { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--brand); }
.live-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--text-soft); }
.live-close:hover { background: var(--bg-tint); }
.live-body { flex: 1; background: #fff; }
.live-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 12. Blog ---------- */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-thumb { height: 150px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--blue-50) !important; }
.post-thumb .icon { width: 48px; height: 48px; color: var(--brand); opacity: .9; }
.post-thumb i.icon { font-size: 2rem; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--text-mut); margin-bottom: 10px; }
.post-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { color: var(--text-soft); font-size: .93rem; flex: 1; }
.article { max-width: 780px; margin: 0 auto; }
.article-hero { height: 200px; border-radius: var(--radius-lg); display: grid; place-items: center; margin: 24px 0 36px; background: var(--blue-50) !important; border: 1px solid var(--border); color: var(--brand); }
.article-hero .icon { width: 70px; height: 70px; }
.article-hero i.icon { font-size: 3rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.article-content { font-size: 1.08rem; color: var(--text-soft); }
.article-content p { margin-bottom: 22px; }
.article-content h2 { font-size: 1.55rem; color: var(--text); margin: 38px 0 14px; }
.article-content h3 { font-size: 1.2rem; color: var(--text); margin: 28px 0 10px; }
.article-content ul { margin: 0 0 22px 1.2em; list-style: disc; }
.article-content li { margin-bottom: 10px; }
.article-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-content strong { color: var(--text); }

/* ---------- 13. About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.visual-stack .glass { padding: 28px; }
.stats-band { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; display: block; letter-spacing: -.03em; color: var(--brand); }
.stat span { color: var(--text-soft); font-weight: 500; font-size: .92rem; }

/* ---------- 14. Forms and contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.ii-ico { width: 50px; height: 50px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--brand); }
.contact-info h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-info p { color: var(--text-soft); font-size: .95rem; }
.contact-info p a:hover { color: var(--brand); }
.form-card { padding: 34px; }
.form-row, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; position: relative; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--text-soft); }
.field:focus-within label { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 15px; border-radius: 10px; font-size: 16px;
  background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.12); }
.field .err { color: var(--red); font-size: .82rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .hint { font-size: .82rem; color: var(--text-mut); margin-top: 6px; }
.map-embed { height: 260px; border-radius: var(--radius); overflow: hidden; margin-top: 24px; border: 1px solid var(--border); background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
[data-theme="dark"] .map-embed iframe { filter: invert(.92) hue-rotate(185deg) saturate(.7); }
.alert { padding: 14px 18px; border-radius: 12px; font-size: .94rem; margin-bottom: 20px; display: flex; gap: 10px; align-items: center; }
.alert-success { background: rgba(18,164,111,.12); color: #0b6b48; border: 1px solid rgba(18,164,111,.3); }
.alert-error { background: rgba(217,48,37,.1); color: #a52017; border: 1px solid rgba(217,48,37,.3); }
[data-theme="dark"] .alert-success { color: #4fd9a6; }
[data-theme="dark"] .alert-error { color: #ff8a80; }

/* ---------- 15. Careers ---------- */
.cr-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 26px; }
.cr-toolbar .field { margin: 0; flex: 1 1 180px; }
.cr-toolbar .field label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mut); }
.cr-jobs { display: grid; gap: 16px; }
.cr-job { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.cr-job:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cr-job h3 { font-size: 1.2rem; margin: 0 0 8px; }
.cr-job .cr-sum { color: var(--text-soft); font-size: .94rem; margin: 10px 0 14px; }
.cr-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; color: var(--text-mut); align-items: center; }
.cr-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cr-tag { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-soft); }
.cr-tag.blue { color: var(--brand); border-color: rgba(var(--brand-rgb),.35); background: var(--blue-50); }
.cr-tag.green { color: var(--green); border-color: rgba(18,164,111,.35); background: rgba(18,164,111,.1); }
.cr-tag.amber { color: var(--amber); border-color: rgba(224,138,0,.4); background: rgba(224,138,0,.1); }
.cr-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.cr-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.cr-body h2 { font-size: 1.25rem; margin: 28px 0 12px; }
.cr-body h2:first-child { margin-top: 0; }
.cr-body p { color: var(--text-soft); line-height: 1.75; margin-bottom: 14px; }
.cr-body ul { margin: 0 0 14px; display: grid; gap: 10px; }
.cr-body ul li { position: relative; padding-left: 28px; color: var(--text-soft); }
.cr-body ul li::before { content: ''; position: absolute; left: 8px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.cr-facts { display: grid; gap: 14px; }
.cr-fact { display: flex; gap: 12px; align-items: flex-start; }
.cr-fact .ic { color: var(--brand); flex: none; margin-top: 2px; }
.cr-fact .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mut); }
.cr-fact .v { font-weight: 600; color: var(--text); font-size: .94rem; }
.cr-empty { text-align: center; padding: 60px 24px; }
.cr-empty .ic { color: var(--text-mut); opacity: .5; margin-bottom: 18px; }
.cr-empty h3 { margin-bottom: 8px; }
.cr-empty p { color: var(--text-mut); }
.cr-form { max-width: 760px; margin: 0 auto; }
.cr-form .card + .card { margin-top: 18px; }
.cr-step { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cr-step .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem; flex: none; }
.cr-step h3 { font-size: 1.05rem; margin: 0; }
.cr-q { padding: 16px 0; border-bottom: 1px solid var(--border); }
.cr-q:last-child { border-bottom: 0; padding-bottom: 0; }
.cr-q > label.q { display: block; font-weight: 600; color: var(--text); margin-bottom: 10px; line-height: 1.5; }
.cr-q .req { color: var(--red); }
.cr-opts { display: grid; gap: 9px; }
.cr-opt { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--text-soft); cursor: pointer; min-height: 32px; }
.cr-opt input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.cr-file { display: block; padding: 22px; border: 2px dashed var(--border-2); border-radius: var(--radius-sm); text-align: center; cursor: pointer; background: var(--bg-soft); transition: border-color .2s; }
.cr-file:hover { border-color: var(--brand); }
.cr-file input { display: none; }
.cr-file .ic { color: var(--brand); margin-bottom: 8px; }
.cr-file .t { font-weight: 600; color: var(--text); font-size: .95rem; }
.cr-file .s { font-size: .84rem; color: var(--text-mut); margin-top: 4px; }
.cr-cv { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-soft); margin-bottom: 12px; }
.cr-cv .ic { color: var(--brand); flex: none; }
.cr-cv .n { font-weight: 600; font-size: .92rem; color: var(--text); word-break: break-all; }
.cr-cv .m { font-size: .82rem; color: var(--text-mut); }
.cr-track { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cr-track .s { flex: 1; min-width: 56px; height: 5px; border-radius: 99px; background: var(--bg-tint); }
.cr-track .s.on { background: var(--brand); }
.cr-track .s.off { background: rgba(217,48,37,.35); }
.cr-app { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elev); }
.cr-app + .cr-app { margin-top: 14px; }
.cr-app h3 { font-size: 1.08rem; margin: 0 0 6px; }
.cr-app h3 a:hover { color: var(--brand); }
.cr-cta { text-align: center; padding: 36px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-soft); }
.cr-cta h3 { margin-bottom: 8px; }
.cr-cta p { color: var(--text-mut); font-size: .94rem; margin-bottom: 18px; }

/* ---------- 16. Tools: hub, public landing pages, runner, checkout ---------- */
.pt-toolbar { display: flex; flex-direction: column; gap: 18px; margin: 8px 0 30px; }
.pt-search { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.pt-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-mut); pointer-events: none; }
.pt-search input { width: 100%; min-height: 50px; padding: 13px 20px 13px 50px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--bg-elev); color: var(--text); font-size: 16px; box-shadow: var(--shadow-sm); }
.pt-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.12); }
.pt-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pt-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-soft); font-weight: 600; font-size: .86rem; transition: all .2s; }
.pt-pill:hover { border-color: var(--brand); color: var(--text); }
.pt-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pt-pill .pt-num { font-size: .72rem; opacity: .75; }
.pt-status { text-align: center; color: var(--text-mut); font-size: .9rem; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 18px; }
.pt-tool { content-visibility: auto; contain-intrinsic-size: auto 250px; padding: 22px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pt-tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pt-tool .card-ico { width: 46px; height: 46px; border-radius: 12px; margin: 0; }
.pt-tool .card-ico i { font-size: 1.15rem; line-height: 1; }
.pt-tool h3 { font-size: 1.02rem; margin: 0; }
.pt-tool p { font-size: .88rem; margin: 0; min-height: 2.6em; }
.pt-fav, .tl-fav { border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-mut); width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: all .2s; }
.pt-fav:hover, .tl-fav:hover { color: var(--amber); border-color: var(--amber); }
.pt-fav.active, .tl-fav.active { color: var(--amber); border-color: var(--amber); background: rgba(224,138,0,.12); }
.pt-fav.active svg, .tl-fav.active svg { fill: currentColor; }
.pt-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-chip { font-size: .66rem; font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid transparent; }
.pt-chip.free, .pt-chip.live { color: var(--green); border-color: rgba(18,164,111,.35); background: rgba(18,164,111,.1); }
.pt-chip.pro { color: var(--brand); border-color: rgba(var(--brand-rgb),.35); background: var(--blue-50); }
.pt-chip.ultra { color: var(--amber); border-color: rgba(224,138,0,.4); background: rgba(224,138,0,.1); }
.pt-chip.ai { color: #fff; background: var(--brand); }
.pt-chip.soon { color: var(--text-mut); border-color: var(--border); }
.price-features li .pt-chip { align-self: flex-start; flex: none; margin: 2px 0 0 auto; white-space: nowrap; }
.pt-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }
.pt-uses { font-size: .76rem; color: var(--text-mut); }
.pt-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--brand); min-height: 28px; }
.pt-open .icon { transition: transform .2s var(--ease); }
.pt-tool:hover .pt-open .icon { transform: translateX(4px); }
.pt-open.pt-open-disabled { color: var(--text-mut); pointer-events: none; }
.pt-locked h3, .pt-locked p, .pt-locked .card-ico, .pt-locked .pt-uses { opacity: .62; }
.pt-lock { position: absolute; top: 22px; right: 60px; z-index: 3; display: inline-flex; align-items: center; gap: 0; max-width: 34px; overflow: hidden; height: 34px; padding: 0 9px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: .74rem; white-space: nowrap; transition: max-width .3s var(--ease), gap .3s var(--ease); }
.pt-lock .pt-lock-ico { display: inline-flex; flex: none; }
.pt-lock .pt-lock-ico svg { stroke: #fff; }
.pt-lock .pt-lock-txt { opacity: 0; transition: opacity .2s .05s; }
.pt-tool:hover .pt-lock { max-width: 230px; gap: 7px; }
.pt-tool:hover .pt-lock .pt-lock-txt { opacity: 1; }
.pt-empty { text-align: center; padding: 60px 20px; color: var(--text-mut); display: none; }
.pt-empty b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-bottom: 6px; }
.pt-trial { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 auto 34px; max-width: 760px; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(var(--brand-rgb),.25); background: var(--blue-50); color: var(--text-soft); font-size: .95rem; text-align: center; }
.pt-trial b { color: var(--text); }
.pt-billing { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 36px; }
.pt-billing .pt-bill-btn { min-height: 42px; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-soft); font-weight: 600; font-size: .92rem; transition: all .2s; }
.pt-billing .pt-bill-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pt-save { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green); background: rgba(18,164,111,.12); border: 1px solid rgba(18,164,111,.3); padding: 5px 10px; border-radius: 999px; }
.price-card .pt-crown { font-size: 1.05rem; margin-left: 6px; }
.tlp-wrap { max-width: 860px; margin: 0 auto; }
.tlp-wrap h2 { margin: 0 0 16px; }
.tlp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tlp-step b { display: inline-flex; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; background: var(--blue-50); color: var(--brand); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.tlp-faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; background: var(--bg-elev); margin-bottom: 10px; }
.tlp-faq summary { cursor: pointer; font-weight: 600; color: var(--text); min-height: 28px; }
.tlp-faq p { margin: 10px 0 0; color: var(--text-soft); }
.tlp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tlp-related a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-elev); color: var(--text); font-weight: 600; }
.tlp-related a:hover { border-color: var(--brand); }
.tlp-related small { display: block; color: var(--text-mut); margin-top: 4px; font-weight: 400; }
.tl-head { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.tl-main { max-width: 860px; margin: 0 auto; }
.tl-main textarea { width: 100%; min-height: 170px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--bg-elev); color: var(--text); font: 500 16px/1.6 var(--font-mono); resize: vertical; }
.tl-main textarea:focus, .tl-main input:focus, .tl-main select:focus { outline: none; border-color: var(--brand); }
.tl-main input[type=text], .tl-main input[type=number], .tl-main input[type=url], .tl-main select { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--bg-elev); color: var(--text); font-size: 16px; }
.tl-main input[type=file] { width: 100%; padding: 12px; border-radius: var(--radius-sm); border: 1px dashed var(--border-2); background: var(--bg-soft); color: var(--text-soft); }
.tl-main input[type=color] { width: 64px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: none; cursor: pointer; }
.tl-main input[type=range] { width: 100%; accent-color: var(--brand); }
.tl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 14px; }
.tl-label { display: block; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mut); margin-bottom: 7px; }
.tl-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.tl-out { margin-top: 18px; }
.tl-out pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; font: 500 .88rem/1.6 var(--font-mono); color: var(--text); overflow-x: auto; white-space: pre-wrap; word-break: break-word; min-height: 56px; }
.tl-out .bad { color: var(--red); }
.tl-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin-top: 16px; font-size: .95rem; }
.tl-kv b { color: var(--text-mut); font-weight: 600; font-size: .78rem; line-height: 1.9; text-transform: uppercase; letter-spacing: .05em; }
.tl-kv span { font-family: var(--font-mono); color: var(--text); }
.diff-add { background: rgba(18,164,111,.15); color: var(--green); display: block; }
.diff-del { background: rgba(217,48,37,.13); color: var(--red); display: block; text-decoration: line-through; }
.tl-qr { text-align: center; margin-top: 18px; }
.tl-qr img { display: inline-block; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; padding: 10px; }
.tl-meter { height: 8px; border-radius: 99px; background: var(--bg-tint); overflow: hidden; margin-top: 10px; }
.tl-meter i { display: block; height: 100%; border-radius: 99px; transition: all .3s; }
.tl-note { margin-top: 14px; font-size: .85rem; color: var(--text-mut); }
.usdt-wrap { max-width: 560px; margin: 0 auto; }
.usdt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-soft); margin-top: 14px; }
.usdt-row .lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mut); }
.usdt-row .val { font: 600 .98rem var(--font-mono); color: var(--text); word-break: break-all; }
.usdt-row .val.amount { font-size: 1.3rem; color: var(--brand); }
.usdt-copy { flex: none; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text-soft); min-height: 36px; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .8rem; transition: all .2s; }
.usdt-copy:hover { border-color: var(--brand); color: var(--text); }
.usdt-qr { display: flex; justify-content: center; margin: 24px 0; }
.usdt-qr img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.usdt-timer { text-align: center; font: 600 .9rem var(--font-mono); color: var(--text-mut); margin-top: 8px; }
.usdt-status { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--text-mut); }
.usdt-warn { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(224,138,0,.35); background: rgba(224,138,0,.08); font-size: .86rem; color: var(--text-soft); }
.tp-widgets, .tp-widget { display: block; }

/* ---------- 17. Call to action band ---------- */
.cta-band { padding: 72px 0; }
.cta-inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--bg-elev); border: 1px solid var(--border-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px 44px; }
.cta-inner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.cta-inner > div:first-child { flex: 1 1 420px; max-width: 660px; }
.cta-inner h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 6px; }
.cta-inner p { color: var(--text-soft); margin: 0; }
main > .cta-band { padding-bottom: 56px; }

/* ---------- 18. Footer ---------- */
.footer { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-tint) 100%); color: var(--text-soft); border-top: 1px solid var(--border); padding: 44px 0 18px; }
.footer h4 { color: var(--text); font-size: .88rem; margin-bottom: 12px; }
.footer a:hover { color: var(--brand); }
.footer .brand { margin-bottom: 10px; }
.footer .brand-logo { height: 26px; width: 26px; background: #fff; padding: 4px; border-radius: 9px; border: 1px solid var(--border); box-sizing: content-box; }
.footer .brand-name { font-size: 1.12rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.6fr 1.2fr; gap: 36px; align-items: start; padding-bottom: 28px; }
.footer-about p { font-size: .86rem; max-width: 280px; margin-bottom: 14px; line-height: 1.6; }
.footer-col ul { display: grid; gap: 7px; }
.footer-col a, .footer-col span { font-size: .86rem; display: inline-flex; align-items: center; min-height: 24px; }
.footer-solutions ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-contact ul { gap: 8px; }
.footer-contact li a, .footer-contact li span { gap: 9px; overflow-wrap: anywhere; }
.footer-contact li i { width: 26px; height: 26px; border-radius: 7px; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--brand); font-size: .78rem; flex: none; }
.footer-contact li a:hover i { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-cta { margin-top: 14px; min-height: 40px; padding: 8px 16px; font-size: .86rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--brand); }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border-2); padding-top: 16px; font-size: .8rem; color: var(--text-mut); }
.footer-bottom a { color: var(--text-soft); }
[data-theme="dark"] .footer .brand-logo, [data-theme="dark"] .footer-contact li i, [data-theme="dark"] .socials a { background: var(--bg-elev); }

/* ---------- 19. Floating actions ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(18,140,80,.6); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.to-top { position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--text); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand); }
.to-top .icon { transform: rotate(-90deg); }
@media (max-width: 760px) { .to-top { bottom: 92px; left: auto; right: 29px; } }

/* ---------- 20. Motion ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .16s ease both; }
::view-transition-new(root) { animation: vt-in .22s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
html.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .page-hero [data-reveal], html.js .hv2 [data-reveal], html.js .lp-hero [data-reveal] { opacity: 1; transform: none; transition: none; }
/* Headline only: the product cards hold the LCP images and must paint at once. */
.hv2-head > * { animation: hero-in .35s var(--ease-out) both; }
.hv2-head > :nth-child(2) { animation-delay: .05s; }
.hv2-head > :nth-child(3) { animation-delay: .1s; }
/* Transform only: the headline is the LCP element and must be painted at once. */
@keyframes hero-in { from { transform: translateY(10px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .card:hover, .home-list li > a:hover, .lp-rows li:hover { transform: none; }
}

/* ---------- 21. Arabic and RTL ---------- */
html[lang="ar"] body, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, [lang="ar"] { font-family: var(--font-ar); letter-spacing: 0; }
[dir="rtl"] .btn .icon, [dir="rtl"] .card-link .icon, [dir="rtl"] .pt-open .icon { transform: scaleX(-1); }
[dir="rtl"] .eyebrow, [dir="rtl"] .breadcrumb, [dir="rtl"] .period { text-transform: none; letter-spacing: 0; }
[dir="rtl"] .cta-inner::before { left: auto; right: 0; }
[dir="rtl"] .lp-glance { text-align: right; }
[dir="rtl"] .lp-faq summary { text-align: right; }
[dir="rtl"] .cr-body ul li { padding-left: 0; padding-right: 28px; }
[dir="rtl"] .cr-body ul li::before { left: auto; right: 8px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1020px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-grid.cols-4 > .price-card { flex-basis: calc(50% - 11px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .project-grid .project-card { flex-basis: calc((100% - 22px)/2); }
  .cr-layout { grid-template-columns: 1fr; }
  .cr-aside { position: static; }
}
@media (max-width: 860px) {
  .lp-hero-grid, .lp-split { grid-template-columns: 1fr; gap: 28px; }
  .lp-split-head { position: static; }
  .lp-why { grid-template-columns: 1fr; }
  .home-projects, .home-reviews, .home-list, .hv2-cards { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 26px; }
}
@media (max-width: 760px) {
  section, .lp-sec { padding: 60px 0; }
  .hv2 { padding: 44px 0 56px; }
  .hv2::before { width: 100%; height: 240px; opacity: .6; }
  .hv2-card { padding: 22px; }
  .page-hero { padding: 44px 0 36px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .project-grid .project-card { flex-basis: 100%; }
  .form-row, .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .cta-band { padding: 48px 0; }
  .cta-inner .btn { width: 100%; }
  .cta-inner .lp-actions { width: 100%; }
  .price-split-nav { grid-template-columns: 1fr; }
  .erp-trial { flex-wrap: wrap; }
  .erp-trial .btn { margin-left: 0; width: 100%; }
  .split-card { flex-wrap: wrap; }
  .lp-gallery { gap: 14px; }
  .lp-gallery img { height: 380px; border-width: 5px; border-radius: 22px; }
  .pt-grid { grid-template-columns: 1fr 1fr; }
  .pt-tool p { min-height: 0; }
  /* Brokers screenshots on the home card become a swipe slider */
  .hv2-shot-photo { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; height: auto; padding: 18px calc(50% - 96px); gap: 16px; }
  .hv2-shot-photo::-webkit-scrollbar { display: none; }
  .hv2-shot-photo img { flex: none; height: 360px; width: auto; scroll-snap-align: center; transform: none; }
  .hv2-shot-photo .cap { display: none; }
  .hv2-dots { display: flex; justify-content: center; gap: 8px; margin-top: -2px; }
  .hv2-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--border-2); cursor: pointer; transition: width .2s, background .2s; }
  .hv2-dots i.on { width: 22px; background: var(--brand); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > .footer-col:not(.footer-contact) ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .stats-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid.cols-4 > .price-card { flex-basis: 100%; }
  .hero-cta .btn, .lp-actions .btn { width: 100%; }
  .lp-store a { flex: 1 1 100%; justify-content: center; }
  .pt-grid { grid-template-columns: 1fr; }
  .hv2-shot { height: auto; }
}
@media (min-width: 1400px) { :root { --maxw: 1240px; } body { font-size: 17px; } }

/* Single post: breathing room under the sticky navbar */
.article-wrap { padding-top: 40px; }


/* =====================================================================
   23. "Kinetic" design layer (2026-11-03)
   Brings the homepage design language to every public page. Colors are
   NOT changed: only existing tokens are used. Layout, shape, scale and
   motion only. Rollback = delete from this comment to the end of file.
   ===================================================================== */
:root { --radius: 18px; --radius-sm: 12px; --radius-lg: 28px; }

/* Headings: larger, tighter, balanced */
h1, h2 { font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h3 { letter-spacing: -.025em; }

/* Buttons: pills */
.btn { border-radius: 999px; font-weight: 650; box-shadow: none; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; }
.btn-sm { border-radius: 999px; }

/* Navbar: pill links, soft active state */
.nav-links a { border-radius: 999px; padding: 8px 14px; }
.has-sub > a { padding-right: 30px; }
.has-sub > a::before { right: 14px; }
.nav-links a.active { background: var(--blue-50); }
.sub-menu { border-radius: 20px; padding: 10px; }
.sub-menu a { border-radius: 12px; }

/* Eyebrow: mono label with a leading rule */
.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .06em; gap: 10px; }
.eyebrow::before { width: 28px; border-radius: 0; }

/* Section rhythm */
section { padding: 100px 0; }
.section-head { max-width: 820px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 14px 0 12px; }
.section-head p { font-size: 1.1rem; }

/* Inner page hero + landing hero: blueprint grid with a soft brand glow */
.page-hero, .lp-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 92px 0 76px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.page-hero::before, .lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(var(--brand-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--brand-rgb), .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 10%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 85% 80% at 60% 10%, #000 20%, transparent 75%);
}
.page-hero::after, .lp-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 640px; height: 640px; right: -200px; top: -280px;
  border-radius: 50%; background: rgba(var(--brand-rgb), .16); filter: blur(80px);
}
.page-hero h1, .lp-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.page-hero p { font-size: 1.16rem; max-width: 680px; margin-top: 20px; }
.page-hero .hero-cta { margin-top: 32px; }
.lp-answer { font-size: 1.14rem; }
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; }

/* Cards and surfaces */
.card, .glass { border-radius: 24px; border-color: var(--border-2); box-shadow: none; transition: border-color .3s, box-shadow .35s, transform .35s var(--ease-out); }
.card:hover { border-color: var(--brand); box-shadow: 0 40px 70px -40px rgba(var(--brand-rgb), .5); transform: translateY(-5px); }
.card-ico { width: 54px; height: 54px; border-radius: 16px; }

/* Landing pages */
.lp-sec { padding: 96px 0; }
.lp-split-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.06; }
.lp-glance { border-radius: 24px; border-color: var(--border-2); box-shadow: 0 40px 80px -48px rgba(var(--brand-rgb), .45); padding: 28px 30px; }
.lp-rows li { border-radius: 20px; border-color: var(--border-2); padding: 22px 24px; transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s; }
.lp-rows li:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(var(--brand-rgb), .45); }
.lp-n { font-family: var(--font-mono); border-radius: 50%; }
.lp-why li { border-radius: 20px; padding: 24px; }
.lp-faq details { border-radius: 16px; padding: 18px 22px; border-color: var(--border-2); }
.lp-faq details[open] { border-color: var(--brand); box-shadow: none; }
.lp-faq summary::after { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); font-size: 1.1rem; }
.lp-gallery img { border-radius: 36px; }

/* Pricing */
.split-card, .erp-trial { border-radius: 20px; }
.price-card { border-radius: 28px; padding: 38px 30px; }
.price-card .price { font-size: 2.9rem; letter-spacing: -.05em; }
.price-badge { font-family: var(--font-mono); letter-spacing: .06em; }
.compare-wrap { border-radius: 24px; border-color: var(--border-2); box-shadow: none; }
table.compare thead th { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }

/* Portfolio + blog */
.filter-btn { font-weight: 650; }
.project-card, .post-card { border-radius: 24px; }
.project-thumb { height: 230px; }
.project-cat, .post-cat { font-family: var(--font-mono); font-weight: 600; letter-spacing: .04em; }
.tech-tags span { font-family: var(--font-mono); font-size: .7rem; }
.post-thumb { height: 180px; }
.article-hero { border-radius: 28px; }
.live-window { border-radius: 20px; }

/* About */
.stat { border-radius: 24px; }
.stat b { font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -.05em; }

/* Forms and contact */
.form-card { border-radius: 28px; padding: 40px; }
.field input, .field select, .field textarea { border-radius: 14px; }
.ii-ico { border-radius: 16px; }
.map-embed { border-radius: 24px; }
.alert { border-radius: 16px; }

/* Careers + tools */
.cr-job, .cr-app, .cr-cta { border-radius: 20px; border-color: var(--border-2); }
.cr-job:hover { box-shadow: 0 30px 60px -40px rgba(var(--brand-rgb), .45); }
.cr-tag { font-family: var(--font-mono); font-size: .68rem; }
.cr-file, .cr-cv { border-radius: 16px; }

/* Call to action band: full brand-blue panel with a blueprint grid */
.cta-band { padding: 40px 0 110px; }
.cta-inner {
  padding: 64px 60px; border: 0; border-radius: 32px; background: var(--brand); color: #fff;
  isolation: isolate; box-shadow: 0 50px 100px -50px rgba(var(--brand-rgb), .7);
}
.cta-inner::before {
  width: auto; inset: 0; z-index: -1; background: none;
  background-image: radial-gradient(560px 320px at 90% 0%, rgba(255,255,255,.22), transparent 70%), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.045em; }
.cta-inner p { color: rgba(255,255,255,.86); font-size: 1.08rem; }
.cta-inner .btn-primary { background: #fff; border-color: #fff; color: var(--brand); }
.cta-inner .btn-primary:hover { background: #fff; color: var(--brand); }
.cta-inner .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-inner .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* Footer */
.footer { padding-top: 64px; }
.footer h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mut); }
.socials a, .footer-contact li i { border-radius: 50%; }
.footer-cta { border-radius: 999px; }

@media (max-width: 760px) {
  section, .lp-sec { padding: 68px 0; }
  .page-hero, .lp-hero { padding: 56px 0 48px; }
  .cta-band { padding: 20px 0 72px; }
  .cta-inner { padding: 40px 24px; border-radius: 24px; }
  .form-card { padding: 26px 20px; }
}

/* Landing pages: "Areas we serve / related / guides" block */
.lp-more { padding: 96px 0; }
.lm-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lm-areas { padding: 40px; border-radius: 28px; background: var(--bg-elev); border: 1px solid var(--border-2); }
.lp-more .lm-intro { margin: 16px 0 22px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; color: var(--text); max-width: none; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lm-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .9rem; font-weight: 500; color: var(--text); transition: border-color .2s, background .2s, color .2s; }
.lm-chips li i { color: var(--brand); font-size: .78rem; }
.lm-chips li:hover { border-color: var(--brand); background: var(--blue-50); }
.lp-more .lm-remote { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .98rem; max-width: none; }
.lm-remote-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.lm-side { display: grid; gap: 20px; }
.lm-also { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px; border-radius: 24px; background: var(--brand); color: #fff; }
.lm-also p { margin: 0; color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.6; max-width: none; }
.lm-also a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.lm-also-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.lm-block { padding: 26px 28px; border-radius: 24px; background: var(--bg-elev); border: 1px solid var(--border-2); }
.lm-h { margin: 0 0 14px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.lm-links, .lm-guides { margin: 0; padding: 0; list-style: none; }
.lm-links li + li { border-top: 1px solid var(--border); }
.lm-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-weight: 600; color: var(--text); }
.lm-links a i { color: var(--text-mut); font-size: .85rem; transition: transform .25s var(--ease), color .2s; }
.lm-links a:hover { color: var(--brand); }
.lm-links a:hover i { color: var(--brand); transform: translateX(5px); }
[dir="rtl"] .lm-links a:hover i { transform: translateX(-5px); }
.lm-guides { display: grid; gap: 10px; }
.lm-guides a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); font-weight: 600; color: var(--text); transition: border-color .2s, transform .25s var(--ease-out); }
.lm-guides a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.lm-guide-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--brand); font-size: .82rem; }
@media (max-width: 900px) { .lm-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lm-areas { padding: 26px 22px; border-radius: 22px; } .lm-also, .lm-block { padding: 22px; } }

/* Blog article page */
.art-hero { padding-bottom: 64px; }
.art-hero-in .art-meta { max-width: none; }
.art-cat { display: inline-block; padding: 6px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--brand); background: var(--bg-elev); border: 1px solid var(--border-2); }
.art-hero .art-cat { margin: 6px 0 20px; }
.art-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.04; max-width: 920px; }
.page-hero .art-lead { font-size: 1.2rem; max-width: 760px; margin-top: 22px; color: var(--text-soft); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--text-soft); }
.art-meta i { color: var(--brand); margin-inline-end: 4px; }
.art-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.art-author .avatar-i { background: var(--brand); color: #fff; }
.art-switch { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--bg-elev); color: var(--text); font-weight: 600; transition: border-color .2s, color .2s; }
.art-switch:hover { border-color: var(--brand); color: var(--brand); }
.art-cover-wrap { margin-top: -28px; position: relative; z-index: 2; }
.art-cover { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 28px; border: 1px solid var(--border-2); }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; padding: 72px 0 40px; }
.art-layout .article { max-width: 740px; margin: 0; grid-column: 1; grid-row: 1; }
.art-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 18px; }
.art-aside-h { display: block; margin-bottom: 12px; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.art-toc { padding: 22px 22px 16px; border-radius: 22px; background: var(--bg-elev); border: 1px solid var(--border-2); }
.art-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.art-toc li { counter-increment: toc; }
.art-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 7px 0; font-size: .9rem; line-height: 1.4; color: var(--text-soft); transition: color .2s; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .72rem; color: var(--text-mut); padding-top: 2px; }
.art-toc a:hover { color: var(--brand); }
.art-side-cta { padding: 24px 22px; border-radius: 22px; background: var(--brand); color: #fff; }
.art-side-cta strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.art-side-cta p { margin: 6px 0 16px; font-size: .9rem; color: rgba(255,255,255,.85); }
.art-side-cta .btn-primary { background: #fff; border-color: #fff; color: var(--brand); }
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 52px 0 16px; letter-spacing: -.035em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.article-content ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.article-content ul li { position: relative; margin: 0; padding-inline-start: 30px; }
.article-content ul li::before { content: ""; position: absolute; inset-inline-start: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--blue-50); }
.article-content .art-table { overflow-x: auto; margin: 0 0 30px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.article-content .art-table table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.55; }
.article-content .art-table th, .article-content .art-table td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--border); }
.article-content .art-table th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
.article-content .art-table tr:last-child td { border-bottom: 0; }
.article-content .art-table td:first-child { font-weight: 600; }
.art-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; color: var(--brand); }
.art-related { padding: 80px 0 40px; background: var(--bg-soft); border-top: 1px solid var(--border); }
.art-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.art-rel { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 76px; border-radius: 24px; background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--text); transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s; }
.art-rel:hover { border-color: var(--brand); transform: translateY(-5px); box-shadow: 0 40px 70px -40px rgba(var(--brand-rgb), .5); }
.art-rel-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.art-rel-date { font-size: .8rem; color: var(--text-mut); }
.art-rel strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.25; }
.art-rel-ex { font-size: .94rem; color: var(--text-soft); line-height: 1.6; }
.art-rel-go { position: absolute; inset-inline-start: 28px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--brand); transition: background .25s, color .25s, border-color .25s; }
.art-rel:hover .art-rel-go { background: var(--brand); border-color: var(--brand); color: #fff; }
.art-related + .cta-band { background: var(--bg-soft); padding-top: 40px; }
@media (max-width: 980px) {
  .art-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .art-aside { grid-column: 1; grid-row: auto; position: static; order: 2; }
  .art-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .art-switch { margin-inline-start: 0; }
  .article-content { font-size: 1.04rem; }
}

/* Blog article: "Explore CeevTech" links in the sidebar */
.art-explore { padding: 22px 22px 14px; border-radius: 22px; background: var(--bg-elev); border: 1px solid var(--border-2); }
.art-explore ul { margin: 0; padding: 0; list-style: none; }
.art-explore li + li { border-top: 1px solid var(--border); }
.art-explore a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; font-size: .92rem; font-weight: 600; color: var(--text); }
.art-explore a > i:first-child { color: var(--brand); font-size: .85rem; }
.art-explore a .go { color: var(--text-mut); font-size: .75rem; transition: transform .25s var(--ease), color .2s; }
.art-explore a:hover { color: var(--brand); }
.art-explore a:hover .go { color: var(--brand); transform: translateX(4px); }
[dir="rtl"] .art-explore a:hover .go { transform: translateX(-4px); }

/* Pricing: link to the website-cost guide */
.guide-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; max-width: 920px; margin: 32px auto 0; padding: 22px 26px; border-radius: 22px; background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--text); transition: border-color .3s, transform .35s var(--ease-out), box-shadow .35s; }
.guide-link:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 30px 60px -40px rgba(var(--brand-rgb), .5); }
.guide-link-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.1rem; }
.guide-link-txt { display: grid; gap: 3px; font-size: .94rem; color: var(--text-soft); }
.guide-link-txt small { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.guide-link-txt b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); }
.guide-link-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--brand); transition: background .25s, color .25s, border-color .25s; }
.guide-link:hover .guide-link-go { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 640px) { .guide-link { grid-template-columns: auto 1fr; } .guide-link-go { display: none; } }

/* Mobile menu fix: the navbar's backdrop-filter makes it the containing block
   for the fixed menu sheet, so "top + bottom: 0" collapsed the sheet to zero
   height (invisible) while the open state locked page scroll = frozen page.
   An explicit viewport height works whichever box it is measured against. */
@media (max-width: 1020px) {
  /* No backdrop-filter on small screens: it turns the navbar into the menu's
     containing block. With a solid navbar the sheet is fixed to the viewport. */
  .navbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .nav-links { top: var(--nav-h); bottom: 0; height: auto; max-height: none; }
  .nav-links > li > a, .sub-menu a { border-radius: 14px; }
  .nav-links .nav-cta .btn { border-radius: 999px; justify-content: center; }
}

/* Mobile menu: designed sheet (2026-11-03) */
@media (max-width: 1020px) {
  /* Keep the bar (logo + close button) on screen whatever the scroll position */
  html:has(.nav-links.open) .navbar { position: fixed; top: 0; left: 0; right: 0; }
  html:has(.nav-links.open) body { padding-top: var(--nav-h); }

  .nav-links {
    padding: 8px 20px calc(28px + env(safe-area-inset-bottom)); gap: 0; counter-reset: navn;
    background-color: var(--bg);
    background-image: linear-gradient(rgba(var(--brand-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--brand-rgb), .05) 1px, transparent 1px);
    background-size: 48px 48px; border-top: 1px solid var(--border);
  }
  .nav-links > li:not(.nav-cta) { counter-increment: navn; border-bottom: 1px solid var(--border); }
  .nav-links > li:not(.nav-cta) > a {
    position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 14px;
    min-height: 62px; padding: 14px 4px; border-radius: 0; background: none;
    font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; color: var(--text);
  }
  .nav-links > li:not(.nav-cta) > a::before, .nav-links .has-sub > a::before {
    content: counter(navn, decimal-leading-zero); display: inline-block; position: static; width: 26px; height: auto; border: 0; transform: none;
    font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--text-mut);
  }
  .nav-links > li:not(.has-sub):not(.nav-cta) > a::after {
    content: "\2192"; margin-inline-start: auto; font-family: var(--font); font-size: 1.1rem; font-weight: 400; color: var(--text-mut);
    transition: transform .25s var(--ease), color .2s;
  }
  [dir="rtl"] .nav-links > li:not(.has-sub):not(.nav-cta) > a::after { content: "\2190"; }
  .nav-links > li:not(.nav-cta) > a:hover::after, .nav-links > li:not(.nav-cta) > a:active::after { color: var(--brand); transform: translateX(4px); }
  .nav-links > li:not(.nav-cta) > a.active { color: var(--brand); background: none; font-weight: 800; }
  .nav-links > li:not(.nav-cta) > a.active::before { color: var(--brand); }
  /* Current page: a brand dot replaces the arrow */
  .nav-links > li:not(.has-sub):not(.nav-cta) > a.active::after { content: ""; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--blue-50); transform: none; }

  /* Services: compact chips under the heading */
  .sub-menu { gap: 8px; padding: 0 0 18px 40px; }
  [dir="rtl"] .sub-menu { padding: 0 40px 18px 0; }
  .sub-menu a {
    min-height: 46px; padding: 10px 14px; border-radius: 14px; background: var(--bg-elev); border: 1px solid var(--border-2);
    font-size: .86rem; font-weight: 600; color: var(--text); transition: border-color .2s, color .2s;
  }
  .sub-menu a:hover, .sub-menu a:active, .sub-menu a.active { border-color: var(--brand); color: var(--brand); background: var(--blue-50); }

  /* Bottom actions */
  .nav-links .nav-cta { margin-top: 22px; }
  .nav-links .nav-wa { margin-top: 10px; }
  .nav-links .nav-cta .btn { min-height: 54px; font-size: 1.02rem; }
  .nav-links .nav-wa .btn { color: var(--text); background: var(--bg-elev); border: 1px solid var(--border-2); }
  .nav-links .nav-wa .btn i { color: #25d366; font-size: 1.15rem; }

  /* Cascade in when opened */
  .nav-links > li { opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .nav-links.open > li { opacity: 1; transform: none; }
  .nav-links.open > li:nth-child(1) { transition-delay: .03s; } .nav-links.open > li:nth-child(2) { transition-delay: .06s; }
  .nav-links.open > li:nth-child(3) { transition-delay: .09s; } .nav-links.open > li:nth-child(4) { transition-delay: .12s; }
  .nav-links.open > li:nth-child(5) { transition-delay: .15s; } .nav-links.open > li:nth-child(6) { transition-delay: .18s; }
  .nav-links.open > li:nth-child(7) { transition-delay: .21s; } .nav-links.open > li:nth-child(8) { transition-delay: .24s; }
  .nav-links.open > li:nth-child(n+9) { transition-delay: .27s; }
}
@media (max-width: 1020px) and (prefers-reduced-motion: reduce) {
  .nav-links > li { opacity: 1; transform: none; transition: none; }
}

/* Portfolio: "Explore live" button on project screenshots.
   .project-thumb .icon (66px, meant for the placeholder icon) was also
   sizing the button's own icon, turning it into a big dark blob. */
.project-thumb .preview-expand .icon { width: 15px; height: 15px; opacity: 1; z-index: auto; color: currentColor; }
.preview-expand {
  left: 14px; bottom: 14px; gap: 8px; min-height: 38px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-family: var(--font); font-size: .8rem; font-weight: 650; letter-spacing: 0;
  color: var(--brand); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 28px -12px rgba(10,26,58,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s, color .2s;
}
.preview-expand:hover, .preview-expand:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-thumb::after { background: linear-gradient(180deg, transparent 55%, rgba(7,26,61,.35)); }
