/* =========================================================
   Muhammad Salman Ali Khan — Portfolio
   Premium animated theme · vanilla CSS (no build step)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #07070d;
  --bg-2: #0b0b16;
  --bg-grad-1: #120a2a;
  --bg-grad-2: #04040a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ecebf5;
  --heading: #ffffff;
  --muted: #9a98b5;
  --muted-2: #76748f;

  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --magenta: #e879f9;
  --gold: #fbbf24;

  --primary: var(--violet);
  --grad: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --grad-text: linear-gradient(120deg, #c4b5fd 0%, #a78bfa 35%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,92,246,.18), rgba(34,211,238,.12));

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -12px rgba(139, 92, 246, 0.45);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1200px;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f6f5fb;
  --bg-2: #ffffff;
  --bg-grad-1: #e9e4ff;
  --bg-grad-2: #f6f5fb;
  --surface: rgba(20, 16, 45, 0.025);
  --surface-2: rgba(20, 16, 45, 0.045);
  --border: rgba(20, 16, 45, 0.10);
  --border-strong: rgba(20, 16, 45, 0.18);
  --text: #2c2840;
  --heading: #14101f;
  --muted: #5c5876;
  --muted-2: #7d7a9a;
  --shadow: 0 24px 50px -28px rgba(60, 40, 120, 0.35);
  --shadow-glow: 0 0 50px -16px rgba(139, 92, 246, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

/* ---------- Background canvas / aurora ---------- */
.bg-layer {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 800px at 80% -10%, var(--bg-grad-1), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(34,211,238,.08), transparent 55%),
    linear-gradient(180deg, var(--bg-grad-2), var(--bg));
}
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: float 18s var(--ease) infinite;
}
.aurora .a1 { width: 480px; height: 480px; left: -120px; top: 6%; background: radial-gradient(circle, #7c3aed, transparent 65%); }
.aurora .a2 { width: 420px; height: 420px; right: -100px; top: 28%; background: radial-gradient(circle, #06b6d4, transparent 65%); animation-delay: -6s; }
.aurora .a3 { width: 380px; height: 380px; left: 40%; bottom: -120px; background: radial-gradient(circle, #db2777, transparent 65%); animation-delay: -11s; opacity: .35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}
#particle-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Layout helpers ---------- */
.container { width: min(92%, var(--maxw)); margin-inline: auto; }
section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--violet-2);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 100px;
  background: var(--surface); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h2.title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; font-weight: 600;
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  position: relative; will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 32px -10px rgba(124,58,237,.7); background-size: 160% 160%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(124,58,237,.85); background-position: 100% 0; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); color: var(--heading); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--violet); background: var(--surface-2); }

/* ---------- Navbar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: var(--grad); box-shadow: 0 0 12px rgba(139,92,246,.8); }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding: 12px clamp(16px, 4vw, 40px); background: rgba(7,7,13,.72);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border); }
[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.78); }
.brand { display: flex; flex-direction: column; line-height: 1; z-index: 95; }
.brand .name { font-family: var(--font-script); font-size: 2.4rem; font-weight: 700; color: var(--heading); line-height: 1; white-space: nowrap; }
.brand .role { font-family: var(--font-head); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--violet-2); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-family: var(--font-head); font-size: .92rem; font-weight: 500; color: var(--muted);
  padding: 9px 15px; border-radius: 100px; transition: color .3s, background .3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--heading); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); transition: transform .3s, border-color .3s; }
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--violet); }
.theme-toggle svg { width: 19px; height: 19px; stroke: var(--heading); }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); flex-direction: column; gap: 5px; align-items: center; justify-content: center; z-index: 95; }
.hamburger span { width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: .35s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 8px; }
.hero h1 .hi { display: block; font-size: clamp(1rem, 2.2vw, 1.4rem); font-weight: 500; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; margin-bottom: 10px; }
.hero .typed-wrap { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.7rem); margin: 22px 0 8px; min-height: 1.6em; color: var(--heading); }
.typed { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cursor { display: inline-block; width: 3px; height: 1.05em; background: var(--cyan); margin-left: 4px; vertical-align: -0.16em; animation: blink 1s steps(2) infinite; border-radius: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin: 14px 0 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.hero-meta svg { width: 17px; height: 17px; stroke: var(--violet-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); transition: .35s var(--ease); }
.socials a:hover { transform: translateY(-4px); border-color: var(--violet); color: #fff; background: var(--grad-soft); box-shadow: var(--shadow-glow); }
.socials svg { width: 19px; height: 19px; }

/* hero portrait */
.hero-visual { position: relative; display: grid; place-items: center; }
.portrait-ring { position: relative; width: min(420px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.portrait-ring .blob {
  position: absolute; inset: 0; border-radius: 46% 54% 56% 44% / 52% 44% 56% 48%;
  background: var(--grad); filter: blur(2px); opacity: .85;
  animation: morph 9s var(--ease) infinite, spin 22s linear infinite; box-shadow: var(--shadow-glow);
}
.portrait-ring .blob.b2 { inset: 18px; opacity: .35; background: linear-gradient(135deg,#22d3ee,#8b5cf6); animation-direction: reverse; animation-duration: 14s, 28s; }
@keyframes morph {
  0%,100% { border-radius: 46% 54% 56% 44% / 52% 44% 56% 48%; }
  50% { border-radius: 56% 44% 43% 57% / 44% 56% 44% 56%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-ring .photo { position: relative; z-index: 2; width: 84%; height: 84%;
  border-radius: 50%; object-fit: cover; object-position: center 18%;
  border: 5px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 55px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 14px; background: rgba(12,12,22,.72); border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: .85rem; }
[data-theme="light"] .float-card { background: rgba(255,255,255,.85); }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); }
.float-card .ic svg { width: 18px; height: 18px; stroke: var(--violet-2); }
.float-card b { color: var(--heading); font-family: var(--font-head); display: block; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: .74rem; }
.fc-1 { top: 8%; left: -4%; animation: bob 5s ease-in-out infinite; }
.fc-2 { bottom: 16%; right: -6%; animation: bob 6s ease-in-out infinite .8s; }
.fc-3 { bottom: 2%; left: 6%; animation: bob 5.5s ease-in-out infinite .4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted-2); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 4px; background: var(--violet-2); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  text-align: center; transition: .4s var(--ease); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: .4s; }
.stat:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.stat:hover::before { opacity: 1; }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 6px; position: relative; }

/* ---------- Cards / glass ---------- */
.glass { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); position: relative; }
.about-media .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.about-media .frame:hover img { transform: scale(1.05); }
.about-media .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,7,13,.5)); }
.about-media .exp-badge { position: absolute; bottom: -22px; right: -16px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); text-align: center; }
.about-media .exp-badge b { font-family: var(--font-head); font-size: 2.1rem; display: block; line-height: 1; }
.about-media .exp-badge small { font-size: .76rem; opacity: .9; letter-spacing: .05em; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text p strong { color: var(--text); }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.about-highlights .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--grad-soft); margin-top: 2px; }
.about-highlights .tick svg { width: 14px; height: 14px; stroke: var(--cyan-2); }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 34px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: .45s var(--ease); position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-8px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 22px; transition: .45s var(--ease); }
.service-card:hover .ico { transform: rotate(-8deg) scale(1.05); }
.service-card .ico svg { width: 28px; height: 28px; stroke: var(--violet-2); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card .idx { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--border-strong); transition: .4s; }
.service-card:hover .idx { color: var(--violet); opacity: .35; }

