/* ====== MSLicenseHub — Modern Multi-Page Site ====== */
/* Persian RTL design with Microsoft brand colors */

:root {
  --ms-blue: #0078D4;
  --ms-blue-dark: #005a9e;
  --ms-blue-light: #50a3e0;
  --cyan: #00B7D1;
  --navy: #0f1424;
  --navy-2: #1a1f33;
  --navy-3: #232942;
  --bg-light: #f6f9fc;
  --bg-blue-soft: #EBF4FD;
  --text: #1a2332;
  --text-soft: #3f4858;
  --text-muted: #525a6b;
  --border: #e5e7eb;
  --white: #ffffff;
  --green: #22c55e;
  --orange: #f59e0b;
  --shadow-sm: 0 2px 8px rgba(15, 20, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 20, 36, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 20, 36, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Size-adjusted system fallback to minimize CLS when Vazirmatn loads */
@font-face {
  font-family: 'Vazirmatn Fallback';
  src: local('Tahoma'), local('Segoe UI'), local('Arial');
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 25%;
  line-gap-override: 0%;
}

body {
  font-family: 'Vazirmatn', 'Vazirmatn Fallback', 'IRANSans', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ms-blue);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--ms-blue-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Top Bar ====== */
.topbar {
  background: var(--navy);
  color: #c9d1e0;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.topbar a {
  color: #c9d1e0;
  font-size: 13.5px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.topbar a:hover { color: var(--white); }
.topbar .tb-spacer { flex: 1; }
.topbar .tb-contact { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.topbar .tb-contact span { display: inline-flex; gap: 6px; align-items: center; }

/* ====== Header ====== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  flex-shrink: 0;
}
.logo-mark span { display: block; border-radius: 2px; }
.logo-mark span:nth-child(1) { background: #F25022; }
.logo-mark span:nth-child(2) { background: #7FBA00; }
.logo-mark span:nth-child(3) { background: #00A4EF; }
.logo-mark span:nth-child(4) { background: #FFB900; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.logo-text small {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ====== Main Nav ====== */
.main-nav { display: flex; align-items: center; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav li { position: relative; }
.main-nav a.nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all .18s ease;
  white-space: nowrap;
}
.main-nav a.nav-link:hover,
.main-nav li.active > a.nav-link {
  background: var(--bg-blue-soft);
  color: var(--ms-blue);
}
.main-nav .has-dropdown > a::after {
  content: '▾';
  margin-right: 6px;
  font-size: 11px;
  display: inline-block;
}
.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  z-index: 50;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--text);
  border-radius: 8px;
  transition: all .15s ease;
}
.dropdown a:hover {
  background: var(--bg-blue-soft);
  color: var(--ms-blue);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .18s ease;
  border: 0;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--ms-blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 120, 212, 0.25);
}
.btn-primary:hover {
  background: var(--ms-blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 120, 212, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--ms-blue);
  border: 2px solid var(--ms-blue);
}
.btn-outline:hover {
  background: var(--ms-blue);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: #f1f5fb; color: var(--navy); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ====== Hero ====== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0, 120, 212, .35), transparent 60%),
    radial-gradient(900px 400px at 10% 110%, rgba(0, 183, 209, .22), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: var(--white);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, rgba(0, 120, 212, .4), rgba(0, 183, 209, .25));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: .4;
  pointer-events: none;
}
.hero::before { width: 220px; height: 220px; top: 12%; left: 6%; }
.hero::after  { width: 140px; height: 140px; bottom: 10%; right: 12%; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--ms-blue-light); }
.hero p.lead {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.85;
}
.hero .badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero .badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #e6edf7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .laptop {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.hero-art .laptop-screen {
  background: linear-gradient(135deg, #0a4f95 0%, #0078D4 50%, #00B7D1 100%);
  border-radius: 12px;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.hero-art .laptop-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.12), transparent 40%);
}
.hero-art .laptop-tile {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-art .laptop-tile .bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
}
.hero-art .laptop-tile .bar.short { width: 60%; }
.hero-art .tile-1 { top: 12%; right: 10%; width: 38%; }
.hero-art .tile-2 { bottom: 14%; left: 8%; width: 42%; }
.hero-art .tile-1 .dot { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #0078D4, #00B7D1); }
.hero-art .tile-2 .dot { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #F25022, #FFB900); }

/* Inner page hero (smaller) */
.page-hero {
  background:
    radial-gradient(900px 360px at 80% -10%, rgba(0, 120, 212, .3), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero .lead {
  color: #cbd5e1;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.85;
}
.breadcrumb {
  font-size: 13.5px;
  color: #9ca3b3;
  margin-bottom: 18px;
}
.breadcrumb a { color: #cbd5e1; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 6px; opacity: .6; }

/* ====== Sections ====== */
section { padding: 80px 0; }
section.tight { padding: 60px 0; }

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.section-head p {
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ms-blue);
  background: var(--bg-blue-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: .3px;
}

/* ====== Pillars / Feature Cards ====== */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ms-blue-light);
}
.card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ms-blue) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(0, 120, 212, .25);
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

/* Product card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ms-blue-light);
}
.product-card .pc-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--bg-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 700;
}
.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  margin-bottom: 16px;
  flex: 1;
}
.product-card .pc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.product-card .tag {
  display: inline-block;
  font-size: 12px;
  background: var(--bg-blue-soft);
  color: var(--ms-blue);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.product-card .pc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Editions table */
.editions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.edition {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
}
.edition:hover {
  border-color: var(--ms-blue-light);
  box-shadow: var(--shadow-sm);
}
.edition .ed-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.edition .ed-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.edition .ed-desc {
  color: var(--text-soft);
  font-size: 14.5px;
  margin-bottom: 18px;
  flex: 1;
}
.edition .ed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ====== Stats / Trust ====== */
.stats-strip {
  background: linear-gradient(135deg, var(--ms-blue) 0%, var(--cyan) 100%);
  color: var(--white);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.stat .lbl {
  font-size: 15px;
  color: rgba(255,255,255,.92);
}

.trust-strip {
  background: var(--bg-light);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trust-item .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ms-blue);
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}
.trust-item h4 { font-size: 16px; font-weight: 700; color: var(--text); }
.trust-item p { font-size: 14px; color: var(--text-soft); }

/* ====== Two-column content ====== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.flip { direction: ltr; }
.split.flip > * { direction: rtl; }
.split h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 16px;
}
.split p { color: var(--text-soft); font-size: 16px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li {
  position: relative;
  padding-right: 30px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 15.5px;
}
.checks li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--ms-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.split-art {
  background: linear-gradient(135deg, var(--bg-blue-soft) 0%, #d8eaf9 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-art .icon-big {
  font-size: 120px;
  color: var(--ms-blue);
  opacity: .85;
}
.split-art .floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.split-art .floating-card .mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ms-blue), var(--cyan));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.split-art .floating-card span { font-weight: 600; font-size: 13.5px; }
.split-art .fc-1 { top: 16%; right: 6%; }
.split-art .fc-2 { bottom: 12%; left: 4%; }

/* ====== CTA Banner ====== */
.cta-banner {
  background:
    radial-gradient(800px 300px at 90% 50%, rgba(0,183,209,.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-banner p {
  color: #cbd5e1;
  margin-bottom: 26px;
  font-size: 16px;
  max-width: 600px;
}
.cta-banner .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====== Contact / Forms ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.contact-info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-card h3 .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ms-blue), var(--cyan));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.contact-info-card .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  gap: 16px;
}
.contact-info-card .row:last-child { border-bottom: 0; }
.contact-info-card .row .lbl { color: var(--text-muted); font-size: 14.5px; }
.contact-info-card .row .val { color: var(--text); font-weight: 600; font-size: 14.5px; direction: ltr; }
.contact-info-card .row .val.fa { direction: rtl; font-weight: 500; text-align: left; }

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.form-group label .req { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ms-blue);
  box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-msg {
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 14.5px;
  display: none;
}
.form-msg.ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ====== About story ====== */
.story-block {
  max-width: 880px;
  margin: 0 auto;
}
.story-block p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 2;
}
.story-block h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 14px;
  color: var(--text);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.tl-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.tl-item .num-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ms-blue), var(--cyan));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  margin: 0 auto 12px;
}
.tl-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: var(--text-soft); }

