* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; color: #0f172a; background: #ffffff; }
a { color: inherit; text-decoration: none; }

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #334155;
  --primary: #2563EB; /* 教育科技蓝 */
  --accent: #F5B400;  /* 活力金 */
  --primary-600: #1d4ed8;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --ring: rgba(37, 99, 235, 0.25);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 36px; }

/* Header */
.site-header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-full { height: 36px; width: auto; display: block; }
.brand-text { font-weight: 700; letter-spacing: .3px; color: #0f172a; }
.menu-toggle { border: none; background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 14px; display: inline-flex; color: var(--muted); }
.menu-toggle svg { display: block; width: 22px; height: 22px; }
.menu-toggle[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--ring); }
.menu-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.nav-links { display: none; }
.nav-links a { padding: 8px 12px; color: var(--muted); transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .1s ease; font-weight: 600; font-size: 0.95rem; border-radius: 9999px; position: relative; }
.nav-links a:hover { color: var(--text); background: rgba(37,99,235,0.08); box-shadow: 0 2px 8px rgba(37,99,235,0.12); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(37,99,235,0.08); box-shadow: 0 2px 8px rgba(37,99,235,0.12); }
.nav-links a:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), #7c5cff); opacity: 0; transform: translateY(2px); transition: opacity .2s ease, transform .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { opacity: 1; transform: translateY(0); }
.nav-links .btn { margin-left: 8px; }
/* Login text link in nav (screenshot style) */
.nav-links .login-link { color: #2563EB; font-weight: 600; padding: 8px 0; border-radius: 0; }
.nav-links .login-link:hover { text-decoration: underline; }
.nav-links .login-link:active { opacity: .9; }
/* Nav outlined button color override */
.nav-links a.btn-outline { color: #2563EB; border-color: #2563EB; }
.nav-links a.btn-outline:hover { box-shadow: 0 0 0 3px rgba(37,99,235,0.35); }
/* Desktop spacing between partners and login */
@media (min-width: 768px) {
  .nav-links .login-link { margin-left: 20px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--muted); font-weight: 600; transition: box-shadow .2s, transform .1s; }
.btn:hover { box-shadow: 0 0 0 3px var(--ring); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-600); color: #fff !important; }
.btn-secondary { background: var(--surface); }
.btn-outline { background: transparent; }
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn-outline { color: #2563EB; border-color: #2563EB; }
.btn-outline:hover { box-shadow: 0 0 0 3px rgba(37,99,235,0.35); }

/* Hero */
.hero {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

/* Hero background wrapper for desktop */
.hero-wrapper {
  background: linear-gradient(135deg, rgba(189, 224, 255, 0.18) 0%, rgba(168, 216, 255, 0.18) 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: none;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -20px) rotate(120deg); }
  66% { transform: translate(20px, -10px) rotate(240deg); }
}



.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 32px;
  max-width: 90%;
}





/* Desktop hero styles with background */
@media (min-width: 640px) {
  .hero-wrapper .hero {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 800px;
    padding: 80px 40px;
  }
  
  .hero-wrapper .hero-art {
    display: none;
  }
  
  .hero-wrapper .hero-content h1 {
    color: #1e293b;
    text-shadow: none;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: nowrap;
    word-break: keep-all;
  }
  
  .hero-wrapper .hero-content p {
    color: #334155;
    text-shadow: none;
    font-size: 18px;
  }
  
  .hero-wrapper .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-wrapper .pill {
    background: rgba(255, 255, 255, 0.8);
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }
}

/* 浮动装饰元素 */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.floating-decoration {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
}

/* Hero区域装饰 */
.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: auto;
  opacity: 0.25;
}

@media (max-width: 640px) {
  .hero-bg-decoration {
    width: 80%;
    opacity: 0.18;
  }
  
  .floating-decoration {
    width: 80px;
    height: 80px;
    top: 15%;
    right: 5%;
  }
}

/* 功能卡片图标 */
.feature-icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

/* 解决方案卡片图标 */
.card-icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 64px;
  height: 64px;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.hero-actions .btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.hero-highlights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero-art {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  position: relative;
}

.hero-art::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.08);
  grid-column: 1 / -1;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}



