/* Styles for atrixtechnology.ae/insights — original stylesheet for Atrix Technology Solutions. */
:root {
  --navy: #042c71; --ink: #052232; --orange: #ff4013; --muted: #4a5568; --line: #e3e9f2; --bg: #f6f9fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; color: var(--ink); font-family: "Open Sans", Arial, sans-serif; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: Poppins, "Segoe UI", Arial, sans-serif; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.ins-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ins-narrow { max-width: 820px; }
.ins-hl { background: linear-gradient(92deg, var(--orange), #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ins-chip { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  background: #fff1ec; border: 1px solid #ffd6c8; border-radius: 999px; padding: 5px 14px; }
.ins-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--orange); color: #fff; box-shadow: 0 12px 24px -12px rgba(255,64,19,.85); transition: transform .2s ease, background .2s ease; white-space: nowrap; }
.ins-btn:hover { background: #e0350c; transform: translateY(-1px); }
.ins-btn-sm { padding: 10px 18px; font-size: 14px; }

/* Header */
.ins-header { position: sticky; top: 0; z-index: 20; background: #ffffffee; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 #e9eef6, 0 8px 24px -18px rgba(5,34,50,.35); }
.ins-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.ins-logo img { height: 56px; width: auto; }
.ins-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.ins-nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 7px 12px; border-radius: 8px; }
.ins-nav a:hover { background: #eef3fd; }
.ins-nav a.active { background: var(--navy); color: #fff; }
@media (max-width: 1100px) { .ins-nav { display: none; } }

/* Article hero */
.ins-hero { padding: 64px 0 36px; background: radial-gradient(800px 360px at 90% 0%, rgba(4,44,113,.10), transparent 70%), radial-gradient(700px 320px at 0% 100%, rgba(255,64,19,.07), transparent 70%), linear-gradient(180deg, var(--bg), #fff); }
.ins-crumbs { font-size: 14px; color: #6a7486; margin-bottom: 18px; }
.ins-crumbs a { color: #6a7486; text-decoration: none; }
.ins-crumbs a:hover { color: var(--navy); }
.ins-crumbs span { margin: 0 4px; }
.ins-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; margin: 18px 0 0; }
.ins-lede { font-size: 19.5px; color: var(--muted); margin: 18px 0 0; }
.ins-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; color: #5a6576; }
.ins-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ins-hero-index { text-align: center; padding-bottom: 56px; }
.ins-hero-index .ins-lede { margin-left: auto; margin-right: auto; max-width: 640px; }

.ins-cover-wrap { max-width: 1000px; }
.ins-cover { width: 100%; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(4,44,113,.55); }

/* Article body */
.ins-article { padding-top: 48px; padding-bottom: 80px; }
.ins-article > p:first-child { font-size: 19px; }
.ins-article h2 { font-size: clamp(23px, 2.4vw, 29px); font-weight: 700; margin: 48px 0 14px; }
.ins-article h3 { font-size: 20px; font-weight: 700; margin: 30px 0 8px; }
.ins-article p { margin: 0 0 18px; color: #2f3a4b; }
.ins-article ul, .ins-article ol { margin: 0 0 22px; padding-left: 0; list-style: none; counter-reset: step; }
.ins-article li { position: relative; padding: 4px 0 4px 34px; margin: 0 0 6px; color: #2f3a4b; }
.ins-article ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: #e8f7ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ins-article ol li { counter-increment: step; }
.ins-article ol li::before { content: counter(step); position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.ins-article strong { color: var(--ink); }
.ins-article table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 28px; font-size: 15.5px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ins-article th, .ins-article td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ins-article thead th { background: var(--navy); color: #fff; font-family: Poppins, "Segoe UI", Arial, sans-serif; font-weight: 600; }
.ins-article tbody tr:nth-child(even) td { background: var(--bg); }
.ins-article tbody tr:last-child td { border-bottom: 0; }
.ins-article tbody td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .ins-article table { display: block; overflow-x: auto; } }

.ins-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 52px; padding: 34px 36px; border-radius: 22px;
  background: radial-gradient(500px 220px at 100% 100%, rgba(248,214,5,.3), transparent 70%), radial-gradient(500px 220px at 0% 0%, rgba(255,64,19,.35), transparent 70%), var(--navy); }
.ins-cta h2 { color: #fff; margin: 0; font-size: 26px; }
.ins-cta p { color: #dbe5f7; margin: 8px 0 0; }

/* Cards */
.ins-related { background: var(--bg); padding: 72px 0 88px; }
.ins-related h2 { font-size: 30px; margin: 0 0 30px; }
.ins-list { padding: 8px 0 96px; }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ins-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(5,34,50,.04), 0 14px 32px -20px rgba(5,34,50,.25); transition: transform .25s ease, box-shadow .25s ease; }
.ins-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(5,34,50,.05), 0 26px 46px -22px rgba(4,44,113,.4); }
.ins-card img { aspect-ratio: 1200 / 630; object-fit: cover; }
.ins-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.ins-card h3 { font-size: 19px; margin: 14px 0 8px; }
.ins-card p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; flex: 1; }
.ins-card-meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #6a7486; }
.ins-read { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 700; }
@media (max-width: 1000px) { .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ins-grid { grid-template-columns: 1fr; } .ins-hero { padding-top: 40px; } .ins-cta { padding: 28px 24px; } .ins-header .ins-btn-sm { display: none; } }

/* Footer */
.ins-footer { background: #052232; color: #c9d4e6; padding: 48px 0 36px; font-size: 14.5px; }
.ins-footer a { color: #e3ebf9; text-decoration: none; }
.ins-footer a:hover { color: #fff; text-decoration: underline; }
.ins-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ins-footer-row img { filter: brightness(0) invert(1); opacity: .9; }
.ins-footer-row nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ins-footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.ins-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ins-social a { display: inline-flex; align-items: center; gap: 7px; }
.ins-social svg { flex: none; }
.ins-footer-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: #93a1ba; }
.ins-card .ins-chip { align-self: flex-start; }
