:root {
  /* 苹果设计系统色彩 */
  --apple-blue: #007aff;
  --apple-indigo: #5856d6;
  --apple-purple: #af52de;
  --apple-pink: #ff2d55;
  --apple-red: #ff3b30;
  --apple-orange: #ff9500;
  --apple-yellow: #ffcc00;
  --apple-green: #34c759;
  --apple-teal: #5ac8fa;
  --apple-cyan: #00c7be;
  --apple-dark-blue: #0040dd;
  
  --apple-gray6: #f2f2f7;
  --apple-gray5: #e5e5ea;
  --apple-gray4: #d1d1d6;
  --apple-gray3: #c7c7cc;
  --apple-gray2: #aeaeb2;
  --apple-gray: #8e8e93;
  
  --apple-text: #1d1d1f;
  --apple-text-secondary: #86868b;
  --apple-background: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--apple-text);
  background-color: var(--apple-background);
}

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

/* 头部导航样式 */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--apple-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 60px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  background-image: linear-gradient(to right, var(--apple-purple), var(--apple-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
  font-size: 22px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--apple-text);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--apple-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* 英雄区域样式 */
.hero {
  background-image: linear-gradient(to right, var(--apple-purple), var(--apple-blue));
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-button {
  background-color: white;
  color: var(--apple-blue);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.primary-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.secondary-button {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.gradient-button {
  background-image: linear-gradient(to right, var(--apple-purple), var(--apple-blue));
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(10, 132, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gradient-button:hover {
  box-shadow: 0 6px 14px rgba(10, 132, 255, 0.4);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* 特点区域样式 */
.features {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--apple-text);
}

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

.feature-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--apple-blue);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 16px;
  color: var(--apple-text-secondary);
}

/* 视频教学板块 */
.video-tutorial {
  padding: 70px 0;
  background-image: linear-gradient(to right, var(--apple-purple), var(--apple-blue));
  color: white;
  text-align: center;
}

.video-tutorial .section-title {
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.tutorial-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.tutorial-description {
  flex: 1;
  min-width: 300px;
}

.tutorial-description p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.tutorial-cta {
  display: flex;
  justify-content: center;
  flex: 1;
  min-width: 250px;
}

.video-button {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  padding: 15px 30px;
  background: white;
  color: var(--apple-purple);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

.video-button i {
  margin-right: 10px;
  font-size: 22px;
}

.video-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.9);
}

/* 如何工作区域 */
.how-it-works {
  padding: 80px 0;
  background-image: linear-gradient(to right, rgba(175, 82, 222, 0.15), rgba(10, 132, 255, 0.15));
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--apple-blue);
  color: white;
  font-weight: 600;
  font-size: 20px;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.step p {
  font-size: 16px;
  color: var(--apple-text-secondary);
}

/* 套餐区域 */
.pricing {
  padding: 80px 0;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-options {
  width: 100%;
  margin-bottom: 40px;
}

.pricing-cards-side-by-side {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 992px) {
  .pricing-cards-side-by-side {
    flex-wrap: nowrap;
  }
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.corner-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff9500; /* 橙色 */
  color: white;
  padding: 8px 30px;
  font-size: 14px;
  font-weight: 600;
  transform-origin: top right;
  transform: translateX(30%) translateY(0%) rotate(45deg);
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.corner-ribbon.highlight {
  background-color: #ff9500; /* 橙色保持一致 */
}

.check-icon {
  color: #4cd964; /* 绿色对勾 */
  margin-right: 8px;
  font-weight: bold;
  font-weight: 500;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--apple-text);
}

.price span {
  font-size: 16px;
  color: var(--apple-text-secondary);
}

.card-notice {
  background-color: #fff8e6;
  border-left: 3px solid var(--apple-orange);
  padding: 12px;
  margin: 15px 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.card-notice strong {
  color: var(--apple-text);
  display: inline-block;
  margin-bottom: 2px;
}

.pricing-features {
  list-style: none;
  margin: 20px 0;
  text-align: left;
  padding-left: 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  position: relative;
}

/* 移除原有的伪元素对勾，因为现在使用span.check-icon */
.pricing-features li::before {
  content: none;
}

/* 页头区域样式 */
.page-header {
  padding: 80px 0 60px;
  background-image: linear-gradient(to right, var(--apple-purple), var(--apple-blue));
  text-align: center;
}

.page-header h1,
.page-header p {
  text-align: center;
}

.page-header h1 {
  margin-bottom: 15px;
  font-size: 32px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
}

/* 常见问题区域 */
.faq {
  padding: 80px 0;
  background-image: linear-gradient(to right, rgba(175, 82, 222, 0.15), rgba(10, 132, 255, 0.15));
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--apple-gray5);
  padding-bottom: 20px;
}

.faq-question {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:after {
  content: "+";
  font-size: 22px;
  color: var(--apple-blue);
}

.faq-answer {
  font-size: 16px;
  color: var(--apple-text-secondary);
}

/* 联系我们区域 */
.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-options {
  list-style: none;
}

.contact-options li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-icon {
  margin-right: 15px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-blue);
}

/* 页脚样式 */
footer {
  background-color: #1d1d1f;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--apple-gray3);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: var(--apple-gray3);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 特点卡片响应式调整 */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* 响应式样式 */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 280px;
    margin-bottom: 10px;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }
}
