/* ============================================
   Diou — 自定义样式 (adapted from 点金智推)
   GEO服务品牌站 / 暗蓝科技风格
   ============================================ */

/* --- CSS Variables --- */
:root {
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;

  --bg-primary: #0a0e17;
  --bg-secondary: #0d1220;
  --bg-card: rgba(14, 165, 255, 0.06);
  --bg-card-hover: rgba(14, 165, 255, 0.12);

  --text-primary: #eef2f8;
  --text-secondary: #a0aec0;
  --text-muted: #5a6a80;

  --accent: #0ea5ff;
  --accent-light: #38bdf8;
  --accent-hover: #0284cc;

  --cta-gradient: linear-gradient(135deg, #0ea5ff 0%, #2563eb 100%);

  --border-color: rgba(14, 165, 255, 0.15);
  --border-light: rgba(14, 165, 255, 0.08);

  --shadow-glow: 0 0 35px rgba(14, 165, 255, 0.3);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.6);

  --heading-size: clamp(1.75rem, 4vw, 3.5rem);
  --body-size: clamp(0.875rem, 1.2vw, 1.05rem);
  --section-padding: clamp(3rem, 8vw, 7rem);
  --content-width: min(90vw, 1100px);
  --content-width-narrow: min(90vw, 800px);

  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-luxury: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Normalize extra <main> tags from FSE — keep only our custom ones as semantic */
main:not([class]) { display: contents; }

/* Scroll-snap for fullscreen sections */
html.snap-scroll {
  scroll-snap-type: y mandatory;
  scroll-padding-top: 70px;
  scroll-padding-bottom: 1px;
}

.snap-section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.snap-section .section-inner {
  width: 100%;
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* --- Side Dot Nav --- */
.side-nav {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.side-nav-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
  cursor: pointer;
}

.side-nav-dot .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(14, 165, 255, 0.2);
  border: 1.5px solid rgba(14, 165, 255, 0.15);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.side-nav-dot.active .dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  width: 13px;
  height: 13px;
}

.side-nav-dot .label {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.side-nav-dot:hover .label,
.side-nav-dot.active .label {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

.side-nav-line {
  width: 1.5px;
  height: 18px;
  background: rgba(14, 165, 255, 0.1);
  margin: 0;
}

@media (max-width: 768px) {
  .side-nav { display: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3, .nav-brand, .section-title, .feature-title, .cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
}

.accent {
  color: var(--accent);
}

.accent-text {
  color: var(--accent);
}

.accent-gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand .accent {
  color: var(--accent);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background var(--transition-luxury),
              box-shadow var(--transition-luxury),
              padding var(--transition-fast);
}

.nav.scrolled {
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-color);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.nav-brand {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--cta-gradient);
  color: #0a0a0a !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  transition: all var(--transition-fast);
  white-space: nowrap;
  margin-left: clamp(1.2rem, 2.5vw, 2.2rem);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Nav dropdown */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a { display: flex; align-items: center; gap: 0.2rem; }
.nav-dropdown-arrow { font-size: 0.6rem; transition: transform var(--transition-fast); }
.nav-has-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(13,18,32,0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--border-color); border-radius: 8px;
  padding: 0.5rem 0; min-width: 130px; list-style: none;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 101;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown li { padding: 0; }
.nav-dropdown a {
  display: block; padding: 0.45rem 1.2rem;
  color: var(--text-secondary); font-size: 0.8rem; white-space: nowrap;
  transition: all var(--transition-fast);
}
.nav-dropdown a:hover { color: var(--accent); background: rgba(14,165,255,0.08); }

/* Submenu */
.nav-sub-parent { position: relative; }
.nav-sub-parent > a { display: flex; align-items: center; justify-content: space-between; }
.nav-sub-arrow { font-size: 0.7rem; margin-left: 0.8rem; }
.nav-submenu {
  position: absolute; top: -0.5rem; left: 100%;
  background: rgba(13,18,32,0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--border-color); border-radius: 8px;
  padding: 0.5rem 0; min-width: 120px; list-style: none;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 102;
}
.nav-sub-parent:hover > .nav-submenu { opacity: 1; visibility: visible; }

/* --- Mobile Bottom CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 0.7rem 1rem;
}

.mobile-cta-bar .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 10px;
  letter-spacing: 0.03em;
}

/* mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  /* Mobile bottom sticky CTA */
  .mobile-cta-bar {
    display: flex;
  }
  body { padding-bottom: 72px; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    min-width: 160px;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    gap: 0.9rem;
  }
  .nav.mobile-open .nav-links a {
    font-size: 0.92rem;
  }
}

/* --- Section Base --- */
section {
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--section-padding) 1rem;
}

.section-inner.text-center {
  text-align: center;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-smooth),
              transform var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(1.3rem, 2.5vw, 1.8rem);
  border-radius: 8px;
  font-weight: 600;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  transition: all var(--transition-luxury);
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
}

.btn-primary {
  background: var(--cta-gradient);
  color: #0a0a0a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline-gold:hover {
  background: var(--accent);
  color: #0a0a0a;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: all var(--transition-fast);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(14, 165, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* --- Background --- */
.bg-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(14, 165, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Grid overlay --- */
.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* --- Section Divider --- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* --- Hero Common --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 1rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-width-narrow);
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(14, 165, 255, 0.3);
  border-radius: 999px;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--heading-size);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero (smaller, not full viewport) --- */
.page-hero {
  padding: clamp(8rem, 12vw, 10rem) 1rem clamp(3rem, 5vw, 5rem);
  text-align: center;
  position: relative;
  overflow: visible;
}

.page-hero .hero-content {
  margin: 0 auto;
}

.page-hero .hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(14, 165, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 1vw, 0.92rem);
  line-height: 1.6;
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  color: var(--text-secondary);
}

