:root {
  --electric: #2563EB;
  --deepblue: #0D1F3C;
  --coolgray: #E2E8F0;
}

html { scroll-behavior: smooth; }
body { line-height: 1.5; overflow-x: hidden; }

h1, h2, h3, h4 { line-height: 1.15; font-family: 'Syne', sans-serif; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563EB, #60a5fa);
  z-index: 60;
  box-shadow: 0 0 18px rgba(37,99,235,0.6);
  transition: width .1s linear;
}

/* Custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transition: transform .15s ease, opacity .2s ease;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.2,.9,.2,1), width .25s, height .25s, border-color .25s;
}
.cursor-ring.hover {
  width: 68px; height: 68px;
  border-color: #2563EB;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--deepblue);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
#site-header { background: rgba(255,255,255,0); }
#site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(13,31,60,0.06), 0 10px 30px -20px rgba(13,31,60,0.15);
}

/* Nav */
.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--electric);
  transition: width .3s cubic-bezier(.2,.9,.2,1);
}
.nav-link:hover { color: var(--electric); }
.nav-link:hover::after { width: 100%; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--deepblue);
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.dropdown-item:hover {
  background: #eef2ff;
  color: var(--electric);
}
.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.dropdown-icon svg { width: 18px; height: 18px; }
.dropdown-item:hover .dropdown-icon { background: #e0e7ff; }
.dropdown-item-active .dropdown-icon { background: #e0e7ff; }
.di-ppc { color: #2563EB; }
.di-seo { color: #EF4444; }
.di-web { color: #3B82F6; }
.di-gfx { color: #EC4899; }
.di-sm  { color: #0D1F3C; }

.mobile-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deepblue);
  padding: 6px 0;
}

/* Buttons */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--electric);
  color: #fff;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease;
  box-shadow: 0 10px 25px -10px rgba(37,99,235,0.55);
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.2) 40%, transparent 80%);
  transform: translateX(-100%);
  transition: transform .8s ease;
  z-index: -1;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(37,99,235,0.7);
}
.btn-primary .btn-arrow {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.9,.2,1);
}
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-primary:focus-visible { outline: 3px solid #93b7ff; outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  color: var(--deepblue);
  font-weight: 600;
  border: 1px solid var(--coolgray);
  background: #fff;
  transition: all .3s ease;
}
.btn-ghost:hover {
  border-color: var(--deepblue);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -15px rgba(13,31,60,0.25);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  transition: all .3s ease;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* Footer links */
.footer-link {
  position: relative;
  transition: color .2s ease;
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--electric);
  transition: width .3s ease;
}
.footer-link:hover { color: var(--electric); }
.footer-link:hover::after { width: 100%; }

/* Section helpers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--electric);
  padding: 8px 14px;
  background: rgba(37,99,235,0.08);
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.15);
}
.section-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  letter-spacing: -0.025em;
  color: var(--deepblue);
  line-height: 1.08;
}
.section-heading-light {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.08;
}

/* Problem section */
.problem-section {
  position: relative;
  padding: 6rem 0 6.5rem;
  background:
    radial-gradient(1000px circle at 90% 0%, rgba(37,99,235,0.05), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}
.problem-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,31,60,0.08), transparent);
}
@media (min-width: 1024px) {
  .problem-section { padding: 8rem 0 9rem; }
}
.problem-media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px -40px rgba(13,31,60,0.35);
}
.problem-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.problem-media-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--deepblue);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(13,31,60,0.3);
}
.problem-media-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.18);
  animation: problemPulse 2.4s ease-in-out infinite;
}
@keyframes problemPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,0.18); }
  50% { box-shadow: 0 0 0 10px rgba(220,38,38,0); }
}
.problem-copy {
  position: relative;
  padding-left: 28px;
}
.problem-copy::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--electric), transparent);
  border-radius: 2px;
}
.problem-intro {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.45;
  color: var(--deepblue);
  letter-spacing: -0.01em;
}
.problem-body {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(13,31,60,0.75);
}
.problem-pull {
  position: relative;
  margin-top: 2.25rem;
  padding: 28px 28px 28px 34px;
  background: linear-gradient(135deg, #0D1F3C 0%, #17305e 100%);
  border-radius: 1.25rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.problem-pull::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.35), transparent 70%);
  z-index: 0;
}
.problem-pull p {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}
.problem-quote-mark {
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--electric);
  opacity: 0.9;
}

.marquee-link {
  transition: color .25s ease;
}
.marquee-link:hover { color: var(--electric); }

.inline-link {
  color: var(--electric);
  font-weight: 600;
  background: linear-gradient(90deg, var(--electric), var(--electric)) no-repeat left 95% / 0% 1.5px;
  transition: background-size .3s ease, color .2s ease;
  padding-bottom: 1px;
}
.inline-link:hover {
  background-size: 100% 1.5px;
}

