/* ==========================================================================
   Web Solutions by Shaheer — main.css
   Design tokens, base typography, layout, navbar, buttons, footer
   ========================================================================== */
@font-face { font-family: "Sora"; src: url("../vendor/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../vendor/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../vendor/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --navy-1000: #02050d;
  --navy-950: #040915;
  --navy-900: #060d1f;
  --navy-850: #09132b;
  --navy-800: #0c1836;
  --navy-700: #122147;
  --navy-600: #1a2d5c;
  --line: rgba(124, 172, 255, 0.14);
  --line-strong: rgba(124, 172, 255, 0.28);
  --blue-300: #9ccdff;
  --blue-400: #6cb4ff;
  --blue-500: #3d8bff;
  --blue-600: #2f6bff;
  --blue-700: #1f4fe0;
  --cyan: #3ee0ff;
  --violet: #8b6dff;
  --violet-600: #6a4cf5;
  --green: #3ddc97;
  --amber: #ffc861;
  --rose: #ff7a90;
  --text: #e9efff;
  --text-2: #b4c1e0;
  --text-3: #8695ba;
  --grad: linear-gradient(120deg, #9ccdff 0%, #3d8bff 45%, #8b6dff 100%);
  --grad-btn: linear-gradient(135deg, #3d8bff 0%, #2f6bff 50%, #5a4cf5 100%);
  --glass: rgba(10, 20, 46, 0.62);
  --glass-strong: rgba(8, 16, 38, 0.86);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-blue: 0 18px 50px -18px rgba(47, 107, 255, 0.55);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: #fff; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--blue-400); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--blue-300); }
::selection { background: rgba(61, 139, 255, 0.4); color: #fff; }
main { position: relative; z-index: 2; outline: none; }
.container-xl { --bs-gutter-x: clamp(1.25rem, 4vw, 2.5rem); max-width: 1320px; }

/* Focus visibility (keyboard) */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy-900); font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; color: var(--navy-900); }

/* Ambient background lighting */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.ambient__orb--a { width: 46vw; height: 46vw; left: -14vw; top: -12vw; background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 70%); }
.ambient__orb--b { width: 40vw; height: 40vw; right: -12vw; top: 38vh; background: radial-gradient(circle, rgba(139, 109, 255, 0.22), transparent 70%); }
.ambient__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(124, 172, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 172, 255, 0.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%); }

/* Typography helpers */
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.8; }
.section { position: relative; padding: var(--section-y) 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 650; }
.section-title--sm { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section-lead { color: var(--text-2); font-size: 1.1rem; max-width: 640px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-title { margin-bottom: 0.4em; }
.section-head--center .section-lead { margin: 0 auto; }
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { color: var(--text-2); padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Buttons */
.btn-ws {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; line-height: 1;
  color: #fff; cursor: pointer; isolation: isolate; overflow: hidden; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, background-color 0.3s, color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn-ws i { font-size: 1.05em; transition: transform 0.35s var(--ease); }
.btn-ws:hover i.bi-arrow-right, .btn-ws:hover i.bi-arrow-up-right { transform: translateX(3px); }
.btn-ws--primary { background: var(--grad-btn); box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ws--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%); transform: translateX(-120%); transition: transform 0.8s var(--ease); }
.btn-ws--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(47, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ws--primary:hover::after { transform: translateX(120%); }
.btn-ws--ghost { background: rgba(14, 28, 62, 0.55); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ws--ghost:hover { color: #fff; border-color: rgba(108, 180, 255, 0.7); background: rgba(47, 107, 255, 0.16); transform: translateY(-2px); }
.btn-ws--sm { --h: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn-ws--lg { --h: 58px; padding: 0 30px; font-size: 1rem; }
.btn-ws:active { transform: translateY(0) scale(0.98); }
.btn-ws[disabled], .btn-ws.is-busy { cursor: progress; opacity: 0.85; }
.btn-ws__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
.btn-ws.is-busy .btn-ws__spinner { display: inline-block; }
.btn-ws.is-busy i { display: none; }
.btn-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); background: rgba(14, 28, 62, 0.55); transition: all 0.3s var(--ease); }
.btn-icon:hover { color: #fff; border-color: var(--blue-400); background: rgba(47, 107, 255, 0.2); transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--blue-300); }
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow--sm { font-size: 0.9rem; }

/* ---------- Header / navbar ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, height 0.4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { --header-h: 66px; background: rgba(5, 11, 26, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8); }
.navbar-ws { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, rgba(61, 139, 255, 0.25), rgba(139, 109, 255, 0.18)); border: 1px solid var(--line-strong); color: var(--blue-300); box-shadow: inset 0 0 18px rgba(61, 139, 255, 0.25); }
.brand__mark svg { width: 28px; height: auto; }
.brand__img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 650; letter-spacing: -0.01em; }
.brand__text small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-400); margin-top: 3px; }
.brand--sm .brand__mark { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 4px; list-style: none; border-radius: 999px; background: rgba(9, 19, 43, 0.45); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-links__a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: color 0.25s, background-color 0.25s; }
.nav-links__a:hover { color: #fff; background: rgba(124, 172, 255, 0.08); }
.nav-links__a.is-active { color: #fff; background: rgba(47, 107, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(108, 180, 255, 0.35); }
.nav-hire { flex-shrink: 0; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(14, 28, 62, 0.6); cursor: pointer; padding: 0; }
.nav-toggle__bar { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease), opacity 0.2s; }
.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 22px; right: 18px; }
.nav-toggle__bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu (slide-in panel with open/close animation) */
.mobile-menu { position: fixed; inset: 0; z-index: 200; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(2, 5, 13, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s var(--ease); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #081230 0%, #050b1d 100%); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.45s var(--ease); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(14, 28, 62, 0.6); color: #fff; font-size: 1.1rem; cursor: pointer; }
.mobile-menu__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu__links a { display: flex; align-items: baseline; gap: 14px; padding: 13px 14px; border-radius: 14px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--text); border: 1px solid transparent; opacity: 0; transform: translateX(24px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.25s, border-color 0.25s; transition-delay: calc(var(--i) * 40ms); }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu__links a:hover, .mobile-menu__links a.is-active { background: rgba(47, 107, 255, 0.14); border-color: rgba(108, 180, 255, 0.25); color: #fff; }
.mobile-menu__links a.is-active .mobile-menu__num { color: var(--cyan); }
.mobile-menu__num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.mobile-menu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; }
.mobile-menu__mail { display: inline-flex; gap: 8px; align-items: center; justify-content: center; color: var(--text-2); font-size: 0.95rem; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; margin-top: 40px; padding: 72px 0 28px; background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.9) 30%); border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(640px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--blue-500), var(--violet), transparent); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer__tagline { color: var(--text-2); margin: 18px 0 20px; max-width: 340px; }
.site-footer__h { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; font-weight: 500; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { color: var(--text-2); font-size: 0.97rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__mail { display: flex !important; align-items: center; gap: 10px; margin-bottom: 12px; word-break: break-all; }
.site-footer__mail i { color: var(--blue-400); }
.site-footer__loc { color: var(--text-3); font-size: 0.95rem; margin: 0; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.88rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--text-2); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(14, 28, 62, 0.5); color: var(--text-2); font-size: 1.05rem; transition: all 0.3s var(--ease); }
.socials a:hover { color: #fff; border-color: var(--blue-400); background: rgba(47, 107, 255, 0.2); transform: translateY(-3px); }

/* WhatsApp floating button */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 16px; border-radius: 999px; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.7); transition: transform 0.35s var(--ease), box-shadow 0.3s; }
.wa-float i { font-size: 1.5rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 46px -14px rgba(37, 211, 102, 0.85); }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