/* ---------- Expertise (modules + industries) ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud span { padding: 10px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border);
  font-size: .9rem; color: var(--text); font-family: var(--font-head); font-weight: 500; transition: .35s var(--ease); cursor: default; }
.tag-cloud span:hover { border-color: var(--violet); color: var(--heading); transform: translateY(-3px); background: var(--grad-soft); box-shadow: 0 10px 24px -14px rgba(139,92,246,.6); }
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.industries li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); font-size: .92rem; transition: .35s; }
.industries li:hover { border-color: var(--border-strong); transform: translateX(4px); }
.industries .ic { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--grad-soft); }
.industries .ic svg { width: 16px; height: 16px; stroke: var(--cyan-2); }

/* ---------- Certifications ---------- */
.cert-badges { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; max-width: 1010px; margin: 56px auto 0; }
.cert-medal { position: relative; width: 144px; height: 144px; border-radius: 50%;
  background: linear-gradient(160deg, #14122c, #0a0916) padding-box, linear-gradient(150deg, var(--violet) 0%, var(--cyan) 100%) border-box;
  border: 2px solid transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cert-medal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgba(167,139,250,.34); pointer-events: none; }
.cert-medal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 26%, rgba(139,92,246,.24), transparent 62%); pointer-events: none; }
.cert-medal:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 22px 44px -14px rgba(124,58,237,.6), var(--shadow-glow); }
.cert-medal .odoo { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .01em; color: var(--violet-2); position: relative; z-index: 1; }
.cert-medal b { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1; position: relative; z-index: 1; }
.cert-medal small { font-size: .54rem; letter-spacing: .22em; color: var(--muted-2); text-transform: uppercase; position: relative; z-index: 1; margin-top: 3px; }
[data-theme="light"] .cert-medal { background: linear-gradient(160deg, #ffffff, #f1edff) padding-box, linear-gradient(150deg, var(--violet), var(--cyan)) border-box; }
[data-theme="light"] .cert-medal b { color: var(--heading); }
.cert-extra { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.cert-extra span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); font-size: .9rem; color: var(--text); }
.cert-extra svg { width: 16px; height: 16px; stroke: var(--cyan-2); flex: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 85; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.55);
  transition: transform .3s var(--ease); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.2s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.1) translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 80%,100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Experience timeline ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan), transparent); }
