/* ============================================================
   nantongpian.net.cn — 设计系统
   「琥珀光影」Amber Light
   光影不说谎 · 情感在暖光中显影
   ============================================================ */

*, *::before, *::after {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  color-scheme:light;
}

body {
  font-family:system-ui, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  overflow-x:hidden;
  background:#faf6f1;
  color:#2d2a26;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

::selection {
  background:#ff5c39;
  color:#fff;
}

::-webkit-scrollbar {
  width:8px;
  height:8px;
}
::-webkit-scrollbar-track {
  background:#f2ece4;
}
::-webkit-scrollbar-thumb {
  background:linear-gradient(180deg,#ffb98a,#ff7a4d);
  border-radius:8px;
}

.container {
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.section {
  padding:100px 0;
  position:relative;
}

.section:nth-child(even) {
  background:#fdf7f3;
}

/* ==================== 导航 ==================== */

.site-header {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(250,246,241,0.88);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(231,226,218,0.6);
  transition:box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow:0 8px 30px rgba(120,80,50,0.06);
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.logo {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:1.2rem;
  text-decoration:none;
  color:#2d2a26;
  letter-spacing:0.5px;
  transition:opacity .25s;
}

.logo:hover {
  opacity:0.85;
}

.logo-icon {
  width:40px;
  height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.95rem;
  background:linear-gradient(135deg,#ff7a4d 0%,#ffb02e 100%);
  color:#fff;
  box-shadow:0 6px 16px rgba(255,122,77,0.32);
  transition:transform .3s ease;
}

.logo:hover .logo-icon {
  transform:rotate(8deg) scale(1.05);
}

.main-nav {
  display:flex;
  align-items:center;
  gap:34px;
  list-style:none;
}

.main-nav a {
  text-decoration:none;
  font-size:0.92rem;
  font-weight:500;
  color:#4d463f;
  position:relative;
  padding:6px 0;
  letter-spacing:0.4px;
  transition:color .25s ease;
}

.main-nav a::after {
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:0;
  border-radius:2px;
  background:linear-gradient(90deg,#ff5c39,#ffb02e);
  transition:width .3s ease;
}

.main-nav a:hover {
  color:#ff5c39;
}

.main-nav a:hover::after {
  width:100%;
}

.nav-cta {
  padding:10px 22px !important;
  border-radius:999px;
  color:#fff !important;
  font-weight:600;
  background:linear-gradient(135deg,#ff5c39,#ff7a4d);
  box-shadow:0 4px 14px rgba(255,92,57,0.28);
  transition:all .25s ease;
}

.nav-cta::after {
  display:none;
}

.nav-cta:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(255,92,57,0.34);
  color:#fff !important;
}

.menu-toggle {
  display:none;
  background:none;
  border:none;
  width:44px;
  height:44px;
  font-size:1.4rem;
  color:#2d2a26;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

.menu-toggle span {
  display:block;
  width:20px;
  height:2px;
  background:#2d2a26;
  margin:4px auto;
  border-radius:2px;
  transition:all .3s;
}

/* ==================== Hero ==================== */

.hero {
  min-height:92vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  text-align:center;
  padding:140px 0 80px;
  position:relative;
  overflow:hidden;
}

.hero::before {
  content:'';
  position:absolute;
  top:-280px;
  left:50%;
  transform:translateX(-50%);
  width:940px;
  height:940px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,183,140,0.38) 0%, rgba(255,183,140,0) 68%);
  pointer-events:none;
  z-index:0;
}

.hero::after {
  content:'';
  position:absolute;
  bottom:-160px;
  right:-100px;
  width:480px;
  height:480px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,176,46,0.12) 0%, rgba(255,176,46,0) 70%);
  pointer-events:none;
  z-index:0;
}

.hero-content {
  flex:0 0 100%;
  max-width:100%;
  margin:0 auto;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero-eyebrow {
  display:inline-block;
  font-size:0.82rem;
  font-weight:700;
  padding:8px 22px;
  border-radius:999px;
  margin-bottom:22px;
  background:linear-gradient(135deg, rgba(255,92,57,0.12), rgba(255,176,46,0.18));
  color:#e55430;
  letter-spacing:2px;
  backdrop-filter:blur(4px);
}

.hero h1 {
  font-size:3.4rem;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-1.5px;
  color:#2d2a26;
  margin-bottom:20px;
}

.hero h1 span {
  background:linear-gradient(135deg,#ff5c39 30%,#ffb02e 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p {
  font-size:1.08rem;
  color:#5d554e;
  opacity:0.75;
  max-width:560px;
  margin-bottom:34px;
  line-height:1.8;
}

.hero-buttons {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

.hero-image {
  position:relative;
  z-index:2;
  border-radius:28px;
  overflow:hidden;
  max-width:900px;
  width:100%;
  margin-top:54px;
  flex:0 1 900px;
  box-shadow:0 30px 60px -18px rgba(180,110,70,0.22);
}

.hero-image::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 62%, rgba(250,246,241,0.6) 100%);
  z-index:1;
  pointer-events:none;
}

.hero-image::after {
  content:'';
  position:absolute;
  top:-40px;
  right:-40px;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(255,176,46,0.35), transparent 70%);
  border-radius:50%;
  z-index:0;
  pointer-events:none;
}

.hero-image img {
  width:100%;
  height:auto;
  display:block;
  border-radius:28px;
  position:relative;
  z-index:0;
}

/* ==================== 按钮 ==================== */

.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 30px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  border:none;
  text-decoration:none;
  transition:all .25s cubic-bezier(0.22,1,0.36,1);
}

.btn-primary {
  background:linear-gradient(135deg,#ff5c39,#ff7a4d);
  color:#fff;
  box-shadow:0 6px 18px rgba(255,92,57,0.28);
}

.btn-primary:hover {
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(255,92,57,0.36);
}

.btn-outline {
  background:transparent;
  border:2px solid #2d2a26;
  color:#2d2a26;
}

.btn-outline:hover {
  border-color:#ff5c39;
  color:#ff5c39;
  transform:translateY(-3px);
  background:rgba(255,92,57,0.04);
}

/* ==================== 标签/标题 ==================== */

.section-label {
  display:inline-block;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:3px;
  margin-bottom:14px;
  padding:7px 18px;
  border-radius:999px;
  background:#ffe8db;
  color:#e55430;
  text-transform:uppercase;
}

.section-title {
  font-size:2.5rem;
  font-weight:800;
  color:#2d2a26;
  line-height:1.25;
  letter-spacing:-1px;
  margin-bottom:14px;
}

.section-desc {
  max-width:600px;
  color:#5d554e;
  opacity:0.75;
  margin-bottom:44px;
  line-height:1.75;
  font-size:1.02rem;
}

.text-center .section-desc {
  margin-left:auto;
  margin-right:auto;
}

/* ==================== 卡片网格 ==================== */

.cards-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:24px;
}

.category-card {
  border-radius:24px;
  padding:30px 26px;
  border:1px solid #efe7df;
  background:#fffefb;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}

.category-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,#ff5c39,#ffb02e);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s ease;
}

.category-card:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(180,100,60,0.1);
  border-color:#ffd9bf;
}

.category-card:hover::before {
  transform:scaleX(1);
}

.category-card h3 {
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:8px;
  color:#2d2a26;
}

.category-card p {
  font-size:0.88rem;
  color:#8d837a;
  margin-bottom:16px;
  line-height:1.6;
}

.card-icon {
  width:52px;
  height:52px;
  border-radius:16px;
  background:#ffe8db;
  color:#ff5c39;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  font-size:1.3rem;
  transition:all .3s ease;
}

.category-card:hover .card-icon {
  background:linear-gradient(135deg,#ff5c39,#ff7a4d);
  color:#fff;
  box-shadow:0 6px 16px rgba(255,92,57,0.2);
}

.card-link {
  font-weight:700;
  font-size:0.9rem;
  color:#ff5c39;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:color .2s;
}

.card-link::after {
  content:'→';
  transition:transform .25s;
}

.card-link:hover {
  color:#e55430;
}

.card-link:hover::after {
  transform:translateX(4px);
}

/* ==================== 特性块 ==================== */

.feature-block {
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:60px;
  align-items:center;
}

.feature-image {
  border-radius:28px;
  overflow:hidden;
  position:relative;
  box-shadow:0 28px 56px -18px rgba(180,100,60,0.18);
}

.feature-image::after {
  content:'';
  position:absolute;
  inset:0;
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.3);
  pointer-events:none;
}

.feature-image img {
  width:100%;
  height:auto;
  display:block;
  transition:transform .6s ease;
}

.feature-image:hover img {
  transform:scale(1.03);
}

.feature-text {
  position:relative;
}

.feature-list {
  list-style:none;
  margin-top:20px;
}

.feature-list li {
  padding:9px 0;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:0.98rem;
  color:#4d463f;
  font-weight:500;
}

.feature-list li::before {
  content:'';
  width:10px;
  height:10px;
  flex:0 0 10px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff5c39,#ffb02e);
  box-shadow:0 2px 6px rgba(255,92,57,0.3);
}

/* ==================== 数据条 ==================== */

.stats-bar {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}

.stat-item {
  padding:38px 20px;
  border-radius:24px;
  border:1px solid #efe7df;
  background:#fffefb;
  position:relative;
  overflow:hidden;
  transition:all .3s ease;
}

.stat-item::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#ff5c39,#ffb02e);
  transform:scaleX(0);
  transition:transform .3s ease;
}

