/* Service pages shared styles + GSAP base states */
.gsap-reveal { opacity: 0; transform: translateY(40px); }
.gsap-reveal-left { opacity: 0; transform: translateX(-40px); }
.gsap-reveal-right { opacity: 0; transform: translateX(40px); }
.gsap-reveal-scale { opacity: 0; transform: scale(0.92); }
.gsap-line-draw { stroke-dashoffset: 1; }

.hub-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--border); }
.hub-hero-label { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px; display: block; }
.hub-hero h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -2.5px; margin-bottom: 18px; }
.hub-hero h1 .dim { color: var(--text3); }
.hub-hero-sub { font-size: 17px; color: var(--text2); line-height: 1.72; max-width: 520px; margin-bottom: 32px; }
.hub-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hub-stat { display: flex; flex-direction: column; gap: 4px; }
.hub-stat-value { display: flex; flex-direction: row; align-items: baseline; gap: 1px; flex-wrap: wrap; }
.hub-stat-num { font-family: var(--fh); font-size: 28px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.hub-stat-suffix { font-family: var(--fh); font-size: 28px; font-weight: 800; letter-spacing: -1px; line-height: 1; color: var(--text); }
.hub-stat-lbl { font-size: 12px; color: var(--text2); }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 64px 0; }
.hub-card { display: flex; flex-direction: column; gap: 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rlg); padding: 32px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.22,1,.36,1); position: relative; overflow: hidden; }
.hub-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(247,37,59,.05) 0%, transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hub-card:hover::before { opacity: 1; }
.hub-card:hover { border-color: var(--text3); box-shadow: 0 16px 48px rgba(0,0,0,.08); transform: translateY(-3px); }
.hub-card-num { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); }
.hub-card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-card2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hub-card h2 { font-family: var(--fh); font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.hub-card p { font-size: 14px; color: var(--text2); line-height: 1.65; flex: 1; }
.hub-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.hub-card-cta { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }
.hub-card-cta svg { transition: transform .2s; }
.hub-card:hover .hub-card-cta svg { transform: translateX(4px); }
.hub-card-count { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--text3); }