.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(99, 102, 241, 0.1);
  color: rgb(99, 102, 241);
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 16px;
}
.hero-art { display: grid; grid-template-columns: 1fr; gap: 12px; align-content: start; justify-items: center; }
.hero-art .card { background: linear-gradient(180deg, #fff, #eef2ff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; font-weight: 700; color: var(--text); box-shadow: 0 6px 24px rgba(37,99,235,.08); }
/* Hero image */
.hero-img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 8px 24px rgba(37,99,235,.08); object-fit: cover; object-position: center; position: relative; z-index: 1; }

/* Sections */
.section { padding: 28px 0; scroll-margin-top: 80px; }

.section-title { font-size: 20px; margin: 0 0 8px; position: relative; }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; background: linear-gradient(90deg, #2563EB, #F5B400); border-radius: 2px; margin-top: 8px; }
.section-sub {
  text-align: center;
  font-size: 18px;
  margin: 0 0 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-3 { grid-template-columns: 1fr; }

.feature { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.feature h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2563EB, #7c9ef4); box-shadow: 0 2px 6px rgba(37,99,235,.25); margin-right: 8px; vertical-align: middle; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); }

.card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.card-thumb { height: 100px; background: radial-gradient(circle at 30% 40%, #2563EB 0%, #7c9ef4 40%, #F5B400 65%, #ffe08a 90%); border-radius: 10px; margin-bottom: 12px; opacity: .95; }
.card-soft { background: linear-gradient(180deg, #fff, #f8fafc); }


#pricing .grid { gap: 24px; }
.price-card { 
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: none;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(2,8,23,.03), 0 0 0 1px rgba(15,23,42,.06), 0 12px 28px rgba(2,8,23,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}
#pricing .price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
}
#pricing .price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(2,8,23,.03), 0 0 0 1px rgba(37,99,235,.14), 0 18px 40px rgba(2,8,23,.14);
}
.price-head { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.price-value { font-size: 36px; font-weight: 800; color: #0f172a; margin: 10px 0 16px; }
.price-value span { font-size: 14px; font-weight: 600; color: #64748b; }
.price-list { list-style: none; margin: 8px 0 24px; padding: 0; color: #334155; text-align: left; align-self: center; max-width: 260px; }
#pricing .price-card .price-list li { position: relative; padding-left: 26px; margin: 10px 0; }
#pricing .price-card .price-list li::before { content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #22c55e, #10b981); box-shadow: 0 2px 6px rgba(16,185,129,.25); }
#pricing .price-card .btn { margin-top: auto; width: fit-content; align-self: center; }
.price-card.popular { box-shadow: 0 1px 0 rgba(2,8,23,.03), 0 0 0 2px rgba(37,99,235,.35), 0 20px 48px rgba(37,99,235,.20); transform: translateY(-4px); }
#pricing .price-card.popular::before { background: linear-gradient(90deg, #2563eb, #7c9ef4); }
#pricing .grid.grid-3 .price-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #f97316); }

/* CTA */
.cta { text-align: center; }
.cta .section-title { font-size: 22px; }

/* Contact form */
.contact-form { margin-top: 16px; }
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.form-field label { font-size: 14px; color: var(--muted); }
.form-field label .req { color: #ef4444; margin-right: 6px; font-weight: 700; }
.form-field input, .form-field textarea { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; outline: none; background: #fff; color: var(--text); }
.form-field input:focus, .form-field textarea:focus { box-shadow: 0 0 0 2px rgba(37,99,235,.30); border-color: rgba(37,99,235,.45); }
/* Form error states */
.form-field.error input,
.form-field.error textarea { border-color: #ef4444; box-shadow: 0 0 0 2px rgba(239,68,68,.20); }
.form-field .error-tip { font-size: 12px; color: #ef4444; line-height: 1.4; margin-top: -4px; min-height: 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; }
.form-status { font-size: 14px; color: var(--muted); }

/* Responsive for form */
@media (max-width: 768px) {
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq .faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.faq-question { width: 100%; text-align: left; background: var(--surface); border: 0; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; cursor: pointer; }
.faq-answer { display: none; padding: 12px 16px; color: var(--muted); background: #fff; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question .ind { transform: rotate(45deg); transition: transform .15s; }

/* Footer */
.site-footer { border-top: 0; background: #0b1b2f; color: #b9c6e4; }
.footer { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 24px 0; }
.site-footer .foot-left { font-size: 0.875rem; }
.foot-right a { color: #94a3b8; padding: 4px 8px; }

/* Footer mobile adjustments */
@media (max-width: 640px) {
  .site-footer .footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer .foot-left { font-size: 12px; line-height: 1.6; word-break: break-word; overflow-wrap: anywhere; }
  .site-footer .foot-right { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
  .site-footer .foot-right a { padding: 4px 6px; font-size: 12px; }
}

/* Mobile safe padding enforce */
@media (max-width: 639px) {
  .container { padding: 0 16px; }
  .nav { padding: 16px 0; }
  .brand { margin-left: 16px; }
  .menu-toggle { margin-right: 16px; }
  .hero { padding: 40px 20px; gap: 28px; }
  .hero-content { text-align: left; }
  .hero-content h1 { font-size: clamp(20px, 6.2vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
  .hero-content p { margin-bottom: 28px; }
  .hero-art { display: none; }
  .hero-actions { margin-top: 12px; gap: 12px; }
  /* Limit hero image size on mobile */
  .hero-img { max-width: 320px; max-height: 190px; aspect-ratio: 16 / 9; }
  .hero-art::after { display: none; }
  .grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  /* Ensure anchor jumps leave enough top space on mobile */
  .section { scroll-margin-top: 100px; padding: 32px 0; }
  /* Ensure subtitles have left/right safe space on mobile */
  .section-sub { padding: 0 16px; }
  /* 手机端联系表单左右缩进 */
  #contact .contact-form { padding: 0 16px; }
}

/* Responsive (tablet & desktop) */
@media (min-width: 640px) {
  .container { padding: 0 64px; }
  .nav-links { display: flex; align-items: center; }
  .menu-toggle { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 40px; }
  .hero-art { grid-template-columns: 1fr; justify-items: center; align-content: center; padding: 8px; }
  /* Limit hero image size on tablet/desktop */
  .hero-img { max-width: 340px; max-height: 220px; aspect-ratio: 4 / 3; }
  .hero-content h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.015em; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(4, 1fr); }
  .logo-full { height: 48px; }
  .brand-text { font-size: 18px; }
  .section { padding: 28px 0; }
  .nav { padding: 12px 0; }
  .footer { padding: 16px 0; }
}

@media (min-width: 1024px) {
  .hero-content h1 { font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; }
  .container { padding: 0 96px; }
  .section { padding: 28px 0; }
  .hero { padding: 32px 0; }
  .nav { padding: 12px 0; }
  .footer { padding: 16px 0; }
}

/* Mobile nav expanded */
.nav-open #primary-nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; }
.nav-open .nav { flex-wrap: wrap; }

/* Desktop nav */
@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 8px; }
}

/* Feature tabs styles */
#features {
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--bg);
}

/* 合作伙伴跑马灯 */
.partners { overflow: hidden; }

/* Partners title alignment to match other sections */
#partners .section-title { text-align: center; font-size: 32px; margin-bottom: 12px; }
#partners .section-title::after { margin: 16px auto 0; }
.partner-marquee { position: relative; overflow: hidden; width: 100%; }
.partner-track { display: flex; align-items: center; gap: 64px; animation: marquee 28s linear infinite; animation-delay: -14s; will-change: transform; }
.partner-logo { width: 120px; height: 36px; display: block; object-fit: contain; opacity: 1; filter: none; transition: opacity 0.2s ease; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-logo:hover { opacity: 1; filter: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }

@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }

@media (max-width: 640px) {
  .partner-track { gap: 40px; animation-duration: 24s; animation-delay: -12s; }
  .partner-logo { width: 96px; height: 28px; opacity: 1; }
}

.features-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  /* 美化滚动条（Firefox） */
  scrollbar-width: thin;
  scrollbar-color: #9CA3AF #E5E7EB;
}
/* 美化滚动条（WebKit） */
.features-tabs::-webkit-scrollbar { height: 1px; }
.features-tabs::-webkit-scrollbar-track { background: #E5E7EB; border-radius: 9999px; }
.features-tabs::-webkit-scrollbar-thumb { background: #9CA3AF; border-radius: 9999px; border: 0; }

.features-tabs .tab-btn { flex: 0 0 auto; }
/* 手机端features-tabs标签两行时增加行间距并允许换行 */
@media (max-width: 640px) {
  .features-tabs .tab-btn .tab-label { line-height: 1.4; white-space: normal; }
}
 
 /* Tabs viewport with arrows */
 .features-tabs-viewport { position: relative; display: flex; align-items: center; gap: 8px; }
 /* Viewport scrollbar styling (Firefox) */
 .features-tabs-viewport { scrollbar-width: thin; scrollbar-color: #9CA3AF #E5E7EB; }
 /* Viewport scrollbar styling (WebKit) */
 .features-tabs-viewport::-webkit-scrollbar { height: 1px; }
 .features-tabs-viewport::-webkit-scrollbar-track { background: #E5E7EB; border-radius: 9999px; }
 .features-tabs-viewport::-webkit-scrollbar-thumb { background: #9CA3AF; border-radius: 9999px; border: 0; }
 .features-tabs-viewport .features-tabs { flex: 1 1 auto; }
 .tabs-arrow { appearance: none; border: 1px solid var(--border); background: var(--surface); color: #334155; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
 .tabs-arrow:hover { background: #f1f5f9; }
 .tabs-arrow:active { transform: scale(0.97); }
 .tabs-arrow.disabled { opacity: .4; cursor: not-allowed; }
 
 
 
 #features .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
}
.page-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
  position: relative;
}
.page-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #F5B400);
  border-radius: 2px;
  margin: 16px auto 0;
}
.page-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
#features .section-title::after {
  margin: 16px auto 0;
}

/* Center subtitle for Features section */
#features .section-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* Features: Unified visual standard */
#features .tab-navigation {
  justify-content: center;
  margin-bottom: 24px;
  border-bottom: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
}
#features .tab-navigation .tab-btn {
  color: #475569;
  padding: 10px 14px;
  border-radius: 9999px;
}
#features .tab-navigation .tab-btn:hover {
  background-color: rgba(37,99,235,.08);
  color: #2563eb;
}
#features .tab-navigation .tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.15);
}
#features .tab-navigation .tab-btn.active::after { display: none; }
#features .tab-navigation .tab-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* Feature content surface, radius, shadow */
#features .tab-panel .feature-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
}

/* Typography unify */
#features .feature-text h3, #features .tab-details h3 { font-size: 26px; line-height: 1.3; }
#features .feature-text p, #features .tab-details p { font-size: 16px; line-height: 1.6; color: #64748b; }

/* Mobile tweaks */
@media (max-width: 768px) {
  #features .tab-navigation { justify-content: flex-start; }
  #features .tab-navigation .tab-btn { padding: 10px 12px; }
}
.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.tab-btn:hover {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
}

.tab-btn.active {
  color: #2563eb;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 2px 2px 0 0;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.tab-content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.tab-image:hover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.tab-details h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tab-details p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s ease;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Responsive design for tabs */
@media (max-width: 768px) {
  .tab-navigation {
    justify-content: flex-start;
    margin-bottom: 30px;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 100px;
  }
  
  .tab-panel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-image {
    height: 200px;
    order: 2;
  }
  
  .tab-details {
    order: 1;
  }
  
  .tab-details h3 {
    font-size: 24px;
  }
  
  .feature-list li {
    padding: 10px 0;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .features-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 6px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: normal; /* allow wrapping */
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .features-tabs {
    padding: 0 8px;
  }
  
  .features-tabs .tab-btn {
    padding: 6px 8px;
    font-size: 14px; /* 增大两号 */
    min-width: 68px;
    gap: 2px; /* 图标与文字更紧贴 */
  }
  
  .tab-details h3 {
    font-size: 20px;
  }
  
  .tab-image {
    height: 160px;
  }
}

/* Tabs: icon + label enhancements */
.features-tabs .tab-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 9999px; }
.tab-btn .tab-icon img { width: 24px; height: 24px; display: block; }
.tab-btn .tab-label { line-height: 1.2; }
@media (max-width: 640px) { .features-tabs .tab-btn .tab-label { line-height: 1.4; white-space: normal; } }
.tab-btn.active { background-color: rgba(37, 99, 235, 0.08); }

/* Features content container with rounded background */
.feature-content { margin-top: 24px; }
.tab-panel .feature-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #f8fafc, #eef2ff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.feature-text h3 { font-size: 26px; margin-bottom: 12px; }
.feature-text p { color: #64748b; margin-bottom: 16px; }

/* Image placeholder styling to match demo + 抽象图 */
.feature-image .image-placeholder { position: relative; width: 100%; height: 300px; background: linear-gradient(135deg, #f8fafc, #e2e8f0); border: 2px dashed #cbd5e1; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; text-align: center; overflow: hidden; }
.feature-image .image-placeholder::after { content: ""; position: absolute; inset: 18px; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 6px 18px rgba(2,8,23,.08); }
/* 抽象图：柱状条 + 折线提示 */
.feature-image .image-placeholder::before { content: ""; position: absolute; left: 14%; bottom: 20%; width: 72%; height: 46%; border-radius: 10px; background:
  linear-gradient(90deg, #dbeafe 18px, transparent 18px) 0 8px / 72px 16px repeat-x,
  linear-gradient(90deg, #93c5fd 26px, transparent 26px) 0 28px / 72px 16px repeat-x,
  linear-gradient(90deg, #60a5fa 34px, transparent 34px) 0 48px / 72px 16px repeat-x,
  radial-gradient(circle at 15% 22%, #60a5fa 2px, transparent 3px),
  radial-gradient(circle at 35% 30%, #60a5fa 2px, transparent 3px),
  radial-gradient(circle at 55% 42%, #60a5fa 2px, transparent 3px),
  radial-gradient(circle at 75% 35%, #60a5fa 2px, transparent 3px),
  radial-gradient(circle at 88% 50%, #60a5fa 2px, transparent 3px);
box-shadow: inset 0 0 0 1px #e2e8f0; }
.feature-image .image-placeholder span { padding: 0 12px; }
/* 内联 SVG 占位容器：禁用默认留白与抽象层，SVG 全覆盖 */
.feature-image .image-placeholder.has-svg { background: none; border: 0; border-radius: 14px; padding: 0; }
.feature-image .image-placeholder.has-svg::before,
.feature-image .image-placeholder.has-svg::after { content: none; }
.feature-image .image-placeholder.has-svg svg { display: block; width: 100%; height: 100%; border-radius: 14px; }
/* 根据不同功能面板定制抽象图案，覆盖默认占位图形 */
/* 课程：蓝绿卡片栅格 */
#course .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 22% 16% 24% 16%; border-radius: 12px; background:
  linear-gradient(180deg, rgba(59,130,246,.10), rgba(59,130,246,.05)),
  repeating-linear-gradient(0deg, rgba(34,197,94,.18) 0 18px, rgba(34,197,94,.08) 18px 36px); box-shadow: inset 0 0 0 1px #e2e8f0; }
/* 教学：清单卡片 */
#teaching .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 22% 16% 24% 16%; border-radius: 12px; background:
  linear-gradient(180deg, rgba(14,165,233,.12), rgba(14,165,233,.06)),
  repeating-linear-gradient(90deg, rgba(14,165,233,.12) 0 8px, rgba(255,255,255,1) 8px 72px); box-shadow: inset 0 0 0 1px #e2e8f0; }
/* 申请：流程步骤 */
#application .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 26% 12% 28% 12%; border-radius: 12px; background:
  radial-gradient(circle at 16% 50%, rgba(37,99,235,.25) 0 10px, transparent 10px),
  radial-gradient(circle at 50% 50%, rgba(37,99,235,.25) 0 10px, transparent 10px),
  radial-gradient(circle at 84% 50%, rgba(37,99,235,.25) 0 10px, transparent 10px),
  linear-gradient(90deg, rgba(37,99,235,.15), rgba(37,99,235,.15)); box-shadow: inset 0 0 0 1px #e2e8f0; }
/* SIS：档案卡片 */
#sis .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 22% 16% 24% 16%; border-radius: 12px; background:
  linear-gradient(180deg, rgba(99,102,241,.12), rgba(99,102,241,.06)),
  repeating-linear-gradient(0deg, rgba(148,163,184,.15) 0 20px, rgba(148,163,184,.08) 20px 40px); box-shadow: inset 0 0 0 1px #e2e8f0; }
/* 报表：矩阵图形 */
#analytics .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 18% 12% 22% 12%; border-radius: 12px; background:
  linear-gradient(180deg, rgba(59,130,246,.12), rgba(59,130,246,.06)),
  radial-gradient(circle at 20% 30%, rgba(59,130,246,.25) 0 8px, transparent 8px),
  radial-gradient(circle at 40% 50%, rgba(59,130,246,.25) 0 8px, transparent 8px),
  radial-gradient(circle at 60% 40%, rgba(59,130,246,.25) 0 8px, transparent 8px),
  radial-gradient(circle at 80% 60%, rgba(59,130,246,.25) 0 8px, transparent 8px); box-shadow: inset 0 0 0 1px #e2e8f0; }
/* 流程：节点连线 */
#workflow .feature-image .image-placeholder::before { content: ""; position: absolute; inset: 22% 12% 26% 12%; border-radius: 12px; background:
  radial-gradient(circle at 18% 40%, rgba(16,185,129,.25) 0 8px, transparent 8px),
  radial-gradient(circle at 50% 60%, rgba(16,185,129,.25) 0 8px, transparent 8px),
  radial-gradient(circle at 82% 40%, rgba(16,185,129,.25) 0 8px, transparent 8px),
  linear-gradient(90deg, rgba(16,185,129,.15), rgba(16,185,129,.15)); box-shadow: inset 0 0 0 1px #e2e8f0; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-panel .feature-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .feature-image .image-placeholder { height: 200px; }
}
@media (max-width: 480px) {
  .features-tabs .tab-btn .tab-icon img { width: 16px; height: 16px; }
  .tab-panel .feature-detail { padding: 16px; gap: 20px; }
  .feature-image .image-placeholder { height: 160px; }
}

/* Solutions Modern */
#solutions .solutions-modern, #solutions-2 .solutions-modern { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
#solutions .solution-main, #solutions .solution-side,
#solutions-2 .solution-main, #solutions-2 .solution-side { position: relative; backdrop-filter: saturate(120%) blur(8px); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.6)); }
#solutions .solution-topbar, #solutions-2 .solution-topbar { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-top-left-radius: 12px; border-top-right-radius: 12px; background: linear-gradient(90deg, var(--primary), #7c5cff); }
#solutions .solution-header, #solutions-2 .solution-header { display: flex; align-items: center; gap: 16px; }
#solutions .solution-title .subtitle, #solutions-2 .solution-title .subtitle { color: var(--text-soft); font-size: 0.95rem; }
#solutions .solution-list, #solutions-2 .solution-list { margin: 12px 0 8px; padding-left: 18px; }
#solutions .solution-list li, #solutions-2 .solution-list li { list-style: disc; margin-bottom: 6px; }
#solutions .metrics, #solutions-2 .metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#solutions .chip, #solutions-2 .chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(124, 92, 255, 0.12); color: #5a3dff; border: 1px solid rgba(124, 92, 255, 0.25); font-weight: 600; font-size: 0.9rem; }
#solutions .solution-side .solution-mini, #solutions-2 .solution-side .solution-mini { margin-top: 8px; padding-left: 18px; }
#solutions .solution-side .solution-mini li, #solutions-2 .solution-side .solution-mini li { list-style: square; margin-bottom: 6px; }
#solutions .solution-side.accent-blue .solution-topbar, #solutions-2 .solution-side.accent-blue .solution-topbar { background: linear-gradient(90deg, #4fc3f7, #7c5cff); }
#solutions .solution-side.accent-orange .solution-topbar, #solutions-2 .solution-side.accent-orange .solution-topbar { background: linear-gradient(90deg, #ff9800, #7c5cff); }
@media (max-width: 1024px) { #solutions .solutions-modern, #solutions-2 .solutions-modern { grid-template-columns: 1fr 1fr; } #solutions .solution-main, #solutions-2 .solution-main { grid-column: 1 / -1; } }
@media (max-width: 640px) { #solutions .solutions-modern, #solutions-2 .solutions-modern { grid-template-columns: 1fr; } }

/* Unify main title centering across sections (excluding CTA) */
#solutions .section-title,
#solutions-2 .section-title,
#pricing .section-title,
#cases .section-title,
#faq .section-title,
#contact .section-title,
#pain .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

#solutions .section-title::after,
#solutions-2 .section-title::after,
#pricing .section-title::after,
#cases .section-title::after,
#faq .section-title::after,
#contact .section-title::after,
#pain .section-title::after {
  margin: 16px auto 0;
}

/* Pain section – card layout similar to provided image */
#pain .grid { gap: 24px; }
#pain .feature {
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: none;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(2,8,23,.03), 0 0 0 1px rgba(37,99,235,.12), 0 8px 24px rgba(37,99,235,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
#pain .feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(2,8,23,.03), 0 0 0 1px rgba(37,99,235,.18), 0 16px 36px rgba(37,99,235,.18);
}
#pain .feature::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  margin: 8px auto 12px;
  background: radial-gradient(circle at 30% 30%, #2563EB, #7c9ef4);
  box-shadow: 0 6px 18px rgba(37,99,235,.18);
  opacity: .95;
}
#pain .feature h3 {
  text-align: center;
  font-size: 18px;
  margin: 0 0 8px;
  color: #2563EB;
  font-weight: 700;
}
#pain .feature h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563EB, #F5B400);
}
#pain .feature p {
  text-align: left;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Pain section icon container */
#pain .feature::before { display: none; }
#pain .feature-icon { display: flex; align-items: center; justify-content: center; margin: 8px auto 12px; width: 72px; height: 72px; border-radius: 14px; background: linear-gradient(180deg, #eef2ff, #fff); box-shadow: 0 8px 20px rgba(37,99,235,.10); }
#pain .feature-icon img { width: 40px; height: 40px; display: block; opacity: .95; }

/* Breakpoints for 4-column desktop */
@media (min-width: 640px) {
  #pain .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  #pain .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Center subtitle for Features section */
#features .section-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* Features: Unified visual standard */
#features .tab-navigation {
  justify-content: center;
  margin-bottom: 24px;
  border-bottom: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
}
#features .tab-navigation .tab-btn {
  color: #475569;
  padding: 10px 14px;
  border-radius: 9999px;
}
#features .tab-navigation .tab-btn:hover {
  background-color: rgba(37,99,235,.08);
  color: #2563eb;
}
#features .tab-navigation .tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.15);
}
#features .tab-navigation .tab-btn.active::after { display: none; }
#features .tab-navigation .tab-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* Feature content surface, radius, shadow */
#features .tab-panel .feature-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
}

/* Typography unify */
#features .feature-text h3, #features .tab-details h3 { font-size: 26px; line-height: 1.3; }
#features .feature-text p, #features .tab-details p { font-size: 16px; line-height: 1.6; color: #64748b; }

/* Mobile tweaks */
@media (max-width: 768px) {
  #features .tab-navigation { justify-content: flex-start; }
  #features .tab-navigation .tab-btn { padding: 10px 12px; }
}
.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.tab-btn:hover {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
}

.tab-btn.active {
  color: #2563eb;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 2px 2px 0 0;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.tab-content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.tab-image:hover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.tab-details h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tab-details p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s ease;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Responsive design for tabs */
@media (max-width: 768px) {
  .tab-navigation {
    justify-content: flex-start;
    margin-bottom: 30px;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 100px;
  }
  
  .tab-panel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-image {
    height: 200px;
    order: 2;
  }
  
  .tab-details {
    order: 1;
  }
  
  .tab-details h3 {
    font-size: 24px;
  }
  
  .feature-list li {
    padding: 10px 0;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .features-tabs {
    padding: 0 16px;
  }
  
  .tab-btn {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 80px;
  }
  
  .tab-details h3 {
    font-size: 20px;
  }
  
  .tab-image {
    height: 160px;
  }
}

/* Tabs: icon + label enhancements */
.features-tabs .tab-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 9999px; }
.tab-btn .tab-icon img { width: 24px; height: 24px; display: block; }
.tab-btn .tab-label { line-height: 1; }
.tab-btn.active { background-color: rgba(37, 99, 235, 0.08); }

/* Features content container with rounded background */
.feature-content { margin-top: 24px; }
.tab-panel .feature-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #f8fafc, #eef2ff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.feature-text h3 { font-size: 26px; margin-bottom: 12px; }
.feature-text p { color: #64748b; margin-bottom: 16px; }

/* Image placeholder styling to match demo */
.feature-image .image-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, #f8fafc, #e2e8f0); border: 2px dashed #cbd5e1; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; text-align: center; }
.feature-image .image-placeholder span { padding: 0 12px; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-panel .feature-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .feature-image .image-placeholder { height: 200px; }
}
@media (max-width: 480px) {
  .tab-btn .tab-icon img { width: 20px; height: 20px; }
  .tab-panel .feature-detail { padding: 16px; gap: 20px; }
  .feature-image .image-placeholder { height: 160px; }
}

/* Unify main title centering across sections (excluding CTA) */
#solutions .section-title,
#solutions-2 .section-title,
#pricing .section-title,
#cases .section-title,
#faq .section-title,
#contact .section-title,
#pain .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

#solutions .section-title::after,
#solutions-2 .section-title::after,
#pricing .section-title::after,
#cases .section-title::after,
#faq .section-title::after,
#contact .section-title::after,
#pain .section-title::after {
  margin: 16px auto 0;
}

/* Center subtitle for Features section */
#features .section-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* Features: Unified visual standard */
#features .tab-navigation {
  justify-content: center;
  margin-bottom: 24px;
  border-bottom: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
}
#features .tab-navigation .tab-btn {
  color: #475569;
  padding: 10px 14px;
  border-radius: 9999px;
}
#features .tab-navigation .tab-btn:hover {
  background-color: rgba(37,99,235,.08);
  color: #2563eb;
}
#features .tab-navigation .tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.15);
}
#features .tab-navigation .tab-btn.active::after { display: none; }
#features .tab-navigation .tab-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* Feature content surface, radius, shadow */
#features .tab-panel .feature-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
}

/* Typography unify */
#features .feature-text h3, #features .tab-details h3 { font-size: 26px; line-height: 1.3; }
#features .feature-text p, #features .tab-details p { font-size: 16px; line-height: 1.6; color: #64748b; }

/* Mobile tweaks */
@media (max-width: 768px) {
  #features .tab-navigation { justify-content: flex-start; }
  #features .tab-navigation .tab-btn { padding: 10px 12px; }
}
.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.tab-btn:hover {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
}

.tab-btn.active {
  color: #2563eb;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 2px 2px 0 0;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.tab-content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.tab-image:hover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.tab-details h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tab-details p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s ease;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Responsive design for tabs */
@media (max-width: 768px) {
  .tab-navigation {
    justify-content: flex-start;
    margin-bottom: 30px;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 100px;
  }
  
  .tab-panel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-image {
    height: 200px;
    order: 2;
  }
  
  .tab-details {
    order: 1;
  }
  
  .tab-details h3 {
    font-size: 24px;
  }
  
  .feature-list li {
    padding: 10px 0;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .features-tabs {
    padding: 0 16px;
  }
  
  .tab-btn {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 80px;
  }
  
  .tab-details h3 {
    font-size: 20px;
  }
  
  .tab-image {
    height: 160px;
  }
}

/* Tabs: icon + label enhancements */
.features-tabs .tab-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 9999px; }
.tab-btn .tab-icon img { width: 24px; height: 24px; display: block; }
.tab-btn .tab-label { line-height: 1; }
.tab-btn.active { background-color: rgba(37, 99, 235, 0.08); }

/* Features content container with rounded background */
.feature-content { margin-top: 24px; }
.tab-panel .feature-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #f8fafc, #eef2ff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.feature-text h3 { font-size: 26px; margin-bottom: 12px; }
.feature-text p { color: #64748b; margin-bottom: 16px; }

/* Image placeholder styling to match demo */
.feature-image .image-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, #f8fafc, #e2e8f0); border: 2px dashed #cbd5e1; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; text-align: center; }
.feature-image .image-placeholder span { padding: 0 12px; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-panel .feature-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .feature-image .image-placeholder { height: 200px; }
}
@media (max-width: 480px) {
  .tab-btn .tab-icon img { width: 20px; height: 20px; }
  .tab-panel .feature-detail { padding: 16px; gap: 20px; }
  .feature-image .image-placeholder { height: 160px; }
}

/* Unify main title centering across sections (excluding CTA) */
#solutions .section-title,
#pricing .section-title,
#cases .section-title,
#faq .section-title,
#contact .section-title,
#pain .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

#solutions .section-title::after,
#pricing .section-title::after,
#cases .section-title::after,
#faq .section-title::after,
#contact .section-title::after,
#pain .section-title::after {
  margin: 16px auto 0;
}

/* Center subtitle for Features section */
#features .section-sub {
  text-align: center;
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

/* Features: Unified visual standard */
#features .tab-navigation {
  justify-content: center;
  margin-bottom: 24px;
  border-bottom: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  gap: 8px;
}
#features .tab-navigation .tab-btn {
  color: #475569;
  padding: 10px 14px;
  border-radius: 9999px;
}
#features .tab-navigation .tab-btn:hover {
  background-color: rgba(37,99,235,.08);
  color: #2563eb;
}
#features .tab-navigation .tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.15);
}
#features .tab-navigation .tab-btn.active::after { display: none; }
#features .tab-navigation .tab-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring); }

/* Feature content surface, radius, shadow */
#features .tab-panel .feature-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
}

/* Typography unify */
#features .feature-text h3, #features .tab-details h3 { font-size: 26px; line-height: 1.3; }
#features .feature-text p, #features .tab-details p { font-size: 16px; line-height: 1.6; color: #64748b; }

/* Mobile tweaks */
@media (max-width: 768px) {
  #features .tab-navigation { justify-content: flex-start; }
  #features .tab-navigation .tab-btn { padding: 10px 12px; }
}
.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
}

.tab-btn:hover {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
}

.tab-btn.active {
  color: #2563eb;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 2px 2px 0 0;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.tab-content {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tab-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.tab-image:hover {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
}

.tab-details h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  line-height: 1.3;
}

.tab-details p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s ease;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  color: #2563eb;
  transform: translateX(4px);
}

.feature-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Responsive design for tabs */
@media (max-width: 768px) {
  .tab-navigation {
    justify-content: flex-start;
    margin-bottom: 30px;
  }
  
  .tab-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 100px;
  }
  
  .tab-panel-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-image {
    height: 200px;
    order: 2;
  }
  
  .tab-details {
    order: 1;
  }
  
  .tab-details h3 {
    font-size: 24px;
  }
  
  .feature-list li {
    padding: 10px 0;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .features-tabs {
    padding: 0 16px;
  }
  
  .tab-btn {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 80px;
  }
  
  .tab-details h3 {
    font-size: 20px;
  }
  
  .tab-image {
    height: 160px;
  }
}

/* Tabs: icon + label enhancements */
.features-tabs .tab-btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 9999px; }
.tab-btn .tab-icon img { width: 24px; height: 24px; display: block; }
.tab-btn .tab-label { line-height: 1; }
.tab-btn.active { background-color: rgba(37, 99, 235, 0.08); }

/* Features content container with rounded background */
.feature-content { margin-top: 24px; }
.tab-panel .feature-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #f8fafc, #eef2ff); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.feature-text h3 { font-size: 26px; margin-bottom: 12px; }
.feature-text p { color: #64748b; margin-bottom: 16px; }

/* Image placeholder styling to match demo */
.feature-image .image-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, #f8fafc, #e2e8f0); border: 2px dashed #cbd5e1; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 14px; text-align: center; }
.feature-image .image-placeholder span { padding: 0 12px; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .tab-panel .feature-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .feature-image .image-placeholder { height: 200px; }
}
@media (max-width: 480px) {
  .tab-btn .tab-icon img { width: 20px; height: 20px; }
  .tab-panel .feature-detail { padding: 16px; gap: 20px; }
  .feature-image .image-placeholder { height: 160px; }
}

/* Unify main title centering across