/* =====================================================================
   SmarDac — Why Choose Us
   Scoped with the `wu-` prefix so nothing here leaks into other pages.
   Same design language as the about page (about.css); the shared
   primitives are repeated because about.css loads on /about only.
   ===================================================================== */

:root {
  --wu-p: #0092ff;
  --wu-p2: #3fd0ff;
  --wu-navy: #091d3e;
  --wu-ink: #1f314f;
  --wu-muted: #6b7a90;
  --wu-line: #e6ecf5;
  --wu-head: 'Sora', 'IBM Plex Sans', sans-serif;
  --wu-body: 'IBM Plex Sans', 'Roboto', sans-serif;
  --wu-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* The theme floats its transparent header only over its own .page-title
   block; this hero is not one, so it takes the same treatment here. */
.header.header-transparent { position: absolute; top: 0; left: 0; right: 0; width: 100%; }

.wu-section { position: relative; overflow: hidden; }
.wu-container { width: 100%; padding: 0 var(--site-gutter, clamp(20px, 5vw, 96px)); }

/* ---------- Typography helpers ---------- */
.wu-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--wu-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--wu-p); margin-bottom: 18px;
}
.wu-eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--wu-p), var(--wu-p2)); border-radius: 2px; }
.wu-h2 {
  font: 700 clamp(28px, 3.6vw, 44px)/1.15 var(--wu-head); text-transform: none;
  color: var(--wu-ink); letter-spacing: -.02em; margin: 0 0 16px;
}
.wu-lead { font: 400 17px/1.7 var(--wu-body); color: var(--wu-muted); margin: 0; }
.wu-grad { background: linear-gradient(90deg, var(--wu-p) 0%, var(--wu-p2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.wu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px/1 var(--wu-body); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--wu-ease), box-shadow .35s var(--wu-ease), background .35s, color .35s, border-color .35s;
}
.wu-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--wu-ease); }
.wu-btn:hover svg { transform: translateX(4px); }
.wu-btn:hover { transform: translateY(-2px); text-decoration: none; }
.wu-btn:focus-visible { outline: 2px solid var(--wu-p2); outline-offset: 3px; }
.wu-btn--primary { color: #fff; background: linear-gradient(135deg, #0a84ff 0%, #0092ff 45%, #22c1ff 100%); box-shadow: 0 10px 30px -10px rgba(0, 146, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.wu-btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--wu-ease);
}
.wu-btn--primary:hover { color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 146, 255, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.wu-btn--primary:hover::after { transform: translateX(120%); }
.wu-btn--ghost { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.wu-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.wu-btn--light { color: var(--wu-navy); background: #fff; }
.wu-btn--light:hover { color: var(--wu-navy); box-shadow: 0 16px 30px -14px rgba(0,0,0,.35); }

/* =====================================================================
   HERO
   ===================================================================== */
.wu-hero {
  position: relative; min-height: clamp(620px, 82vh, 880px); padding: 210px 0 150px;
  display: flex; align-items: center; color: #fff; background: var(--wu-navy);
}
.wu-hero__bg { position: absolute; inset: 0; z-index: 0; }
.wu-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; }
.wu-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 36, .94) 0%, rgba(9, 29, 62, .82) 32%, rgba(9, 29, 62, .42) 62%, rgba(9, 29, 62, .24) 100%),
    linear-gradient(180deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, 0) 28%, rgba(5, 15, 36, 0) 60%, rgba(5, 15, 36, .92) 100%);
}
.wu-hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 75%);
}
.wu-hero__glow { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; }
.wu-hero__glow--a { width: 620px; height: 620px; left: -220px; top: 0; background: radial-gradient(circle, rgba(10,92,255,.34), rgba(10,92,255,.12) 45%, transparent 70%); }
.wu-hero__glow--b { width: 480px; height: 480px; right: -160px; bottom: -20%; background: radial-gradient(circle, rgba(18,184,255,.22), rgba(18,184,255,.08) 45%, transparent 70%); }

.wu-hero__inner { position: relative; z-index: 2; max-width: 720px; }

/* Breadcrumb: pinned just under the 135px transparent header, not part
   of the vertically centred copy block. */
.wu-hero__top { position: absolute; left: 0; right: 0; top: 156px; z-index: 3; opacity: 0; animation: wuUp .8s var(--wu-ease) .05s both; }
.wu-crumb {
  display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(9, 29, 62, .38);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font: 600 11.5px/1 var(--wu-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.wu-crumb a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); text-decoration: none; transition: color .3s; }
