/* ============================================================
   聚星小喇叭 — PC 落地页 设计系统
   风格: Neobrutalism | 色系: 暖米+橙红+蓝 | 字体: Righteous+Poppins
   画布基准: 1440px | 自适应响应式 + 等比缩放
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Brand Colors */
  --c-cream:    #fef6e8;
  --c-red:      #e84328;
  --c-blue:     #2b7be4;
  --c-dark:     #1a1a1a;
  --c-card-bg:  #ffffff;
  --c-border:   #212121;

  /* Text Colors */
  --t-dark:     #222222;
  --t-mid:      #666666;
  --t-light:    #888888;
  --t-lighter:  #999999;
  --t-on-dark:  #ffffff;
  --t-on-dark-sub: #aaaaaa;
  --t-on-red:   #ffe4d6;

  /* Functional Accent */
  --c-green:    #22c55e;
  --c-purple:   #8b5cf6;

  /* Spacing System */
  --s-xxs: 4px;
  --s-xs:  8px;
  --s-sm:  12px;
  --s-md:  16px;
  --s-lg:  20px;
  --s-xl:  24px;
  --s-2xl: 28px;
  --s-3xl: 32px;
  --s-4xl: 40px;
  --s-5xl: 48px;
  --s-6xl: 60px;
  --s-7xl: 80px;

  /* Border */
  --bw:     3px;

  /* Shadow */
  --shadow: 4px 4px 0 var(--c-border);

  /* Radius */
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   16px;
  --r-pill: 50px;

  /* Scale */
  --scale: 1;
  --base-w: 1440;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #111;
  color: var(--t-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Page Wrapper: maintains 1440px baseline, scales proportionally --- */
.page-wrapper {
  width: 1440px;
  transform-origin: top center;
  transform: scale(var(--scale));
  margin: 0 auto;
  background: var(--c-cream);
}

/* --- Typography --- */
.h-fancy {
  font-family: 'Righteous', cursive;
  font-weight: 400;
}

.h-body {
  font-family: 'Poppins', sans-serif;
}

/* --- Section Common --- */
.section {
  width: 100%;
  padding-left: var(--s-6xl);
  padding-right: var(--s-6xl);
}

.section-pad {
  padding-top: var(--s-7xl);
  padding-bottom: var(--s-7xl);
}

.section-gap {
  display: flex;
  flex-direction: column;
  gap: var(--s-5xl);
}

/* --- Section Header: 胶囊标签 + 标题 + 描述 --- */
.sec-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
  text-align: center;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-cream);
}

.sec-tag.dark-sec {
  background: var(--c-card-bg);
}

.sec-tag span {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-red);
  font-family: 'Poppins', sans-serif;
}

.sec-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--t-dark);
  font-family: 'Righteous', cursive;
  letter-spacing: 0.02em;
}

.sec-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--t-light);
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: var(--bw) solid var(--c-border);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-border);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow);
}

