/* Magnova International - Shared Styles
   Extracted from inline <style> blocks across all HTML pages */

/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: 'Outfit';
  src: url('../_shared/fonts/Outfit-Regular.woff2') format('woff2'), url('../_shared/fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('../_shared/fonts/Outfit-Bold.woff2') format('woff2'), url('../_shared/fonts/Outfit-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('../_shared/fonts/WorkSans-Regular.woff2') format('woff2'), url('../_shared/fonts/WorkSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('../_shared/fonts/WorkSans-Bold.woff2') format('woff2'), url('../_shared/fonts/WorkSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'WorkSans';
  src: url('../_shared/fonts/WorkSans-Italic.woff2') format('woff2'), url('../_shared/fonts/WorkSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg2: #F4F7FB;
  --bg-soft: #F9FBFD;
  --ink: #0B1426;
  --ink-2: #111E36;
  --ink-3: #0A1322;
  --muted: #566172;
  --muted-2: #93A1B3;
  --rule: #E4E9F1;
  --rule-2: #EDF1F7;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-2: #06B6D4;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-ring: rgba(37, 99, 235, 0.22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.07), 0 2px 6px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 18px 44px rgba(16, 24, 40, 0.12), 0 4px 10px rgba(16, 24, 40, 0.05);

  --container: 1200px;

  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'WorkSans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 72px 0; }
[id] { scroll-margin-top: 88px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow-light { color: var(--accent-2); }
.eyebrow-light::before { background: var(--accent-2); }
.eyebrow-center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.section-sub { color: var(--muted); font-size: 1.075rem; margin-top: 16px; line-height: 1.65; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.97rem;
  padding: 13px 26px; border-radius: 11px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28); }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--rule); }
.btn-secondary:hover { border-color: var(--ink); background: var(--bg2); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.95rem; color: var(--accent);
}
.text-link:hover { text-decoration: none; gap: 11px; }
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link-light { color: #fff; }
.text-link-light:hover { color: var(--accent-2); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--rule);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 28px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  color: var(--ink); padding: 9px 13px; border-radius: 9px;
  background: none; cursor: pointer; transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--accent); background: var(--accent-soft); }
.nav-link[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-link .chev { transition: transform .2s ease; }
.has-dropdown.open .nav-link .chev { transform: rotate(180deg); }
.has-dropdown .dropdown-item[aria-current="page"] { background: var(--accent-soft); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 360px; background: #fff;
  border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: block; padding: 13px 15px; border-radius: 10px; text-decoration: none;
  transition: background .18s ease;
}
.dropdown-item:hover { background: var(--bg2); text-decoration: none; }
.dropdown-item strong { display: block; color: var(--ink); font-size: 0.93rem; font-weight: 700; font-family: var(--font-body); }
.dropdown-item span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 3px; }

.header-cta { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; border-radius: 10px; gap: 5px;
  transition: background .2s ease;
}
.nav-toggle:hover { background: var(--bg2); }
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 990;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 90px 28px 40px;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  color: #fff; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav-link:hover { color: var(--accent-2); text-decoration: none; }
.mobile-sub { padding: 4px 0 14px 4px; display: flex; flex-direction: column; gap: 2px; }
.mobile-sub a {
  color: var(--muted-2); font-size: 1rem; font-weight: 500; padding: 8px 4px;
}
.mobile-sub a:hover { color: #fff; text-decoration: none; }
.mobile-cta { margin-top: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.07), transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(6, 182, 212, 0.06), transparent 38%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 56px; align-items: center;
}
.hero-content { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 22px;
}
.hero h1 .accent-line { color: var(--accent); }
.hero-sub {
  font-size: 1.14rem; line-height: 1.6; color: var(--muted); max-width: 540px; margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.9rem; color: var(--muted); font-weight: 500;
}
.hero-trust svg { color: var(--accent); flex-shrink: 0; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual svg { width: 100%; max-width: 480px; height: auto; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 130px 0 56px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.07), transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(6, 182, 212, 0.06), transparent 38%),
    var(--bg);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1; letter-spacing: -0.022em; margin-bottom: 16px;
}
.page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 620px; }

/* ============================================================
   EXPLORE CARDS (home navigation grid)
   ============================================================ */