.stat-item:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(180,100,60,0.09);
}

.stat-item:hover::after {
  transform:scaleX(1);
}

.stat-number {
  font-size:2.8rem;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-1px;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(135deg,#ff5c39,#ffb02e);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.stat-label {
  font-size:0.9rem;
  opacity:0.6;
  margin-top:8px;
  color:#5d554e;
  font-weight:500;
  letter-spacing:1px;
}

/* ==================== 内容墙 ==================== */

.content-wall {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
}

.content-wall-item {
  border-radius:24px;
  overflow:hidden;
  border:1px solid #efe7df;
  background:#fffefb;
  transition:all .3s ease;
}

.content-wall-item:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(180,100,60,0.12);
  border-color:#ffd9bf;
}

.content-wall-item img {
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}

.content-wall-item:hover img {
  transform:scale(1.04);
}

.content-wall-body {
  padding:22px 24px 26px;
}

.content-wall-body h3 {
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:8px;
  color:#2d2a26;
}

.content-wall-body p {
  font-size:0.85rem;
  color:#8d837a;
  margin-bottom:14px;
  line-height:1.6;
}

.content-wall-body a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:0.85rem;
  font-weight:700;
  color:#ff5c39;
  text-decoration:none;
  transition:color .2s;
}

.content-wall-body a:hover {
  color:#e55430;
}

