/**
 * geo.css — AI GEO 页（类名 geo- 前缀）
 */

.geo-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero ===== */
.geo-hero {
  position: relative;
  padding: 140px 0 150px;
  background:
    radial-gradient(1200px 600px at 70% -10%, #4338ca 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 10%, #0e7490 0%, transparent 55%),
    #0b1220;
  color: #fff;
  overflow: hidden;
}

.geo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.geo-hero-inner {
  position: relative;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.geo-hero-tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 13px;
  color: #a5f3fc;
  margin-bottom: 26px;
  letter-spacing: 1px;
}

.geo-hero-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, #a5f3fc 60%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.2;
}

.geo-hero-sub {
  font-size: 22px;
  color: #e0e7ff;
  margin-top: 14px;
  letter-spacing: 6px;
}

.geo-hero-desc {
  max-width: 680px;
  margin: 28px auto 0;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.8;
}

.geo-hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.geo-btn-primary {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #fff;
  padding: 14px 38px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: .25s;
}

.geo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34,211,238,.4);
  color: #fff;
}

.geo-btn-ghost {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 14px 38px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: .25s;
}

.geo-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* ===== Section 通用 ===== */
.geo-section { padding: 90px 0; }

.geo-sec-head {
  text-align: center;
  margin-bottom: 56px;
}

.geo-kicker {
  color: #0891b2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
}

.geo-sec-title {
  font-size: 36px;
  font-weight: 800;
  margin: 10px 0 0;
  color: #0f172a;
}

.geo-sec-bar {
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, #6366f1);
}

.geo-sec-desc {
  max-width: 760px;
  margin: 18px auto 0;
  color: #64748b;
  font-size: 16px;
}

.geo-bg-gray { background: #f8fafc; }

/* ===== 卡片网格 ===== */
.geo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.geo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.geo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 34px 28px;
  transition: .3s;
  position: relative;
  overflow: hidden;
}

.geo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  opacity: 0;
  transition: .3s;
}

.geo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,23,42,.1);
  border-color: #c7d2fe;
}

.geo-card:hover::before { opacity: 1; }

.geo-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe);
  margin-bottom: 20px;
}

.geo-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0f172a;
}

.geo-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.75;
}

.geo-card p b { color: #334155; }

.geo-card-more {
  display: inline-block;
  margin-top: 16px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ===== 服务6宫格 ===== */
.geo-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
}

.geo-svc-item {
  padding: 34px 30px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  transition: .25s;
}

.geo-svc-item:hover { background: linear-gradient(180deg, #fff, #f0f9ff); }

.geo-svc-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  padding-left: 14px;
  position: relative;
  margin: 0 0 14px;
}

.geo-svc-item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #22d3ee, #6366f1);
}

.geo-svc-item p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}

/* ===== 产品介绍 Tab ===== */
.geo-prod-tabs { display: none; }

.geo-prod-panel {
  display: none;
  background: #fff;
  border-radius: 22px;
  padding: 46px;
  box-shadow: 0 10px 40px rgba(15,23,42,.06);
  margin-bottom: 26px;
}

.geo-prod-panel.geo-active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.geo-pname {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.geo-ptag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.geo-feat {
  padding: 18px 0;
  border-top: 1px dashed #e2e8f0;
}

.geo-feat:first-of-type { border-top: none; }

.geo-feat h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  padding-left: 14px;
  position: relative;
  margin: 0 0 8px;
}

.geo-feat h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 4px;
  background: #e11d48;
}

.geo-feat p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}

.geo-prod-visual {
  border-radius: 18px;
  padding: 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.geo-mock-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.geo-mock-screen {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(6px);
}

.geo-mock-screen .geo-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.45);
  margin-bottom: 8px;
}

.geo-mock-screen .geo-bar.geo-w60 { width: 60%; }
.geo-mock-screen .geo-bar.geo-w80 { width: 80%; }
.geo-mock-screen .geo-bar.geo-w40 { width: 40%; }