.explore-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.explore-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-ring); text-decoration: none; }
.explore-card .explore-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.explore-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.explore-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin-bottom: 18px; }
.explore-card .text-link { margin-top: auto; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 26px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  border-left: 1px solid var(--rule); padding-left: 20px;
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-item span { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ============================================================
   PROBLEM → SOLUTION
   ============================================================ */
.ps-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: stretch;
}
.ps-card { padding: 40px; border-radius: var(--radius-lg); }
.ps-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 14px; }
.ps-problem {
  background: var(--bg2);
  border: 1px solid var(--rule-2);
}
.ps-problem .ps-lead { color: var(--muted); margin-bottom: 24px; font-size: 1rem; }
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 0.96rem; color: var(--ink); font-weight: 500;
}
.pain-list .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2);
  margin-top: 8px; flex-shrink: 0;
}
.ps-solution {
  background: var(--ink);
  color: #fff;
  position: relative; overflow: hidden;
}
.ps-solution::after {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), transparent 70%);
  pointer-events: none;
}
.ps-solution h2 { color: #fff; }
.ps-solution .ps-lead { color: var(--muted-2); margin-bottom: 28px; font-size: 1rem; }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1; }
.sol-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius); padding: 18px;
}
.sol-item h3 { color: #fff; font-size: 1.02rem; margin-bottom: 5px; display: flex; align-items: center; gap: 9px; }
.sol-item h3 svg { color: var(--accent-2); }
.sol-item p { color: var(--muted-2); font-size: 0.88rem; line-height: 1.5; }

/* ============================================================
   TWO SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 26px; align-items: stretch;
}
.service-card {
  position: relative; padding: 38px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-ring); }
.service-card.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--accent-ring);
}
.service-card.primary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-label {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.service-card.primary .service-label { background: var(--accent); color: #fff; }
.service-card.secondary .service-label { background: var(--bg2); color: var(--muted); border: 1px solid var(--rule); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service-sub { font-size: 1.05rem; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.service-desc { color: var(--muted); font-size: 0.99rem; margin-bottom: 14px; }
.service-extra {
  font-size: 0.9rem; color: var(--ink); font-weight: 500;
  background: var(--bg2); border-radius: var(--radius-sm);
  padding: 13px 15px; margin-bottom: 24px; line-height: 1.55;
  border-left: 3px solid var(--accent);
}
.service-card.primary .service-extra { background: var(--accent-soft); }
.service-card .text-link { margin-top: auto; }

/* ============================================================
   WHY MAGNOVA
   ============================================================ */
.why-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 22px;
}
.why-card {
  flex: 0 1 350px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-ring); }
.why-num {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  color: var(--accent); letter-spacing: 0.05em; margin-bottom: 14px;
  display: inline-block; padding: 4px 10px; background: var(--accent-soft); border-radius: 999px;
}
.why-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.why-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.why-cta { text-align: center; margin-top: 44px; }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.process { position: relative; }
.process-line {
  position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.25; border-radius: 2px;
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.process-step { text-align: left; }
.process-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  margin-bottom: 20px; position: relative; z-index: 1;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.process-step:hover .process-badge {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 9px; }
.process-step p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.process-note {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-soft); color: var(--ink);
  padding: 14px 20px; border-radius: 999px; font-size: 0.93rem; font-weight: 600;
}
.process-note svg { color: var(--accent); flex-shrink: 0; }
.process-cta { margin-top: 36px; }

/* ============================================================
   SOURCING EXPERIENCE
   ============================================================ */
.experience-wrap { display: grid; gap: 44px; }
.chips {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--rule);
  font-size: 0.93rem; font-weight: 600; color: var(--ink);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.markets {
  text-align: center; font-size: 1rem; color: var(--muted); font-weight: 500;
}
.markets strong { color: var(--ink); font-weight: 700; }

/* Featured case study */
.case-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--ink-2); box-shadow: var(--shadow-lg);
}
.case-meta {
  padding: 40px; background: linear-gradient(155deg, var(--ink-2) 0%, var(--ink) 100%);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
}
.case-meta::after {
  content: ""; position: absolute; bottom: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
}
.case-tag {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-2);
  padding: 6px 12px; background: rgba(6, 182, 212, 0.12); border-radius: 999px;
}
.case-category { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; line-height: 1.2; }
.case-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 14px; line-height: 1.25; }
.case-body p { color: var(--muted-2); font-size: 1rem; margin-bottom: 24px; line-height: 1.6; }