/* Stat highlight (solution section inline numbers) */
.stat-highlight {
  text-align: center;
}

.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-word {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Stat card (trust section) */
.stat-card {
  text-align: center;
  padding: clamp(1.2rem, 2vw, 2rem) 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: rgba(14, 165, 255, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.stat-desc {
  font-size: clamp(0.7rem, 0.8vw, 0.78rem);
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* --- Horizontal Scroll Container --- */
.h-scroll {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1rem 1.5rem;
  margin: 0 -1rem;
  cursor: grab;
  scrollbar-width: none;
}

.h-scroll::-webkit-scrollbar { display: none; }

.h-scroll:active { cursor: grabbing; }

.h-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc((100% - 3rem) / 3);
  min-width: 280px;
}

/* Edge fade indicators */
.h-scroll-wrapper {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
}

.h-scroll-wrapper::before,
.h-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.h-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
  opacity: 0;
}

.h-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary) 0%, transparent 100%);
}

.h-scroll-wrapper.at-start::before { opacity: 0; }
.h-scroll-wrapper.at-end::after { opacity: 0; }
.h-scroll-wrapper:not(.at-start)::before { opacity: 1; }
.h-scroll-wrapper:not(.at-end)::after { opacity: 1; }

.h-scroll-edge-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 255, 0.25);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  opacity: 0;
  pointer-events: none;
}

.h-scroll-wrapper:hover .h-scroll-edge-btn {
  opacity: 1;
  pointer-events: auto;
}

.h-scroll-edge-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.h-scroll-edge-btn.prev { left: -22px; }
.h-scroll-edge-btn.next { right: -22px; }

.h-scroll-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.h-scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.h-scroll-dot.active,
.h-scroll-dot:hover {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.h-scroll-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.h-scroll-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.h-scroll-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card-hover);
}

@media (max-width: 768px) {
  .h-scroll > * {
    width: calc(100vw - 5rem);
    min-width: calc(100vw - 5rem);
  }
  .h-scroll-wrapper::before,
  .h-scroll-wrapper::after { width: 24px; }
  .h-scroll-edge-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .h-scroll-edge-btn.prev { left: 2px; }
  .h-scroll-edge-btn.next { right: 2px; }
  /* 案例模块移动端取消整屏高度，避免大量空白 */
  #testimonials.snap-section {
    min-height: auto;
    display: block;
  }
}

