/* 随行付传统大机产品官网样式 */

/* ========== CSS Variables ========== */
:root {
  --vbl-ocean: #1A2D3A;
  --vbl-ocean-light: #2A3D4A;
  --flash-cyan: #06B6D4;
  --gift-green: #10B981;
  --bg-page: #F0F4F7;
  --text-dark: #0F1A22;
  --text-body: #334155;
  --text-light: #64748B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(26, 45, 58, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 45, 58, 0.12);
  --shadow-lg: 0 8px 24px rgba(26, 45, 58, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.number {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(26, 45, 58, 0.15);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vbl-ocean);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--vbl-ocean), var(--flash-cyan));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--flash-cyan);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vbl-ocean);
}

.nav-cta {
  background: var(--flash-cyan);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #0891b2;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--vbl-ocean);
  transition: var(--transition);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--flash-cyan), #0891b2);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--vbl-ocean);
}

.btn-green {
  background: linear-gradient(135deg, var(--gift-green), #059669);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ========== Hero Section ========== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--vbl-ocean) 0%, var(--vbl-ocean-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--flash-cyan);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Animation */
.hero {
  animation: heroGradient 8s ease infinite;
}

@keyframes heroGradient {
  0%, 100% {
    background: linear-gradient(135deg, var(--vbl-ocean) 0%, var(--vbl-ocean-light) 100%);
  }
  50% {
    background: linear-gradient(135deg, var(--vbl-ocean-light) 0%, var(--vbl-ocean) 100%);
  }
}

/* ========== Section Common ========== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Highlight Text */
.highlight-cyan {
  color: var(--flash-cyan);
  font-weight: 700;
}

.highlight-green {
  color: var(--gift-green);
  font-weight: 700;
}

/* ========== Flash-Redeem Section (左图右文) ========== */
.flash-redeem {
  background: var(--white);
}

.flash-redeem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.flash-redeem-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--vbl-ocean), var(--vbl-ocean-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.flash-redeem-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.2) 0%, transparent 40%);
}

.flash-redeem-image-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.flash-redeem-image-content svg {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.flash-redeem-content h2 {
  margin-bottom: 20px;
}

.flash-redeem-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.flash-redeem-content .cta-box {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ========== Features Cards ========== */
.features-section {
  background: var(--bg-page);
}

.features-grid {
  display: grid;
  grid-template-columns: 55% 43%;
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--flash-cyan), rgba(6, 182, 212, 0.6));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-item .number {
  font-size: 2.5rem;
  color: var(--flash-cyan);
  display: block;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* ========== Free Gift Section ========== */
.free-gift-section {
  background: var(--white);
}

.free-gift-header {
  margin-bottom: 48px;
}

.free-gift-header h2 {
  margin-bottom: 16px;
}

.promises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.promise-item {
  text-align: center;
  padding: 32px 24px;
}

.promise-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--gift-green), rgba(16, 185, 129, 0.6));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.promise-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.promise-item h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.promise-item .number {
  font-size: 3rem;
  color: var(--gift-green);
  display: block;
  margin-bottom: 8px;
}

.promise-item p {
  color: var(--text-light);
}

/* ========== Comparison Table ========== */
.compare-section {
  background: var(--bg-page);
}

.compare-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.compare-table th {
  background: var(--vbl-ocean);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .highlight {
  color: var(--gift-green);
  font-weight: 600;
}

.compare-table .check {
  color: var(--gift-green);
  font-size: 1.25rem;
}

.compare-table .cross {
  color: var(--text-light);
  font-size: 1.25rem;
}

/* ========== FAQ Section ========== */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: inherit;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--flash-cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, var(--vbl-ocean) 0%, var(--vbl-ocean-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.cta-section .highlight-green {
  color: var(--gift-green);
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(135deg, var(--vbl-ocean) 0%, var(--vbl-ocean-light) 100%);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--flash-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ========== Page Hero (Inner Pages) ========== */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero.ocean {
  background: linear-gradient(135deg, var(--vbl-ocean) 0%, var(--vbl-ocean-light) 100%);
}

.page-hero.cyan {
  background: linear-gradient(135deg, var(--flash-cyan) 0%, #0891b2 100%);
}

.page-hero.green {
  background: linear-gradient(135deg, var(--gift-green) 0%, #059669 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Advantages Section ========== */
.advantages-grid {
  display: grid;
  gap: 24px;
}

.advantage-card {
  padding: 32px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.advantage-card:nth-child(1) {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  width: 65%;
}

.advantage-card:nth-child(2) {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card:nth-child(3) {
  background: linear-gradient(135deg, var(--flash-cyan), #0891b2);
  color: var(--white);
}

.advantage-card:nth-child(3) h3,
.advantage-card:nth-child(3) p {
  color: var(--white);
}

.advantage-card .sub-card {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
}

.advantage-card .sub-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.advantage-card .sub-card .number {
  font-size: 2.5rem;
  color: var(--flash-cyan);
  display: block;
  margin-bottom: 4px;
}

.advantage-card h3 {
  margin-bottom: 12px;
}

.advantage-card p {
  color: var(--text-light);
}

/* ========== Process Section ========== */
.process-section {
  background: var(--bg-page);
}

.process-title {
  text-align: center;
  margin-bottom: 48px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--gift-green);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gift-green), #059669);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-step p {
  color: var(--text-light);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card:nth-child(1) {
    width: 100%;
  }
  
  .advantage-card:nth-child(1),
  .advantage-card:nth-child(2) {
    width: 100%;
  }
  
  .advantage-card:nth-child(2) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .flash-redeem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .promises-grid,
  .process-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .compare-table {
    font-size: 0.875rem;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }
  
  .advantage-card:nth-child(2) {
    grid-template-columns: 1fr;
  }
  
  .feature-card-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========== Animation ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========== Compare Page Specific ========== */
.compare-table .brand-name {
  font-weight: 600;
  color: var(--vbl-ocean);
}

.compare-table .vbill {
  background: linear-gradient(135deg, rgba(26, 45, 58, 0.05), rgba(6, 182, 212, 0.05));
}