/* ============================================================
   FINAL CTA / CONTACT
   ============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.14), transparent 45%),
    var(--ink);
  color: #fff;
}
.cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.cta-intro h2 { color: #fff; font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-intro p { color: var(--muted-2); font-size: 1.075rem; line-height: 1.6; max-width: 440px; }
.cta-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 0.95rem; }
.cta-points svg { color: var(--accent-2); flex-shrink: 0; }

.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.form-card .form-hint { color: var(--muted); font-size: 0.86rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 0.84rem; font-weight: 700; color: var(--ink);
  margin-bottom: 7px; letter-spacing: 0.01em;
}
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 0.96rem;
  color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--rule); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.field textarea { min-height: 92px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.form-success .check-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.95rem; }
.direct-contact {
  margin-top: 22px; text-align: center;
  font-size: 0.92rem; color: var(--muted-2);
}
.direct-contact span { display: block; margin-bottom: 10px; }
.direct-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; margin: 0 12px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18); transition: background .2s ease, border-color .2s ease;
}
.direct-contact a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); text-decoration: none; }
.direct-contact svg { color: var(--accent-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-3); color: var(--muted-2); padding-top: 64px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px; padding-bottom: 44px;
}
.footer-brand .footer-wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  color: #fff; letter-spacing: 0.06em; margin-bottom: 14px;
}
.footer-desc { font-size: 0.95rem; margin-bottom: 8px; color: var(--muted-2); }
.footer-loc { font-size: 0.9rem; color: var(--muted-2); display: flex; align-items: center; gap: 7px; }
.footer-loc svg { color: var(--accent-2); }
.footer-col h4 {
  color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px; font-family: var(--font-body); font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--muted-2); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--muted-2);
}
.footer-note { display: inline-flex; align-items: center; gap: 7px; }
.footer-note svg { color: var(--muted-2); }

/* ============================================================
   HERO OFFER + ANIMATED GRADIENT TEXT
   ============================================================ */
