/* 南京焱梓信息科技有限公司 - 新版样式 */
/* 风格：可信、实用、本地服务感 */

:root {
  --primary: #0f5c54;
  --primary-light: #e6f4f1;
  --primary-hover: #0d4a43;
  --text: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #78716c;
  --bg: #fafaf9;
  --bg-white: #ffffff;
  --border: #e7e5e4;
  --border-light: #f5f5f4;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover {
  border-color: var(--text-muted);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero / Diagnosis */
.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Form / Card */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.12s;
}

.checkbox-group label:hover {
  border-color: var(--primary);
}

.checkbox-group input[type="checkbox"] {
  display: none;
}

.checkbox-group input:checked + span {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.checkbox-group label:has(input:checked) {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Report */
.report-section {
  display: none;
  padding: 48px 0;
}

.report-section.active {
  display: block;
}

.report-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.report-header {
  background: var(--primary);
  color: #fff;
  padding: 28px 32px;
}

.report-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.report-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 15px;
}

.report-body {
  padding: 32px;
}

.report-block {
  margin-bottom: 28px;
}

.report-block:last-child {
  margin-bottom: 0;
}

.report-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-block p,
.report-block li {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.report-block ul {
  margin: 0;
  padding-left: 20px;
}

.report-block li {
  margin-bottom: 6px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

.price-tag {
  display: inline-block;
  padding: 10px 18px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-white {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 640px;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.6;
}

.service-card .more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-card .more:hover {
  text-decoration: underline;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.trust-item {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-item h4 {
  font-size: 15px;
  margin: 0 0 8px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Contact */
.contact-section {
  background: var(--text);
  color: #e7e5e4;
  padding: 56px 0;
}

.contact-section h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 24px;
}

.contact-section p {
  color: #a8a29e;
  margin: 0 0 20px;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.qr-box {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
}

.qr-box img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 6px;
}

.qr-box h4 {
  color: #fff;
  margin: 0 0 4px;
  font-size: 16px;
}

.qr-box p {
  margin: 0;
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

.footer a {
  color: var(--text-secondary);
  margin: 0 8px;
}

.footer a:hover {
  color: var(--primary);
}

/* Page header */
.page-header {
  padding: 56px 0 36px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  font-size: 32px;
  margin: 0 0 10px;
}

.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
}

.page-header .meta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Content layout */
.content-two {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .content-two { grid-template-columns: 1fr; }
}

.article h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.article h3 {
  font-size: 17px;
  margin: 24px 0 10px;
}

.article p,
.article li {
  font-size: 15px;
  color: var(--text-secondary);
}

.article ul {
  padding-left: 20px;
}

.article li {
  margin-bottom: 8px;
}

.sticky-sidebar {
  position: sticky;
  top: 90px;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  background: #f5f5f4;
  border: 2px dashed #d6d3d1;
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: #a8a29e;
  margin: 16px 0;
}

.screenshot-placeholder p {
  margin: 0;
  font-size: 15px;
}

.screenshot-placeholder .sub {
  font-size: 13px;
  margin-top: 8px;
}

/* Utility */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