.tl-item { position: relative; padding: 0 0 38px 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .node { position: absolute; left: 9px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--violet); display: grid; place-items: center; }
.tl-item .node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--violet); }
.tl-card { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .4s var(--ease); }
.tl-card:hover { transform: translateX(6px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.tl-date { display: inline-block; font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: var(--cyan-2); padding: 4px 12px; border-radius: 100px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.18); margin-bottom: 12px; }
.tl-card h3 { font-size: 1.18rem; }
.tl-card .company { color: var(--violet-2); font-weight: 600; font-size: .95rem; margin: 4px 0 10px; font-family: var(--font-head); }
.tl-card p { color: var(--muted); font-size: .92rem; }
.tl-card .place { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; color: var(--muted-2); }
.tl-card .place svg { width: 14px; height: 14px; stroke: currentColor; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 4/3; background: var(--surface); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 55%, rgba(7,7,13,.55)); opacity: 0; transition: .45s var(--ease); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius);
  box-shadow: inset 0 0 0 0 var(--violet); transition: box-shadow .45s var(--ease); pointer-events: none; }
.gallery-item:hover::before { box-shadow: inset 0 0 0 2px var(--violet); }

/* ---------- Clients marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 50s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { flex: none; width: 168px; height: 96px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--border); display: grid; place-items: center; padding: 18px; transition: .4s var(--ease); }
.logo-chip:hover { border-color: var(--violet); background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-chip img { max-height: 56px; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(1.6) opacity(.7); transition: .4s; }
[data-theme="light"] .logo-chip img { filter: grayscale(1) opacity(.7); }
.logo-chip:hover img { filter: none; }
.client-names { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; max-width: 820px; margin-inline: auto; }
.client-names span { font-size: .86rem; color: var(--muted); padding: 7px 15px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); transition: .3s; }
.client-names span:hover { color: var(--heading); border-color: var(--violet); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .35s, background .35s; }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); transition: transform .35s var(--ease); }
.faq-item summary .chev svg { width: 16px; height: 16px; stroke: var(--violet-2); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); font-size: .96rem; }
.faq-item .faq-a a { color: var(--violet-2); }

/* ---------- Insights (articles) ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin-inline: auto; }
.insight-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: .45s var(--ease); }
.insight-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.insight-card:hover { transform: translateY(-8px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.insight-card:hover::before { transform: scaleX(1); }
.insight-card .tag { align-self: flex-start; font-family: var(--font-head); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-2); padding: 5px 12px; border-radius: 100px;
  background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.18); }
.insight-card h3 { font-size: 1.16rem; line-height: 1.3; }
.insight-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.insight-card .read { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--violet-2);
  display: inline-flex; align-items: center; gap: 7px; transition: gap .3s var(--ease); }
.insight-card:hover .read { gap: 12px; }
.insight-card .read svg { width: 16px; height: 16px; }
@media (max-width: 700px) { .insights-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.ci-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .4s var(--ease); }
.ci-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.ci-card .ic { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); }
.ci-card .ic svg { width: 22px; height: 22px; stroke: var(--violet-2); }
.ci-card small { color: var(--muted-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ci-card b { font-family: var(--font-head); color: var(--heading); font-weight: 600; font-size: 1rem; display: block; margin-top: 2px; word-break: break-word; }
.ci-qr { margin-top: auto; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border-strong); }
.ci-qr img { width: 84px; height: 84px; border-radius: 12px; background: #fff; padding: 4px; }
.ci-qr p { font-size: .88rem; color: var(--muted); }

.contact-form { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: .94rem; margin-bottom: 24px; }
.field { position: relative; margin-bottom: 20px; }
.field input, .field textarea { width: 100%; padding: 16px 16px 16px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: .96rem; transition: .3s; resize: vertical; }
[data-theme="light"] .field input, [data-theme="light"] .field textarea { background: #fff; }
.field textarea { min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.field label { position: absolute; left: 14px; top: 16px; color: var(--muted-2); font-size: .96rem; pointer-events: none; transition: .25s var(--ease); padding: 0 5px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; font-size: .74rem; color: var(--violet-2); background: var(--bg-2); }
[data-theme="light"] .field input:focus + label, [data-theme="light"] .field input:not(:placeholder-shown) + label,
[data-theme="light"] .field textarea:focus + label, [data-theme="light"] .field textarea:not(:placeholder-shown) + label { background: #fff; }
.contact-form .btn-primary { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.form-status.err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand .name { font-size: 1.8rem; }
.footer-col h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; transition: .3s; font-size: .95rem; }
.footer-col a:hover { color: var(--heading); padding-left: 6px; }
.footer-about { color: var(--muted); font-size: .95rem; max-width: 320px; margin: 16px 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 26px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .88rem; }
.footer-bottom .heart { color: var(--magenta); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 28px; bottom: 96px; width: 50px; height: 50px; border-radius: 50%; z-index: 80;
  background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; } .reveal.d6 { transition-delay: .48s; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.6); transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s; }
.cursor-ring.hover { width: 52px; height: 52px; background: rgba(255,255,255,.08); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { order: -1; }
  .portrait-ring { width: min(340px, 72vw); }
  .about-grid, .cert-wrap, .contact-grid, .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-img { transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); flex-direction: column; justify-content: center;
    align-items: stretch; gap: 8px; padding: 90px 26px 40px; background: rgba(9,9,17,.96); backdrop-filter: blur(20px);
    border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .45s var(--ease); }
  [data-theme="light"] .nav-links { background: rgba(255,255,255,.97); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; padding: 14px 18px; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .brand .name { font-size: 2rem; }
}
@media (max-width: 560px) {
  .stats, .cards-grid, .about-highlights, .industries, .footer-grid { grid-template-columns: 1fr; }
  .brand .name { font-size: 1.5rem; }
  .brand .role { font-size: .5rem; letter-spacing: .16em; }
  .nav { padding: 14px 16px; }
  .nav.scrolled { padding: 10px 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .about-media .exp-badge { right: 12px; }
  .float-card { display: none; }
  .fc-3 { display: flex; }
  .contact-form { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   Article byline — visible author + freshness signal
   Compact author card rendered under the H1 on guide pages
   (uae-e-invoicing-odoo-guide, odoo-19-new-features, etc).
   Complements the Article JSON-LD; not a replacement for it.
   ========================================================= */