.sp-hero { padding: 88px 0 80px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.sp-hero::after { content: ""; position: absolute; top: -120px; right: -160px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(247,37,59,.06) 0%, transparent 65%); pointer-events: none; }
.sp-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-hero-label { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; display: block; }
.sp-hero h1 { font-family: var(--fh); font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -2px; margin-bottom: 20px; }
.sp-hero h1 .dim { color: var(--text3); }
.sp-hero-sub { font-size: 17px; color: var(--text2); line-height: 1.75; max-width: 440px; margin-bottom: 28px; }
.sp-hero-cta-row { display: flex; align-items: center; gap: 12px; }
.sp-hero-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: 0 24px 64px rgba(0,0,0,.07); }
.sp-hero-card-kicker { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.sp-hero-stat-list { display: flex; flex-direction: column; gap: 0; }
.sp-hero-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sp-hero-stat-row:last-child { border-bottom: none; }
.sp-stat-label { font-size: 13px; color: var(--text2); }
.sp-stat-val { font-family: var(--fh); font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.sp-hero-card-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.sp-hero-card-footer .availability-badge { font-size: 10px; }

.sp-problem { background: var(--dark); padding: 64px 0; border-top: 1px solid rgba(255,255,255,.05); }
.sp-problem-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.sp-problem-label { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.sp-problem h2 { font-family: var(--fh); font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -1px; color: #fff; }
.sp-problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-problem-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rlg);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.sp-problem-item:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 16px 48px rgba(0,0,0,.35);
}
.sp-problem-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(247,37,59,.18);
  border: 1px solid rgba(247,37,59,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.sp-problem-item:hover .sp-problem-bullet {
  background: rgba(34,197,94,.22);
  border-color: rgba(34,197,94,.65);
  box-shadow: 0 0 16px rgba(34,197,94,.45), 0 0 28px rgba(34,197,94,.15);
}
.sp-problem-bullet svg { width: 10px; height: 10px; display: block; }
.sp-problem-bullet svg line {
  stroke: rgba(247,95,114,.85);
  stroke-width: 1.8;
  transition: stroke 0.28s ease;
}
.sp-problem-item:hover .sp-problem-bullet svg line { stroke: var(--green); }
.sp-problem-item p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  transition: color 0.28s ease;
}
.sp-problem-item:hover p { color: rgba(255,255,255,.96); }

@media (hover: none) {
  .sp-problem-item:hover {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
    box-shadow: none;
  }
  .sp-problem-item:hover .sp-problem-bullet {
    background: rgba(247,37,59,.18);
    border-color: rgba(247,37,59,.35);
    box-shadow: none;
  }
  .sp-problem-item:hover .sp-problem-bullet svg line { stroke: rgba(247,95,114,.85); }
  .sp-problem-item:hover p { color: rgba(255,255,255,.55); }
}

.sp-cap-pin-wrap .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sp-cap-left { position: sticky; top: 96px; align-self: start; }
.sp-cap-heading-label { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px; }
.sp-cap-heading { font-family: var(--fh); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.sp-cap-sub { font-size: 15px; color: var(--text2); line-height: 1.75; margin-bottom: 32px; }
.sp-cap-progress-bar { height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.sp-cap-progress-fill { height: 100%; width: 0%; background: var(--red); border-radius: 999px; transition: width .1s linear; }
.sp-cap-tab-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.sp-cap-tab { font-family: var(--fh); font-size: 13px; font-weight: 600; color: var(--text3); padding: 12px 0; border-bottom: 1px solid var(--border); background: transparent; border-left: 0; border-right: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.sp-cap-tab.is-active { color: var(--text); }
.sp-cap-tab-dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.sp-cap-tab.is-active .sp-cap-tab-dot { background: var(--red); }
.sp-cap-right { display: flex; flex-direction: column; gap: 16px; padding: 48px 0; }
.sp-cap-group { display: flex; flex-direction: column; gap: 12px; }
.sp-cap-group-title { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); padding-top: 24px; margin-bottom: 4px; }
.sp-cap-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rlg); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.sp-cap-item-check { width: 22px; height: 22px; border-radius: 50%; background: var(--dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.sp-cap-item-title { font-family: var(--fh); font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.sp-cap-item-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

.sp-tools { padding: 72px 0; background: var(--bg-card2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sp-tools + .home-trust { border-top: none; }
.sp-tools-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.sp-tools-heading { font-family: var(--fh); font-weight: 800; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -1px; }
.sp-tools-sub { font-size: 14px; color: var(--text2); line-height: 1.7; margin-top: 12px; }
.sp-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-tool-chip { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.sp-tool-name { font-family: var(--fh); font-size: 13px; font-weight: 700; }
.sp-tool-use { font-size: 11px; color: var(--text2); line-height: 1.5; }

.sp-process { padding: 88px 0; background: var(--dark); }
.sp-process .badge-outline-red { border-color: rgba(247,37,59,.5); color: rgba(247,37,59,.85); }
.sp-process-heading { font-family: var(--fh); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -1.5px; color: #fff; margin-top: 10px; }
.sp-process-sub { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 12px; }
.sp-process-svg-wrap { position: relative; margin-top: 56px; }
.sp-process-line-svg { position: absolute; top: 40px; left: 0; right: 0; width: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.sp-process-path { fill: none; stroke: rgba(247,37,59,.35); stroke-width: 1.5; stroke-dasharray: 6 6; stroke-dashoffset: 1000; }
.sp-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.sp-process-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: var(--rlg); padding: 28px; position: relative; overflow: hidden; }
.sp-process-step-num { position: absolute; top: 12px; right: 16px; font-family: var(--fh); font-size: 52px; font-weight: 800; color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; }
.sp-process-node { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(247,37,59,.5); background: rgba(247,37,59,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sp-process-node svg { width: 18px; height: 18px; stroke: var(--red); fill: none; }
.sp-process-card-title { font-family: var(--fh); font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.sp-process-card-timeline { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,37,59,.7); margin-bottom: 10px; }
.sp-process-card-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.65; }

.sp-results { padding: 88px 0; }
.sp-results-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 48px; }
.sp-results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sp-result-tile { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rlg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sp-result-kicker { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin-bottom: 2px; }
.sp-result-big { font-family: var(--fh); font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -2px; line-height: 1; color: var(--text); }
.sp-result-desc { font-size: 13px; color: var(--text2); line-height: 1.55; }
.sp-result-tile.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; }
.sp-result-tile.dark { background: var(--dark); }
.sp-result-tile.dark .sp-result-big { color: #fff; }
.sp-result-tile.dark .sp-result-desc { color: rgba(255,255,255,.5); }
.sp-result-tile.dark .sp-result-kicker { color: rgba(255,255,255,.35); }

.sp-frontier { padding: 88px 0; background: var(--dark); position: relative; overflow: hidden; }
.sp-frontier::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 10% 50%, rgba(247,37,59,.08) 0%, transparent 45%), radial-gradient(circle at 90% 20%, rgba(34,197,94,.06) 0%, transparent 40%); pointer-events: none; }
.sp-frontier-heading { font-family: var(--fh); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -1.5px; color: #fff; margin-top: 10px; }
.sp-frontier-heading .dim { color: rgba(255,255,255,.3); }
.sp-frontier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; position: relative; z-index: 1; }
.sp-frontier-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--rlg); padding: 28px; position: relative; }
.sp-frontier-icon-wrap { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: #fff; }
.sp-frontier-icon-wrap.geo { background: rgba(247,37,59,.15); }
.sp-frontier-icon-wrap.voice { background: rgba(34,197,94,.12); }
.sp-frontier-icon-wrap.video { background: rgba(96,165,250,.12); }
.sp-frontier-icon-wrap.aeo { background: rgba(251,191,36,.12); }
.sp-frontier-icon-wrap.llm { background: rgba(167,139,250,.12); }
.sp-frontier-icon-wrap.local { background: rgba(251,146,60,.12); }
.sp-frontier-card-title { font-family: var(--fh); font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.sp-frontier-card-sub { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.65; }
.sp-frontier-badge { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rp); padding: 3px 10px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }

.sp-faq { padding: 88px 0; border-top: 1px solid var(--border); }
.sp-cta { padding: 96px 0; background: var(--dark); text-align: center; }
.sp-cta .footer-heading { color: #fff; }

@media (max-width: 960px) {
  .hub-grid { grid-template-columns: 1fr; }
  .sp-hero-inner, .sp-problem-inner, .sp-cap-pin-wrap .container, .sp-tools-inner { grid-template-columns: 1fr; }
  .sp-hero-card { display: none; }
  .sp-cap-left { position: static; }
  .sp-cap-tab-list { display: none; }
  .sp-problem-grid { grid-template-columns: 1fr; }
  .sp-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-process-grid, .sp-results-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-result-tile.wide { grid-column: span 2; flex-direction: column; }
  .sp-frontier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sp-process-grid, .sp-results-grid, .sp-tools-grid { grid-template-columns: 1fr; }
  .sp-result-tile.wide { grid-column: span 1; }
  .hub-stats-row { gap: 24px; }
  .sp-frontier-grid { grid-template-columns: 1fr; }
}