/* ---- Service page: Google PPC ---- */
.service-intro {
  position: relative;
  background:
    radial-gradient(900px circle at 85% 15%, rgba(37,99,235,0.10), transparent 55%),
    radial-gradient(700px circle at -10% 10%, rgba(37,99,235,0.08), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  overflow: hidden;
}
.service-intro-blob {
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.breadcrumb ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 999px;
  box-shadow: 0 6px 20px -10px rgba(13,31,60,0.12);
  font-size: 0.85rem;
  color: rgba(13,31,60,0.7);
  font-weight: 500;
}
.breadcrumb a { color: rgba(13,31,60,0.7); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--electric); }
.breadcrumb [aria-current="page"] { color: var(--deepblue); font-weight: 600; }
.breadcrumb-sep { color: rgba(13,31,60,0.3); }

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(37,99,235,0.08);
  color: var(--electric);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.service-chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
  animation: problemPulse 2.4s ease-in-out infinite;
}
.service-h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.service-h1 .reveal-line,
.hero-heading.service-h1 .reveal-line {
  white-space: normal;
}

/* Abstract PPC dashboard visual */
.ppc-dashboard {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 1.5rem;
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.3);
  overflow: hidden;
}
.ppc-dashboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(13,31,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,60,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at bottom right, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at bottom right, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}
.ppc-dashboard > * { position: relative; z-index: 1; }
.ppc-dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ppc-dashboard-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--deepblue);
}
.ppc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  animation: problemPulse 2.4s ease-in-out infinite;
}
.ppc-dashboard-tag {
  padding: 4px 10px;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  font-weight: 600;
  font-size: 0.72rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ppc-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.ppc-metric {
  padding: 14px 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--coolgray);
  border-radius: 0.9rem;
}
.ppc-metric-label {
  font-size: 0.7rem;
  color: rgba(13,31,60,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.ppc-metric-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deepblue);
  margin-top: 4px;
  letter-spacing: -0.02em;
}
.ppc-metric-delta {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}
.ppc-metric-delta.up { color: #10b981; }
.ppc-metric-delta.down { color: var(--electric); }
.ppc-chart {
  background: linear-gradient(180deg, rgba(37,99,235,0.03), transparent);
  border: 1px solid var(--coolgray);
  border-radius: 0.9rem;
  padding: 10px 8px;
  height: 110px;
}
.ppc-chart svg { width: 100%; height: 100%; display: block; }
.ppc-dashboard-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.ppc-dashboard-foot span {
  font-size: 0.7rem;
  padding: 5px 10px;
  background: rgba(13,31,60,0.04);
  color: rgba(13,31,60,0.7);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* PPC Diagnostic card */
.ppc-diag {
  position: relative;
  background: linear-gradient(180deg, #0D1F3C 0%, #17305e 100%);
  color: #fff;
  border-radius: 1.5rem;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(13,31,60,0.5);
}
.ppc-diag::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.35), transparent 70%);
  pointer-events: none;
}
.ppc-diag-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.ppc-diag-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.ppc-diag-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
  animation: problemPulse 2.4s ease-in-out infinite;
}
.ppc-diag-score {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Syne', sans-serif;
}
.ppc-diag-score-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: -0.03em;
}
.ppc-diag-score-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.ppc-diag-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ppc-diag-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.7rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .55s ease, transform .55s ease, background .3s ease, border-color .3s ease;
}
.ppc-diag-list li.inview {
  opacity: 1;
  transform: translateX(0);
}
.ppc-diag-list li:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(96,165,250,0.35);
}
.ppc-diag-flag {
  flex-shrink: 0;
  padding: 3px 8px;
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ppc-diag-foot {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.85);
}
.ppc-diag-foot-accent { color: #60a5fa; }

/* Leakage grid */
.leakage-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .leakage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .leakage-grid { grid-template-columns: repeat(3, 1fr); } }
.leakage-card {
  position: relative;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 1.15rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.leakage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 48px;
  background: var(--electric);
  border-radius: 0 0 6px 0;
}
.leakage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 20px 40px -20px rgba(13,31,60,0.15);
}
.leakage-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--electric);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.leakage-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--deepblue);
  font-weight: 500;
}
.leakage-card-accent {
  background: linear-gradient(135deg, #0D1F3C 0%, #17305e 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.leakage-card-accent::before { display: none; }
.leakage-emph {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-align: center;
}
.leakage-emph-blue {
  background: linear-gradient(90deg, #60a5fa, #2563EB);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Outcome cards (deep blue section) */
.outcome-card {
  position: relative;
  padding: 24px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.outcome-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(37,99,235,0.4);
}
.outcome-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,0.15);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.outcome-icon svg { width: 22px; height: 22px; }
.outcome-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* Why list */
.why-list-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--deepblue);
  letter-spacing: -0.01em;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 1.1rem;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .3s ease, box-shadow .35s ease;
}
.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--electric);
  border-radius: 1.1rem 0 0 1.1rem;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.2,.9,.2,1);
}
.why-item:hover {
  transform: translateX(4px);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 22px 48px -24px rgba(13,31,60,0.18);
}
.why-item:hover::before { transform: scaleY(1); }
.why-num {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--electric);
  padding-top: 12px;
}
.why-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,0.08);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background .3s ease, transform .3s ease;
}
.why-item:hover .why-ico { background: rgba(37,99,235,0.16); transform: rotate(-4deg); }
.why-ico svg { width: 22px; height: 22px; }
.why-item-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--deepblue);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.why-item-desc {
  margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(13,31,60,0.65);
  line-height: 1.55;
}
.vanity-hero {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.vanity-body {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 46rem;
}
.vanity-emphasis {
  display: flex;
  align-items: center;
  gap: 18px;
}
.vanity-emphasis-rule {
  width: 54px;
  height: 2px;
  background: var(--electric);
  flex-shrink: 0;
}
.vanity-emphasis-text {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  letter-spacing: 0.02em;
  color: #fff;
}
.why-emph {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--deepblue);
  letter-spacing: -0.02em;
}
.why-emph-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
}

