/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --primary: #2f4f2f;
  --primary-dark: #1e331e;
  --primary-light: #4a7c59;
  --accent: #c9a962;
  --accent-dark: #a8893f;
  --bg: #faf7f2;
  --bg-alt: #f0ebe3;
  --card: #ffffff;
  --text: #2a2a2a;
  --text-light: #6b6b6b;
  --text-muted: #9a9a9a;
  --border: #e0d8cc;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container: 1200px;
  --spacing: 80px;
  --font-body: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
}
input,
textarea {
  font-family: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--spacing) 0;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  line-height: 1.4;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 98, 0.35);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}
.btn-block {
  width: 100%;
}

/* ===== 板块头部 ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201, 169, 98, 0.15);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 34px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo span {
  color: var(--accent-dark);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}
.main-nav a.active,
.main-nav a:hover {
  background: var(--primary);
  color: #fff;
}
/* 进度步骤导航 */
.progress-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.progress-nav::-webkit-scrollbar {
  display: none;
}
.p-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.p-step .p-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.p-step:hover {
  background: var(--primary);
  color: #fff;
}
.p-line {
  width: 24px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background-image: url("/assets/images/backpic/back-1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 35, 20, 0.95) 35%, rgba(20, 35, 20, 0.75) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid rgba(201, 169, 98, 0.4);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: left;
}
.hero-stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.hero-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
/* 众筹卡片 */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.fund-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.fund-ring {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  position: relative;
}
.fund-ring svg {
  width: 100%;
  height: 100%;
}
.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 6;
}
.ring-fg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 71.88;
  transform: rotate(-90deg);
  transform-origin: center;
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.ring-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.fund-meta {
  flex: 1;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.tier-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  transition: var(--transition);
}
.tier-item:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.tier-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.tier-price {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.tier-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 展示舞台 ===== */
.showcase {
  background: var(--bg);
}
.section-head .sub {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.showcase-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.showcase-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.showcase-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.showcase-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}
.showcase-overlay h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.showcase-overlay p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== 三步上手 ===== */
.steps {
  background: var(--bg-alt);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--accent);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.step-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.step-num-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ===== 评价墙 ===== */
.testimonials {
  background: var(--card);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.t-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.t-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.t-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.t-card blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.t-info strong {
  font-size: 15px;
  color: var(--primary-dark);
  display: block;
}
.t-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 资讯 ===== */
.news {
  background: var(--bg);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.news-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
  border-color: var(--accent);
}
.news-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}
.news-item h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 6px;
  transition: var(--transition);
}
.news-item:hover h3 {
  color: var(--accent-dark);
}
.news-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
.news-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-card ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.sidebar-card ul li:last-child {
  border-bottom: none;
}
.sidebar-card ul li a {
  font-size: 15px;
  color: var(--text-light);
  transition: var(--transition);
}
.sidebar-card ul li a:hover {
  color: var(--accent-dark);
  padding-left: 6px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud a {
  padding: 6px 16px;
  background: var(--bg-alt);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}
.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-alt);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow);
}
.faq-q {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .plus {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 400px;
}

/* ===== 下载引导/茶事指南 ===== */
.guide {
  position: relative;
  background: var(--primary-dark);
  color: #fff;
  overflow: hidden;
}
.guide::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.1);
}
.guide::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}
.guide .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.guide h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 14px;
}
.guide p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 20px;
}
.guide-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.guide-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.guide-feat i {
  color: var(--accent);
  font-weight: 700;
}
.guide-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
}
.guide-form h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}
.guide-form .form-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.guide-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  outline: none;
  transition: var(--transition);
}
.guide-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.guide-form input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}
.guide-form .btn-primary {
  width: 100%;
}
.privacy-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 12px;
}

/* ===== CTA ===== */
.cta {
  background: var(--card);
  text-align: center;
}
.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 28px;
  padding: 56px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.3);
  border: 20px solid rgba(201, 169, 98, 0.1);
}
.cta-box h2 {
  font-size: 30px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-box .btn {
  position: relative;
  z-index: 1;
  margin: 0 8px;
}
.cta-contact {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 14px;
}
.footer-about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root {
    --spacing: 64px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    max-width: 520px;
  }
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .guide .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  :root {
    --spacing: 48px;
  }
  .hero {
    padding: 72px 0 56px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-stats {
    gap: 20px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
  }
  .progress-nav {
    flex-wrap: nowrap;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .cta-box h2 {
    font-size: 24px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 24px;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .fund-wrap {
    flex-direction: column;
    text-align: center;
  }
  .fund-ring {
    margin: 0 auto;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .guide-form {
    padding: 24px;
  }
  .guide h2 {
    font-size: 24px;
  }
  .cta-box .btn {
    width: 100%;
    margin: 6px 0;
  }
  .footer-bottom {
    font-size: 12px;
  }
}
