/* 重庆快走科技 - 新零售数字化服务商官网 */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent: #06b6d4;
  --accent-soft: #a5f3fc;
  --dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --muted: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --max-width: 1200px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-text {
  background: transparent;
  color: var(--primary);
  padding: 12px 0;
}

.btn-text:hover {
  color: var(--primary-dark);
  gap: 12px;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--dark);
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  margin-left: 8px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.25s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: min(300px, 80vw);
  height: calc(100vh - var(--header-height));
  background: #fff;
  border-left: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
  transform: translateX(110%);
  transition: transform 0.3s ease;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #0e7490 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: -120px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: #06b6d4;
  bottom: -80px;
  left: -80px;
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: #6366f1;
  top: 40%;
  left: 35%;
  opacity: 0.35;
  animation-delay: -7s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 34px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-badges svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.35);
  animation: floatCard 7s ease-in-out infinite;
}

.hero-card img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.floating-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}

.tag-1 { top: 12%; right: -5%; animation: float 8s ease-in-out infinite; }
.tag-2 { bottom: 18%; left: -5%; animation: float 9s ease-in-out infinite -3s; }

/* Stats */
.stats {
  background: var(--bg);
  position: relative;
  z-index: 2;
  padding: 50px 0;
  margin-top: -40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--dark);
}

.about-card p {
  color: var(--text-light);
  margin: 0 0 16px;
  line-height: 1.8;
}

.about-actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  align-items: center;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.timeline .year {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--primary);
  min-width: 62px;
}

.timeline li span:last-child {
  text-wrap: balance;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  margin-bottom: 22px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 19px;
  margin: 0 0 12px;
  color: var(--dark);
}

.service-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* Solutions */
.solution-panels {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.solution-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.solution-panel.reverse {
  direction: rtl;
}

.solution-panel.reverse > * {
  direction: ltr;
}

.solution-media {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.solution-media img {
  max-height: 300px;
  width: auto;
  border-radius: 12px;
}

.solution-body h3 {
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--dark);
}

.solution-body p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0 0 20px;
}

.solution-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-body li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.solution-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Logo sections */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.logo-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 110px;
  transition: all 0.25s ease;
}

.logo-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.logo-item img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.partner-logos {
  grid-template-columns: repeat(5, 1fr);
}

.client-logos {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-number {
  font-size: 36px;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.12);
  line-height: 1;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--dark);
}

.why-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* CTA / Contact */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #0e7490);
  color: #fff;
  padding: 90px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 34px;
  margin: 0 0 16px;
  font-weight: 800;
}

.cta-content > p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 30px;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-row svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.cta-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.cta-form .form-group {
  margin-bottom: 18px;
}

.cta-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 18px;
  font-weight: 700;
}

.footer-links a,
.footer-contact p {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner { gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .solution-panel { grid-template-columns: 1fr; gap: 32px; }
  .solution-panel.reverse { direction: ltr; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-media { order: 1; }
  .hero-badges { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-card img { max-height: 320px; }
  .floating-tag { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-form-card { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-logos,
  .client-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .main-nav, .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero { padding: 120px 0 70px; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { width: 100%; }
  .section { padding: 60px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-number { font-size: 30px; }
  .service-grid,
  .why-grid { grid-template-columns: 1fr; }
  .partner-logos,
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .about-card { padding: 24px; }
  .solution-panel { padding: 24px; }
  .cta-content h2 { font-size: 26px; }
  .cta-form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