.hero h1 .accent-line {
  background: linear-gradient(90deg, #2563EB, #06B6D4, #2563EB);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}
.hero-visual svg { animation: float 6s ease-in-out infinite; }
.hero-offer {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 26px;
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
  background: linear-gradient(90deg, var(--accent-soft), rgba(6, 182, 212, 0.10));
  border: 1px solid var(--accent-ring);
  padding: 9px 16px; border-radius: 999px;
}
.hero-offer .off-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: pulseSoft 2.2s ease-in-out infinite;
}

/* ============================================================
   PROBLEM → SOLUTION (enhanced)
   ============================================================ */
.pain-list.vivid { gap: 14px; }
.pain-list.vivid li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 0.97rem; color: var(--ink); font-weight: 500; line-height: 1.5;
}
.pain-list.vivid .pain-ic {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: #FEE9E8; color: #D1432C;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.single-contact {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(6, 182, 212, 0.10); border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex; align-items: flex-start; gap: 12px; position: relative; z-index: 1;
}
.single-contact svg { color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.single-contact p { color: #fff; font-size: 0.93rem; font-weight: 600; line-height: 1.5; }
.single-contact p span { color: var(--muted-2); font-weight: 400; }

/* ============================================================
   COMPARE TABLE (long-term vs short-term)
   ============================================================ */
.compare-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.compare-head { padding: 22px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-align: center; }
.compare-head.feature { background: var(--bg2); color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
.compare-head.long { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%); color: #fff; position: relative; }
.compare-head.long .rec-badge { display: inline-block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(255,255,255,0.22); padding: 3px 9px; border-radius: 999px; margin-top: 6px; }
.compare-head.short { background: var(--bg2); color: var(--ink); }
.compare-cell { padding: 18px 24px; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--rule-2); display: flex; align-items: center; gap: 9px; }
.compare-cell.feature { font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.compare-cell.long { background: linear-gradient(180deg, rgba(37,99,235,0.05), rgba(37,99,235,0.02)); color: var(--ink); font-weight: 600; }
.compare-cell.short { background: #fff; }
.compare-ic { width: 18px; height: 18px; flex-shrink: 0; }
.compare-ic.yes { color: #16A34A; }
.compare-ic.no { color: #C2410C; }
.compare-footnote { text-align: center; margin-top: 18px; font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   TRANSPARENCY BAND
   ============================================================ */
.transparency {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.10), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(6, 182, 212, 0.08), transparent 45%),
    var(--bg-soft);
  border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2);
}
.transparency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.transparency h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
.transparency-lead { color: var(--muted); font-size: 1.02rem; margin-top: 14px; max-width: 460px; }
.trans-points { display: flex; flex-direction: column; gap: 14px; }
.trans-item { display: flex; align-items: flex-start; gap: 13px; }
.trans-item .trans-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trans-item p { font-size: 0.97rem; color: var(--ink); line-height: 1.55; font-weight: 500; }
.trans-item p span { color: var(--muted); font-weight: 400; }

/* ============================================================
   EXCLUSIVITY (urgency)
   ============================================================ */
.exclusivity { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.exclusivity::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.20), transparent 42%);
  pointer-events: none;
}
.exclusivity-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.8fr; gap: 48px; align-items: center; }
.exclusivity h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.exclusivity-lead { color: var(--muted-2); font-size: 1.05rem; margin-top: 16px; max-width: 540px; line-height: 1.65; }
.exclusivity-lead strong { color: #fff; font-weight: 700; }
.excl-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 200px; height: 200px; border-radius: 50%; margin: 0 auto;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(6, 182, 212, 0.35);
  position: relative; animation: pulseSoft 3s ease-in-out infinite;
}
.excl-badge::before { content:""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(6, 182, 212, 0.18); }
.excl-num { font-family: var(--font-head); font-weight: 700; font-size: 3.4rem; line-height: 1; background: linear-gradient(90deg, #06B6D4, #2563EB); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.excl-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; text-align: center; line-height: 1.4; }
.excl-urgency { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; background: rgba(6, 182, 212, 0.12); border: 1px solid rgba(6, 182, 212, 0.3); padding: 11px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #fff; }
.excl-urgency svg { color: var(--accent-2); }

/* ============================================================
   MARQUEE (industries)
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   OFFER BANNER (final CTA)
   ============================================================ */
.offer-banner {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.14), rgba(37, 99, 235, 0.14));
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 12px 22px; border-radius: 999px; margin-bottom: 26px;
  font-size: 0.92rem; color: #fff; font-weight: 600;
}
.offer-banner .off-tag { font-family: var(--font-head); font-weight: 700; color: var(--accent-2); font-size: 1.05rem; }
.offer-banner .off-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: pulseSoft 2.2s ease-in-out infinite; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseSoft { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.85; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-18deg); } 60%, 100% { transform: translateX(240%) skewX(-18deg); } }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 36%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: translateX(-130%) skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: shine 0.9s ease; }
/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.stagger.in-view > *:nth-child(1) { transition-delay: .04s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .10s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .16s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .22s; }
.stagger.in-view > *:nth-child(5) { transition-delay: .28s; }
.stagger.in-view > *:nth-child(6) { transition-delay: .34s; }
.stagger.in-view > *:nth-child(7) { transition-delay: .40s; }
.stagger.in-view > *:nth-child(8) { transition-delay: .46s; }
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(n+9) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 124px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .page-hero { padding: 110px 0 44px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .ps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process-line { display: none; }
  .case-card { grid-template-columns: 1fr; }
  .case-meta { padding: 32px; }
  .case-body { padding: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .transparency-grid { grid-template-columns: 1fr; gap: 30px; }
  .exclusivity-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .exclusivity-lead { margin-left: auto; margin-right: auto; }
  .excl-badge { width: 170px; height: 170px; }
  .excl-num { font-size: 2.8rem; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  [id] { scroll-margin-top: 72px; }
  .header-inner { height: 64px; }
  .brand-logo { height: 36px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-item { border-left: none; padding-left: 0; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 16px; }
  .ps-card { padding: 28px; }
  .sol-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }
  .why-card { flex: 1 1 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-badge { width: 52px; height: 52px; font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .compare-head, .compare-cell { padding: 12px 10px; font-size: 0.78rem; }
  .compare-head.feature, .compare-cell.feature { font-size: 0.7rem; }
  .excl-badge { width: 150px; height: 150px; }
  .excl-num { font-size: 2.4rem; }
  .form-card, .form-success { padding: 26px; }
  .direct-contact a { margin: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .explore-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border: none !important; padding: 0 !important; }
}