/* PPC Gallery */
.ppc-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
@media (min-width: 768px) {
  .ppc-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
  }
}
.ppc-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #0D1F3C;
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.35);
  transform: translateZ(0);
}
.ppc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.8,.2,1), filter .8s ease;
  will-change: transform;
}
.ppc-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,31,60,0) 45%, rgba(13,31,60,0.65) 100%);
  pointer-events: none;
}
.ppc-gallery-item:hover img {
  transform: scale(1.06);
}
.ppc-gallery-tall { grid-row: span 2; }
@media (min-width: 768px) {
  .ppc-gallery-tall { grid-row: span 2; grid-column: span 1; }
  .ppc-gallery-wide { grid-column: span 2; grid-row: span 1; }
}
@media (min-width: 1024px) {
  .ppc-gallery { grid-template-columns: repeat(3, 1fr); }
}
.ppc-gallery-cap {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deepblue);
  z-index: 2;
}
.ppc-gallery-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18);
}

/* Why image */
.why-image {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.25);
}
.why-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s cubic-bezier(.22,.8,.2,1);
}
.why-image:hover img { transform: scale(1.04); }
.why-image figcaption {
  position: absolute;
  left: 18px; bottom: 18px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.95);
  color: var(--deepblue);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* Active dropdown */
.dropdown-item-active {
  color: var(--electric) !important;
  background: rgba(37,99,235,0.06);
  font-weight: 600;
}

/* Section divider accent */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,31,60,0.12), transparent);
}

/* Hero heading */
.hero-heading {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.hero-heading .reveal-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .hero-heading .reveal-line { white-space: normal; }
  .hero-heading { font-size: clamp(1.85rem, 8vw, 2.4rem); }
}

/* Hero */
.hero-grid {
  background-image:
    linear-gradient(rgba(13,31,60,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,60,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
  pointer-events: none;
}
.hero-blob-a { width: 520px; height: 520px; background: #2563EB; top: -160px; right: -120px; animation: blobFloat 14s ease-in-out infinite; }
.hero-blob-b { width: 380px; height: 380px; background: #60a5fa; bottom: -120px; left: -100px; opacity: 0.35; animation: blobFloat 18s ease-in-out infinite reverse; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.08); }
}

/* Title gradient shimmer */
.grad-text {
  background: linear-gradient(90deg, #2563EB 0%, #60a5fa 50%, #2563EB 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Portrait frame */
.portrait-wrap { perspective: 1200px; }
.portrait-frame {
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
}
.portrait-frame img {
  box-shadow: 0 40px 80px -30px rgba(13,31,60,0.45);
  border: 6px solid #fff;
  transform: translateZ(0);
}
.portrait-ring {
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(37,99,235,0.35);
  border-radius: 2rem;
  animation: slowSpin 40s linear infinite;
}
@keyframes slowSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* Marquee */
.marquee {
  display: flex;
  gap: 3.5rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--deepblue);
  white-space: nowrap;
}
.marquee-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover { animation-play-state: paused; }

/* Service cards */
.service-card {
  position: relative;
  padding: 34px 28px 32px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 22px;
  transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease, border-color .4s ease;
  overflow: hidden;
  isolation: isolate;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,0.14), transparent 42%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 0;
}
.service-card:hover::after { opacity: 1; }
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--electric);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(13,31,60,0.22);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(13,31,60,0.3);
  letter-spacing: 0.1em;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(37,99,235,0.1);
  color: var(--electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon {
  background: var(--electric);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deepblue);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-desc {
  color: rgba(13,31,60,0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}
.service-arrow {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--electric);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* Service CTA card (fills the 8th grid slot) */
.service-cta {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0D1F3C 0%, #17305e 60%, #2563EB 140%);
  color: #fff;
  padding: 34px 28px 32px;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.45);
  min-height: 100%;
}
.service-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px circle at 110% -20%, rgba(96,165,250,0.35), transparent 60%),
    radial-gradient(380px circle at -10% 120%, rgba(37,99,235,0.45), transparent 60%);
  z-index: 0;
}
.service-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: 0;
}
.service-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93b7ff;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.cta-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96,165,250,0.2);
}
.service-cta-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  margin-top: 16px;
}
.service-cta-desc {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: 0.95rem;
}
.btn-primary-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #0D1F3C;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease, background .3s ease;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.35);
  align-self: flex-start;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.btn-primary-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(13,31,60,0.08) 40%, transparent 80%);
  transform: translateX(-100%);
  transition: transform .8s ease;
  z-index: -1;
}
.btn-primary-light:hover::before { transform: translateX(100%); }
.btn-primary-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.45);
}
.btn-primary-light .btn-arrow { transition: transform .3s cubic-bezier(.2,.9,.2,1); }
.btn-primary-light:hover .btn-arrow { transform: translateX(5px); }


/* Diagnostic cards */
.diagnostic-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 20px 45px -30px rgba(13,31,60,0.18);
  transition: transform .4s ease;
}
.diagnostic-card:hover { transform: translateY(-4px); }
.diagnostic-card-dark {
  background: linear-gradient(160deg, #0D1F3C 0%, #142a52 100%);
  border-color: #0D1F3C;
  color: #fff;
}
.diag-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateX(-10px);
}
.diag-item.inview {
  opacity: 1;
  transform: translateX(0);
  transition: all .5s cubic-bezier(.2,.9,.2,1);
}
.diag-bad { color: rgba(13,31,60,0.85); }
.diag-good { color: rgba(255,255,255,0.92); }

