:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #9db0c4;
  --line: rgba(255,255,255,.12);
  --panel: rgba(11,29,48,.84);
  --navy: #05111e;
  --blue: #43a5ff;
  --cyan: #56e0de;
  --green: #40d49c;
  --shadow: 0 28px 90px rgba(0,0,0,.32);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(36,119,200,.28), transparent 32rem),
    radial-gradient(circle at 92% 20%, rgba(50,210,183,.14), transparent 28rem),
    linear-gradient(155deg,#071624 0%,#050d17 56%,#07111d 100%);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
html[dir="rtl"] body { font-family: Cairo, Tahoma, Arial, sans-serif; }
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom,#000,transparent 78%);
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
.shell { position: relative; z-index: 1; width: min(1180px,calc(100% - 32px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.signature { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .signature { letter-spacing: 0; }
.signature-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(85,224,223,.44); border-radius: 12px; background: rgba(85,224,223,.08); color: var(--cyan); }
.top-actions { display: flex; align-items: center; gap: 9px; }
.top-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); cursor: pointer; font-size: 12px; font-weight: 750; backdrop-filter: blur(12px); }
.top-link:hover { border-color: rgba(74,168,255,.6); background: rgba(74,168,255,.11); }
.hero { min-height: calc(100vh - 82px); padding: 48px 0 86px; display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(44px,7vw,96px); align-items: center; }
.portrait-wrap { position: relative; width: min(390px,100%); margin-inline: auto; }
.portrait-wrap:before { content: ""; position: absolute; inset: -18px 24px 24px -18px; border: 1px solid rgba(74,168,255,.32); border-radius: 38px; }
html[dir="rtl"] .portrait-wrap:before { inset: -18px -18px 24px 24px; }
.portrait-card { position: relative; margin: 0; padding: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 32px; background: rgba(255,255,255,.055); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 25%; border-radius: 24px; }
.portrait-stamp { position: absolute; inset: auto 22px 22px; display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(3,13,23,.78); backdrop-filter: blur(14px); font-size: 10px; }
.portrait-stamp strong { color: var(--green); }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow:before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg,var(--blue),var(--cyan)); }
.hero h1 { margin: 18px 0 22px; color: #fff; font-size: clamp(50px,6.5vw,86px); line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
html[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.15; }
.hero-role { max-width: 850px; margin: 0 0 17px; color: #d4e5f5; font-size: clamp(17px,1.7vw,22px); font-weight: 750; line-height: 1.65; }
.hero-bio { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.quick-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact-pill { min-height: 47px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.045); font-size: 11px; font-weight: 780; transition: transform .18s,border-color .18s,background .18s; }
.contact-pill:hover { transform: translateY(-2px); border-color: rgba(74,168,255,.6); background: rgba(74,168,255,.1); }
.contact-pill>span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(74,168,255,.15); color: var(--blue); font-size: 12px; }
.professional-section,.social-section,.portfolio { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(30px,4vw,48px); line-height: 1.13; letter-spacing: -.045em; }
html[dir="rtl"] .section-head h2 { letter-spacing: 0; }
.section-head p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; }
.focus-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.focus-grid article { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); }
.focus-grid article>span { color: var(--blue); font: 800 10px/1 monospace; }
.focus-grid h3 { margin: 28px 0 0; font-size: 16px; line-height: 1.5; }
.credential-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.credential-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(5,17,30,.55); }
.credential-type { display: block; margin-bottom: 14px; color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.credential-grid h3 { margin: 0 0 5px; font-size: 15px; }
.credential-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.social-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.social-card { position: relative; min-height: 96px; display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); transition: transform .18s,border-color .18s,background .18s; }
.social-card:hover { transform: translateY(-3px); border-color: rgba(85,224,223,.5); background: rgba(74,168,255,.1); }
.social-icon { display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #0c2238; }
.social-card>span:nth-child(2) { font-size: 12px; font-weight: 780; }
.social-card i { position: absolute; inset: 14px 14px auto auto; color: #6f879e; font-style: normal; font-size: 11px; }
html[dir="rtl"] .social-card i { inset: 14px auto auto 14px; }
.portfolio { padding-top: 86px; }
.company-list { display: grid; gap: 18px; }
.company-card { position: relative; display: grid; grid-template-columns: 126px minmax(0,1fr) minmax(330px,.8fr); align-items: center; gap: 25px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,rgba(13,33,55,.92),rgba(8,20,35,.88)); box-shadow: 0 14px 42px rgba(0,0,0,.14); }
.company-card:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--blue),var(--cyan)); }
html[dir="rtl"] .company-card:before { inset: 0 0 0 auto; }
.company-index { position: absolute; inset: 14px 17px auto auto; color: rgba(255,255,255,.18); font: 800 10px/1 monospace; }
html[dir="rtl"] .company-index { inset: 14px auto auto 17px; }
.company-logo { width: 122px; height: 122px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #fff; }
.company-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.company-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.company-meta span { padding: 4px 8px; border: 1px solid rgba(85,224,223,.2); border-radius: 999px; background: rgba(85,224,223,.06); color: #8eeae3; font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.company-copy h3 { margin: 0 0 6px; font-size: clamp(22px,2.7vw,31px); line-height: 1.2; }
.company-copy p { max-width: 580px; margin: 0; color: var(--muted); font-size: 12px; }
.company-sections { display: grid; gap: 12px; }
.company-section h4 { margin: 0 0 8px; color: #8ca2b8; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.company-links { display: flex; flex-wrap: wrap; gap: 7px; }
.company-links a { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.035); color: #dceaf7; font-size: 10px; font-weight: 800; transition: border-color .18s,background .18s,transform .18s; }
.company-links a:hover { transform: translateY(-1px); border-color: rgba(74,168,255,.58); background: rgba(74,168,255,.1); }
.company-links a.primary { border-color: rgba(74,168,255,.55); background: #237fd9; }
.closing { padding: 86px 0 44px; text-align: center; }
.closing .eyebrow { justify-content: center; }
.closing h2 { max-width: 820px; margin: 12px auto 14px; font-size: clamp(34px,4.8vw,58px); line-height: 1.15; letter-spacing: -.045em; }
html[dir="rtl"] .closing h2 { letter-spacing: 0; }
.closing p { max-width: 620px; margin: 0 auto 25px; color: var(--muted); }
.primary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 14px; background: linear-gradient(135deg,#2c91ef,#1c6fbe); box-shadow: 0 15px 35px rgba(36,126,216,.28); font-size: 12px; font-weight: 850; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 25px 0 34px; border-top: 1px solid var(--line); color: #7f94aa; font-size: 10px; }
.footer a { color: #b9d2e8; }
a:focus-visible,button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { min-height: 0; grid-template-columns: 300px minmax(0,1fr); gap: 35px; }
  .hero h1 { font-size: clamp(46px,7vw,65px); }
  .company-card { grid-template-columns: 104px 1fr; }
  .company-logo { width: 100px; height: 100px; }
  .company-sections { grid-column: 1/-1; padding-inline-start: 129px; }
  html[dir="rtl"] .company-sections { padding-inline: 0 129px; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; text-align: center; gap: 36px; padding-top: 34px; }
  .portrait-wrap { width: min(270px,76vw); }
  .hero .eyebrow,.quick-contact { justify-content: center; }
  .hero h1 { white-space: normal; }
  .focus-grid { grid-template-columns: repeat(2,1fr); }
  .credential-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2,1fr); }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px,1180px); }
  .topbar { min-height: 68px; }
  .signature span:last-child { display: none; }
  .top-link { padding-inline: 11px; }
  .hero { min-height: 0; padding: 30px 0 58px; }
  .portrait-wrap { width: min(238px,72vw); }
  .portrait-wrap:before,html[dir="rtl"] .portrait-wrap:before { inset: -10px 12px 12px -10px; border-radius: 30px; }
  .portrait-card { padding: 7px; border-radius: 25px; }
  .portrait-card img { border-radius: 19px; }
  .portrait-stamp { inset: auto 13px 13px; padding: 8px 9px; font-size: 8px; }
  .hero h1 { margin-block: 15px 18px; font-size: clamp(43px,13vw,57px); }
  .hero-role { font-size: 15px; line-height: 1.7; }
  .hero-bio { font-size: 13px; }
  .quick-contact { display: grid; grid-template-columns: 1fr; }
  .contact-pill { width: 100%; justify-content: center; }
  .professional-section,.social-section,.portfolio { padding: 58px 0; }
  .section-head { margin-bottom: 23px; }
  .section-head h2 { font-size: 30px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-grid article { min-height: 112px; }
  .social-grid { gap: 9px; }
  .social-card { min-height: 84px; padding: 12px; border-radius: 17px; }
  .social-icon { width: 38px; height: 38px; border-radius: 12px; }
  .social-icon img { width: 20px; height: 20px; }
  .company-card { grid-template-columns: 78px 1fr; gap: 14px; padding: 16px 14px; border-radius: 22px; }
  .company-logo { width: 76px; height: 76px; border-radius: 17px; }
  .company-copy h3 { font-size: 20px; }
  .company-copy p { font-size: 11px; }
  .company-sections,html[dir="rtl"] .company-sections { padding-inline: 0; }
  .company-section h4 { margin-top: 4px; }
  .company-links { gap: 6px; }
  .company-links a { min-height: 38px; padding: 8px 10px; }
  .closing { padding-top: 62px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
