/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  color: #333;
  background-color: #000;
}

/* Link styles */
a:not(.nav-link, .aiv-btn-cta) {
  color: #3b82f6  !important;
  text-decoration: none  !important;
  transition: all 0.3s ease  !important;
}

a:hover {
  &:not(.nav-link, .aiv-btn-cta) {
    color: #1d4ed8  !important;
    text-decoration: none  !important;
  }
}

/* CTA Button styles */
.aiv-btn-cta {
  display: inline-block;
  background: #000 !important;
  color: #fff !important;
  padding: 1rem 2rem;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

.aiv-btn-cta:hover {
  background: #333 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: #fff !important;
  text-decoration: none;
  border-bottom: none;
}

/* FAQ section link styles */
.aiv-faq-answer a {
  font-weight: 500;
}

.aiv-faq-answer a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* Review section link styles */
.aiv-review-card a {
  font-weight: 500;
}

.aiv-review-card a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.aiv-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Header */
.aiv-header {
  background: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.aiv-header .aiv-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aiv-btn-secondary {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.aiv-btn-secondary:hover {
  background-color: #f5f5f5;
  border-color: #e5e7eb;
  transform: translateY(-1px);
}

.aiv-btn-primary {
  text-decoration: none;
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.aiv-btn-primary:hover {
  background: #333;
}

/* Hero Section */
.aiv-hero {
  background: #fff;
  padding: 0 0 64px; /* 减少底部padding */
  min-height: auto; /* 移除最小高度限制，让内容决定高度 */
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.aiv-hero .aiv-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: none;
  width: 100%;
  gap: 0;
}

.aiv-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aiv-hero-title {
  margin-top: 80px !important;
  font-size: 4rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  color: #111827 !important;
  margin-bottom: 1.25rem !important;
  letter-spacing: -0.025em !important;
  text-balance: balance;
  white-space: normal !important;
}

.aiv-hero-description {
  margin-top: 1.25rem !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: #111827 !important;
  text-align: center !important;
  line-height: 1.75 !important;
  margin-bottom: 2.5rem !important;
}

@media (min-width: 640px) {
  .aiv-hero-description {
    font-size: 1.25rem;
    line-height: 2;
  }
}

.aiv-btn-cta {
  display: inline-block;
  background: #000 !important;
  color: #fff !important;
  padding: 1rem 2rem;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aiv-btn-cta:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: #fff !important;
  text-decoration: none;
}

.aiv-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.aiv-image-placeholder {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #999;
  font-weight: 500;
  text-align: center;
}

/* How to Use Section */
.aiv-how-to-use {
  background: #f5f5f5;
  padding: 0 0;
  color: #333;
}

.aiv-section-title {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 4rem;
  color: #000 !important;
}

.aiv-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.aiv-step-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  color: #333;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
}

.aiv-step-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.aiv-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.aiv-step-header {
  margin-bottom: 1rem;
}

.aiv-step-header h3 {
  font-size: 1.2rem;
  font-weight: 650 !important;
  color: #000;
  margin-bottom: 0.3rem;
}

.aiv-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.aiv-step-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.aiv-step-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
  min-height: 150px;
  margin-top: auto;
}

.aiv-step-image {
  max-width: 100%;
  width: auto;
  height: auto;
  min-height: 150px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: contain;
}

/* Benefits Section */
.aiv-benefits {
  background: #fff;
  padding: 80px 0;
}

.aiv-benefits-description {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
  color: #4b5563;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.aiv-benefits .aiv-section-title {
  margin: 0 auto;
  max-width: 68rem;
  text-align: center;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
}

.aiv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 修改benefit卡片样式 */
.aiv-benefit-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
}

.aiv-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #d0d0d0;
}

.aiv-benefit-card p {
  color: #666666;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
  padding: 0 1.75rem 1.75rem 1.75rem;
}

@media (max-width: 1024px) {
  .aiv-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aiv-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .aiv-benefits .aiv-section-title {
    font-size: 2rem !important;
  }
}

.aiv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.aiv-benefit-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.aiv-benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600 !important;
  margin: 0;
  color: #333333;
  line-height: 1.4;
}

.aiv-benefit-card p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 0;
}

.aiv-benefit-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.aiv-benefit-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aiv-benefit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.aiv-benefit-card:hover .aiv-benefit-card-image img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .aiv-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aiv-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Features Section */
.aiv-features {
  background: #f8f9fa;
  padding: 80px 0;
}