.geo-pv-red { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.geo-pv-blue { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.geo-pv-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.geo-pv-green { background: linear-gradient(135deg, #16a34a, #22c55e); }

.geo-pv-title { color: #fff; font-size: 18px; font-weight: 700; }
.geo-pv-sub { color: rgba(255,255,255,.85); font-size: 13px; }

.geo-tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

.geo-tab-bar label {
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  border-right: 1px solid #eef2f7;
  margin: 0;
}

.geo-tab-bar label:last-child { border-right: none; }
.geo-tab-bar label .geo-t1 { font-size: 17px; font-weight: 700; color: #0f172a; }
.geo-tab-bar label .geo-t2 { font-size: 13px; color: #64748b; margin-top: 4px; }
.geo-tab-bar label .geo-t3 { margin-top: 12px; font-size: 12px; color: #94a3b8; }
.geo-tab-bar label:hover { background: #f8fafc; }

#geo_tab1:checked ~ .geo-tab-bar label.geo-l1,
#geo_tab2:checked ~ .geo-tab-bar label.geo-l2,
#geo_tab3:checked ~ .geo-tab-bar label.geo-l3,
#geo_tab4:checked ~ .geo-tab-bar label.geo-l4 {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
#geo_tab1:checked ~ .geo-tab-bar label.geo-l1 .geo-t1,
#geo_tab2:checked ~ .geo-tab-bar label.geo-l2 .geo-t1,
#geo_tab3:checked ~ .geo-tab-bar label.geo-l3 .geo-t1,
#geo_tab4:checked ~ .geo-tab-bar label.geo-l4 .geo-t1 { color: #fff; }
#geo_tab1:checked ~ .geo-tab-bar label.geo-l1 .geo-t2,
#geo_tab2:checked ~ .geo-tab-bar label.geo-l2 .geo-t2,
#geo_tab3:checked ~ .geo-tab-bar label.geo-l3 .geo-t2,
#geo_tab4:checked ~ .geo-tab-bar label.geo-l4 .geo-t2 { color: rgba(255,255,255,.85); }
#geo_tab1:checked ~ .geo-tab-bar label.geo-l1 .geo-t3,
#geo_tab2:checked ~ .geo-tab-bar label.geo-l2 .geo-t3,
#geo_tab3:checked ~ .geo-tab-bar label.geo-l3 .geo-t3,
#geo_tab4:checked ~ .geo-tab-bar label.geo-l4 .geo-t3 { color: rgba(255,255,255,.75); }

#geo_tab1:checked ~ .geo-prod-panels .geo-p1,
#geo_tab2:checked ~ .geo-prod-panels .geo-p2,
#geo_tab3:checked ~ .geo-prod-panels .geo-p3,
#geo_tab4:checked ~ .geo-prod-panels .geo-p4 { display: grid; }

.geo-prod-wrap { position: relative; }

/* ===== 流程 ===== */
.geo-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}

.geo-flow-item {
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.geo-flow-num {
  width: 44px;
  height: 44px;
  line-height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-weight: 700;
}

.geo-flow-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.geo-flow-item p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* ===== CTA ===== */
.geo-cta {
  background: linear-gradient(135deg, #1e1b4b, #312e81 60%, #0e7490);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.geo-cta h2 {
  font-size: 34px;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.geo-cta p {
  color: #a5b4fc;
  margin: 16px 0 30px;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .geo-grid-3, .geo-grid-4, .geo-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-flow { grid-template-columns: repeat(2, 1fr); }
  .geo-prod-panel.geo-active { grid-template-columns: 1fr; }
  .geo-hero-title { font-size: 38px; }
  .geo-hero { padding: 120px 0 100px; }
}

@media (max-width: 600px) {
  .geo-grid-3, .geo-grid-4, .geo-svc-grid, .geo-flow { grid-template-columns: 1fr; }
  .geo-tab-bar { grid-template-columns: repeat(2, 1fr); }
  .geo-hero-title { font-size: 30px; }
  .geo-sec-title { font-size: 26px; }
  .geo-section { padding: 60px 0; }
  .geo-hero-sub { font-size: 17px; letter-spacing: 3px; }
  .geo-prod-panel { padding: 28px 20px; }
}

/* ===== 滚动入场动画 ===== */
.geo-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.geo-reveal.geo-visible {
  opacity: 1;
  transform: none;
}

.geo-delay-1 { transition-delay: .12s; }
.geo-delay-2 { transition-delay: .24s; }
.geo-delay-3 { transition-delay: .36s; }
.geo-delay-4 { transition-delay: .48s; }
.geo-delay-5 { transition-delay: .60s; }

/* Hero 首屏入场动画 */
.geo-anim-tag { animation: geoFadeInDown .7s cubic-bezier(.16,1,.3,1) .15s both; }
.geo-anim-title { animation: geoFadeUp .9s cubic-bezier(.16,1,.3,1) .3s both; }
.geo-anim-sub { animation: geoFadeUp .9s cubic-bezier(.16,1,.3,1) .5s both; }
.geo-anim-desc { animation: geoFadeUp .9s cubic-bezier(.16,1,.3,1) .7s both; }
.geo-anim-btns { animation: geoFadeUp .9s cubic-bezier(.16,1,.3,1) .9s both; }

@keyframes geoFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes geoFadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .geo-reveal,
  .geo-anim-tag, .geo-anim-title, .geo-anim-sub, .geo-anim-desc, .geo-anim-btns {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 底部公共 include 区块背景（结构样式见 base.css） */
.geo-page .inc-page-cases {
  background: #f3f8ff;
}

.geo-page .inc-page-news {
  background: #fff;
}