.byline { display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--border); }
.byline-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-strong); background: var(--surface); }
.byline-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.byline-name { font-family: var(--font-head); font-size: .92rem; color: var(--muted-2); }
.byline-name a { color: var(--violet-2); font-weight: 600; }
.byline-name a:hover { text-decoration: underline; }
.byline-cred { font-size: .86rem; color: var(--muted); max-width: 60ch; }
.byline-dates { font-size: .8rem; color: var(--muted-2); }
.byline-dates time { color: inherit; }

/* =========================================================
   APPENDED BLOCK — Industry Solutions showcase, Products
   strip and 5-column footer (homepage internal linking).
   Nothing above this comment is modified. The solution cards
   reuse .insight-card as their base; the rules below only add
   the denser 3-up grid, the products strip and the wider
   footer, re-declaring the responsive footer breakpoints so
   the existing mobile stack is preserved.
   ========================================================= */

/* ---------- Shared arrow link (outside cards) ---------- */
.arrow-link { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--violet-2);
  display: inline-flex; align-items: center; gap: 7px; transition: gap .3s var(--ease); }
.arrow-link:hover { gap: 12px; }
.arrow-link svg { width: 16px; height: 16px; }

/* ---------- Solutions grid (11 industry cards + hub tile) ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solutions-grid .solution-card { gap: 10px; padding: 24px 22px; }
.solutions-grid .solution-card h3 { font-size: 1.04rem; letter-spacing: -.015em; }
.solutions-grid .solution-card p { font-size: .885rem; line-height: 1.6; }
.solutions-grid .solution-card .read { font-size: .84rem; }

/* Hub tile — closes the grid at 4x3 and carries the link to /odoo-solutions/ */
.solutions-grid .solution-hub { background: var(--grad-soft); border-color: var(--border-strong); justify-content: center; }
.solutions-grid .solution-hub::before { transform: scaleX(1); }
.solutions-grid .solution-hub h3 { font-size: 1.12rem; }
.solutions-grid .solution-hub p { flex: 0 1 auto; }