.aiv-features .aiv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.aiv-features .aiv-section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
}

.aiv-features .aiv-section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #666666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.aiv-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.aiv-feature-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
}

.aiv-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #d0d0d0;
}

/* Benefits Section Styles */
.aiv-benefit-header {
  display: flex;
  align-items: center;
  padding: 1.75rem 1.75rem 0.5rem 1.75rem;
}

.aiv-benefit-header h3 {
  font-size: 1.25rem;
  font-weight: 600 !important;
  margin: 0;
  color: #333333;
  line-height: 1.4;
}

.aiv-icon-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.aiv-icon-placeholder svg {
  width: 24px;
  height: 24px;
  stroke: #333333; /* 黑色图标 */
}

.aiv-feature-header {
  display: flex;
  align-items: center;
  padding: 1.75rem 1.75rem 0.5rem 1.75rem;
}

.aiv-feature-header h3 {
  font-size: 1.25rem;
  font-weight: 600 !important;
  margin: 0;
  color: #333333;
  line-height: 1.4;
}

.aiv-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  /* margin-right: 1rem; */
  flex-shrink: 0;
}

.aiv-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #333333; /* 黑色图标 */
}

.aiv-feature-header h3 {
  font-size: 1.25rem;
  font-weight: 600 !important;
  margin: 0;
  color: #333333;
  line-height: 1.4;
}

.aiv-feature-content {
  padding: 0 1.75rem 1.75rem 1.75rem;
  flex: 1;
}

.aiv-feature-content p {
  color: #666666;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .aiv-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .aiv-features {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .aiv-features-grid {
    grid-template-columns: 1fr;
  }
  
  .aiv-feature-header {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  }
  
  .aiv-feature-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .aiv-features-grid {
    grid-template-columns: 1fr;
  }
  
  .aiv-features {
    padding: 50px 0;
  }
  
  .aiv-feature-content {
    padding: 1.5rem;
  }
}

/* Reviews Section */
.aiv-reviews {
  background: #fff;
  padding: 100px 0;
}

.aiv-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.aiv-review-card {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.3s;
}

.aiv-review-card:hover {
  transform: translateY(-3px);
}

.aiv-reviewer {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.aiv-avatar {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1rem;
}

.aiv-reviewer-info h4 {
  font-weight: 700;
  color: #000;
}

.aiv-reviewer-info p {
  color: #666;
  font-size: 0.9rem;
}

.aiv-review-card > p {
  color: #333;
  line-height: 1.6;
  font-style: italic;
}

/* CTA Section */
.aiv-cta-section {
  background: #f5f5f5;
  padding: 100px 0;
  text-align: center;
}

.aiv-cta-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #000;
}

.aiv-cta-section p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.aiv-faq {
  background: #fff;
  padding: 100px 0;
}

.aiv-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.aiv-faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.aiv-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: color 0.3s;
}

.aiv-faq-question:hover {
  color: #666;
}

.aiv-faq-question h3 {
  font-size: 1.25rem;
  font-weight: 600 !important;
}

.aiv-faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.aiv-faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.aiv-faq-item.active .aiv-faq-answer {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .aiv-nav-menu {
    display: none;
  }

  .aiv-hero .aiv-container {
    gap: 48px;
    padding: 0 15px;
  }

  .aiv-hero-title {
    font-size: 2.5rem;
    white-space: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .aiv-hero-description {
    font-size: 1rem;
    white-space: normal;
  }

  .aiv-section-title {
    font-size: 2rem;
  }

  .aiv-steps-grid {
    grid-template-columns: 1fr;
  }

  .aiv-step-image {
    max-width: 100%;
    width: auto;
    min-height: 150px;
  }

  .aiv-step-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .aiv-benefits-grid,
  .aiv-features-grid,
  .aiv-reviews-grid {
    grid-template-columns: 1fr;
  }

  .aiv-cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .aiv-container {
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .aiv-hero-title {
    font-size: 2rem;
  }

  .aiv-hero-description {
    font-size: 1rem;
  }
  
  .aiv-step-card,
  .aiv-benefit-card,
  .aiv-feature-card,
  .aiv-review-card {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
  }
  
  /* 防止内容溢出 */
  .aiv-step-card,
  .aiv-benefit-card,
  .aiv-feature-card,
  .aiv-review-card {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
  }
}