/* ============================================================
   西域甄选官网 — 现代清新生鲜风（Fresh Modern）
   浅色底 · 生鲜绿主色 + 柑橘橙点缀 · 白卡柔和阴影 · 产地感
   ============================================================ */
:root {
  --bg: #f5faf6;
  --bg-2: #eef7f0;
  --card: #ffffff;
  --border: #e2ede6;
  --border-strong: #cfe3d6;
  --border-glow: rgba(23, 163, 74, 0.35);
  --text: #0f2419;
  --text-sub: #4c6b5a;
  --text-dim: #7d9587;
  --ac1: #17a34a;              /* 生鲜绿 */
  --ac2: #f97316;              /* 柑橘橙 */
  --ac3: #0d9488;              /* 青 */
  --grad: linear-gradient(120deg, #2bbd5c 0%, #12924a 100%);
  --grad-warm: linear-gradient(120deg, #fbbf24 0%, #f97316 100%);
  --grad-soft: linear-gradient(120deg, rgba(43,189,92,.10), rgba(13,148,136,.10));
  --glow: 0 8px 22px rgba(23, 163, 74, 0.22);
  --shadow-sm: 0 2px 8px rgba(15, 36, 25, 0.05);
  --shadow: 0 10px 30px rgba(15, 36, 25, 0.07);
  --shadow-hover: 0 18px 44px rgba(15, 36, 25, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 全局氛围：淡绿光晕 + 细网格 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 88% -6%, rgba(43, 189, 92, 0.14), transparent 62%),
    radial-gradient(560px 420px at -8% 22%, rgba(251, 191, 36, 0.10), transparent 62%),
    radial-gradient(680px 500px at 108% 78%, rgba(13, 148, 136, 0.08), transparent 62%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
::selection { background: rgba(43, 189, 92, 0.22); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { height: 42px; width: 42px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b {
  font-size: 20px; font-weight: 800; letter-spacing: .5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-txt span { font-size: 11.5px; color: var(--text-dim); letter-spacing: 1.4px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav a {
  padding: 8px 15px; border-radius: 10px; font-size: 15px; color: var(--text-sub); transition: .2s;
}
.main-nav a:hover { color: var(--ac1); background: var(--bg-2); }
.main-nav a.active { color: var(--ac1); font-weight: 700; }
.nav-cta {
  background: var(--grad) !important; color: #fff !important; font-weight: 700;
  padding: 9px 20px !important; border-radius: 24px !important;
  box-shadow: var(--glow); transition: .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(23, 163, 74, 0.32); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 26px;
  font-size: 15px; font-weight: 600; transition: .22s; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(23, 163, 74, 0.32); }
.btn-accent {
  background: #fff; color: var(--ac2); border-color: rgba(249, 115, 22, 0.4);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: #fff7ed; transform: translateY(-2px); border-color: var(--ac2); }
.btn-outline { background: #fff; color: var(--text-sub); border-color: var(--border-strong); }
.btn-outline:hover { color: var(--ac1); border-color: var(--ac1); transform: translateY(-2px); }

/* ---------- 首屏 Hero ---------- */
.hero { position: relative; padding: 84px 0 74px; overflow: hidden; }
/* 细网格 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 163, 74, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 163, 74, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 92% 84% at 50% 0%, #000 32%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 84% at 50% 0%, #000 32%, transparent 78%);
}
/* 田园光晕 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 300px at 80% 16%, rgba(43, 189, 92, 0.16), transparent 66%),
    radial-gradient(380px 300px at 12% 74%, rgba(251, 191, 36, 0.13), transparent 66%);
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1; animation: rise .7s ease both; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-strong);
  color: var(--ac1); font-size: 13.5px; padding: 6px 16px; border-radius: 20px; margin-bottom: 22px;
  font-weight: 600; letter-spacing: .6px; box-shadow: var(--shadow-sm);
}
.hero-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ac1); box-shadow: 0 0 0 4px rgba(43, 189, 92, 0.15);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px); line-height: 1.2; font-weight: 800;
  letter-spacing: .5px; margin-bottom: 20px;
  background: linear-gradient(120deg, #0f2419 25%, #17a34a 85%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: 17px; color: var(--text-sub); margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-qr { flex-shrink: 0; text-align: center; animation: rise .7s .12s ease both; }
.hero-qr svg, .hero-qr img {
  width: 176px; height: 176px; border-radius: 18px; background: #fff;
  box-shadow: var(--shadow);
}
.hero-qr p { margin-top: 14px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- 数据条 ---------- */
.stats { padding: 8px 0 26px; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat { text-align: center; padding: 30px 16px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.stat b {
  display: block; font-size: 34px; font-weight: 800; letter-spacing: .5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat:nth-child(even) b { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13px; color: var(--text-dim); }

/* ---------- 区块 ---------- */
.section { padding: 76px 0; position: relative; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(120deg, #0f2419 35%, #17a34a 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head p { margin-top: 10px; color: var(--text-dim); font-size: 15.5px; }
.section-head::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0;
  border-radius: 3px; background: var(--grad);
}

/* ---------- 图标（柔和色块） ---------- */
.ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e9f9ee, #d6f2e0);
  border: 1px solid #c8e9d5;
  color: var(--ac1);
  margin: 0 auto 18px; transition: .25s;
}
.ico svg { width: 28px; height: 28px; }
.ico.cyan {
  color: var(--ac3);
  background: linear-gradient(135deg, #e4f7f6, #d0efec);
  border-color: #c2e6e2;
}
.ico.violet {
  color: var(--ac2);
  background: linear-gradient(135deg, #fff3e3, #ffe6cc);
  border-color: #ffd9b3;
}

/* ---------- 平台模式 Flow ---------- */
.flow { display: flex; align-items: stretch; gap: 10px; }
.flow-step {
  flex: 1; text-align: center; padding: 34px 20px 30px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: .25s;
}
.flow-step:hover {
  transform: translateY(-6px); border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
.flow-step:hover .ico { transform: scale(1.06); }
.flow-step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.flow-step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.75; }
.flow-arrow { align-self: center; flex-shrink: 0; color: var(--ac1); opacity: .5; }
.flow-arrow svg { width: 22px; height: 22px; display: block; }

/* ---------- 品类（行业感） ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 12px; text-align: center; transition: .25s; box-shadow: var(--shadow-sm);
}
.cat:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.cat .ico { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.cat .ico svg { width: 26px; height: 26px; }
.cat b { display: block; font-size: 15px; font-weight: 700; }
.cat span { font-size: 12.5px; color: var(--text-dim); }

/* ---------- 招商卡片 ---------- */
.join-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.join-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: .25s; display: flex; flex-direction: column;
}
.join-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-hover); }
.join-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.join-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 18px; }
.join-card ul { list-style: none; text-align: left; margin: 0 0 26px; flex: 1; }
.join-card li {
  font-size: 13.5px; color: var(--text-sub); padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px dashed var(--border);
}
.join-card li::before {
  content: "✓"; position: absolute; left: 2px; top: 7px; color: var(--ac1); font-weight: 700;
}
.join-card .btn { align-self: center; }

/* ---------- FAQ ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 {
  font-size: 20px; margin: 36px 0 14px; color: var(--text);
  padding-left: 12px; border-left: 3px solid var(--ac1);
}
.prose > p { color: var(--text-sub); margin-bottom: 12px; font-size: 15px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; transition: .2s; box-shadow: var(--shadow-sm);
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer; padding: 17px 20px; font-size: 15.5px; font-weight: 600; color: var(--text);
  list-style: none; position: relative; padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ac1); font-size: 20px; font-weight: 400; transition: .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 20px 17px; font-size: 14px; color: var(--text-sub); }
.faq-body a { color: var(--ac3); }

/* ---------- Tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 11px 26px; border-radius: 24px; font-size: 15px; cursor: pointer;
  background: #fff; border: 1px solid var(--border); color: var(--text-sub);
  transition: .2s; font-family: inherit;
}
.tab-btn:hover { color: var(--ac1); border-color: var(--border-strong); }
.tab-btn.active {
  background: var(--grad); color: #fff; font-weight: 700; border-color: transparent;
  box-shadow: var(--glow);
}
.tab-panel { display: none; animation: rise .4s ease both; }
.tab-panel.active { display: block; }

/* ---------- 条件卡 / 步骤 ---------- */
.cond {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; margin: 18px 0; box-shadow: var(--shadow-sm);
}
.cond h4 { font-size: 16px; margin-bottom: 12px; color: var(--ac1); display: flex; align-items: center; gap: 8px; }
.cond h4::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg);
}
.cond ul { list-style: none; }
.cond li { font-size: 14px; color: var(--text-sub); padding: 6px 0 6px 24px; position: relative; }
.cond li::before { content: "✓"; position: absolute; left: 2px; color: var(--ac1); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; position: relative; transition: .25s; box-shadow: var(--shadow-sm);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  width: 40px; height: 40px; line-height: 40px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px; box-shadow: var(--glow);
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--text-dim); }

/* ---------- 报名表单 ---------- */
.lead-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 22px; max-width: 980px; margin: 0 auto; }
.lead-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row > label { display: block; font-size: 13.5px; color: var(--text-sub); margin-bottom: 8px; }
.form-row label em { color: #ef4444; font-style: normal; margin-left: 2px; }
.form-row input, .form-row textarea {
  width: 100%; background: #fbfdfb; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); color: var(--text); font-size: 14.5px; padding: 12px 15px;
  transition: .2s; font-family: inherit; resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-dim); }
.form-row input:focus, .form-row textarea:focus {
  outline: none; background: #fff; border-color: var(--ac1);
  box-shadow: 0 0 0 3px rgba(43, 189, 92, 0.14);
}
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-group label {
  flex: 1; min-width: 120px; text-align: center; cursor: pointer;
  background: #fbfdfb; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 11px 10px; font-size: 14px; color: var(--text-sub);
  transition: .2s; margin: 0;
}
.radio-group label:has(input:checked) {
  border-color: var(--ac1); color: var(--ac1); font-weight: 600;
  background: #ecfaf1; box-shadow: 0 0 0 3px rgba(43, 189, 92, 0.10);
}
.radio-group input { display: none; }
.form-tip { min-height: 20px; font-size: 13px; color: #ef4444; margin-bottom: 10px; }

.lead-side { display: flex; flex-direction: column; gap: 14px; }
.side-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; flex: 1; box-shadow: var(--shadow-sm);
}
.side-card h4 { font-size: 15px; color: var(--ac3); margin-bottom: 8px; }
.side-card p { font-size: 13px; color: var(--text-dim); }

/* ---------- 成功弹层 ---------- */
.success-mask {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 36, 25, 0.55); backdrop-filter: blur(6px);
}
.success-mask.show { display: flex; }
.success-box {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 44px 40px; text-align: center; max-width: 380px; width: calc(100% - 40px);
  box-shadow: 0 24px 60px rgba(15, 36, 25, 0.25);
  animation: rise .35s ease both;
}
.success-box .ico { margin-bottom: 16px; }
.success-box h3 { font-size: 20px; margin-bottom: 10px; }
.success-box p { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.about-grid .cell {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: .25s; box-shadow: var(--shadow-sm);
}
.about-grid .cell:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.about-grid .cell h4 { font-size: 16px; margin-bottom: 8px; color: var(--ac1); }
.about-grid .cell p { font-size: 13.5px; color: var(--text-dim); }

/* ---------- 页脚（深绿 · 田园感） ---------- */
.site-footer {
  background: linear-gradient(160deg, #0d2c1d 0%, #123a25 100%);
  border-top: none; padding: 56px 0 0; margin-top: 40px; color: #e8f2ec;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { font-size: 15.5px; margin-bottom: 14px; color: #fff; }
.site-footer p, .site-footer a { font-size: 13.5px; color: #a8c4b3; line-height: 2.1; display: inline-block; }
.site-footer a:hover { color: #6ee7a3; }
.site-footer .footer-inner a { display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; }
.footer-bottom a { color: #8fae9c !important; display: inline !important; }
.footer-bottom a:hover { color: #6ee7a3 !important; }

/* ---------- 动效 ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); margin: 2px auto; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .join-cards, .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lead-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 4px;
    border-bottom: 1px solid var(--border); display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 560px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 56px; }
  .hero-qr svg, .hero-qr img { width: 150px; height: 150px; }
  .logo-txt span { display: none; }
}