/* --- Testimonial Card (h-scroll variant) --- */
.testimonial-card-linked {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* --- Testimonial Grid --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(14, 165, 255, 0.2);
  background: var(--bg-card-hover);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  padding-left: 0.8rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-left: 0.8rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 165, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  margin-bottom: 1.5rem;
}

.cta-helper {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  margin-top: 0.8rem;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.footer-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.footer-brand .footer-desc {
  color: var(--text-muted);
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-qr-img img {
  width: 128px;
  height: 128px;
  border-radius: 6px;
}
.footer-qr-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-qr-text strong {
  color: var(--text-primary);
}

.footer-contact {
  text-align: right;
}
.fc-phone {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.fc-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.2rem 1rem;
}

.footer-bottom-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  color: var(--text-muted);
}

.footer-beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: inherit;
}

.footer-beian a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-beian a:hover {
  color: var(--accent);
}

.footer-beian .sep,.beian-sep {
  color: var(--border-color);
}
.beian-gongan { display: inline-flex; align-items: center; gap: 4px; }
.beian-gongan img { vertical-align: middle; }

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-contact {
    text-align: center;
  }
}

/* --- FAQ (极简编辑风) --- */
.geo-faq {
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.geo-faq .faq-list {
  max-width: none;
  margin: 0;
}

.geo-faq-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: #b8c8e0;
  margin-bottom: 1rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.4rem 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  font-variant-numeric: tabular-nums;
}

.faq-item:hover .faq-num,
.faq-item.open .faq-num {
  color: var(--accent);
}

.faq-qtext {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-primary);
  line-height: 1.45;
  transition: color var(--transition-fast);
}

.faq-question:hover .faq-qtext {
  color: var(--accent-light);
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  align-self: center;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.faq-plus::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-plus::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.open .faq-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-luxury), padding var(--transition-luxury);
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.4rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  padding-left: 3.4rem;
}

.faq-answer p strong {
  color: var(--accent-light);
}