/* ====== Footer ====== */
.site-footer {
  background: var(--navy);
  color: #c9d1e0;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--ms-blue);
  border-radius: 2px;
  margin-top: 8px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #c9d1e0; font-size: 14.5px; }
.footer-col a:hover { color: var(--white); }
.footer-col p { color: #9ca3b3; font-size: 14.5px; line-height: 1.9; margin-bottom: 12px; }
.footer-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-col .footer-logo strong {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact .fc-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #c9d1e0;
}
.footer-contact .fc-row .ic-sm {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ms-blue-light);
  flex-shrink: 0;
  font-size: 13px;
}
.footer-contact .fc-row a { color: #c9d1e0; }
.footer-contact .fc-row span.ltr { direction: ltr; display: inline-block; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13.5px;
  color: #9ca3b3;
}
.copyright p { margin-bottom: 4px; }

/* ====== Utilities ====== */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.bg-soft { background: var(--bg-light); }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 480px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .topbar .container { font-size: 12.5px; gap: 10px; }
  .topbar .tb-spacer { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    border-top: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { display: block; }
  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-light);
    margin: 4px 0;
    padding: 4px;
  }
  .has-dropdown > a::after { float: left; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-art { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* ===== Comparison Table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.compare-table thead {
  background: linear-gradient(135deg, #0078D4 0%, #00B7D1 100%);
  color: #fff;
}
.compare-table th {
  padding: 14px 12px;
  font-weight: 600;
  text-align: right;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.compare-table th:last-child { border-left: none; }
.compare-table td {
  padding: 12px;
  border-bottom: 1px solid #EBF4FD;
  border-left: 1px solid #EBF4FD;
  vertical-align: top;
  line-height: 1.7;
}
.compare-table td:last-child { border-left: none; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) { background: #F8FBFF; }
.compare-table tr:hover { background: #EBF4FD; }
.compare-table td:first-child {
  font-weight: 600;
  color: #0f1424;
  background: #F8FBFF;
}
.compare-table tr:nth-child(even) td:first-child { background: #EBF4FD; }
@media (max-width: 768px) {
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 6px; }
}

/* ===== FAQ ===== */
.faq {
  margin: 20px 0;
}
.faq-item {
  background: #fff;
  border: 1px solid #EBF4FD;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 16px 20px;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.faq-q {
  font-weight: 600;
  color: #0078D4;
  margin: 0 0 8px;
  font-size: 16px;
}
.faq-a {
  color: #333;
  margin: 0;
  line-height: 1.8;
}

/* ===== Card-actions in product cards ===== */
.product-card { display: flex; flex-direction: column; }
.product-card .card-actions {
  display: flex; gap: 8px; margin-top: auto; padding-top: 12px; flex-wrap: wrap;
}

/* Story block table inheritance */
.story-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.story-block table th, .story-block table td {
  padding: 10px 12px;
  border: 1px solid #EBF4FD;
  text-align: right;
}
.story-block table th {
  background: #EBF4FD;
  font-weight: 600;
  color: #0f1424;
}
.story-block ul, .story-block ol { padding-right: 22px; line-height: 1.9; }
.story-block li { margin-bottom: 6px; }
.story-block h3 { color: #0078D4; margin-top: 24px; }
.story-block h4 { color: #0f1424; margin-top: 18px; font-size: 17px; }

/* ===== SEO v2 components ===== */

/* Skip link (accessibility) */
.skip-link{position:absolute;top:-40px;right:0;background:#0078D4;color:#fff;padding:10px 18px;z-index:9999;font-weight:700;border-radius:0 0 0 8px;text-decoration:none;transition:top .2s}
.skip-link:focus{top:0;outline:3px solid #ffd700}

/* Screen-reader-only utility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* TL;DR box */
.tldr-box{display:flex;gap:16px;background:linear-gradient(135deg,#e7f3ff 0%,#f0f9ff 100%);border-right:5px solid #0078D4;border-radius:14px;padding:22px 26px;margin:28px auto;max-width:1200px;align-items:flex-start;box-shadow:0 4px 14px rgba(0,120,212,.08)}
.tldr-icon{font-size:32px;flex-shrink:0;line-height:1}
.tldr-content h3{margin:0 0 8px;font-size:18px;font-weight:800;color:#0078D4}
.tldr-content p{margin:0;color:#1f2937;font-size:15px;line-height:1.85}

/* Specs table */
.specs-section{padding:50px 0;background:#fafbfc}
.specs-section h2{font-size:26px;font-weight:800;margin-bottom:24px;color:#0f172a}
.specs-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.specs-table th,.specs-table td{padding:14px 18px;text-align:right;border-bottom:1px solid #e5e7eb;font-size:15px}
.specs-table th{background:#f3f4f6;font-weight:700;color:#0f172a;width:38%}
.specs-table tr:last-child th,.specs-table tr:last-child td{border-bottom:0}
.specs-table tr:hover{background:#f8fafc}

/* Related products */
.related-section{padding:60px 0;background:#fff}
.related-section h2{font-size:26px;font-weight:800;margin-bottom:28px;color:#0f172a}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.related-card{display:block;padding:22px;background:#fff;border:1.5px solid #e5e7eb;border-radius:14px;transition:all .2s;text-decoration:none;color:inherit;position:relative}
.related-card:hover{border-color:#0078D4;box-shadow:0 8px 24px rgba(0,120,212,.12);transform:translateY(-2px)}
.related-card h4{font-size:17px;font-weight:800;margin:0 0 8px;color:#0078D4}
.related-card p{margin:0;color:#475569;font-size:14px;line-height:1.7}
.related-arrow{position:absolute;left:18px;bottom:18px;color:#0078D4;font-size:18px;font-weight:800}

/* Last updated stamp */
.last-updated{display:inline-flex;gap:8px;align-items:center;padding:8px 16px;background:#f0fdf4;color:#166534;border-radius:20px;font-size:13px;font-weight:600;margin:16px 0}
.lu-icon{font-size:14px}

/* FAQ section v2 */
.faq-section{padding:60px 0;background:#fafbfc}
.faq-section h2{font-size:26px;font-weight:800;margin-bottom:28px;color:#0f172a;text-align:center}
.faq-list{max-width:850px;margin:0 auto}
.faq-list .faq-item{background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;margin-bottom:12px;overflow:hidden;transition:border-color .2s}
.faq-list .faq-item[open]{border-color:#0078D4}
.faq-list summary{padding:18px 22px;font-weight:700;font-size:16px;color:#0f172a;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font-size:24px;color:#0078D4;font-weight:400;transition:transform .2s}
.faq-list .faq-item[open] summary::after{content:"−"}
.faq-list .faq-answer{padding:0 22px 20px;color:#475569;font-size:15px;line-height:1.85}

/* Keyword cloud (footer) */
.keyword-cloud{padding:40px 0 30px;background:#0a1929;border-top:1px solid #1e3a5f}
.keyword-cloud h3{color:#cbd5e1;font-size:15px;font-weight:700;margin-bottom:18px;text-align:center}
.kw-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:1100px;margin:0 auto}
.kw-tag{display:inline-block;padding:7px 14px;background:rgba(255,255,255,.06);color:#94a3b8;border-radius:18px;font-size:12.5px;text-decoration:none;border:1px solid rgba(255,255,255,.08);transition:all .15s}
.kw-tag:hover{background:rgba(0,120,212,.18);color:#fff;border-color:#0078D4}

/* Breadcrumb a11y separator */
.breadcrumb .sep{margin:0 6px;color:#94a3b8}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Print styles (SEO bonus + accessibility) */
@media print{
  .topbar,.site-header,.cta-banner,.keyword-cloud,.skip-link,.menu-toggle{display:none!important}
  body{color:#000;background:#fff}
  a{color:#000;text-decoration:underline}
  a[href]::after{content:" ("attr(href)")";font-size:10px;color:#666}
}