.diag-icon, .diag-icon-good {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 1px;
}
.diag-icon { background: rgba(220,38,38,0.12); color: #dc2626; }
.diag-icon-good { background: rgba(96,165,250,0.25); color: #93b7ff; }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.faq-item:hover { border-color: rgba(37,99,235,0.4); transform: translateY(-2px); }
.faq-item.open {
  border-color: var(--electric);
  box-shadow: 0 20px 50px -25px rgba(37,99,235,0.35);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--deepblue);
  cursor: pointer;
  background: transparent;
  border: none;
}
.faq-q:focus-visible { outline: 2px solid var(--electric); outline-offset: -2px; }

.faq-plus {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--electric);
  transition: transform .35s cubic-bezier(.2,.9,.2,1);
}
.faq-plus::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.9,.2,1);
  color: rgba(13,31,60,0.75);
  line-height: 1.7;
}
.faq-a > * { padding: 0 28px; }
.faq-a > *:first-child { padding-top: 0; }
.faq-a > *:last-child { padding-bottom: 26px; }
.faq-a p + p { margin-top: 10px; }

/* Floating cards */
.floating-card, .floating-card-2 {
  will-change: transform;
  animation: floatY 6s ease-in-out infinite;
}
.floating-card-2 { animation-delay: -3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Stats counter */
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--deepblue);
  letter-spacing: -0.02em;
}

/* Word-split */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.word > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
}

/* Image reveal wrapper */
.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--deepblue);
  transform-origin: right;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
}
.img-reveal.inview::after { transform: scaleX(0); }
.img-reveal img { transform: scale(1.15); transition: transform 1.4s cubic-bezier(.2,.9,.2,1); }
.img-reveal.inview img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > span, .word > span { opacity: 1; transform: none; }
  .hero-blob-a, .hero-blob-b, .portrait-ring, .marquee { animation: none; }
  .img-reveal::after { transform: scaleX(0); }
  .img-reveal img { transform: scale(1); }
  html { scroll-behavior: auto; }
}

/* Mobile: keep CTA button on one line */
@media (max-width: 1023px) {
  #mobile-menu .btn-primary {
    font-size: 0.82rem;
    padding: 13px 20px;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
}

/* Service icon mobile visibility safety */
.service-icon {
  flex-shrink: 0;
}
.service-icon svg {
  flex-shrink: 0;
  min-width: 26px;
  min-height: 26px;
}

/* Ensure service cards are always visible (GSAP safety override) */
@media (max-width: 1023px) {
  .service-card,
  .service-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------- SEO landing page ------- */
.seo-visual {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
  border: 1px solid rgba(37,99,235,0.14);
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.28);
  overflow: hidden;
  isolation: isolate;
}
.seo-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px circle at 10% 0%, rgba(37,99,235,0.15), transparent 60%),
    radial-gradient(300px circle at 100% 100%, rgba(37,99,235,0.12), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.seo-visual > * { position: relative; z-index: 1; }
.seo-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.seo-visual-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deepblue);
}
.seo-visual-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
}
.seo-visual-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.2);
  padding: 5px 10px;
  border-radius: 999px;
}
.seo-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.seo-rank-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 12px;
  font-size: 0.9rem;
  transition: transform .3s ease, border-color .3s ease;
}
.seo-rank-row:hover {
  transform: translateX(2px);
  border-color: rgba(37,99,235,0.35);
}
.seo-rank-pos {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--electric);
  font-size: 0.95rem;
}
.seo-rank-kw {
  color: var(--deepblue);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seo-rank-delta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.seo-rank-delta.up::before {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #059669;
}
.seo-visual-chart {
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 12px;
  padding: 14px;
}
.seo-visual-chart svg { display: block; width: 100%; height: 80px; }
.seo-visual-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13,31,60,0.55);
}
.seo-visual-foot span { display: inline-flex; gap: 6px; align-items: center; }
.seo-visual-foot span + span::before {
  content: '·';
  color: var(--electric);
  margin-right: 6px;
}

/* Split section */
.split-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.28);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13,31,60,0.88);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.split-media-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric);
}

/* SEO checklist cards */
.seo-check-card {
  position: relative;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 18px;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease, border-color .3s ease;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.seo-check-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 24px 50px -25px rgba(13,31,60,0.18);
}
.seo-check-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  color: var(--electric);
  flex-shrink: 0;
}
.seo-check-icon svg { width: 20px; height: 20px; }
.seo-check-body p {
  color: rgba(13,31,60,0.82);
  line-height: 1.55;
  font-size: 1rem;
}

