/* ============================================================
   Larkiro Official Website — global stylesheet (0.3.0)
   主色与桌面应用 theme.css 保持一致（WorkBuddy 绿）
   浅色模式 primary: #00b96b | 深色模式 primary: #00c974
   ============================================================ */

:root {
  --brand: #00b96b;
  --brand-bright: #00c974;
  --brand-deep: #008f53;
  --brand-tint: color-mix(in srgb, #00b96b 10%, #ffffff);

  --ink-900: #141414;
  --ink-700: #2b2b2b;
  --ink-500: #5c5c5c;
  --ink-300: #9a9a9a;
  --paper: #ffffff;
  --paper-soft: #f6faf8;
  --line: #e6ece9;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 60, 40, 0.08);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.nav-links a:hover { color: #fff; }
.lang-toggle {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.72); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-bright); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(0, 201, 116, 0.22), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(0, 185, 107, 0.14), transparent 60%),
    var(--ink-900);
  color: #fff; padding: 64px 0; text-align: center;
  min-height: 75vh; display: flex; align-items: center;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(0, 201, 116, 0.45);
  color: var(--brand-bright); font-size: 13px; margin-bottom: 26px;
}
.hero h1 { font-size: 52px; line-height: 1.15; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--brand-bright), #7ee8b5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { max-width: 640px; margin: 0 auto 40px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: all 0.2s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-bright); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-ghost:hover { border-color: var(--brand-bright); color: var(--brand-bright); }
.hero-note { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.hero-note-highlight {
  font-size: 16px; font-weight: 700; color: var(--brand-bright);
  margin-top: 28px; letter-spacing: 0.3px;
}
.download-options {
  display: flex; gap: 6px 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; font-size: 13px;
}
.download-options a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline dotted; text-underline-offset: 3px;
  transition: color 0.2s;
}
.download-options a:hover { color: var(--brand-bright); }

/* ---------- Section ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--paper-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 12px; }
.section-head p { color: var(--ink-500); font-size: 16px; }

/* ---------- Four Creation Modes ---------- */
.creation-modes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 0;
}
.creation-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.creation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.creation-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 20px;
  background: var(--brand-tint); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.creation-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.creation-card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.65; }

/* ---------- Features (testimonials) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--brand-tint); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- Pricing Grid ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto 20px;
}
.pricing-card-new {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 20px; text-align: center;
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card-new:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card-new.is-recommended {
  border: 2px solid var(--brand);
  box-shadow: 0 8px 24px rgba(0, 185, 107, 0.12);
}
.tier-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 14px; border-radius: 999px; white-space: nowrap;
}
.tier-name {
  color: var(--brand-deep); font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; font-size: 13px; margin-bottom: 8px;
}
.tier-price { font-size: 36px; font-weight: 800; margin-bottom: 4px; }
.tier-credits { color: var(--ink-500); font-size: 14px; margin-bottom: 4px; }
.tier-songs { color: var(--ink-700); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.tier-unit { color: var(--ink-300); font-size: 12.5px; }
.pricing-buy-note {
  text-align: center; font-size: 15px; color: var(--ink-700);
  margin-top: 24px; margin-bottom: 16px;
}
.pricing-buy-note strong { color: var(--brand); font-weight: 600; }
.pricing-refund {
  text-align: center; font-size: 14px; color: var(--ink-500);
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: var(--bg-subtle, #f8f9fa);
  max-width: fit-content;
  margin: 0 auto;
}

/* ---------- 产品截图 ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px; max-width: 1000px; margin: 0 auto;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; display: block;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery figcaption {
  margin-top: 12px; text-align: center;
  color: var(--ink-500); font-size: 14px;
}

/* ---------- 作品展示 ---------- */
.showcase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1080px; margin: 0 auto;
}
.showcase-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.showcase-cover {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.showcase-cover-1 { background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 40%, #52b788 100%); }
.showcase-cover-2 { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 40%, #f97316 100%); }
.showcase-cover-3 { background: linear-gradient(135deg, #312e81 0%, #4338ca 40%, #7c3aed 100%); }
.showcase-play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.showcase-info { padding: 20px 24px 24px; }
.showcase-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.showcase-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.showcase-tags span {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-deep);
  font-size: 12px; font-weight: 600;
}
.showcase-info audio { width: 100%; height: 36px; }
.showcase-info audio::-webkit-media-controls-panel { background: var(--paper-soft); }

/* ---------- Testimonials ---------- */
.testimonial { line-height: 1.7; font-style: italic; color: var(--ink-700); }
.testimonial-author { margin-top: 12px; font-weight: 600; color: var(--brand-deep); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.faq-item p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-bright));
  color: #fff; text-align: center; padding: 72px 24px;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.88; margin-bottom: 30px; }
.cta-band .btn { background: #fff; color: var(--brand-deep); }
.cta-band .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

/* ---------- Footer ---------- */
footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.55); padding: 48px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: flex-end; }
.footer-links a { color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover { color: var(--brand-bright); }
.ai-note {
  margin-top: 24px; padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06); border-left: 3px solid var(--brand-bright);
  border-radius: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.7);
  display: inline-block;
}

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0; }
.legal h1 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--ink-300); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-500); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .creation-modes, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .showcase-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero { min-height: auto; padding: 56px 0 64px; }
  section { padding: 64px 0; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}