.wu-crumb a svg { width: 15px; height: 15px; flex: none; opacity: .9; }
.wu-crumb a:hover { color: #fff; text-decoration: none; }
.wu-crumb i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }
.wu-crumb [aria-current] { color: var(--wu-p2); }

.wu-hero .wu-eyebrow { color: var(--wu-p2); }
.wu-hero__title {
  font: 800 clamp(36px, 5vw, 68px)/1.06 var(--wu-head); letter-spacing: -.03em; color: #fff;
  margin: 0 0 22px; text-transform: none;
}
.wu-hero__title .wu-grad { background: linear-gradient(90deg, #4fd8ff, #0092ff 60%, #7ee0ff); -webkit-background-clip: text; background-clip: text; }
.wu-hero__lead { font: 400 clamp(16px, 1.25vw, 19px)/1.7 var(--wu-body); color: rgba(255,255,255,.78); max-width: 580px; margin: 0 0 34px; }
.wu-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Photo credit: the hero image is CC BY-SA 4.0, which requires a visible
   attribution. Kept small and low-contrast so it never fights the copy. */
.wu-credit {
  position: absolute; right: var(--site-gutter, 24px); bottom: 14px; z-index: 4;
  font: 400 10.5px/1 var(--wu-body); color: rgba(255,255,255,.34); letter-spacing: .02em;
}
.wu-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.wu-credit a:hover { color: rgba(255,255,255,.7); text-decoration: none; }

/* Entrance */
.wu-hero__inner > * { opacity: 0; transform: translateY(18px); animation: wuUp .8s var(--wu-ease) both; }
.wu-hero__inner > :nth-child(1) { animation-delay: .15s; }
.wu-hero__inner > :nth-child(2) { animation-delay: .25s; }
.wu-hero__inner > :nth-child(3) { animation-delay: .37s; }
.wu-hero__inner > :nth-child(4) { animation-delay: .5s; }
.wu-hero__bg img { transform: scale(1.06); animation: wuSettle 6s cubic-bezier(.25, .1, .25, 1) forwards; }

/* =====================================================================
   COMPANY SUB-NAV (white pill bar overlapping the hero's lower edge)
   ===================================================================== */
.wu-subnav { position: relative; z-index: 5; margin-top: -30px; }
.wu-subnav__bar {
  display: flex; gap: 6px; padding: 6px; width: max-content; max-width: 100%;
  border-radius: 16px; background: #fff; border: 1px solid var(--wu-line);
  box-shadow: 0 24px 50px -28px rgba(9, 29, 62, .55);
  overflow-x: auto; scrollbar-width: none;
}
.wu-subnav__bar::-webkit-scrollbar { display: none; }
.wu-subnav a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 11px;
  font: 600 14px var(--wu-body); color: var(--wu-ink); text-decoration: none; white-space: nowrap;
  transition: background .3s, color .3s;
}
.wu-subnav a:hover { background: #eef6ff; color: var(--wu-p); text-decoration: none; }
.wu-subnav a.is-active, .wu-subnav a.is-active:hover { background: var(--wu-navy); color: #fff; }

/* =====================================================================
   DIFFERENTIATORS
   ===================================================================== */
.wu-diff { padding: 110px 0; background: #fff; }
.wu-diff__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.wu-diff__head .wu-eyebrow::before { display: none; }
.wu-diff__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wu-card {
  position: relative; padding: 32px 30px; border-radius: 22px;
  background: linear-gradient(180deg, #f6f9fd, #fff); border: 1px solid var(--wu-line); overflow: hidden;
  transition: transform .45s var(--wu-ease), box-shadow .45s var(--wu-ease), border-color .3s;
}
.wu-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--wu-p), var(--wu-p2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--wu-ease); }
.wu-diff__grid .wu-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(0, 146, 255, .45); border-color: rgba(0,146,255,.3); }
.wu-diff__grid .wu-card:hover::before { transform: scaleX(1); }
.wu-card__num { position: absolute; top: 26px; right: 28px; font: 800 13px var(--wu-head); letter-spacing: .1em; color: #c9d5e6; transition: color .4s; }
.wu-diff__grid .wu-card:hover .wu-card__num { color: var(--wu-p); }
.wu-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #eef6ff, #dff1ff); color: var(--wu-p); margin-bottom: 20px; transition: transform .45s var(--wu-ease); }
.wu-card__icon svg { width: 26px; height: 26px; }
.wu-diff__grid .wu-card:hover .wu-card__icon { transform: rotate(-6deg) scale(1.06); }
.wu-card h3 { font: 700 19px var(--wu-head); text-transform: none; color: var(--wu-ink); margin: 0 0 10px; transition: color .35s; }
.wu-diff__grid .wu-card:hover h3 { color: var(--wu-p); }
.wu-card p { font: 400 14.5px/1.7 var(--wu-body); color: var(--wu-muted); margin: 0; }

/* =====================================================================
   CTA
   ===================================================================== */
.wu-cta { padding: 0 0 110px; background: #fff; }
.wu-cta__box { position: relative; border-radius: 32px; padding: 64px 60px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0a1f45 0%, #0b2a63 45%, #0a6bd8 100%); box-shadow: 0 60px 100px -50px rgba(0,146,255,.6); }
.wu-cta__box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 90% 50%, #000, transparent 65%); }
.wu-cta__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; pointer-events: none; animation: wuFloat 10s ease-in-out infinite; }
.wu-cta__orb--a { width: 380px; height: 380px; right: -80px; top: -140px; background: #22c1ff; }
.wu-cta__orb--b { width: 260px; height: 260px; left: 30%; bottom: -160px; background: #0a84ff; animation-delay: -4s; }
.wu-cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.wu-cta h2 { font: 800 clamp(28px, 3.4vw, 44px)/1.15 var(--wu-head); text-transform: none; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.wu-cta p { font: 400 16px/1.7 var(--wu-body); color: rgba(255,255,255,.75); margin: 0; }
.wu-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* =====================================================================
   Scroll reveal + keyframes
   ===================================================================== */
.wu-io { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--wu-ease), transform .9s var(--wu-ease); transition-delay: var(--d, 0ms); }
.wu-io.in { opacity: 1; transform: none; }

@keyframes wuUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wuSettle { to { transform: scale(1); } }
@keyframes wuFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199px) {
  .wu-diff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .wu-hero { padding: 170px 0 130px; min-height: 0; }
  .wu-hero__top { top: 100px; }
  .wu-hero__bg img { object-position: 58% 50%; }
  .wu-diff { padding: 80px 0; }
  .wu-cta { padding-bottom: 80px; }
  .wu-cta__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .wu-cta__actions { justify-content: flex-start; }
  .wu-cta__box { padding: 50px 34px; }
}
@media (max-width: 767px) {
  /* The 80px mobile header is opaque and sits over the hero. */
  .wu-hero { padding: 150px 0 110px; display: block; }
  .wu-hero__top { top: 96px; }
  .wu-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(5, 15, 36, .92) 0%, rgba(9, 29, 62, .78) 45%, rgba(5, 15, 36, .94) 100%),
      linear-gradient(90deg, rgba(5, 15, 36, .55) 0%, rgba(5, 15, 36, .15) 100%);
  }
  .wu-hero__glow--a { width: 340px; height: 340px; left: -160px; }
  .wu-hero__glow--b { width: 300px; height: 300px; right: -140px; }
  .wu-hero__title { font-size: clamp(30px, 8.6vw, 40px); }
  .wu-hero__lead { font-size: 15.5px; margin-bottom: 26px; }
  .wu-hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wu-hero__actions .wu-btn { width: 100%; justify-content: center; height: 52px; }

  /* Four pills never fit one row on a phone, so a 2x2 grid keeps every
     link visible instead of hiding the last behind a cut edge. */
  .wu-subnav { margin-top: -26px; }
  .wu-subnav__bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .wu-subnav a { height: 42px; padding: 0 10px; font-size: 13px; justify-content: center; }

  .wu-diff { padding: 64px 0; }
  .wu-diff__head { margin-bottom: 36px; }
  .wu-diff__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .wu-card { padding: 24px 22px; }
  .wu-cta { padding-bottom: 70px; }
  .wu-cta__box { padding: 40px 24px; border-radius: 24px; }
  .wu-credit { right: 20px; bottom: 10px; font-size: 10px; }
}
@media (max-width: 575px) {
  .wu-hero { padding: 140px 0 100px; }
  .wu-eyebrow { font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; }
  .wu-crumb { font-size: 10.5px; height: 34px; }
  .wu-h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .wu-cta__actions .wu-btn { width: 100%; justify-content: center; }
}
@media (max-width: 359px) {
  .wu-btn { padding: 0 18px; font-size: 14px; }
}

@media (hover: none) {
  .wu-card:hover, .wu-btn:hover { transform: none; }
  .wu-btn, .wu-subnav a, .wu-card { -webkit-tap-highlight-color: rgba(0, 146, 255, .18); }
}