/* ==================== FAQ ==================== */

.faq-list {
  max-width:800px;
  margin:0 auto;
}

.faq-item {
  border:1px solid #efe7df;
  border-radius:18px;
  background:#fffefb;
  margin-bottom:10px;
  overflow:hidden;
  cursor:pointer;
  transition:all .3s ease;
}

.faq-item:hover {
  border-color:#ffd9bf;
}

.faq-item.open {
  border-color:#ffb98a;
  box-shadow:0 8px 24px rgba(180,100,60,0.08);
}

.faq-question {
  padding:20px 24px;
  font-weight:700;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#2d2a26;
  font-size:1rem;
  letter-spacing:0.3px;
}

.faq-question::after {
  content:'+';
  font-size:1.4rem;
  font-weight:500;
  color:#ff5c39;
  transition:transform .3s ease;
}

.faq-item.open .faq-question::after {
  transform:rotate(45deg);
}

.faq-answer {
  padding:0 24px 20px;
  display:none;
  opacity:0.75;
  color:#5d554e;
  line-height:1.8;
  font-size:0.95rem;
}

.faq-item.open .faq-answer {
  display:block;
  animation:answerFade .4s ease;
}

@keyframes answerFade {
  from { opacity:0; transform:translateY(-6px); }
  to { opacity:0.75; transform:translateY(0); }
}

/* ==================== CTA 横幅 ==================== */

