/* Theme variables */
:root {
  --primary: #FF8534; /* 主色 */
  --primary-dark: #e06f20; /* 主色深色 */
  --primary-soft: #FFD8C0; /* 主色浅色 */
  --muted: #6c757d;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-soft);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Override bootstrap primary helpers to match brand */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; color: #fff !important; }
.border-primary { border-color: var(--primary) !important; }

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
    /*    background: linear-gradient(135deg, var(--primary) 0%,#ffd8c0 100%);*/
    background: linear-gradient(135deg, #FFB452 0%,var(--primary) 100%);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.25"/></svg>');
  opacity: 0.06;
}

.bg-gradient-primary {
    /*    background: linear-gradient(135deg, #ffd8c0 0%, var(--primary) 100%);*/
    background: linear-gradient(135deg, #FFB452 0%,var(--primary) 100%);
}

.hero-image-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

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

/* Feature Cards */
.feature-card {
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-image-placeholder {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.feature-image-placeholder:hover {
  transform: scale(1.05);
}

/* Feature List */
.feature-list li {
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(10px);
}

/* Advantage Section */
.advantage-image-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Pricing Cards */
.pricing-card {
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 133, 52, 0.18);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 5px 10px rgba(255, 133, 52, 0.25);
}

.pricing-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1;
}

.pricing-features {
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.3s ease;
}

.pricing-features li:hover {
  background-color: #f8f9fa;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Contact Form */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card {
  background: linear-gradient(135deg, #fff7f0 0%, #fff0e6 100%);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
  border-left: 4px solid var(--primary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Form Controls */
.form-control, .form-select {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(255, 133, 52, 0.12);
}

/* Footer */
.footer {
  margin-top: auto;
}

.footer a {
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* Page Header */
.page-header {
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 200, 160, 0.06) 0%, rgba(255, 133, 52, 0.06) 100%);
}

/* Buttons */
.btn {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--primary) 100%);
  border: none;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 133, 52, 0.25);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: white;
  color: var(--primary);
  font-weight: 600;
}

.btn-light:hover {
  background: #fff7f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
  border-radius: 15px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded-3 {
  border-radius: 15px !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Testimonials */
.card-body {
  transition: all 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #b86a3d;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #944e2a;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }

  .hero-section {
    min-height: auto;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .feature-card {
    margin-bottom: 1rem;
  }
}