/* ==========================================================
   PAGE HERO (shared by inner pages)
   ========================================================== */
.page-hero {
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background:
    radial-gradient(ellipse at center top, rgba(10, 83, 255, 0.18), transparent 60%),
    radial-gradient(ellipse at 30% 40%, rgba(122, 165, 255, 0.15), transparent 50%);
  filter: blur(40px);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.page-hero-title { max-width: 1000px; }
.page-hero-sub { max-width: 600px; color: var(--ink-3); }

.page-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.page-orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10, 83, 255, 0.15), rgba(122, 165, 255, 0.05));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 83, 255, 0.1);
  animation: floatOrb 10s ease-in-out infinite;
}
.po-1 { width: 80px; height: 80px; top: 30%; left: 8%; }
.po-2 { width: 120px; height: 120px; top: 60%; right: 10%; animation-delay: 2s; }
.po-3 { width: 50px; height: 50px; top: 50%; left: 18%; animation-delay: 4s; }

/* ==========================================================
   SERVICES PAGE
   ========================================================== */
.services-page { padding-top: 40px; }

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.filter-pill {
  padding: 12px 22px;
  border-radius: var(--r-full);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: var(--shadow-xs);
}
.filter-pill:hover { border-color: var(--blue-glow); color: var(--ink-1); transform: translateY(-2px); }
.filter-pill.active {
  background: var(--ink-1);
  color: #fff;
  border-color: var(--ink-1);
}
.filter-count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0,0,0,0.06);
  padding: 2px 7px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.7;
}
.filter-pill.active .filter-count { background: rgba(255,255,255,0.15); }

.big-service-card {
  position: relative;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  --mx: 50%; --my: 50%;
}
.big-service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-glow);
}
.bsc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.bsc-meta { display: flex; flex-direction: column; gap: 6px; }
.bsc-num { font-size: 11px; color: var(--ink-4); letter-spacing: 0.1em; }
.bsc-group {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bsc-icon {
  width: 72px; height: 72px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, #FFFFFF 0%, #EEF2F9 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  transform: translateZ(50px);
  transition: transform 0.5s var(--ease-spring);
}
.big-service-card:hover .bsc-icon { transform: translateZ(80px) scale(1.06) rotate(-5deg); }
.bsc-icon svg { width: 44px; height: 44px; }

.bsc-body { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.bsc-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.bsc-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}
.bsc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bsc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-tint);
  border-radius: var(--r-full);
  color: var(--ink-3);
  border: 1px solid var(--line);
}
.bsc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.bsc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-1);
  transition: color 0.3s;
}
.bsc-cta:hover { color: var(--blue); }
.bsc-cta span { transition: transform 0.3s; display: inline-block; }
.bsc-cta:hover span { transform: rotate(-45deg) translateY(-2px); }

/* ==========================================================
   PROCESS TIMELINE
   ========================================================== */
.process { background: var(--bg); }
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0;
}
.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--line-strong) 10%, var(--line-strong) 90%, transparent 100%);
}
.tl-step {
  position: relative;
  width: 50%;
  padding: 20px 60px;
  display: flex;
}
.tl-step.left { left: 0; justify-content: flex-end; }
.tl-step.right { left: 50%; justify-content: flex-start; }

.tl-dot {
  position: absolute;
  top: 38px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(10, 83, 255, 0.15);
}
.tl-step.left .tl-dot { right: -7px; }
.tl-step.right .tl-dot { left: -7px; }

.tl-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-xs);
  width: 100%;
  max-width: 420px;
  transition: all 0.4s var(--ease-out);
}
.tl-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-glow);
  transform: translateY(-3px);
}
.tl-num {
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-1);
  margin-bottom: 8px;
}
.tl-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .timeline-line { left: 20px; }
  .tl-step { width: 100%; padding: 14px 0 14px 50px; left: 0 !important; justify-content: flex-start; }
  .tl-step .tl-dot { left: 14px !important; right: auto !important; }
  .tl-card { max-width: 100%; }
}