/* Stat cards */
.seo-stat {
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 20px;
  padding: 28px 26px;
  transition: transform .35s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.seo-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--electric);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s cubic-bezier(.2,.9,.2,1);
}
.seo-stat:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: 0 26px 55px -28px rgba(13,31,60,0.22);
}
.seo-stat:hover::before { transform: scaleY(1); }
.seo-stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--deepblue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.seo-stat-label {
  margin-top: 10px;
  color: rgba(13,31,60,0.72);
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Process timeline */
.seo-process-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.seo-process-list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(to bottom, var(--electric), rgba(37,99,235,0.1));
}
.seo-process-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 20px;
  padding: 28px 28px 28px 76px;
  transition: transform .35s ease, border-color .3s ease, box-shadow .3s ease;
}
.seo-process-item:hover {
  transform: translateX(4px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 20px 45px -25px rgba(13,31,60,0.18);
}
.seo-process-badge {
  position: absolute;
  left: 16px;
  top: 28px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--electric);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: 0 0 0 5px rgba(37,99,235,0.15);
}
.seo-process-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--deepblue);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.seo-process-desc {
  color: rgba(13,31,60,0.75);
  line-height: 1.65;
  font-size: 1rem;
}

/* Versus (freelancer vs agency) */
.versus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) {
  .versus-grid { grid-template-columns: 1fr 1fr; }
}
.versus-card {
  padding: 32px 28px;
  border-radius: 22px;
  border: 1px solid var(--coolgray);
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.versus-card.agency {
  opacity: 0.85;
}
.versus-card.freelancer {
  background: linear-gradient(160deg, #0D1F3C 0%, #17305e 65%, #2563EB 140%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.5);
}
.versus-card:hover { transform: translateY(-4px); }
.versus-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.versus-card.agency .versus-tag {
  color: rgba(13,31,60,0.6);
  background: rgba(13,31,60,0.06);
}
.versus-card.freelancer .versus-tag {
  color: #93b7ff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}
.versus-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 18px;
}
.versus-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.versus-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.55;
}
.versus-card.agency .versus-list li { color: rgba(13,31,60,0.75); }
.versus-card.freelancer .versus-list li { color: rgba(255,255,255,0.88); }
.versus-check, .versus-cross {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.versus-check {
  background: rgba(255,255,255,0.15);
  color: #93ffbe;
}
.versus-cross {
  background: rgba(13,31,60,0.08);
  color: rgba(13,31,60,0.5);
}
.versus-check svg, .versus-cross svg { width: 12px; height: 12px; }

/* Rank-Convert-Scale kinetic */
.rcs-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  margin: 20px 0 28px;
}
.rcs-word {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  position: relative;
  display: inline-block;
}
.rcs-word::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.rcs-word.inview::after { transform: scaleX(1); }
.rcs-word:nth-child(2)::after { transition-delay: 0.15s; }
.rcs-word:nth-child(3)::after { transition-delay: 0.3s; }
.rcs-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(37,99,235,0.2);
}

/* Why-me list */
.whyme-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.whyme-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.55;
}
.whyme-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(37,99,235,0.3);
  border: 1px solid rgba(37,99,235,0.6);
  margin-top: 2px;
  position: relative;
}

/* ------- Web design landing ------- */
.wd-browser {
  position: relative;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--coolgray);
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.3);
  overflow: hidden;
  isolation: isolate;
}
.wd-browser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px circle at 0% 0%, rgba(37,99,235,0.1), transparent 60%),
    radial-gradient(300px circle at 100% 100%, rgba(37,99,235,0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.wd-browser > * { position: relative; z-index: 1; }
.wd-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--coolgray);
  background: linear-gradient(180deg, #fafbff, #ffffff);
}
.wd-browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e2e8f0;
}
.wd-browser-dot:nth-child(1) { background: #ff5f56; }
.wd-browser-dot:nth-child(2) { background: #ffbd2e; }
.wd-browser-dot:nth-child(3) { background: #27c93f; }
.wd-browser-url {
  margin-left: 10px;
  flex: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: rgba(13,31,60,0.55);
  background: #f1f5fb;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(13,31,60,0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wd-browser-url::before {
  content: '';
  width: 10px; height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
.wd-browser-body {
  padding: 22px;
  display: grid;
  gap: 14px;
}
.wd-hero-block {
  border-radius: 14px;
  background: linear-gradient(135deg, #0D1F3C 0%, #2563EB 130%);
  color: #fff;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.wd-hero-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}
.wd-hero-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93b7ff;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.wd-hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
}
.wd-hero-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--deepblue);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 999px;
}
.wd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wd-tile {
  background: #f8fafd;
  border: 1px solid var(--coolgray);
  border-radius: 12px;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
}
.wd-tile-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13,31,60,0.5);
}
.wd-tile-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--deepblue);
  font-size: 1.1rem;
  margin-top: 6px;
}
.wd-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 10px;
  height: 28px;
}
.wd-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--electric), rgba(37,99,235,0.25));
  border-radius: 3px;
}

/* Platform cards */
.platform-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 22px;
  padding: 30px 28px;
  transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease, border-color .3s ease;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.platform-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,0.1), transparent 40%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 0;
}
.platform-card:hover::after { opacity: 1; }
.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
}
.platform-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -25px rgba(13,31,60,0.22);
}
.platform-card:hover::before { transform: scaleX(1); }
.platform-card > * { position: relative; z-index: 1; }
.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.platform-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.02));
  color: var(--electric);
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,0.15);
}
.platform-icon svg { width: 22px; height: 22px; }
.platform-num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(13,31,60,0.4);
  letter-spacing: 0.08em;
  margin-left: auto;
}
.platform-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--deepblue);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.platform-desc {
  color: rgba(13,31,60,0.75);
  line-height: 1.65;
  font-size: 1rem;
}

