/* ─────────────────────────────────────────────────────────
   Scope AI x SEO — /services/ecommerce-seo-scope-ai/
   ───────────────────────────────────────────────────────── */

body.ld-tpl-scope-ai-merge {
  --red: #01F0FF;
}

/* ── Shared atoms ─────────────────────────────────── */
.scope-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; display: inline-block; }
.scope-h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 14px; color: var(--black); text-transform: uppercase; }
.scope-h2 em { font-style: normal; color: var(--red); font-weight: 900; }
.scope-h2--center { text-align: center; }
.scope-h2--white { color: var(--white); }
.scope-h2--white em { color: var(--white); text-shadow: 0 0 24px rgba(1, 240, 255, 0.5); }
.scope-section-inner { max-width: 1200px; margin: 0 auto; }
.scope-section-head { margin: 0 auto 56px; max-width: 880px; text-align: center; }
.scope-section-sub { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 14px auto 0; max-width: 760px; }
.scope-section-sub--white { color: rgba(255,255,255,0.75); }
.scope-accent { color: var(--red); font-weight: 700; }

.scope-btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-radius: 8px; transition: background 0.22s, color 0.22s, transform 0.22s, border-color 0.22s; white-space: nowrap; }
.scope-btn svg { width: 14px; height: 14px; transition: transform 0.22s; }
.scope-btn:hover svg:last-child { transform: translateX(4px); }
.scope-btn--primary { background: var(--red); color: var(--black); box-shadow: 0 12px 28px rgba(1, 240, 255, 0.28); }
.scope-btn--primary:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }

/* ── HERO ──────────────────────────────────────────── */
.scope-hero { position: relative; padding: 80px 48px 96px; background: var(--black); color: var(--white); overflow: hidden; }
.scope-hero::before { display: none; }
.scope-hero-watermark { position: absolute; bottom: -36px; right: -24px; font-size: clamp(6rem, 16vw, 14rem); font-weight: 900; letter-spacing: -0.04em; color: rgba(255,255,255,0.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.scope-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.scope-hero-text { min-width: 0; }
.scope-hero-h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin: 0 0 18px; color: var(--white); text-transform: uppercase; }
.scope-hero-sub { font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 0 0 32px; max-width: 560px; }
.scope-hero-sub strong { color: var(--red); font-weight: 700; }
.scope-hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.scope-hero-media { display: flex; justify-content: center; min-width: 0; }
.scope-hero-thumb { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 12px; box-shadow: 0 28px 64px rgba(0,0,0,0.4); }

/* ── GEO INTRO + LANDSCAPE ────────────────────────── */
.scope-geo { padding: 96px 48px; background: var(--white); }
.scope-geo-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.scope-geo-text p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 16px; }
.scope-geo-text p:last-child { margin-bottom: 0; }
.scope-landscape { background: #01f0ff; border-radius: 20px; padding: 36px 34px; color: var(--black); box-shadow: 0 24px 50px rgba(1, 240, 255, 0.18); }
.scope-landscape-title { font-size: 22px; font-weight: 800; margin: 0 0 24px; letter-spacing: -0.01em; text-transform: uppercase; color: var(--black); }
.scope-landscape-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.18); }
.scope-landscape-item:last-child { border-bottom: 0; padding-bottom: 0; }
.scope-landscape-item:first-child { padding-top: 0; }
.scope-landscape-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--black); }
.scope-landscape-item p { font-size: 14px; line-height: 1.55; margin: 0; color: rgba(0,0,0,0.75); }

/* ── BANNER ───────────────────────────────────────── */
.scope-banner { padding: 80px 48px; background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.scope-banner-inner { text-align: center; max-width: 880px; }
.scope-banner-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 18px; color: var(--black); text-transform: uppercase; }
.scope-banner-title em { font-style: normal; color: var(--red); font-weight: 900; }
.scope-banner-sub { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ── FIVE PILLARS ─────────────────────────────────── */
.scope-pillars { padding: 96px 48px; background: var(--white); }
.scope-pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scope-pillars-grid > :nth-child(4),
.scope-pillars-grid > :nth-child(5) { grid-column: span 1; }
.scope-pillar-card { position: relative; padding: 36px 30px 30px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; overflow: hidden; }
.scope-pillar-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #01f0ff; transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.scope-pillar-card:hover { transform: translateY(-3px); border-color: rgba(1, 240, 255, 0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.scope-pillar-card:hover::before { transform: scaleX(1); }
.scope-pillar-letter { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #01f0ff; color: var(--black); font-size: 22px; font-weight: 900; margin: 0 0 18px; box-shadow: 0 10px 22px rgba(1, 240, 255, 0.28); }
.scope-pillar-title { font-size: 22px; font-weight: 800; color: var(--black); margin: 0 0 12px; letter-spacing: -0.01em; }
.scope-pillar-desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.scope-pillar-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.scope-pillar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.scope-pillar-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--black); font-weight: 500; }
.scope-pillar-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ── FRAMEWORK (DARK BANNER) ──────────────────────── */
.scope-framework { padding: 96px 48px; background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.scope-framework::before { display: none; }
.scope-framework > * { position: relative; z-index: 1; }
.scope-framework-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scope-framework-card { padding: 36px 30px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; text-align: center; transition: transform 0.22s, border-color 0.22s, background 0.22s; }
.scope-framework-card:hover { transform: translateY(-3px); border-color: rgba(1, 240, 255, 0.5); background: rgba(1, 240, 255, 0.06); }
.scope-framework-check { width: 36px; height: 36px; color: var(--red); margin: 0 auto 16px; display: block; }
.scope-framework-card h3 { font-size: 19px; font-weight: 800; color: var(--white); margin: 0 0 8px; letter-spacing: -0.01em; }
.scope-framework-card p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0; }