/* Primary — Red */
.btn-primary {
  background: var(--c-red);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary.large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-primary.xl {
  padding: 18px 44px;
  font-size: 18px;
}

/* Secondary — Blue */
.btn-secondary {
  background: var(--c-blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary.large {
  padding: 16px 36px;
  font-size: 16px;
}

/* Outline — Dark */
.btn-outline {
  background: var(--c-dark);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: #fff;
  box-shadow: none;
}

/* Ghost — for header CTA */
.btn-ghost {
  padding: 12px 28px;
  font-size: 14px;
  background: var(--c-red);
  color: #fff;
  border: var(--bw) solid var(--c-border);
  border-radius: var(--r-pill);
  font-weight: 700;
}

/* --- Card --- */
.card {
  background: var(--c-card-bg);
  border: var(--bw) solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

/* --- Neobrutalism Glow Button (CTA Section) --- */
.btn-glow {
  background: var(--c-red);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  padding: 18px 44px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(232,67,40,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-glow:hover {
  box-shadow: 0 8px 30px rgba(232,67,40,0.7);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION 1 — HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: var(--c-cream);
  padding: 0 var(--s-6xl);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-red);
  border: var(--bw) solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 20px;
}

.logo-text {
  font-family: 'Righteous', cursive;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--t-light);
  transition: color 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--t-dark);
}

/* ============================================================
   SECTION 2 — HERO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  gap: var(--s-6xl);
  height: 680px;
  padding: var(--s-7xl) var(--s-6xl);
  background: var(--c-dark);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-2xl);
  flex: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--c-red);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.hero-title {
  font-family: 'Righteous', cursive;
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.hero-brand {
  font-size: 22px;
  font-weight: 600;
  color: var(--c-red);
}

.hero-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--t-on-dark-sub);
  line-height: 1.6;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: var(--s-md);
}

.hero-trust {
  font-size: 14px;
  font-weight: 500;
  color: var(--t-on-dark-sub);
  margin-top: var(--s-xs);
}

.hero-right {
  flex: 0 0 580px;
  height: 480px;
  background: #2a2a2a;
  border: 4px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 rgba(232,67,40,0.4);
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SECTION 3 — STATS
   ============================================================ */
.stats {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 200px;
  background: var(--c-red);
  padding: 0 var(--s-6xl);
  border-top: var(--bw) solid var(--c-border);
  border-bottom: var(--bw) solid var(--c-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xs);
}

.stat-num {
  font-family: 'Righteous', cursive;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--t-on-red);
}

.stat-divider {
  width: 2px;
  height: 80px;
  background: rgba(255,255,255,0.3);
}

/* ============================================================
   SECTION 4 — FEATURES
   ============================================================ */
.features {
  background: var(--c-cream);
}

.feat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
}

.feat-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-3xl);
  gap: var(--s-md);
}

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
}

.feat-icon.red { background: var(--c-red); }
.feat-icon.blue { background: var(--c-blue); }

.feat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feat-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--t-dark);
}

.feat-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--t-mid);
  line-height: 1.6;
}

/* ============================================================
   SECTION 5 — INDUSTRY
   ============================================================ */
.industry {
  background: var(--c-card-bg);
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--s-lg);
}

.ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  height: 160px;
  padding: var(--s-xl);
  background: var(--c-cream);
  border: var(--bw) solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ind-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--c-border);
}

.ind-emoji {
  font-size: 40px;
  line-height: 1;
}

.ind-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--t-dark);
}

/* ============================================================
   SECTION 6 — TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--c-cream);
}

.testi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}

.testi-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-3xl);
  gap: var(--s-md);
}

.testi-stars {
  font-size: 18px;
  line-height: 1;
}

.testi-quote {
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  margin-top: auto;
}

.testi-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
}

.testi-avatar.red { background: var(--c-red); }
.testi-avatar.blue { background: var(--c-blue); }
.testi-avatar.purple { background: var(--c-purple); }

.testi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--t-dark);
}

.testi-role {
  font-size: 13px;
  font-weight: 400;
  color: var(--t-lighter);
}

/* ============================================================
   SECTION 7 — HOW IT WORKS
   ============================================================ */
.how {
  background: var(--c-card-bg);
}

.how-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3xl);
}

.how-col {
  display: flex;
  flex-direction: column;
  padding: 36px;
  gap: var(--s-xl);
  background: var(--c-cream);
  border: var(--bw) solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.how-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.how-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  font-size: 24px;
}

.how-col-icon.red { background: var(--c-red); }
.how-col-icon.blue { background: var(--c-blue); }

.how-col-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--t-dark);
}

.how-step {
  display: flex;
  align-items: center;
  gap: var(--s-md);
}

.how-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: var(--bw) solid var(--c-border);
  color: #fff;
  font-family: 'Righteous', cursive;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

.how-step-num.red { background: var(--c-red); }
.how-step-num.blue { background: var(--c-blue); }

.how-step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.how-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--t-dark);
}

.how-step-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--t-light);
  line-height: 1.5;
}

/* ============================================================
   SECTION 8 — FAQ
   ============================================================ */
.faq {
  background: var(--c-cream);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: var(--s-xl);
  gap: var(--s-xs);
}

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--t-dark);
}

.faq-a {
  font-size: 14px;
  font-weight: 400;
  color: var(--t-mid);
  line-height: 1.6;
}

/* ============================================================
   SECTION 9 — CTA
   ============================================================ */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-xl);
  height: 360px;
  background: var(--c-dark);
  padding: var(--s-7xl) var(--s-6xl);
}