@media (max-width: 600px) {
  .faq-question {
    gap: 0.8rem;
    padding: 1.2rem 0.1rem;
  }
  .faq-num {
    font-size: 1.1rem;
  }
  .faq-answer p {
    padding-left: 2rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Page-specific active nav --- */
.nav-links a.active-page {
  color: var(--accent);
}

/* --- Pricing specific --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.pricing-featured {
  border-color: rgba(14, 165, 255, 0.4);
  background: rgba(14, 165, 255, 0.04);
  transform: scale(1.03);
}

.pricing-featured:hover {
  transform: scale(1.03) translateY(-3px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta-gradient);
  color: #0a0a0a;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li.na {
  opacity: 0.35;
}

.pricing-features li.na::before {
  content: '\2014';
}

/* --- Timeline / Steps --- */
.steps-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.step {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-light);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 165, 255, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.2rem;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Case Detail --- */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  transition: all var(--transition-fast);
  text-align: left;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.case-card:hover {
  border-color: rgba(14, 165, 255, 0.2);
  background: var(--bg-card-hover);
}

.case-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(14, 165, 255, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.case-header {
  margin-bottom: 1.2rem;
}

.case-header h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  margin-bottom: 0.3rem;
}

.case-header .case-meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.case-section {
  margin-bottom: 1.2rem;
}

.case-section h4 {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.case-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.case-result {
  background: rgba(14, 165, 255, 0.05);
  border: 1px solid rgba(14, 165, 255, 0.1);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  text-align: center;
}

.case-result .val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.case-result .lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.case-quote {
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1rem;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* --- Comparison Table --- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  margin-top: 2rem;
}

.compare-table th {
  text-align: left;
  padding: 0.8rem 1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.compare-table tr:hover td {
  background: rgba(14, 165, 255, 0.03);
}

/* --- Contact Info List --- */
.contact-list {
  list-style: none;
  max-width: 420px;
  margin: 2rem auto 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.contact-list .contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 165, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact-list .contact-val {
  color: var(--text-primary);
  font-weight: 500;
}

/* --- Split Image Placeholder --- */
.split-img-placeholder {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* --- Section Header Row --- */
.section-header-row {
  margin-bottom: 1.5rem;
}

.section-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* --- Feature List (card-style items) --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(14, 165, 255, 0.25);
  transform: translateX(4px);
}

.feature-item:hover::before {
  opacity: 1;
}

.fi-icon-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 165, 255, 0.08);
  border: 1px solid rgba(14, 165, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.feature-item:hover .fi-icon-ring {
  background: rgba(14, 165, 255, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(14, 165, 255, 0.2);
}

.fi-body {
  flex: 1;
  min-width: 0;
}

.fi-header {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.fi-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.fi-header h3 {
  font-size: 0.98rem;
  color: var(--text-primary);
  margin: 0;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .split-img-placeholder {
    max-width: 280px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
}

/* --- Dual Engine Grid --- */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: stretch;
  max-width: 960px;
  margin: 2rem auto 0;
  text-align: left;
}

.dual-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 0.8rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* GEO primary column */
.dual-primary {
  border-color: rgba(14, 165, 255, 0.35);
  background: rgba(14, 165, 255, 0.04);
  box-shadow: 0 0 25px rgba(14, 165, 255, 0.06);
}

.dual-primary:hover {
  border-color: var(--accent);
  box-shadow: 0 0 35px rgba(14, 165, 255, 0.12);
}

.dual-primary .dual-header {
  border-bottom-color: rgba(14, 165, 255, 0.2);
}

.dual-col:hover {
  border-color: rgba(14, 165, 255, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.dual-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.dual-icon { font-size: 1.4rem; }
.dual-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  flex: 1;
}

.dual-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(14, 165, 255, 0.1);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dual-badge-primary {
  background: rgba(14, 165, 255, 0.2);
  color: #fff;
}

.dual-list {
  list-style: none;
}

.dual-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  cursor: default;
  transition: padding var(--transition-fast);
}

.dual-list li:last-child { border-bottom: none; }

.dual-list li:hover {
  padding-left: 0.5rem;
}

.dl-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  transition: color var(--transition-fast);
}

.dl-title::after {
  content: '\2304';
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  margin-left: auto;
}

.dual-list li:hover .dl-title { color: var(--accent); }

.dual-list li:hover .dl-title::after {
  color: var(--accent);
  transform: rotate(180deg);
}

.dl-detail {
  display: block;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}

.dual-list li:hover .dl-detail {
  max-height: 3em;
  opacity: 1;
  margin-top: 0.2rem;
}

/* Center divider */
.dual-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  gap: 0.3rem;
}

.dual-vs {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
}

.dual-vs-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  .dual-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .dual-divider {
    flex-direction: row;
    padding-top: 0;
    gap: 0.5rem;
  }
  .dual-vs { font-size: 1.5rem; }
  .dual-vs-label { writing-mode: horizontal-tb; }
}

/* --- Back to Top --- */
.back-to-top-wrap {
  position: fixed;
  bottom: 2rem;
  right: calc(2rem + 100px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.back-to-top-wrap.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(14, 165, 255, 0.3);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 255, 0.45);
}

.back-to-top-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .back-to-top-wrap {
    bottom: 5rem;
    right: 1rem;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
  }
}

/* --- Section background image --- */
.section-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.section-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  opacity: 0.82;
  z-index: 0;
  pointer-events: none;
}

.section-bg-image .section-inner {
  position: relative;
  z-index: 1;
}

/* --- Images --- */
.img-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  max-width: 600px;
  max-height: 600px;
  object-fit: contain;
}

.img-decor-right {
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
}

.img-decor-left {
  left: -5%;
  top: 50%;
  transform: translateY(-50%);
}

.img-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.img-section {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(14, 165, 255, 0.15);
  transition: all var(--transition-fast);
}

.img-section:hover {
  border-color: rgba(14, 165, 255, 0.35);
}

/* Wide banner crop for square images in section headers */
.img-banner {
  display: block;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(14, 165, 255, 0.12);
  transition: border-color var(--transition-fast);
}

.img-banner:hover {
  border-color: rgba(14, 165, 255, 0.3);
}

.img-card-header {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  width: calc(100% + 3rem);
}

.img-case-header {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

/* Alternating image + text layout */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-align: left;
}

.split-row.reverse {
  direction: rtl;
}

.split-row.reverse > * {
  direction: ltr;
}

.split-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(14, 165, 255, 0.15);
  aspect-ratio: 1;
  object-fit: cover;
}