.cta-banner {
  padding:70px 48px;
  text-align:center;
  border-radius:32px;
  background:linear-gradient(135deg,#ff7a4d 0%,#ff5c39 60%,#e8452a 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(232,69,42,0.4);
}

.cta-banner::before {
  content:'';
  position:absolute;
  top:-160px;
  right:-80px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:rgba(255,255,255,0.12);
}

.cta-banner::after {
  content:'';
  position:absolute;
  bottom:-120px;
  left:-40px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
}

.cta-banner h2 {
  color:#fff !important;
  font-size:2.3rem;
  font-weight:800;
  letter-spacing:-1px;
  position:relative;
  margin-bottom:12px;
}

.cta-banner p {
  position:relative;
  color:rgba(255,255,255,0.9);
  max-width:480px;
  margin:0 auto 30px;
  font-size:1.02rem;
  line-height:1.7;
}

.cta-banner .btn-primary {
  background:#fff;
  color:#ff5c39;
  position:relative;
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.cta-banner .btn-primary:hover {
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(0,0,0,0.2);
  background:#fff8f5;
}

/* ==================== 页脚 ==================== */

.site-footer {
  padding:64px 0 28px;
  background:#f3ebe3;
  border-top:1px solid #eee5dc;
  margin-top:24px;
  position:relative;
}

.site-footer::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,#ff5c39,#ffb02e);
}

.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
}

.footer-brand .logo {
  font-size:1.1rem;
  margin-bottom:10px;
}

.footer-brand p {
  font-size:0.92rem;
  opacity:0.65;
  color:#5d554e;
  max-width:260px;
  line-height:1.7;
}

.footer-col h4 {
  font-size:1rem;
  font-weight:700;
  margin-bottom:18px;
  color:#2d2a26;
}

.footer-col a {
  display:block;
  font-size:0.9rem;
  color:#5d554e;
  text-decoration:none;
  margin-bottom:10px;
  transition:all .2s ease;
  width:fit-content;
}

.footer-col a:hover {
  color:#ff5c39;
  transform:translateX(4px);
}

.footer-bottom {
  border-top:1px solid #ddd2c8;
  margin-top:40px;
  padding-top:24px;
  text-align:center;
  font-size:0.85rem;
  color:#8d837a;
}

/* ==================== 工具类 ==================== */

.text-accent {
  color:#ff5c39;
}

.text-center {
  text-align:center;
}

.seo-description {
  max-width:600px;
  margin:0 auto 48px;
  opacity:0.75;
  color:#5d554e;
  line-height:1.8;
}

.mt-0 {
  margin-top:0;
}

.mb-0 {
  margin-bottom:0;
}

/* ==================== 响应式 ==================== */

@media (max-width: 768px) {

  .feature-block {
    grid-template-columns:1fr;
    gap:40px;
  }

  .stats-bar {
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:32px;
  }

  .main-nav {
    display:none;
    position:absolute;
    top:76px;
    left:0;
    width:100%;
    background:#fffefb;
    padding:20px 24px 28px;
    gap:4px;
    border-bottom:1px solid #efe7df;
    box-shadow:0 24px 48px rgba(0,0,0,0.07);
  }

  .main-nav.open {
    display:flex;
    flex-direction:column;
  }

  .main-nav a {
    width:100%;
    padding:11px 0;
    font-size:1rem;
    border-bottom:1px solid #f5efe8;
  }

  .main-nav a::after {
    display:none;
  }

  .nav-cta {
    width:100%;
    text-align:center;
    justify-content:center;
    margin-top:14px;
    border-bottom:none !important;
  }

  .menu-toggle {
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .hero {
    min-height:80vh;
    padding-top:120px;
  }

  .hero h1 {
    font-size:2.4rem;
  }

  .hero-image {
    margin-top:38px;
  }

  .section {
    padding:72px 0;
  }

  .section-title {
    font-size:2.1rem;
  }

  .cta-banner {
    padding:50px 28px;
  }

  .cta-banner h2 {
    font-size:1.8rem;
  }
}

@media (max-width: 480px) {

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns:1fr;
  }

  .footer-grid {
    grid-template-columns:1fr;
  }

  .hero-buttons {
    flex-direction:column;
    align-items:stretch;
    width:100%;
    max-width:320px;
  }

  .hero {
    padding-top:104px;
  }

  .hero h1 {
    font-size:2rem;
  }

  .hero p {
    font-size:1rem;
  }

  .header-inner {
    height:64px;
  }

  .main-nav {
    top:64px;
  }

  .section-title {
    font-size:1.8rem;
  }

  .stat-number {
    font-size:2.2rem;
  }

  .content-wall-item img {
    height:200px;
  }

  .cta-banner {
    border-radius:20px;
    padding:42px 20px;
  }

  .cta-banner h2 {
    font-size:1.6rem;
  }
}