/* 乐精灵小提琴校音器子站样式 - 基于 english-coach 风格，绿色主题 */
:root {
  --primary: #4CAF50;
  --primary-dark: #388E3C;
  --primary-light: #E8F5E9;
  --bg-warm: #FAFDF7;
  --text: #000000;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-warm);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero .container {
  max-width: 960px;
}

.header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
}

.nav a:hover { color: var(--primary); }

.hero {
  padding: 48px 0 56px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
}

.hero-subtitle {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.hero-lead {
  margin: 0 auto 12px;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  text-align: center;
}

.hero-screens {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 32px 0;
}

.hero-screen-item {
  margin: 0;
  text-align: center;
}

.hero-screen-thumb {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #f0f0f0;
}

.hero-screen-thumb img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 280px;
}

.hero-screen-item figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9375rem;
}

.vt-apk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}

.vt-apk-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vt-apk-more {
  font-size: 0.875rem;
  color: var(--primary-dark);
}

.page-header {
  padding: 32px 0 8px;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: 1.75rem;
}

.notice-legal {
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.notice-legal code {
  font-size: 0.8125rem;
  word-break: break-all;
}

.apk-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.apk-download-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.apk-download-card--pro {
  border-color: var(--primary);
  background: var(--primary-light);
}

.apk-download-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  text-align: center;
}

.apk-download-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vt-install-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.vt-install-list li {
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.page-content {
  padding: 48px 0;
}

.page-content h2 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  text-align: center;
  color: var(--text);
}

.page-content h3 {
  font-size: 1.125rem;
  margin: 0 0 8px;
}

.page-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.vt-product-editions {
  margin: 40px auto;
  max-width: 720px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vt-editions-title {
  margin: 0 0 24px;
  font-size: 1.25rem;
  text-align: center;
  color: var(--text);
}

.vt-editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.vt-edition-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.vt-edition-card--beginner {
  background: #fff;
}

.vt-edition-card--pro {
  background: var(--primary-light);
  border-color: var(--primary);
}

.vt-edition-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--text);
}

.vt-edition-card--pro h3 {
  color: var(--primary-dark);
}

.vt-edition-desc {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vt-edition-features {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vt-edition-features li {
  margin-bottom: 6px;
}

.vt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.vt-feature-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.vt-feature-item h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.vt-feature-item p {
  margin: 0;
  font-size: 0.9rem;
}

.vt-comparison-table {
  overflow-x: auto;
}

.vt-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.vt-comparison-table th,
.vt-comparison-table td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--border);
}

.vt-comparison-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.vt-comparison-table tbody tr:nth-child(even) {
  background: rgba(232, 245, 233, 0.3);
}

.footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero-screen-thumb img {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-screens {
    gap: 16px;
  }
  
  .vt-editions-grid {
    grid-template-columns: 1fr;
  }
}

/* 初学版页面特有样式 */
.vt-spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.vt-spec-item {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.vt-spec-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--primary-dark);
}

.vt-spec-item p {
  margin: 0;
  font-size: 0.9rem;
}

.vt-string-table {
  overflow-x: auto;
}

.vt-string-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.vt-string-table th,
.vt-string-table td {
  padding: 12px 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.vt-string-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.vt-string-table tbody tr:nth-child(even) {
  background: rgba(232, 245, 233, 0.3);
}

.vt-cta-box {
  padding: 32px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  text-align: center;
}

.vt-cta-box h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.vt-cta-box p {
  margin: 0 0 24px;
  font-size: 1rem;
}