.cta-title {
  font-family: 'Righteous', cursive;
  font-size: 48px;
  font-weight: 900;
  color: #fff;
}

.cta-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--t-on-dark-sub);
}

.cta-btns {
  display: flex;
  gap: var(--s-md);
}

.cta-trust {
  font-size: 14px;
  font-weight: 400;
  color: var(--t-light);
  margin-top: var(--s-xs);
}

/* ============================================================
   SECTION 10 — FOOTER
   ============================================================ */
.footer {
  display: flex;
  flex-direction: column;
  gap: var(--s-4xl);
  padding: var(--s-6xl) var(--s-6xl) var(--s-4xl);
  background: var(--c-dark);
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--c-red);
  border-radius: var(--r-sm);
  font-size: 18px;
}

.footer-logo-text {
  font-family: 'Righteous', cursive;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 400;
  color: var(--t-light);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--s-6xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.footer-col a {
  font-size: 13px;
  font-weight: 400;
  color: var(--t-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-lg);
  border-top: 1px solid #333;
}

.footer-copy,
.footer-icp {
  font-size: 12px;
  font-weight: 400;
  color: var(--t-mid);
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .page-wrapper { width: 100%; }

  .header { padding: 0 var(--s-xl); }
  .nav-links { gap: var(--s-lg); }

  .hero {
    flex-direction: column;
    height: auto;
    padding: var(--s-5xl) var(--s-xl);
    gap: var(--s-4xl);
  }
  .hero-left { max-width: 100%; }
  .hero-title { font-size: 48px; }
  .hero-right { flex: none; width: 100%; height: 320px; }

  .stats { padding: 0 var(--s-xl); }
  .stat-num { font-size: 36px; }

  .feat-cards { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .testi-cards { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .how-cols { grid-template-columns: 1fr; }

  .section { padding-left: var(--s-xl); padding-right: var(--s-xl); }
  .section-pad { padding-top: var(--s-5xl); padding-bottom: var(--s-5xl); }
  .sec-title { font-size: 32px; }
  .cta-title { font-size: 36px; }

  .footer-top { flex-direction: column; gap: var(--s-4xl); }
  .footer-links { gap: var(--s-4xl); flex-wrap: wrap; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  .header { padding: 0 var(--s-md); height: 56px; }
  .nav-links { display: none; } /* Mobile: hide nav, show hamburger in JS */
  .header .btn-ghost { padding: 8px var(--s-md); font-size: 12px; }

  .hero {
    padding: var(--s-4xl) var(--s-md);
    height: auto;
    gap: var(--s-xl);
  }
  .hero-title { font-size: 36px; }
  .hero-brand { font-size: 18px; }
  .hero-desc { font-size: 14px; }
  .hero-ctas { flex-direction: column; }
  .hero-right { height: 220px; }
  .hero-trust { display: none; } /* 仅保留 CTA 区 */

  .stats {
    flex-wrap: wrap;
    height: auto;
    padding: var(--s-xl) var(--s-md);
    gap: var(--s-md);
  }
  .stat-divider { display: none; }
  .stat-num { font-size: 32px; }

  .feat-cards { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-card { height: 120px; padding: var(--s-md); }
  .ind-emoji { font-size: 32px; }
  .ind-name { font-size: 15px; }

  .testi-cards { grid-template-columns: 1fr; }

  .how-cols { grid-template-columns: 1fr; }

  .cta-section { height: auto; padding: var(--s-5xl) var(--s-md); }
  .cta-title { font-size: 28px; text-align: center; }
  .cta-btns { flex-direction: column; }

  .section { padding-left: var(--s-md); padding-right: var(--s-md); }
  .section-pad { padding-top: var(--s-4xl); padding-bottom: var(--s-4xl); }
  .section-gap { gap: var(--s-3xl); }
  .sec-title { font-size: 28px; }
  .sec-sub { font-size: 14px; }

  .footer { padding: var(--s-4xl) var(--s-md) var(--s-xl); }
  .footer-links { gap: var(--s-xl); }
  .footer-bottom { flex-direction: column; gap: var(--s-xs); text-align: center; }
}
