/* ========================================
   MyAok 中文企业网站 自定义样式
   基于 Bootstrap 5 + Bootswatch Flatly
   ======================================== */

/* 全局字体 */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

/* 导航栏 */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar .nav-link {
  font-size: 1rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-section p.lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* 统计数字区 */
.stats-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: #18bc9c;
  line-height: 1;
}

.stat-item .label {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}

/* 服务卡片 */
.service-card {
  border: none;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  background: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* 关于我们区域 */
.about-section {
  padding: 80px 0;
}

.about-section img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 特色区域 */
.features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.feature-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-right: 20px;
}

.feature-item h5 {
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* 团队区域 */
.team-section {
  padding: 80px 0;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.team-card h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  color: #18bc9c;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: #666;
}

/* 客户评价 */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
}

.testimonial-card .stars {
  color: #f39c12;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-weight: 600;
}

.testimonial-card .company {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 合作伙伴 */
.partners-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 15px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 1.1rem;
  font-weight: 600;
  color: #999;
  transition: all 0.3s;
}

.partner-logo:hover {
  color: #18bc9c;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* CTA区域 */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 30px;
}

/* 页脚 */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 60px 0 30px;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #18bc9c;
}

footer .footer-links li {
  margin-bottom: 10px;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* 通用标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* 页面Banner */
.page-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin-top: 12px;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

/* 联系表单 */
.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.contact-info-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #18bc9c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  box-shadow: 0 3px 15px rgba(24, 188, 156, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #2c3e50;
  transform: translateY(-3px);
}

/* 动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 70px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .stat-item .number {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  footer {
    padding: 40px 0 20px;
  }
}

/* ========================================
   焦虑文案 / 痛点组件
   ======================================== */

/* 焦虑标语条 — 高级卡片式设计 */
.anxiety-callout {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-left: 5px solid #e74c3c;
  padding: 20px 28px 20px 24px;
  border-radius: 0 14px 14px 0;
  margin-bottom: 24px;
  font-size: 1.02rem;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.75;
  position: relative;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.anxiety-callout:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateX(3px);
}
.anxiety-callout::before {
  content: "\F33A";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.06;
}
.anxiety-callout.enterprise {
  border-left-color: #18bc9c;
  background: linear-gradient(135deg, #f0faf7, #fdfdfd);
}
.anxiety-callout.enterprise::before { content: "\F1E3"; }
.anxiety-callout.executive {
  border-left-color: #9b59b6;
  background: linear-gradient(135deg, #f9f5ff, #fdfdfd);
}
.anxiety-callout.executive::before { content: "\F4A0"; }
.anxiety-callout.kids {
  border-left-color: #27ae60;
  background: linear-gradient(135deg, #f0faf5, #fdfdfd);
}
.anxiety-callout.kids::before { content: "\F49A"; }
.anxiety-callout.coding {
  border-left-color: #e74c3c;
  background: linear-gradient(135deg, #fff5f5, #fdfdfd);
}
.anxiety-callout.coding::before { content: "\F12D"; }
.anxiety-callout.security {
  border-left-color: #e67e22;
  background: linear-gradient(135deg, #fef8f0, #fdfdfd);
}
.anxiety-callout.security::before { content: "\F53D"; }
.anxiety-callout.deploy {
  border-left-color: #3498db;
  background: linear-gradient(135deg, #f0f7fe, #fdfdfd);
}
.anxiety-callout.deploy::before { content: "\F28E"; }

/* 首页痛点卡片 — 高端精致版 */
.pain-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-top: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
}
.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.pain-card.border-enterprise::before { background: linear-gradient(90deg, #18bc9c, #1abc9c, #48d1a7); }
.pain-card.border-executive::before { background: linear-gradient(90deg, #9b59b6, #a66bbe, #bb86c8); }
.pain-card.border-coding::before { background: linear-gradient(90deg, #e74c3c, #ec7063, #f1948a); }
.pain-card.border-kids::before { background: linear-gradient(90deg, #27ae60, #2ecc71, #58d68d); }
.pain-card .pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.pain-card .pain-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.pain-card h5 {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.pain-card > p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* 转化钩子文本 — 高级玻璃拟态风格 */
.hook-text {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  color: #fff;
  padding: 32px 36px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.85;
  text-align: center;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
}
.hook-text::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hook-text::after {
  content: "\F287";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  opacity: 0.04;
  pointer-events: none;
}
.hook-text .hook-line {
  display: block;
  padding: 4px 0;
  position: relative;
  z-index: 1;
}
.hook-text .hook-quote {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 8px 20px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}
.hook-text .hook-quote::before {
  content: "\201C";
  position: absolute;
  left: 2px;
  top: -4px;
  font-size: 2.5rem;
  opacity: 0.15;
  font-family: Georgia, serif;
}
.hook-text .hook-detail {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  padding: 4px 0;
  position: relative;
  z-index: 1;
}
.hook-text .hook-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}
.hook-text .hook-cta:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.03);
}
/* 高管私教紫色主题 */
.hook-text.hook-executive {
  background: linear-gradient(135deg, #2d1b4e, #4a1d6e, #6c3483);
}
.hook-text.hook-executive::after { content: "\F4A0"; }
/* AI编程红色主题 */
.hook-text.hook-coding {
  background: linear-gradient(135deg, #2c1010, #5a1a1a, #7b241c);
}
.hook-text.hook-coding::after { content: "\F12D"; }
/* 少儿进阶绿色主题 */
.hook-text.hook-kids {
  background: linear-gradient(135deg, #0c2d1a, #145a32, #1e8449);
}
.hook-text.hook-kids::after { content: "\F49A"; }

/* 首页钩子特别样式 */
.hook-text.hook-home {
  background: linear-gradient(135deg, #0c2233, #16425b, #18bc9c);
  border: none;
}
.hook-text.hook-home::after { content: "\F525"; }
