/* ========================================
   弘立财务官网样式表 - 浅色专业风格
   主色: #1890FF (专业蓝)
   辅色: #C9A96E (金色信任感)
   文字: #1A1A1A (深色)
   背景: #FAFBFC (极浅灰)
======================================== */

:root {
  --primary: #1890FF;
  --primary-dark: #096DD9;
  --primary-light: #E6F7FF;
  --gold: #C9A96E;
  --gold-light: #FAF3E6;
  --text: #1A1A1A;
  --text-secondary: #555;
  --text-muted: #999;
  --bg: #FAFBFC;
  --card-bg: #FFFFFF;
  --border: #E8E8E8;
  --border-color: #E8E8E8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: all 0.3s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Noto Serif SC", serif;
  text-decoration: none;
}

.nav-brand span {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

main {
  min-height: calc(100vh - 64px - 180px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #E6F7FF 0%, #FAFBFC 50%, #FAF3E6 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

.hero-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  text-decoration: none;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.trust-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Noto Serif SC", serif;
  line-height: 1.2;
}

.trust-item .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Section */
section {
  padding: 2rem 0;
}

section h2 {
  border-left: 4px solid var(--primary);
  padding-left: 0.8rem;
  margin-bottom: 1.5rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: var(--text);
}

.card h3 a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Tags */
.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  font-weight: 500;
}

.meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

/* Score Badge */
.score-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.score-e { background: #F6FFED; color: #52C41A; }
.score-b { background: #FFF7E6; color: #FA8C16; }
.score-d { background: #FFF1F0; color: #F5222D; }

/* List Items */
.list-header {
  padding: 3rem 1.5rem 1.5rem;
}

.list-header h1 {
  font-size: 2rem;
}

.list-header p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.list-items {
  padding-bottom: 2rem;
}

.list-item {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.list-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}

.list-item .title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.list-item .excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.meta-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.meta-row .date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Filters */
.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
}

.filters button {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.filters button.active,
.filters button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Article */
.article {
  max-width: 760px;
  padding: 2rem 1.5rem 3rem;
}

.byline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.article h2 {
  margin-top: 2rem;
}

.article p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.article ul, .article ol {
  margin: 1rem 0 1rem 2rem;
}

.article li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article table th,
.article table td {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.article table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.article table tr:nth-child(even) {
  background: #FAFBFC;
}

/* Report Day */
.report-day {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.day-head .date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.snippet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.snippet li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-secondary);
}

.snippet li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.cta h2 {
  color: #fff;
  border-left: none;
  padding-left: 0;
}

.cta p {
  margin: 0.8rem 0 1.5rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.cta .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--text);
}

.cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.service-card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0.5rem 0;
}

.service-card .price.free {
  color: var(--gold);
}

.service-card .desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Testimonial Cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-info .service-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.testimonial-highlight {
  display: inline-block;
  background: var(--gold-light);
  color: #8C7A4F;
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 3px;
  font-weight: 600;
}

.testimonial-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* About / Contact */
.contact-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex: 1;
  min-width: 250px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Form */
form input,
form select,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

form button {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

/* Case Detail */
.case-detail-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}

.case-detail-box h3 {
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.case-result-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--gold-light) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
}

.case-result-box h3 {
  color: var(--primary-dark);
}

/* Join Benefit Grid */
.join-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.join-benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.join-benefit-card .ji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.join-benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.join-benefit-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
footer {
  background: #1A1A1A;
  color: #ccc;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--gold);
}

footer a:hover {
  color: #fff;
}

footer .container p {
  margin: 0.3rem 0;
  font-size: 0.88rem;
}


.testimonial-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}


/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 0.8rem 1rem;
  }

  .nav-brand {
    margin-bottom: 0.5rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .btn-group {
    justify-content: center;
  }

  .trust-bar {
    gap: 0.5rem;
  }

  .trust-item .num {
    font-size: 1.6rem;
  }

  .card-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}