/* ------- Graphic design landing ------- */
.gd-h1 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.gd-h1 .gd-h1-lead,
.gd-h1 .gd-h1-sub,
.gd-h1 .gd-h1-accent {
  display: block;
}
.gd-h1 .gd-h1-lead {
  font-weight: 700;
  color: var(--deepblue);
}
.gd-h1 .gd-h1-sub {
  margin-top: 0.4em;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(13,31,60,0.6);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.gd-h1 .gd-h1-accent {
  margin-top: 0.12em;
  font-weight: 700;
  color: var(--electric);
  letter-spacing: -0.02em;
}

.gd-identity {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(160deg, #ffffff 0%, #f4f7ff 100%);
  border: 1px solid rgba(37,99,235,0.14);
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.28);
  overflow: hidden;
  isolation: isolate;
}
.gd-identity::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px circle at 0% 0%, rgba(37,99,235,0.12), transparent 60%),
    radial-gradient(360px circle at 100% 100%, rgba(13,31,60,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.gd-identity > * { position: relative; z-index: 1; }
.gd-identity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.gd-identity-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deepblue);
}
.gd-identity-title::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
}
.gd-identity-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 5px 10px;
  border-radius: 999px;
}
.gd-logo {
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.gd-logo-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gd-logo-sym {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deepblue), var(--electric));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px -10px rgba(37,99,235,0.5);
}
.gd-logo-word {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--deepblue);
  letter-spacing: -0.01em;
}
.gd-logo-word small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(13,31,60,0.45);
  margin-top: 3px;
}
.gd-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.gd-swatch {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  position: relative;
  border: 1px solid rgba(13,31,60,0.06);
}
.gd-swatch span {
  position: absolute;
  left: 6px; bottom: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.gd-swatch.light span { color: rgba(13,31,60,0.6); }
.gd-type {
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.gd-type-aa {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--deepblue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.gd-type-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: rgba(13,31,60,0.55);
  text-align: right;
}
.gd-type-meta strong { color: var(--deepblue); font-weight: 700; display: block; }

/* Touchpoint cards */
.touch-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 20px;
  padding: 28px 26px;
  transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease, border-color .3s ease;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.touch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.touch-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 28px 60px -28px rgba(13,31,60,0.22);
}
.touch-card:hover::before { opacity: 1; }
.touch-card > * { position: relative; z-index: 1; }
.touch-vis {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f5fb, #e7eef9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric);
  position: relative;
  overflow: hidden;
}
.touch-vis svg { width: 38%; height: auto; opacity: 0.85; }
.touch-vis.v1 { background: linear-gradient(135deg, #0D1F3C, #1a3a7a); color: #fff; }
.touch-vis.v2 { background: linear-gradient(135deg, #2563EB, #60a5fa); color: #fff; }
.touch-vis.v3 { background: linear-gradient(135deg, #f1f5fb, #e7eef9); }
.touch-vis.v4 { background: linear-gradient(135deg, #0D1F3C, #2563EB); color: #fff; }
.touch-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--deepblue);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Consistency diagnostic */
.consistency-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .consistency-split { grid-template-columns: 1fr 1fr; }
}
.consistency-col {
  padding: 28px 26px;
  border-radius: 22px;
  border: 1px solid var(--coolgray);
  background: #fff;
}
.consistency-col.off {
  background: linear-gradient(160deg, #fff, #f8f9fc);
}
.consistency-col.on {
  background: linear-gradient(160deg, #0D1F3C, #17305e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.45);
}
.consistency-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.consistency-col.off .consistency-tag {
  color: rgba(13,31,60,0.6);
  background: rgba(13,31,60,0.06);
}
.consistency-col.on .consistency-tag {
  color: #93b7ff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.consistency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.consistency-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid;
}
.consistency-col.off .consistency-chip {
  color: rgba(13,31,60,0.7);
  border-color: var(--coolgray);
  background: #fff;
}
.consistency-col.off .consistency-chip:nth-child(1) { font-family: serif; text-transform: lowercase; }
.consistency-col.off .consistency-chip:nth-child(2) { font-family: 'Syne', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; }
.consistency-col.off .consistency-chip:nth-child(3) { font-family: monospace; }
.consistency-col.off .consistency-chip:nth-child(4) { font-style: italic; }
.consistency-col.off .consistency-chip:nth-child(5) { font-weight: 800; }
.consistency-col.on .consistency-chip {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.consistency-dots {
  display: flex;
  gap: 8px;
}
.consistency-dots i {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: inline-block;
}
.consistency-col.off .consistency-dots i:nth-child(1) { background: #ef4444; }
.consistency-col.off .consistency-dots i:nth-child(2) { background: #10b981; }
.consistency-col.off .consistency-dots i:nth-child(3) { background: #f59e0b; border-radius: 50%; }
.consistency-col.off .consistency-dots i:nth-child(4) { background: #a855f7; }
.consistency-col.on .consistency-dots i { background: var(--electric); }
.consistency-col.on .consistency-dots i:nth-child(1) { background: #0D1F3C; border: 1px solid rgba(255,255,255,0.2); }
.consistency-col.on .consistency-dots i:nth-child(3) { background: rgba(255,255,255,0.95); }
.consistency-col.on .consistency-dots i:nth-child(4) { background: rgba(255,255,255,0.3); }

/* UI mockup tile */
.ui-mock {
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--coolgray);
  overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.28);
}
.ui-mock-top {
  padding: 14px 18px;
  border-bottom: 1px solid var(--coolgray);
  display: flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(180deg, #fafbff, #fff);
}
.ui-mock-top i {
  width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0;
}
.ui-mock-top i:nth-child(1) { background: #ff5f56; }
.ui-mock-top i:nth-child(2) { background: #ffbd2e; }
.ui-mock-top i:nth-child(3) { background: #27c93f; }
.ui-mock-top span {
  margin-left: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: rgba(13,31,60,0.5);
}
.ui-mock-body { padding: 22px; display: grid; gap: 12px; }
.ui-bar {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(37,99,235,0.14), rgba(37,99,235,0.02));
}
.ui-bar.lg { height: 18px; width: 75%; }
.ui-bar.md { width: 55%; }
.ui-bar.sm { width: 40%; }
.ui-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ui-grid i {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf0fb, #f8fafd);
  border: 1px solid var(--coolgray);
  display: block;
}
.ui-grid i:nth-child(1) { background: linear-gradient(135deg, var(--deepblue), var(--electric)); }
.ui-grid i:nth-child(2) { background: linear-gradient(135deg, #e7eef9, #fff); }
.ui-grid i:nth-child(3) { background: linear-gradient(135deg, var(--electric), #93b7ff); }

/* ------- Meta Ads landing ------- */
.meta-stack {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff, #f4f7ff);
  border: 1px solid rgba(37,99,235,0.14);
  padding: 20px;
  box-shadow: 0 30px 60px -35px rgba(13,31,60,0.28);
  isolation: isolate;
  overflow: hidden;
}
.meta-stack::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px circle at 100% 0%, rgba(37,99,235,0.14), transparent 60%),
    radial-gradient(380px circle at 0% 100%, rgba(13,31,60,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.meta-stack > * { position: relative; z-index: 1; }
.meta-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.meta-stack-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deepblue);
}
.meta-stack-title::before {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.18);
}
.meta-stack-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 5px 10px;
  border-radius: 999px;
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  gap: 12px;
}
.meta-row:last-child { margin-bottom: 0; }
.meta-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.meta-row-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.meta-row-ico svg { width: 18px; height: 18px; }
.meta-row-ico.fb { background: rgba(24,119,242,0.12); color: #1877F2; }
.meta-row-ico.ig { background: rgba(228,64,95,0.12); color: #E4405F; }
.meta-row-ico.wa { background: rgba(37,211,102,0.12); color: #25D366; }
.meta-row-ico.ms { background: rgba(37,99,235,0.12); color: var(--electric); }
.meta-row-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--deepblue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-row-sub {
  font-size: 0.72rem;
  color: rgba(13,31,60,0.55);
  margin-top: 1px;
}
.meta-row-metric {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--deepblue);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.meta-row-metric small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  color: rgba(13,31,60,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  margin-top: 1px;
}
.meta-row-metric.up { color: #10b981; }

/* Creative angle cards */
.angle-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease, border-color .3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.angle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -28px rgba(13,31,60,0.22);
  border-color: transparent;
}
.angle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.angle-card:hover::before { opacity: 1; }
.angle-card > * { position: relative; z-index: 1; }
.angle-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--electric);
  letter-spacing: -0.04em;
  opacity: 0.95;
}
.angle-text {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--deepblue);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.angle-card:nth-child(2) .angle-num { color: #0D1F3C; }
.angle-card:nth-child(4) .angle-num { color: #0D1F3C; }

/* Capability grid */
.cap-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease, border-color .3s ease;
  height: 100%;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -28px rgba(13,31,60,0.22);
  border-color: rgba(37,99,235,0.3);
}
.cap-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,0.1);
  color: var(--electric);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-ico svg { width: 22px; height: 22px; }
.cap-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deepblue);
  line-height: 1.4;
}

/* Pipeline */
.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .pipeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
.pipeline-step {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 22px 20px;
  color: #fff;
}
.pipeline-step strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93b7ff;
  margin-bottom: 10px;
}
.pipeline-step span {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.3;
}
.pipeline-step .pipeline-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: -0.02em;
}

/* ===== WhatsApp Floating Chat Button ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 10px 30px rgba(18, 140, 126, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, padding .25s ease;
  animation: wa-pop-in .6s cubic-bezier(.2,.8,.2,1) .6s both;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(18, 140, 126, 0.45),
    0 6px 14px rgba(0, 0, 0, 0.15);
}
.wa-float:active { transform: translateY(-1px) scale(1.0); }

.wa-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}
.wa-float-icon svg { width: 26px; height: 26px; display: block; }
.wa-float-icon::after {
  content: "";
  position: absolute;
  top: 4px; right: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(239,68,68,0.8);
  animation: wa-dot 1.6s ease-in-out infinite;
}
.wa-float-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  padding-right: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes wa-pop-in {
  0%   { opacity: 0; transform: translateY(24px) scale(.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wa-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: .7; }
}

@media (max-width: 640px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 8px 16px 8px 8px;
    font-size: 0.95rem;
  }
  .wa-float-icon { width: 40px; height: 40px; }
  .wa-float-icon svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float::before, .wa-float-icon::after { animation: none; }
}

/* ===================== Know Me page ===================== */
.km-hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background: #fff;
}
@media (min-width: 1024px) {
  .km-hero { padding-top: 11rem; padding-bottom: 6rem; }
}
.km-hero-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.08), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(13,31,60,0.08), transparent 55%);
  pointer-events: none;
}
.km-hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13,31,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,60,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 45%, transparent 75%);
  pointer-events: none;
}
.km-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(13,31,60,0.55);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.km-breadcrumb a { color: rgba(13,31,60,0.75); }
.km-breadcrumb a:hover { color: var(--electric); }
.km-breadcrumb-sep { opacity: .4; }

.km-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--deepblue);
}
.km-h1 .km-accent {
  background: linear-gradient(100deg, #2563EB 0%, #60a5fa 50%, #0D1F3C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.km-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(13,31,60,0.72);
  max-width: 36rem;
  line-height: 1.6;
}

.km-portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px -30px rgba(13,31,60,.45);
}
.km-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.km-portrait:hover img { transform: scale(1.035); }
.km-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,60,0) 55%, rgba(13,31,60,.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.km-portrait-accent {
  position: absolute;
  inset: -14px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(37,99,235,.35), rgba(13,31,60,.05));
  filter: blur(30px);
  z-index: -1;
}
.km-portrait-tag {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--deepblue);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -12px rgba(13,31,60,.35);
}
.km-portrait-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}
.km-portrait-name {
  position: absolute;
  right: 18px; top: 18px;
  z-index: 2;
  background: rgba(13,31,60,.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px -12px rgba(13,31,60,.5);
  border: 1px solid rgba(255,255,255,.12);
}
.km-portrait-name::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #60a5fa);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.km-scroll-cue {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.25rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  letter-spacing: .2em;
  color: rgba(13,31,60,.5);
  text-transform: uppercase;
}
.km-scroll-cue::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(13,31,60,.5), transparent);
  animation: km-cue 2s ease-in-out infinite;
}
@keyframes km-cue {
  0%, 100% { transform: scaleY(.4); opacity: .3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

.km-section { padding: 6rem 0; position: relative; }
@media (min-width: 1024px) { .km-section { padding: 8rem 0; } }
.km-section-dark { background: var(--deepblue); color: #fff; }
.km-section-soft { background: linear-gradient(180deg, #ffffff 0%, rgba(226,232,240,.35) 100%); }

.km-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--electric);
}
.km-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.km-section-dark .km-eyebrow { color: #60a5fa; }

.km-h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deepblue);
}
.km-section-dark .km-h2 { color: #fff; }

.km-prose { font-size: 1.125rem; line-height: 1.75; color: rgba(13,31,60,.78); }
.km-section-dark .km-prose { color: rgba(255,255,255,.78); }
.km-prose p + p { margin-top: 1.1rem; }
.km-prose strong { color: var(--deepblue); font-weight: 600; }
.km-section-dark .km-prose strong { color: #fff; }
.km-prose .km-em {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--deepblue);
  line-height: 1.35;
  display: inline-block;
}
.km-section-dark .km-prose .km-em { color: #fff; }
.km-prose a { color: var(--electric); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .2s ease; }
.km-prose a:hover { color: #1d4ed8; }
.km-section-dark .km-prose a { color: #93c5fd; }
.km-section-dark .km-prose a:hover { color: #dbeafe; }

.km-network {
  position: absolute;
  inset: auto 0 0 0;
  height: 80%;
  opacity: .15;
  pointer-events: none;
}
.km-network svg { width: 100%; height: 100%; }
.km-network line { stroke: var(--electric); stroke-width: 1; }
.km-network circle { fill: var(--electric); }

.km-dubai-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(37,99,235,.18), transparent 55%),
    linear-gradient(180deg, #0D1F3C 0%, #0a1830 100%);
  pointer-events: none;
}
.km-dubai-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  opacity: .22;
  pointer-events: none;
}

.km-split-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--coolgray);
  border-radius: 22px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(13,31,60,.35);
}
.km-split-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.km-split-card .km-img-frame { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }

.km-pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.km-pill {
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(13,31,60,.14);
  color: var(--deepblue);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}
.km-section-dark .km-pill { border-color: rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.06); }

.km-ai-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,.18) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 78%);
  pointer-events: none;
}
.km-ai-orb {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.55), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.km-lessons-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .km-lessons-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.km-lesson {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 1.75rem;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.km-lesson:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,.55);
  background: rgba(255,255,255,.06);
}
.km-lesson-num {
  font-family: 'Syne', sans-serif;
  font-size: .85rem;
  color: #60a5fa;
  letter-spacing: .15em;
}
.km-lesson h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  margin-top: .5rem;
  margin-bottom: .75rem;
  line-height: 1.3;
}
.km-lesson p { color: rgba(255,255,255,.72); line-height: 1.65; font-size: .98rem; }

.km-closing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0D1F3C 0%, #132a52 50%, #1a3a70 100%);
  color: #fff;
}
.km-closing-glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(37,99,235,.5), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.km-closing h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.km-closing .km-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #60a5fa);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 20px 50px -15px rgba(37,99,235,.6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.km-closing .km-cta:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -15px rgba(37,99,235,.8); }
.km-closing .km-cta svg { width: 20px; height: 20px; }

/* Reveal helpers specific to Know Me (reuses site .reveal if JS handles it, adds safe fallback) */
.km-fade { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.km-fade.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .km-fade { opacity: 1; transform: none; transition: none; }
  .km-portrait img { transition: none; }
}
