:root {
  --navy: #062a4a;
  --navy-2: #0b416c;
  --blue: #0879b9;
  --teal: #08a6ad;
  --cyan: #16c9c2;
  --ink: #18242e;
  --muted: #63717d;
  --line: #dce6ed;
  --soft: #f5f9fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(5, 42, 74, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,230,237,.72);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; width: 168px; height: auto; overflow: visible; }
.brand img { width: 100%; height: auto; transform: none; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .94rem; font-weight: 650; color: #344754; }
.site-nav a { transition: color .2s ease, transform .2s ease; }
.site-nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 18px; background: var(--navy); color: white !important; border-radius: 999px; }
.nav-cta:hover { transform: translateY(-1px); background: var(--blue); }
.nav-academy-link { color: var(--teal); }
.nav-academy-link::before { content: "✦"; margin-right: 6px; font-size: .78rem; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(22,201,194,.15), transparent 30%),
    radial-gradient(circle at 10% 95%, rgba(8,121,185,.12), transparent 32%),
    linear-gradient(180deg, #fbfdfe 0%, #fff 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .36;
  background-image: linear-gradient(rgba(6,42,74,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(6,42,74,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; padding: 82px 0 96px; }
.eyebrow, .kicker { display: inline-block; color: var(--teal); text-transform: uppercase; letter-spacing: .17em; font-size: .76rem; font-weight: 800; }
.hero h1 { font-size: clamp(3.35rem, 6.1vw, 6.15rem); line-height: .98; letter-spacing: -.055em; margin: 22px 0 28px; max-width: 780px; color: var(--navy); }
.hero h1 span { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 690px; color: #526674; font-size: 1.17rem; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 14px 22px; border-radius: 999px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(110deg, var(--navy), var(--blue)); box-shadow: 0 12px 28px rgba(8,121,185,.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--navy); background: rgba(255,255,255,.68); }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 38px; color: #60717d; font-size: .85rem; font-weight: 650; }
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.hero-visual { min-height: 520px; display: grid; place-items: center; }
.visual-shell { position: relative; width: min(480px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.visual-shell::before { content:""; position:absolute; inset:8%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(22,201,194,.24), rgba(8,121,185,.08) 48%, transparent 66%); filter: blur(2px); }
.visual-core { position: relative; width: 67%; aspect-ratio: 1; border-radius: 34%; background: linear-gradient(145deg, #fff, #eef7fa); box-shadow: var(--shadow), inset 0 0 0 1px rgba(8,121,185,.08); display: grid; place-items: center; transform: rotate(7deg); }
.h-mark { width: 68%; height: 68%; position: relative; transform: rotate(-7deg); }
.pillar { position: absolute; top: 8%; bottom: 8%; width: 25%; border-radius: 20px 6px; }
.p1 { left: 5%; background: linear-gradient(180deg, #0b86c5, var(--navy)); }
.p2 { right: 5%; background: linear-gradient(180deg, #2d3f4a, #102b3e); }
.bridge { position: absolute; left: 18%; top: 42%; width: 65%; height: 18%; border-radius: 100px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: rotate(8deg); box-shadow: 0 9px 18px rgba(8,121,185,.18); }
.h-mark::after { content:""; position:absolute; left:64%; top:46%; width:49%; height:3px; background:linear-gradient(90deg,var(--blue),var(--teal)); transform:rotate(-28deg); transform-origin:left center; box-shadow: 0 14px 0 var(--blue), 0 28px 0 #0b5f90; }
.node { position:absolute; width:14px; height:14px; border:4px solid var(--teal); border-radius:50%; background:white; right:-17%; z-index:4; }
.n1{ top:27%; } .n2{ top:43%; right:-22%; } .n3{ top:59%; right:-10%; border-color:var(--blue); }
.visual-orbit { position:absolute; inset: 4%; border-radius:50%; border:1px solid rgba(8,121,185,.14); }
.orbit-one { animation: spin 18s linear infinite; }
.orbit-one::after { content:""; position:absolute; width:10px;height:10px;border-radius:50%;background:var(--teal);top:12%;left:15%;box-shadow:0 0 0 8px rgba(8,166,173,.10); }
.orbit-two { inset: 16%; border-style:dashed; animation: spinReverse 24s linear infinite; }
.metric-card { position:absolute; padding:13px 16px; border-radius:14px; background:rgba(255,255,255,.9); border:1px solid rgba(220,230,237,.9); box-shadow:0 14px 30px rgba(5,42,74,.08); min-width:118px; backdrop-filter:blur(10px); }
.metric-card strong { display:block; color:var(--navy); font-size:.9rem; }
.metric-card span { color:#788994; font-size:.74rem; }
.metric-a { left:-2%; top:21%; }
.metric-b { right:-1%; top:30%; }
.metric-c { right:8%; bottom:9%; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spinReverse { to { transform:rotate(-360deg); } }

.section { padding: 104px 0; }
.intro-strip { padding-top: 74px; padding-bottom: 45px; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.compact { max-width: 900px; }
.section-heading h2, .about-panel h2, .contact h2 { color: var(--navy); font-size: clamp(2.25rem, 4.3vw, 4rem); line-height: 1.08; letter-spacing: -.045em; margin: 13px 0 20px; }
.section-heading p, .about-panel p { color: var(--muted); font-size: 1.06rem; }

.services { background: var(--soft); }
.cards-grid { display: grid; gap: 20px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { background:white; border:1px solid #e3edf2; border-radius:var(--radius); padding:30px; min-height:330px; transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform:translateY(-5px); border-color:rgba(8,166,173,.35); box-shadow:0 20px 46px rgba(5,42,74,.08); }
.icon-box { width:46px; height:46px; border-radius:14px; display:grid; place-items:center; color:var(--blue); background:#eaf6fa; font-weight:850; font-size:.82rem; margin-bottom:23px; }
.service-card h3 { color:var(--navy); margin:0 0 10px; font-size:1.23rem; }
.service-card p { color:var(--muted); font-size:.95rem; }
.service-card ul { padding:0; margin:20px 0 0; list-style:none; display:grid; gap:8px; color:#445762; font-size:.88rem; }
.service-card li::before { content:"✓"; color:var(--teal); margin-right:8px; font-weight:800; }

.products { background:linear-gradient(135deg,#052844 0%, #0a456c 58%, #087b84 120%); color:white; position:relative; overflow:hidden; }
.products::before { content:""; position:absolute; width:420px; height:420px; border:1px solid rgba(255,255,255,.08); border-radius:50%; right:-100px; top:-160px; box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.02); }
.products-layout { position:relative; display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.kicker.light { color:#55ddd5; }
.products .section-heading { margin:0; }
.products .section-heading h2 { color:white; }
.products .section-heading p { color:#c6d5df; }
.text-link { display:inline-flex; margin-top:16px; gap:10px; color:white; font-weight:750; }
.text-link span { color:#55ddd5; }
.product-card { border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.08); backdrop-filter:blur(16px); border-radius:28px; padding:34px; box-shadow:0 30px 80px rgba(0,0,0,.16); }
.product-topline { display:flex; align-items:center; gap:10px; color:#c9d9e2; font-size:.8rem; text-transform:uppercase; letter-spacing:.12em; }
.status-dot { width:9px; height:9px; border-radius:50%; background:#4ae0c7; box-shadow:0 0 0 6px rgba(74,224,199,.12); }
.product-card h3 { font-size:2.1rem; margin:17px 0 12px; letter-spacing:-.03em; }
.product-card p { color:#d2dee5; }
.product-features { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:25px 0; }
.product-features span { padding:10px 12px; border:1px solid rgba(255,255,255,.13); border-radius:12px; color:#e8f1f5; font-size:.87rem; background:rgba(255,255,255,.04); }
.product-link { display:inline-flex; gap:9px; color:#57e5db; font-weight:800; margin-top:7px; }

.about-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:start; }
.about-panel { position:sticky; top:120px; }
.founder-brief { margin-top:28px; padding:22px 24px; border-radius:20px; background:linear-gradient(180deg,#f8fcfd,#f1f8fb); border:1px solid var(--line); }
.mini-label { display:inline-flex; padding:6px 10px; border-radius:999px; background:#e8f5f8; color:var(--teal); font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.founder-brief h3 { margin:14px 0 6px; color:var(--navy); font-size:1.25rem; }
.founder-brief p { margin:0; color:var(--muted); font-size:.94rem; }
.principles-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.profile-card { grid-column:1 / -1; display:grid; grid-template-columns:320px 1fr; gap:28px; align-items:center; padding:26px; border:1px solid var(--line); border-radius:24px; background:linear-gradient(180deg,#fff,#fbfdfe); box-shadow:0 18px 46px rgba(5,42,74,.05); }
.profile-photo-wrap { border-radius:22px; overflow:hidden; background:linear-gradient(180deg,#eef8fb,#ffffff); }
.profile-photo { width:100%; height:100%; object-fit:cover; aspect-ratio:4 / 5; }
.profile-content h3 { color:var(--navy); font-size:1.9rem; margin:14px 0 10px; letter-spacing:-.03em; }
.profile-content p { color:var(--muted); margin:0 0 18px; font-size:1rem; }
.profile-points { display:flex; flex-wrap:wrap; gap:10px; }
.profile-points span { padding:10px 12px; border-radius:999px; background:#eef8fb; color:var(--navy); font-size:.85rem; font-weight:650; border:1px solid #d9ebf0; }
.principle { padding:27px; border:1px solid var(--line); border-radius:22px; min-height:220px; background:linear-gradient(180deg,#fff,#fbfdfe); }
.principle span { color:var(--teal); font-size:.78rem; font-weight:850; }
.principle h3 { color:var(--navy); margin:22px 0 8px; }
.principle p { color:var(--muted); font-size:.93rem; margin:0; }

.process { border-top:1px solid #edf2f5; }
.process-track { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; }
.process-track::before { content:""; position:absolute; left:8%; right:8%; top:24px; height:1px; background:linear-gradient(90deg,var(--teal),#bed4df,var(--blue)); z-index:-1; }
.process-step { padding:0 16px; }
.process-step > span { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:white; border:2px solid #bce5e3; color:var(--teal); font-weight:850; box-shadow:0 0 0 8px white; }
.process-step h3 { color:var(--navy); margin:22px 0 8px; }
.process-step p { color:var(--muted); font-size:.93rem; }

.contact { padding-top:40px; }
.contact-box { background:linear-gradient(110deg,var(--navy),var(--navy-2) 60%,#087b84); color:white; padding:58px; border-radius:32px; display:grid; grid-template-columns:1.35fr .65fr; gap:50px; align-items:center; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.contact-box::after { content:""; position:absolute; width:330px; height:330px; border:1px solid rgba(255,255,255,.12); border-radius:50%; right:-130px; bottom:-180px; box-shadow:0 0 0 70px rgba(255,255,255,.035); }
.contact h2 { color:white; font-size:clamp(2.1rem,4vw,3.5rem); margin-bottom:13px; }
.contact p { color:#c9d8e1; max-width:700px; }
.contact-inline { display:flex; flex-wrap:wrap; gap:16px 28px; margin-top:22px; color:#e6f0f6; font-size:.95rem; }
.contact-inline a { color:white; font-weight:700; }
.contact-actions { display:grid; gap:12px; position:relative; z-index:2; }
.btn-white { background:white; color:var(--navy); }
.btn-outline-white { border:1px solid rgba(255,255,255,.3); color:white; }

.site-footer { padding:54px 0 34px; }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .8fr; align-items:end; gap:30px; border-top:1px solid var(--line); padding-top:38px; }
.footer-brand img { width:175px; margin-left:-18px; margin-bottom:10px; }
.footer-brand p { color:var(--muted); font-size:.87rem; margin:0; }
.footer-links { display:flex; flex-wrap:wrap; gap:16px; color:#4d606c; font-size:.88rem; }
.footer-meta { display:grid; gap:4px; justify-items:end; color:#7a8a94; font-size:.82rem; }
.footer-meta a { color:inherit; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .site-nav { position:absolute; left:20px; right:20px; top:76px; background:white; border:1px solid var(--line); box-shadow:var(--shadow); border-radius:18px; padding:18px; display:none; flex-direction:column; align-items:stretch; gap:5px; }
  .site-nav.is-open { display:flex; }
  .site-nav a { padding:10px 12px; }
  .nav-cta { text-align:center; margin-top:4px; }
  .hero-layout { grid-template-columns:1fr; gap:20px; }
  .hero-copy { max-width:820px; }
  .hero-visual { min-height:450px; }
  .visual-shell { width:min(450px,90%); }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .products-layout, .about-layout, .contact-box { grid-template-columns:1fr; }
  .about-panel { position:static; }
  .process-track { grid-template-columns:repeat(2,1fr); row-gap:34px; }
  .process-track::before { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-meta { justify-items:start; }
  .profile-card { grid-template-columns:1fr; }
  .profile-photo { max-height:520px; }
}

@media (max-width: 640px) {
  .container { width:min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height:72px; }
  .brand { width:142px; height:auto; }
  .brand img { width:100%; }
  .hero { min-height:auto; }
  .hero-layout { padding:68px 0 64px; }
  .hero h1 { font-size:clamp(3rem,14.7vw,4.7rem); }
  .hero-lead { font-size:1rem; }
  .hero-actions .btn { width:100%; }
  .trust-row { gap:10px 14px; }
  .hero-visual { min-height:360px; }
  .metric-card { min-width:102px; padding:10px 12px; }
  .section { padding:78px 0; }
  .services-grid, .principles-grid, .process-track, .product-features { grid-template-columns:1fr; }
  .service-card { min-height:auto; }
  .product-card { padding:25px; }
  .contact-box { padding:34px 24px; border-radius:24px; }
  .contact-actions .btn { width:100%; text-align:center; word-break:break-word; }
  .contact-inline { flex-direction:column; gap:10px; }
  .footer-grid { grid-template-columns:1fr; align-items:start; }
  .footer-meta { justify-items:start; }
}


/* Haidar IT Solutions v3: cache-safe brand and About layout */
.brand {
  width: auto;
  height: auto;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: none;
}
.brand-copy {
  display: grid;
  line-height: 1;
  gap: 4px;
}
.brand-copy strong {
  color: var(--navy);
  font-size: 1.06rem;
  letter-spacing: .055em;
  font-weight: 850;
}
.brand-copy small {
  color: var(--teal);
  font-size: .57rem;
  letter-spacing: .21em;
  font-weight: 800;
}

.about-main {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 13px 0 20px;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 650px;
}
.founder-card {
  display: grid;
  grid-template-columns: minmax(230px, 42%) 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f8fcfd);
  box-shadow: 0 22px 55px rgba(5,42,74,.08);
}
.founder-photo-wrap {
  overflow: hidden;
  border-radius: 22px;
  background: #eef7fa;
  min-height: 410px;
}
.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center top;
}
.founder-content h3 {
  color: var(--navy);
  font-size: 2rem;
  letter-spacing: -.03em;
  margin: 15px 0 10px;
}
.founder-content p {
  color: var(--muted);
  margin: 0 0 20px;
}
.about-principles {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.about-principles .principle {
  min-height: 190px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.footer-logo span {
  display: grid;
  line-height: 1;
  gap: 4px;
}
.footer-logo strong {
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: .055em;
}
.footer-logo small {
  color: var(--teal);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .20em;
}
.footer-brand > img { display:none; }

@media (max-width: 980px) {
  .about-main { grid-template-columns: 1fr; gap: 34px; }
  .founder-card { grid-template-columns: 280px 1fr; }
  .about-principles { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand-copy strong { font-size: .95rem; }
  .brand-copy small { font-size: .5rem; }
  .founder-card { grid-template-columns: 1fr; padding: 20px; }
  .founder-photo-wrap, .founder-photo { min-height: 0; }
  .founder-photo { aspect-ratio: 4/5; }
  .about-principles { grid-template-columns: 1fr; }
}


/* Haidar Assistant */
.sr-only { 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; }
.haidar-chat { position:fixed; right:24px; bottom:24px; z-index:120; font-family:inherit; }
.chat-launcher { position:relative; display:flex; align-items:center; gap:10px; min-height:58px; padding:8px 18px 8px 8px; border:0; border-radius:999px; background:linear-gradient(110deg,var(--navy),var(--blue)); color:#fff; box-shadow:0 18px 45px rgba(5,42,74,.28); cursor:pointer; font-weight:800; transition:transform .2s ease, box-shadow .2s ease; }
.chat-launcher:hover { transform:translateY(-2px); box-shadow:0 22px 50px rgba(5,42,74,.34); }
.chat-launcher-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:#fff; overflow:hidden; flex:0 0 auto; }
.chat-launcher-icon img { width:31px; height:31px; object-fit:contain; }
.chat-launcher-label { font-size:.92rem; letter-spacing:-.01em; }
.chat-notification { position:absolute; top:-2px; right:-2px; width:21px; height:21px; display:grid; place-items:center; border-radius:50%; background:#10bfb7; color:#fff; font-size:.7rem; border:2px solid #fff; }
.chat-panel { position:absolute; right:0; bottom:74px; width:min(390px,calc(100vw - 28px)); height:min(620px,calc(100vh - 120px)); min-height:470px; display:grid; grid-template-rows:auto 1fr auto auto; background:#fff; border:1px solid rgba(220,230,237,.95); border-radius:24px; overflow:hidden; box-shadow:0 26px 80px rgba(5,42,74,.24); transform-origin:bottom right; animation:chatIn .2s ease both; }
@keyframes chatIn { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
.chat-panel[hidden] { display:none !important; }
.chat-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 16px 15px; color:#fff; background:linear-gradient(120deg,#062a4a,#0b416c 62%,#087b84); }
.chat-brand { display:flex; align-items:center; gap:11px; min-width:0; }
.chat-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:#fff; flex:0 0 auto; }
.chat-avatar img { width:30px; height:30px; object-fit:contain; }
.chat-brand strong { display:block; font-size:.96rem; }
.chat-brand span { display:flex; align-items:center; gap:6px; color:#cfe6ed; font-size:.72rem; }
.chat-brand span i { width:7px; height:7px; border-radius:50%; background:#43e0c4; box-shadow:0 0 0 3px rgba(67,224,196,.16); }
.chat-header-actions { display:flex; gap:5px; }
.chat-icon-btn { width:34px; height:34px; border:0; border-radius:10px; display:grid; place-items:center; background:rgba(255,255,255,.10); color:#fff; font-size:1.25rem; cursor:pointer; }
.chat-icon-btn:hover { background:rgba(255,255,255,.18); }
.chat-body { overflow-y:auto; padding:18px 16px 14px; background:linear-gradient(180deg,#f8fbfc,#fff 34%); scroll-behavior:smooth; }
.chat-message { display:flex; flex-direction:column; margin:0 0 13px; }
.chat-message.user-message { align-items:flex-end; }
.chat-message.bot-message { align-items:flex-start; }
.message-bubble { max-width:86%; padding:11px 13px; border-radius:17px; font-size:.88rem; line-height:1.5; }
.message-bubble p { margin:0; }
.message-bubble p + p { margin-top:8px; }
.message-bubble a { color:inherit; font-weight:800; text-decoration:underline; text-underline-offset:2px; }
.bot-message .message-bubble { color:#304754; background:#edf6f8; border-bottom-left-radius:5px; }
.user-message .message-bubble { color:#fff; background:linear-gradient(115deg,var(--navy),var(--blue)); border-bottom-right-radius:5px; }
.message-time { margin-top:4px; color:#8a9aa3; font-size:.65rem; padding-inline:4px; }
.chat-quick-replies { display:flex; flex-wrap:wrap; gap:7px; margin:4px 0 14px; }
.chat-quick-replies button { border:1px solid #d7e7ed; background:#fff; color:var(--navy); padding:8px 10px; border-radius:999px; font-size:.76rem; font-weight:700; cursor:pointer; }
.chat-quick-replies button:hover { border-color:#9fd9dd; background:#f2fbfb; }
.chat-typing { display:inline-flex; align-items:center; gap:4px; padding:12px 14px; border-radius:16px 16px 16px 5px; background:#edf6f8; }
.chat-typing i { width:6px; height:6px; border-radius:50%; background:#7ca0aa; animation:typingDot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2){animation-delay:.12s}.chat-typing i:nth-child(3){animation-delay:.24s}
@keyframes typingDot { 0%,60%,100%{transform:translateY(0);opacity:.55} 30%{transform:translateY(-3px);opacity:1} }
.chat-composer { display:grid; grid-template-columns:1fr 42px; gap:8px; padding:11px 12px; border-top:1px solid #e6eef2; background:#fff; }
.chat-composer input { min-width:0; border:1px solid #dce8ed; border-radius:14px; padding:10px 12px; outline:none; color:#243842; background:#fbfdfe; }
.chat-composer input:focus { border-color:#63c9cc; box-shadow:0 0 0 3px rgba(8,166,173,.10); }
.chat-send { width:42px; height:42px; border:0; border-radius:13px; color:#fff; background:linear-gradient(120deg,var(--navy),var(--blue)); cursor:pointer; font-size:1.05rem; }
.chat-send:hover { filter:brightness(1.06); }
.chat-footer-note { padding:0 12px 10px; color:#92a0a8; background:#fff; text-align:center; font-size:.62rem; }
@media (max-width:640px){
  .haidar-chat { right:14px; bottom:14px; }
  .chat-launcher { min-height:54px; padding-right:14px; }
  .chat-launcher-icon { width:38px; height:38px; }
  .chat-launcher-label { display:none; }
  .chat-panel { position:fixed; left:10px; right:10px; bottom:78px; width:auto; height:min(620px,calc(100vh - 98px)); border-radius:22px; }
}


/* HAIDAR v5 — Financial Intelligence Platform suite */
.products-layout { grid-template-columns: .78fr 1.22fr; gap: 58px; align-items:start; }
.platform-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; margin-top:24px; }
.platform-actions .text-link { margin-top:0; }
.platform-suite { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.suite-card { position:relative; min-height:230px; padding:25px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.075); backdrop-filter:blur(16px); border-radius:22px; box-shadow:0 20px 55px rgba(0,0,0,.10); transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.suite-card:hover { transform:translateY(-3px); border-color:rgba(87,229,219,.38); background:rgba(255,255,255,.095); }
.suite-card-featured { grid-column:1 / -1; min-height:205px; background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.055)); }
.suite-topline { display:flex; align-items:center; gap:10px; color:#c9d9e2; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
.suite-code { width:42px; height:42px; margin-top:20px; display:grid; place-items:center; border-radius:13px; color:#57e5db; background:rgba(87,229,219,.10); border:1px solid rgba(87,229,219,.14); font-size:.78rem; font-weight:900; }
.suite-card h3 { margin:15px 0 9px; font-size:1.45rem; line-height:1.15; letter-spacing:-.025em; color:#fff; }
.suite-card-featured h3 { font-size:1.8rem; }
.suite-card p { margin:0; color:#cbd9e1; font-size:.91rem; line-height:1.65; }
.suite-card .product-link { margin-top:18px; }
.status-development { background:#f4c95d; box-shadow:0 0 0 6px rgba(244,201,93,.12); }
.status-planned { background:#8aa4b5; box-shadow:0 0 0 6px rgba(138,164,181,.10); }
@media (max-width:980px){ .products-layout { grid-template-columns:1fr; } }
@media (max-width:640px){ .platform-suite { grid-template-columns:1fr; } .suite-card-featured { grid-column:auto; } .platform-actions .btn { width:100%; text-align:center; } }

/* Haidar Virtual Academy showcase */
.academy-showcase {
  padding-top: 86px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 12% 18%, rgba(22,201,194,.14), transparent 28%),
    linear-gradient(180deg, #f5fbfc 0%, #fff 100%);
  overflow: hidden;
}
.academy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.academy-copy h2 { color: var(--navy); font-size: clamp(2.35rem, 4.3vw, 4.25rem); line-height: 1.03; letter-spacing: -.05em; margin: 14px 0 18px; max-width: 670px; }
.academy-copy p { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0; }
.academy-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.academy-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.academy-badges span { padding: 10px 12px; border: 1px solid #d8ebef; border-radius: 999px; color: #315160; background: rgba(255,255,255,.78); font-size: .82rem; font-weight: 750; }
.academy-panel {
  position: relative;
  padding: 32px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, #062a4a 0%, #0a5277 58%, #078a8b 125%);
  box-shadow: 0 30px 80px rgba(5,42,74,.22);
  overflow: hidden;
}
.academy-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -150px;
  top: -160px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,255,255,.035), 0 0 0 108px rgba(255,255,255,.025);
}
.academy-panel > * { position: relative; z-index: 1; }
.academy-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; color: #bfe3e7; font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.academy-panel-top img { width: 62px; height: 62px; object-fit: contain; padding: 8px; border-radius: 18px; background: #fff; }
.academy-panel h3 { margin: 0 0 12px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.07; letter-spacing: -.035em; }
.academy-panel p { max-width: 620px; margin: 0; color: #d4e6ec; }
.academy-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 26px 0; }
.academy-paths span { padding: 12px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.075); color: #eefbfb; font-size: .86rem; font-weight: 750; }
.certificate-card { display: grid; gap: 5px; padding: 19px; border: 1px solid rgba(255,255,255,.20); border-radius: 20px; background: rgba(255,255,255,.10); backdrop-filter: blur(12px); }
.certificate-card span { color: #61ede0; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.certificate-card strong { color: #fff; font-size: 1.08rem; }
.certificate-card small { color: #c7dce4; }
@media (max-width:980px){ .academy-grid { grid-template-columns:1fr; gap: 40px; } }
@media (max-width:640px){
  .academy-showcase { padding-top: 64px; padding-bottom: 70px; }
  .academy-actions .btn { width: 100%; }
  .academy-panel { padding: 24px; border-radius: 24px; }
  .academy-panel-top { align-items: flex-start; flex-direction: column; }
  .academy-paths { grid-template-columns: 1fr; }
}