@media (max-width: 980px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ---------- Products strip (compact, inside #solutions) ---------- */
.products-strip { margin-top: clamp(46px, 6vw, 74px); padding-top: clamp(34px, 4.5vw, 52px); border-top: 1px solid var(--border); }
.products-strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 26px; margin-bottom: 24px; }
.products-strip-head h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
.products-strip-head p { color: var(--muted); font-size: .94rem; margin-top: 10px; max-width: 64ch; }
.product-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: .45s var(--ease); }
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.product-card .prod-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-card h4 { font-size: 1.06rem; }
.product-card p { color: var(--muted); font-size: .875rem; line-height: 1.6; flex: 1; }
.stage-pill { font-family: var(--font-head); font-size: .62rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.stage-pill.is-live { color: #6ee7b7; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.28); }
.stage-pill.is-dev { color: var(--muted-2); background: var(--surface-2); border: 1px solid var(--border); }
[data-theme="light"] .stage-pill.is-live { color: #047857; background: rgba(16,185,129,.10); border-color: rgba(16,185,129,.30); }
@media (max-width: 780px) { .product-cards { grid-template-columns: 1fr; } }

/* ---------- Footer: 5 columns (Brand | Navigate | Solutions | Guides+Products | Contact) ---------- */
.footer-grid { grid-template-columns: 1.15fr .8fr 1.5fr 1.05fr .95fr; gap: 34px 28px; }
.footer-subhead { display: block; font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 20px 0 8px; }
@media (min-width: 1081px) { .footer-links-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