.split-text h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.split-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  max-width: 100%;
}

@media (max-width: 768px) {
  .split-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .split-row.reverse {
    direction: ltr;
  }
  .split-img {
    max-height: 300px;
  }
  .img-decor {
    display: none;
  }
}

/* --- Roadmap --- */
.roadmap-item {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
  position: relative;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 1.3rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.roadmap-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  min-width: 80px;
  flex-shrink: 0;
}

.roadmap-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}


/* ============================================
   WordPress Integrations & Overrides
   ============================================ */

/* --- WordPress block defaults --- */
.wp-site-blocks {
  background: var(--bg-primary);
}

/* Normalize WordPress group/column margins */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
  margin-top: 0;
  margin-bottom: 0;
}

/* Remove WordPress default gap overrides that conflict with our grids */
.wp-block-columns {
  gap: inherit;
}

/* Ensure sections inside WP content area work correctly */
.entry-content,
.wp-block-post-content {
  overflow-x: hidden;
}

.entry-content > *,
.wp-block-post-content > * {
  max-width: 100%;
}

/* WordPress button reset to theme buttons */
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(1.3rem, 2.5vw, 1.8rem);
  border-radius: 8px;
  font-weight: 600;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  transition: all var(--transition-luxury);
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  text-decoration: none;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* WordPress navigation compatibility */
.wp-block-navigation {
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}

.wp-block-navigation a {
  color: var(--text-secondary);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.wp-block-navigation a:hover {
  color: var(--text-primary);
}

/* WordPress list reset inside our sections */
.section-inner ul,
.section-inner ol {
  padding-left: 0;
  margin: 0;
}

/* WordPress heading overrides - match our .section-title style */
.wp-block-heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
}

/* WordPress search form in footer */
.wp-block-search {
  max-width: 100%;
}

.wp-block-search__input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  font-family: var(--font-body);
}

.wp-block-search__button {
  background: var(--cta-gradient);
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* WordPress admin bar offset for fixed nav */
.admin-bar .nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .nav {
    top: 46px;
  }
}

/* Fix for WordPress default margin on paragraphs inside our cards */
.card p:last-child,
.feature-card p:last-child,
.testimonial-card p:last-child,
.pricing-card p:last-child {
  margin-bottom: 0;
}

/* Ensure full-width sections spill out of WP content area */
.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}

/* WordPress spacer compatibility */
.wp-block-spacer {
  height: auto;
}

/* Site footer override for WP footer block */
.site-footer,
.wp-block-template-part footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

/* WordPress cover block inside dark theme */
.wp-block-cover {
  background-color: var(--bg-primary);
}

/* Copy toast */
.copy-toast {
  position: fixed; bottom: 6rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 0.7rem 1.5rem;
  border-radius: 10px; font-size: 0.9rem; font-weight: 600;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(14,165,255,0.4);
}
.copy-toast.show { opacity: 1; pointer-events: auto; }

/* ============================================
   About Page - Infographics & New Components
   ============================================ */

