﻿/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #5287F8;
  --primary-light: #599EFC;
  --primary-dark: #5185EC;
  --primary-bg: rgba(82, 135, 248, 0.12);
  
  --text-primary: #E8ECF4;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-light: rgba(255, 255, 255, 0.45);
  --bg-white: #1C2145;
  --bg-page: #0F1228;
  
  --border: rgba(255, 255, 255, 0.08);
  
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========== Utility ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(82, 135, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(82, 135, 248, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

/* ========== Header / Navbar ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  background: rgba(15, 18, 40, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(10, 13, 32, 0.95);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.navbar .logo .logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
  background: rgba(82, 135, 248, 0.12);
}

.nav-cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0B0E2A 0%, #111640 30%, #0D1245 60%, #0A0D2E 100%);
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 200px 60px, rgba(82, 135, 248, 0.7), transparent),
    radial-gradient(1px 1px at 60px 100px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(2px 2px at 180px 110px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 110px 130px, rgba(89, 158, 252, 0.6), transparent),
    radial-gradient(1px 1px at 250px 50px, rgba(255, 255, 255, 0.35), transparent);
  background-size: 420px 240px;
  animation: starDrift 60s linear infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle, rgba(82, 135, 248, 0.12) 0%, rgba(59, 111, 224, 0.05) 40%, transparent 65%),
    radial-gradient(1px 1px at 45px 15px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 120px 55px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 190px 25px, rgba(82, 135, 248, 0.65), transparent),
    radial-gradient(1px 1px at 75px 90px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 250px 75px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 340px 40px, rgba(89, 158, 252, 0.5), transparent),
    radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.35), transparent);
  background-size: 900px 900px, 420px 240px, 420px 240px, 420px 240px, 420px 240px, 420px 240px, 420px 240px, 420px 240px;
  border-radius: 50%;
  z-index: 0;
}

@keyframes starDrift {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-240px);
  }
}

/* Hero star decorations */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-deco-circle1 {
  top: 12%;
  left: 6%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(82, 135, 248, 0.08);
  border-radius: 50%;
  animation: starPulse 4s ease-in-out infinite;
}

.hero-deco-circle2 {
  bottom: 20%;
  left: 14%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(82, 135, 248, 0.06);
  border-radius: 50%;
  animation: starPulse 5s ease-in-out infinite 1s;
}

.hero-deco-diamond {
  top: 20%;
  right: 43%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(89, 158, 252, 0.15);
  transform: rotate(45deg);
  animation: starPulse 6s ease-in-out infinite 0.5s;
}

.hero-deco-dot1 {
  top: 8%;
  right: 28%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: starTwinkle 2s ease-in-out infinite;
}

.hero-deco-dot2 {
  bottom: 28%;
  right: 6%;
  width: 8px;
  height: 8px;
  background: rgba(82, 135, 248, 0.6);
  border-radius: 50%;
  animation: starTwinkle 3s ease-in-out infinite 1s;
}

.hero-deco-dot3 {
  top: 50%;
  left: 2%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: starTwinkle 2.5s ease-in-out infinite 0.5s;
}

.hero-deco-line1 {
  top: 35%;
  right: 36%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 135, 248, 0.2), transparent);
  transform: rotate(-20deg);
  animation: starPulse 5s ease-in-out infinite 2s;
}

.hero-deco-line2 {
  bottom: 10%;
  left: 22%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 158, 252, 0.15), transparent);
  transform: rotate(15deg);
  animation: starPulse 4s ease-in-out infinite 1.5s;
}

@keyframes starTwinkle {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

@keyframes starPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(82, 135, 248, 0.18);
  border: 1px solid rgba(82, 135, 248, 0.35);
  border-radius: 50px;
  font-size: 14px;
  color: #A8C8FF;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #599EFC;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px rgba(89, 158, 252, 0.6);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, #599EFC, #A8C8FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat h3 {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-stat p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone {
  width: 414px;
  height: 869px;
  background: url('../static/images/phone.png') no-repeat center/contain;
  border-radius: 54px / 120px;
  padding: 0;
  box-shadow: none;
  position: relative;
}

.hero-phone-screen {
  position: absolute;
  top: 7%;
  left: 6.5%;
  width: 87%;
  height: 90%;

  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
}