/* ── IDEAL FOR BRANDS ─────────────────────────────── */
.scope-ideal { padding: 96px 48px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.scope-ideal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scope-ideal-item { display: flex; gap: 18px; padding: 28px 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; }
.scope-ideal-item:hover { transform: translateY(-2px); border-color: rgba(1, 240, 255, 0.4); box-shadow: 0 14px 32px rgba(0,0,0,0.05); }
.scope-ideal-check { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: rgba(1, 240, 255, 0.12); color: var(--red); flex-shrink: 0; }
.scope-ideal-check svg { width: 16px; height: 16px; }
.scope-ideal-text h5 { font-size: 17px; font-weight: 800; color: var(--black); margin: 0 0 6px; letter-spacing: -0.01em; }
.scope-ideal-text p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ── HOW WE WORK ──────────────────────────────────── */
.scope-work { padding: 96px 48px; background: var(--white); }
.scope-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.scope-work-card { padding: 36px 32px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; }
.scope-work-card:hover { transform: translateY(-3px); border-color: rgba(1, 240, 255, 0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.scope-work-card--wide { grid-column: 1 / -1; }
.scope-work-step { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.scope-work-title { font-size: 22px; font-weight: 800; color: var(--black); margin: 0 0 12px; letter-spacing: -0.01em; }
.scope-work-desc { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.scope-work-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); margin: 0 0 10px; }
.scope-work-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.scope-work-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--black); }
.scope-work-list svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* ── EXECUTION BANNER ─────────────────────────────── */
.scope-execution { padding: 80px 48px; background: #01f0ff; color: var(--black); position: relative; overflow: hidden; }
.scope-execution::before { display: none; }
.scope-execution-inner { position: relative; z-index: 1; max-width: 880px; text-align: center; margin: 0 auto; }
.scope-execution-title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 18px; color: var(--black); text-transform: uppercase; }
.scope-execution-title em { font-style: normal; color: var(--black); text-shadow: none; font-weight: 900; }
.scope-execution-sub { font-size: 17px; line-height: 1.65; color: rgba(0,0,0,0.8); margin: 0; }

/* ── BUSINESS IMPACT ──────────────────────────────── */
.scope-business { padding: 96px 48px; background: var(--bg); }
.scope-business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 60px; }
.scope-impact-card { padding: 36px 30px 30px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; }
.scope-impact-card:hover { transform: translateY(-3px); border-color: rgba(1, 240, 255, 0.4); box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.scope-impact-num { display: inline-block; font-size: 28px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1; margin: 0 0 14px; }
.scope-impact-card h3 { font-size: 19px; font-weight: 800; color: var(--black); margin: 0 0 10px; letter-spacing: -0.01em; }
.scope-impact-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ── AGENTIC COMMERCE ─────────────────────────────── */
.scope-agentic { background: var(--black); border-radius: 18px; padding: 56px 48px; color: var(--white); position: relative; overflow: hidden; }
.scope-agentic::before { display: none; }
.scope-agentic > * { position: relative; z-index: 1; }
.scope-agentic-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.scope-agentic-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 14px; color: var(--white); text-transform: uppercase; }
.scope-agentic-head h3 em { font-style: normal; color: var(--red); font-weight: 900; }
.scope-agentic-head p { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0; }
.scope-agentic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scope-agentic-item { padding: 28px 26px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; text-align: center; transition: transform 0.22s, background 0.22s, border-color 0.22s; }
.scope-agentic-item:hover { transform: translateY(-2px); background: rgba(1, 240, 255, 0.07); border-color: rgba(1, 240, 255, 0.4); }
.scope-agentic-item h4 { font-size: 16px; font-weight: 800; color: var(--red); margin: 0 0 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.scope-agentic-item p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.8); margin: 0; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .scope-pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-pillars-grid > :nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .scope-hero { padding: 64px 28px 72px; }
  .scope-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .scope-geo-grid { grid-template-columns: 1fr; gap: 40px; }
  .scope-geo, .scope-banner, .scope-pillars, .scope-framework, .scope-ideal, .scope-work, .scope-execution, .scope-business { padding: 72px 28px; }
  .scope-framework-grid, .scope-business-grid, .scope-agentic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-agentic { padding: 44px 28px; }
}

@media (max-width: 720px) {
  .scope-hero { padding: 56px 20px 64px; }
  .scope-geo, .scope-banner, .scope-pillars, .scope-framework, .scope-ideal, .scope-work, .scope-execution, .scope-business { padding: 56px 20px; }
  .scope-pillars-grid, .scope-framework-grid, .scope-ideal-grid, .scope-work-grid, .scope-business-grid, .scope-agentic-grid { grid-template-columns: 1fr; }
  .scope-pillars-grid > :nth-child(5), .scope-work-card--wide { grid-column: auto; }
  .scope-hero-actions { flex-direction: column; width: 100%; }
  .scope-hero-actions .scope-btn { width: 100%; justify-content: center; }
  .scope-landscape { padding: 28px 24px; }
  .scope-agentic { padding: 36px 20px; border-radius: 14px; }
}
