/* ===== CSS Variables ===== */
:root {
  --blue: rgb(66, 108, 236);
  --blue-light: rgba(66, 108, 236, 0.06);
  --blue-hover: rgb(50, 90, 210);
  --blue-dark: rgb(45, 78, 190);
  --cyan: rgb(107, 211, 192);
  --cyan-light: rgba(107, 211, 192, 0.10);

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --transition: 0.2s ease;

  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  padding: 10px 24px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66,108,236,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn-nav { padding: 8px 20px; font-size: 14px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* EN logo is 1536x1024 (3:2), CN logo is 1024x1024 (1:1) — both have internal padding */
.logo-img.logo-en {
  height: 100px;
  width: auto;
}
.logo-img.logo-cn {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--blue); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}
.lang-switch:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 1px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 80px;
  background: var(--white);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(107, 211, 192, 0.12);
  color: rgb(70, 170, 155);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

/* Time comparison */
.hero-time-compare {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.time-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  border-radius: var(--radius);
  min-width: 120px;
}

.time-before {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.time-after {
  background: rgba(66, 108, 236, 0.06);
  border: 1.5px solid var(--blue);
}

.time-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.time-after .time-label {
  color: var(--blue);
}

.time-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.1;
}

.time-after .time-value {
  color: var(--blue);
}

.time-sub {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.time-bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
}

.before-bar {
  background: var(--gray-300);
}

.after-bar {
  background: var(--cyan);
  width: 10%;
}

.time-arrow {
  color: var(--cyan);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 2px;
  height: 40px;
  background: var(--cyan);
  opacity: 0.35;
  border-radius: 1px;
}

/* Hero Phone Demos */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-demos {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.phone-device {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-left {
  transform: translateY(0);
}

.phone-right {
  transform: translateY(40px);
}

.phone-frame {
  position: relative;
  width: 220px;
}

.phone-frame-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  top: 2.8%;
  left: 5.6%;
  right: 5.6%;
  bottom: 2.8%;
  border-radius: 28px;
  overflow: hidden;
  z-index: 1;
  background: var(--white);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-label {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
}

/* ===== Pain Section ===== */
.pain-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pain-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.pain-icon {
  color: var(--blue);
  margin-bottom: 16px;
}

.pain-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.pain-unit {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 12px;
}

.pain-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(107, 211, 192, 0.12);
  color: rgb(70, 170, 155);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title.left-align { text-align: left; }

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

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

.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  background: var(--white);
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-top: 2px solid var(--cyan);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius);
  color: var(--blue);
  margin-bottom: 20px;
}

/* Alternate feature icons: even cards get cyan */
.feature-card:nth-child(even) .feature-icon {
  background: rgba(107, 211, 192, 0.10);
  color: rgb(70, 170, 155);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Workflow ===== */
.workflow {
  padding: 100px 0;
  background: var(--gray-50);
}

.workflow-steps {
  max-width: 720px;
  margin: 0 auto;
}

.workflow-step {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 24px;
  align-items: start;
}

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 211, 192, 0.12);
  border-radius: 50%;
  color: var(--cyan);
}

.workflow-connector {
  width: 2px;
  height: 40px;
  background: var(--cyan);
  opacity: 0.4;
  margin: 8px 0 8px 28px;
}

/* ===== Traffic Light Section ===== */
.traffic-section {
  padding: 100px 0;
}

.traffic-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.traffic-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.traffic-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.traffic-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-700);
}

.traffic-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.traffic-dot.green { background: #28c840; }
.traffic-dot.yellow { background: #febc2e; }
.traffic-dot.red { background: #ff5f57; }

.traffic-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.traffic-demo {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.demo-bar {
  position: relative;
  height: 40px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 1s ease;
}
.green-bar .bar-fill { background: rgba(40,200,64,0.15); }
.yellow-bar .bar-fill { background: rgba(254,188,46,0.15); }
.red-bar .bar-fill { background: rgba(255,95,87,0.15); }

.bar-label {
  position: relative;
  z-index: 1;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.demo-note {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgb(70, 170, 155);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.pricing-price {
  margin-bottom: 28px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 15px;
  color: var(--gray-400);
  font-weight: 500;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(107, 211, 192, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgb(107,211,192)' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  flex-shrink: 0;
}

/* ===== About ===== */
.about {
  padding: 100px 0;
}

.about-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item {
  text-align: center;
  padding: 32px 24px;
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 211, 192, 0.12);
  border-radius: 50%;
  color: var(--cyan);
  margin: 0 auto 16px;
}

.value-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--blue);
  text-align: center;
  border-top: 4px solid var(--cyan);
}

.cta-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto 20px;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition);
}
.cta-input::placeholder { color: rgba(255,255,255,0.45); }
.cta-input:focus { border-color: var(--white); background: rgba(255,255,255,0.18); }

.cta .btn-primary {
  background: var(--white);
  color: var(--blue);
}
.cta .btn-primary:hover {
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo.logo-en {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.footer-logo.logo-cn {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray-500);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== Cyan accent — used sparingly ===== */
/* Cyan bottom border accent on featured pricing card */
.pricing-card.featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: var(--cyan);
  border-radius: 3px 3px 0 0;
}

/* Hero title accent — the "10x Faster" / "快10倍" text */
.hero-title-accent {
  position: relative;
  display: inline;
  color: var(--blue);
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--cyan);
  border-radius: 3px;
  opacity: 0.45;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .section-title { font-size: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }

  .mobile-menu-btn { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero { padding: 140px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-time-compare { gap: 10px; }
  .time-card { padding: 12px 16px; min-width: 100px; }
  .time-value { font-size: 26px; }
  .phone-frame { width: 180px; }
  .phone-demos { gap: 16px; }
  .phone-right { transform: translateY(24px); }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pain-card { padding: 28px 20px; }
  .pain-number { font-size: 36px; }

  .features-grid { grid-template-columns: 1fr; }

  .workflow-step {
    grid-template-columns: 48px 1fr;
  }
  .step-visual { display: none; }

  .traffic-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-title.left-align { text-align: center; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .about-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-title { font-size: 28px; }
  .cta-form { flex-direction: column; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links-group { grid-template-columns: repeat(3, 1fr); }

  .hero-stats { gap: 20px; }
  .stat-number { font-size: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .time-card { padding: 10px 14px; min-width: 90px; }
  .time-value { font-size: 22px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 26px; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