.hero-phone-screen .carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-phone-screen .carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-phone-screen .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-phone-screen .carousel-item.active {
  opacity: 1;
}

.hero-phone-screen .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.hero-phone-notch {
  display: none;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(82, 135, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(82, 135, 248, 0.08);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 120px;
  right: -40px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 80px;
  left: -60px;
  animation-delay: 1.5s;
}

.hero-float-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-float-card .card-icon.blue {
  background: rgba(255, 193, 7, 0.2);
  color: #FFD54F;
}

.hero-float-card .card-icon.orange {
  background: rgba(82, 135, 248, 0.2);
  color: #599EFC;
}

.hero-float-card .card-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.hero-float-card .card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Hero button overrides for starry background */
.hero .btn-primary {
  background: linear-gradient(135deg, #599EFC, #5287F8);
  box-shadow: 0 4px 24px rgba(82, 135, 248, 0.4);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #6BABFF, #599EFC);
  box-shadow: 0 6px 30px rgba(82, 135, 248, 0.5);
}

.hero .btn-outline {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

/* ========== Features ========== */
.features {
  background: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../static/images/gif_bg.webp') no-repeat center/cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.feature-card:hover {
  border-color: rgba(82, 135, 248, 0.25);
  box-shadow: 0 4px 24px rgba(82, 135, 248, 0.1);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card .icon,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card .icon.blue {
  background: rgba(82, 135, 248, 0.15);
  color: var(--primary-light);
}

.feature-card .icon.orange {
  background: rgba(243, 167, 63, 0.15);
  color: #F3A73F;
}

.feature-card .icon.green {
  background: rgba(24, 181, 102, 0.15);
  color: #18B566;
}

.feature-card .icon.purple {
  background: rgba(155, 89, 182, 0.15);
  color: #9B59B6;
}

.feature-card .icon.red {
  background: rgba(220, 55, 60, 0.15);
  color: #DC373C;
}

.feature-card .icon.teal {
  background: rgba(0, 188, 212, 0.15);
  color: #00BCD4;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== How It Works ========== */
.how-it-works {
  background: var(--bg-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0.15;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(82, 135, 248, 0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  width: 80%;
  margin: 0 auto;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, #5287F8 0%, #3B6FE0 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(1px 1px at 30px 20px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 80px 50px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 150px 30px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 200px 70px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 260px 40px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 50px 90px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 170px 100px, rgba(82, 135, 248, 0.5), transparent),
    radial-gradient(1px 1px at 290px 60px, rgba(255, 255, 255, 0.2), transparent);
  background-size: 460px 160px, 460px 160px, 460px 160px, 460px 160px, 460px 160px, 700px 240px, 700px 240px, 700px 240px;
  animation: starDrift 40s linear infinite;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-white {
  padding: 16px 48px;
  font-size: 18px;
}

/* ========== About Page ========== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #0B0E2A 0%, #111640 30%, #0D1245 60%, #0A0D2E 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(1px 1px at 25px 25px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 70px 60px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(2px 2px at 120px 35px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 180px 80px, rgba(82, 135, 248, 0.6), transparent),
    radial-gradient(1px 1px at 220px 20px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 40px 100px, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 100px 120px, rgba(89, 158, 252, 0.5), transparent),
    radial-gradient(2px 2px at 260px 70px, rgba(255, 255, 255, 0.35), transparent);
  background-size: 400px 180px, 400px 180px, 400px 180px, 400px 180px, 400px 180px, 600px 280px, 600px 280px, 600px 280px;
  animation: starDrift 50s linear infinite;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.page-hero h1 .highlight {
  background: linear-gradient(135deg, #599EFC, #A8C8FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page Hero */
.page-hero-contact {
  padding-bottom: 0;
}

.contact-qr-section {
  margin-top: 80px;
  background: rgba(15, 18, 40, 0.6);
}

.about-story {
  background: var(--bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(82, 135, 248, 0.08), rgba(82, 135, 248, 0.15));
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(82, 135, 248, 0.12);
}



.about-image .about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../static/images/gif_bg.webp') no-repeat center/cover;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.value-card:hover {
  box-shadow: 0 4px 24px rgba(82, 135, 248, 0.1);
  border-color: rgba(82, 135, 248, 0.25);
  transform: translateY(-4px);
}

.value-card:hover::after {
  opacity: 1;
}

.value-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  background: rgba(82, 135, 248, 0.12);
  color: var(--primary-light);
  position: relative;
  z-index: 1;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-item .dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid rgba(82, 135, 248, 0.2);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item .content {
  width: 45%;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.timeline-item .content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}

.timeline-item .content p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========== Service Page ========== */
.service-detail {
  background: var(--bg-page);
}

/* Service Tabs */
.service-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(82, 135, 248, 0.18);
  background: rgba(82, 135, 248, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.service-tab .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.service-tab .tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-tab:hover {
  background: rgba(82, 135, 248, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(82, 135, 248, 0.3);
}

.service-tab.active {
  background: url('../static/images/gif_bg.webp') center/cover no-repeat;
  color: #fff;
  border-color: rgba(82, 135, 248, 0.4);
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.6), 0 0 16px rgba(82, 135, 248, 0.2);
  font-weight: 600;
}

/* Tab Panels */
.service-tab-panels {
  position: relative;
}

.service-tab-panel {
  display: none;
  border-radius: var(--radius-lg);
  padding: 48px;
  animation: tabFadeIn 0.4s ease;
}

.service-tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse>* {
  direction: ltr;
}

.service-block-visual {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  width: 390px;
  height: 635px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}



.service-block-visual .service-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}



/* ========== Service Page Carousel ========== */
.service-carousel-wrap {
  padding: 0;
}

.service-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.service-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service-carousel-item.active {
  opacity: 1;
}

.service-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.service-block-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.service-block-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 38px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.service-list li .check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-list li .check img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(82, 135, 248, 0.4);
  box-shadow: 0 4px 24px rgba(82, 135, 248, 0.15);
}

.pricing-card.featured .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.pricing-card .price {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 16px;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-card .desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li .check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-card ul li .check img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}



/* ========== Footer ========== */
.footer {
  background: #080A18;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .logo .logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 13px;
  flex-wrap: nowrap;
}



/* ========== Scroll Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Mobile Menu CTA ========== */
.mobile-menu-inner .btn-primary {
  margin-top: 20px;
  text-align: center;
}

/* ========== Footer Bottom - Beian ========== */
.footer-bottom .beian-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.footer-bottom .beian-link:hover {
  color: var(--primary-light);
}

.footer-bottom .beian-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* ========== Section Background Modifiers ========== */
.section-bg-page {
  background: var(--bg-white);
}

.section-bg-white {
  background: var(--bg-page);
}

/* ========== Value Card Icon Variants ========== */
.value-card .icon-orange {
  background: rgba(243, 167, 63, 0.15);
  color: #F3A73F;
}

.value-card .icon-green {
  background: rgba(24, 181, 102, 0.15);
  color: #18B566;
}

/* ========== QR Codes ========== */
.qr-codes {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.qr-item {
  text-align: center;
}

.qr-box {
  width: 240px;
  height: 240px;
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-label {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-page);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
}

.faq-arrow {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ========== Pricing Card Full Width Button ========== */
.pricing-card .btn-full {
  width: 100%;
}

/* ========== Mobile Menu ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-white);
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-menu.active .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-menu-inner a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-inner a:hover,
.mobile-menu-inner a.active {
  color: var(--primary-light);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .service-tab-panel {
    padding: 32px 20px;
  }

  .service-tabs {
    gap: 8px;
  }

  .service-tab {
    padding: 10px 16px;
    font-size: 13px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat h3 {
    font-size: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
  }

  .hero-phone {
    width: 276px;
    height: 579px;
    border-radius: 36px / 80px;
  }

  .hero-phone-screen {
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
  }

  .hero-float-card {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 48px;
    text-align: left;
  }

  .timeline-item .dot {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-item .content {
    width: 100%;
  }

  .service-block-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 390 / 635;
    max-width: 390px;
    margin: 0 auto;
  }

  .service-tabs {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .service-tab {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 13px;
  }

  .service-tab .tab-icon {
    width: 18px;
    height: 18px;
  }

  /* 移动端：未选中标签隐藏文字，只显示图标 */
  .service-tab .tab-text {
    display: none;
  }

  .service-tab.active .tab-text {
    display: inline;
  }

  .service-tab.active {
    padding: 8px 16px;
  }

  .service-tab-panel {
    padding: 24px 16px;
  }
}