/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #1a1a2e; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: #666; margin-bottom: 48px; font-size: 1rem; }
.pre-title { text-align: center; color: #666; font-size: 1rem; margin-bottom: 4px; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block; background: #2563eb; color: #fff;
  padding: 12px 32px; border-radius: 6px; font-size: 1rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: background .2s;
}
.btn-primary:hover { background: #1d4ed8; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid #e5e7eb;
  height: 64px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.5rem; font-weight: 800; color: #2563eb; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo-img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 0.95rem; color: #374151; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #2563eb; border-bottom: 2px solid #2563eb; padding-bottom: 2px; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; padding-top: 64px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 40%, #2563eb 100%);
  display: flex; align-items: center;
}
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; padding: 80px 24px; }
.hero-text { flex: 1; color: #fff; }
.hero-text h1 { font-size: 3rem; font-weight: 900; margin-bottom: 12px; }
.hero-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; opacity: .95; }
.hero-text p { font-size: 1.1rem; opacity: .85; margin-bottom: 32px; }

/* Orbit visual */
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.orbit-wrap { position: relative; width: 340px; height: 340px; }
.orbit-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.3) 100%);
  box-shadow: 0 0 40px rgba(255,255,255,.5);
}
.orbit-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(60deg);
  width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
}
.orbit-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) rotate(var(--a)) translateX(140px) rotate(calc(-1 * var(--a)));
}
.orbit-icon span {
  display: block; background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  padding: 6px 14px; font-size: 0.8rem; color: #fff; white-space: nowrap;
}

/* ===== Overview ===== */
.overview { padding: 80px 0; background: #f8faff; }
.ov-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.ov-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(37,99,235,.08);
}
.ov-icon { font-size: 2.5rem; margin-bottom: 16px; }
.ov-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: #1e3a8a; }
.ov-card li { color: #555; font-size: 0.9rem; padding: 4px 0; padding-left: 12px; position: relative; }
.ov-card li::before { content: '•'; position: absolute; left: 0; color: #2563eb; }

/* ===== Lifecycle ===== */
.lifecycle { padding: 80px 0; background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%); }
.lifecycle-wrap {
  display: grid; grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto; gap: 20px; align-items: center; margin: 48px 0;
}

.quote-banner {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: 16px; padding: 40px 48px;
  display: flex; align-items: center; gap: 24px; color: #fff; margin-top: 40px;
}
.quote-banner.blue { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.qq { font-size: 5rem; line-height: 1; opacity: .4; font-family: Georgia, serif; }
.qq.end { align-self: flex-end; }
.quote-body { display: flex; align-items: center; gap: 20px; flex: 1; }
.quote-icon { font-size: 2rem; background: rgba(255,255,255,.2); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quote-body p { font-size: 1rem; line-height: 1.8; opacity: .95; }
.quote-body strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }

/* ===== Custom Plan ===== */
.custom-plan { padding: 80px 0; background: #fff; }
.icon-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 48px 0; }
.ic-card {
  background: #f8faff; border-radius: 16px; padding: 32px 24px;
  text-align: center; width: 180px;
  box-shadow: 0 2px 12px rgba(37,99,235,.08);
  border-top: 3px solid #2563eb;
}
.ic-icon { font-size: 2rem; margin-bottom: 12px; }
.ic-card p { font-size: 0.95rem; font-weight: 600; color: #1e3a8a; }

/* ===== Service Banners ===== */
.service-banner { padding: 80px 0; }
.google-banner { background: linear-gradient(135deg, #e8eeff 0%, #c7d7ff 100%); }
.fb-banner { background: linear-gradient(135deg, #dde8ff 0%, #b8ccff 100%); }
.svc-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.svc-text { flex: 1; }
.svc-logo { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; }
.google-logo { background: linear-gradient(90deg,#4285f4,#ea4335,#fbbc05,#34a853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.fb-logo { background: #1877f2; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 20px; }
.svc-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; color: #1e3a8a; }
.svc-text p { color: #555; margin-bottom: 28px; max-width: 480px; }
.svc-img { flex: 1; border-radius: 16px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
.lc-center-img { grid-row: 1 / 3; display: flex; justify-content: center; align-items: center; }
.lc-center-img img { width: 100%; max-width: 420px; border-radius: 16px; }

/* ===== About ===== */
.about { padding: 80px 0; background: #f8faff; }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.about-card {
  background: #fff; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(37,99,235,.08); text-align: center;
}
.about-card.highlight {
  background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff;
  grid-column: span 1;
}
.about-card.highlight p { font-size: 1.1rem; font-weight: 700; line-height: 1.6; }
.about-card.highlight .about-sub { font-size: 0.85rem; opacity: .85; margin-top: 12px; font-weight: 400; }
.ab-icon { font-size: 1.8rem; margin-bottom: 10px; }
.about-card p { font-size: 0.95rem; font-weight: 600; color: #1e3a8a; }

/* ===== Contact ===== */
.contact { padding: 80px 0; background: #fff; }
.contact-form { max-width: 720px; margin: 0 auto 32px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #d1d5db;
  border-radius: 8px; font-size: 0.95rem; outline: none;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: #2563eb; }
.contact-form .btn-primary { align-self: center; padding: 14px 48px; }
.contact-info { display: flex; justify-content: center; gap: 40px; color: #555; font-size: 0.95rem; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: #94a3b8; padding: 48px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-brand { text-align: center; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 4px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.85rem; }

/* SVG illustrations */
.lc-center-img svg { filter: drop-shadow(0 8px 24px rgba(37,99,235,.15)); }
.why-img { font-size: 2.5rem; text-align: center; margin-top: 12px; }
.flow-img { font-size: 3rem; text-align: center; margin-top: 20px; }
@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; padding: 60px 24px; }
  .hero-visual { display: none; }
  .ov-cards { grid-template-columns: 1fr; }
  .lifecycle-wrap { grid-template-columns: 1fr; }
  .lc-center-img { display: none; }
  .svc-inner { flex-direction: column; }
  .svc-img { width: 100%; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid #e5e7eb; gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .section-title { font-size: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .icon-cards { gap: 12px; }
  .ic-card { width: 140px; }
  .quote-banner { padding: 24px; }
  .qq { font-size: 3rem; }
}