/* Hero Social Proof */
.hero-social-proof {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hero-social-proof span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-social-proof .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

/* Infographic wrapper */
.infographic {
  margin: 2rem auto;
  max-width: 100%;
}

/* Pain Chart */
.pain-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.pain-col {
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.pain-col.negative {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.pain-col.positive {
  background: rgba(14, 165, 255, 0.08);
  border: 1px solid rgba(14, 165, 255, 0.2);
}

.pain-col .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.pain-col h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.pain-col.negative h4 { color: #f87171; }
.pain-col.positive h4 { color: var(--accent-light); }
.pain-col p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 2rem auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem; top: 0.3rem;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: -4px;
  box-shadow: 0 0 10px rgba(14, 165, 255, 0.5);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline-content h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-content p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }

/* SEO vs GEO Compare Table */
.seo-geo-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 700px;
  margin: 2rem auto;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.seo-geo-compare .compare-header {
  padding: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.seo-geo-compare .compare-header.seo {
  background: rgba(100, 116, 139, 0.1);
  color: #94a3b8;
}

.seo-geo-compare .compare-header.geo {
  background: rgba(14, 165, 255, 0.1);
  color: var(--accent);
}

.seo-geo-compare .compare-row { display: contents; }

.seo-geo-compare .compare-cell {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.seo-geo-compare .compare-cell.label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seo-geo-compare .compare-cell.seo { color: #94a3b8; }
.seo-geo-compare .compare-cell.geo { color: var(--text-secondary); }

/* Process Flow */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 800px;
  margin: 2rem auto;
  align-items: center;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  min-width: 120px;
}

.process-step .num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.process-step .txt { font-size: 0.82rem; color: var(--text-secondary); }

.process-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* ROI Visual */
.roi-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
}

.roi-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 10px;
}

.roi-box.center {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.roi-box.side {
  background: rgba(14, 165, 255, 0.04);
  border: 1px dashed var(--border-color);
}

.roi-box .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.roi-box .lbl { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.3rem; }
.roi-box .sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

.roi-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  opacity: 0.4;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 700px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.trust-badge .icon {
  width: 32px; height: 32px;
  background: rgba(14, 165, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.trust-badge .txt { font-size: 0.82rem; color: var(--text-secondary); }

.trust-badge .txt strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.9rem;
}

/* Feature Item Highlight */
.feature-item.highlight {
  border-color: rgba(14, 165, 255, 0.35);
  background: rgba(14, 165, 255, 0.08);
}

/* Pricing Suffix */
.pricing-suffix {
  font-size: 0.55em;
  color: var(--text-secondary);
  font-weight: 500;
  vertical-align: super;
  margin-left: 0.2rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(14, 165, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder { color: var(--text-muted); }

/* Content Block */
.content-block {
  max-width: var(--content-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-top: 1.2rem;
}

.content-block p:first-child { margin-top: 0; }

/* Highlight Box */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin: 2rem auto;
  max-width: var(--content-width-narrow);
}

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-strong { font-weight: 600; color: var(--text-primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

@media (max-width: 768px) {
  .pain-chart,
  .seo-geo-compare,
  .roi-visual {
    grid-template-columns: 1fr;
  }
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
}

/* ============================================
   CF7 Form Integration
   ============================================ */

/* CF7 form base */
.wpcf7-form {
  text-align: left;
}

/* CF7 field containers match our .form-group */
.wpcf7-form .form-group {
  margin-bottom: 1rem;
}

.wpcf7-form .form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(14, 165, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Fix select dropdown - dark background for options */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230ea5ff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.wpcf7-form select option {
  background: #0d1220;
  color: var(--text-primary);
}

/* CF7 submit button */
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  background: var(--cta-gradient);
  color: #0a0a0a;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* CF7 form row (two columns) */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* CF7 response messages */
.wpcf7-response-output {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 1rem;
  text-align: center;
}

.wpcf7-mail-sent-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.wpcf7-validation-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Flamingo anti-spam: prevent duplicate submissions */
.wpcf7 .wpcf7-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* All form selects in theme - fix white background */
select option {
  background: #0d1220;
  color: var(--text-primary);
}
