/* ===== 劳动法律师个人网站 ===== */
:root {
  --navy: #0D1B2A;
  --navy-light: #1B2E44;
  --gold: #C8923A;
  --gold-light: #E8C46E;
  --white: #FFFFFF;
  --cream: #FBF8F3;
  --gray-bg: #F4F2ED;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --border: #E5E0D8;
  --radius: 10px;
  --shadow: 0 2px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* ===== Header ===== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo .icon-law {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
}

.logo a { color: var(--white); }
.logo span.gold { color: var(--gold-light); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta a {
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-radius: 6px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #152845 40%, #1a3558 100%);
  color: var(--white);
  padding: 100px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,146,58,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,146,58,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-block;
  background: rgba(200,146,58,0.18);
  border: 1px solid rgba(200,146,58,0.3);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

.hero h1 .gold { color: var(--gold-light); }

.hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0 36px;
  position: relative;
  z-index: 1;
}

.hero-stat h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 44px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(200,146,58,0.35);
  transition: all 0.2s;
}

.hero .cta-btn:hover {
  background: #D4A03E;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,146,58,0.45);
  color: #fff;
}

/* ===== Section Base ===== */
section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(160deg, var(--navy) 0%, #152845 100%);
  color: var(--white);
  padding: 64px 32px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-banner p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}

.card:hover::before { height: 100%; }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ===== Why Me Section ===== */
.why-me {
  background: var(--cream);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.feature-text h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-text p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-block {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 72px 32px;
  border-radius: 16px;
  margin: 0 32px 80px;
  max-width: 1200px;
  width: calc(100% - 64px);
}

.cta-block h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-block p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-block .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 15px 44px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200,146,58,0.35);
  transition: all 0.2s;
}

.cta-block .cta-btn:hover {
  background: #D4A03E;
  transform: translateY(-2px);
  color: #fff;
}

/* ===== Case Cards ===== */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 20px;
  transition: all 0.2s;
  box-shadow: 0 1px 8px rgba(0,0,0,0.03);
}

.case-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.case-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-light);
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.case-card .case-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.case-card .case-result {
  color: #1a8a3f;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===== Article Cards ===== */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.2s;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.article-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.article-date {
  text-align: center;
  min-width: 60px;
}

.article-date .day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.article-date .month {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--gold); }

.article-card .excerpt {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ===== About Page ===== */

/* About Hero */
.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.about-photo {
  background: var(--gray-bg);
  border-radius: 16px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  border: 2px dashed var(--border);
  position: sticky;
  top: 96px;
}

.about-hero-text h2 {
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 8px;
}

.about-tagline {
  display: inline-block;
  background: var(--cream);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.6;
}

.about-lead {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-hero-text p {
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.9;
}

.about-hero-text p b {
  color: var(--navy);
}

/* Timeline */
.timeline-section {
  background: var(--cream);
  padding: 80px 32px !important;
  max-width: 100% !important;
}

.timeline-section .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--navy);
  border: 3px solid var(--white);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin-top: 6px;
  box-shadow: 0 0 0 3px var(--navy);
}

.timeline-dot.gold-dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-content {
  flex: 1;
}

.timeline-period {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-content p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.8;
}

.timeline-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.timeline-tags span {
  background: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* Research Cards */
.research-section {
  padding-top: 80px;
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.research-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: all 0.3s;
}

.research-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.research-card.highlight-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, #FFFBF5 0%, #FFF 100%);
}

.research-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.research-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}

.research-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.research-card ul {
  list-style: none;
  padding: 0;
}

.research-card ul li {
  font-size: 0.93rem;
  color: var(--text);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.research-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* Advantage Section */
.advantage-section {
  background: var(--navy);
  padding: 80px 32px !important;
  max-width: 100% !important;
  color: var(--white);
}

.advantage-section .section-header h2 { color: var(--white); }
.advantage-section .section-subtitle { color: rgba(255,255,255,0.5); }

.advantage-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.advantage-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s;
}

.advantage-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,146,58,0.3);
}

.advantage-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.advantage-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.advantage-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* Philosophy Blockquote */
.philosophy-section {
  background: var(--cream);
  padding: 64px 32px !important;
  max-width: 100% !important;
  text-align: center;
}

.philosophy-section blockquote {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border: none;
}

.philosophy-section blockquote p {
  font-size: 1.25rem;
  line-height: 2;
  color: var(--navy);
  font-weight: 500;
  font-style: italic;
  position: relative;
}

.philosophy-section blockquote p::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  left: -40px;
  top: -20px;
  font-style: normal;
  line-height: 1;
}

.philosophy-section blockquote cite {
  display: block;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: normal;
  font-weight: 600;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .c-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item .c-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.contact-item .c-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.qr-img {
  width: 140px;
  height: 140px;
  background: var(--gray-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 2px dashed var(--border);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--navy); }

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 32px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--gold-light); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .hero {
    padding: 60px 20px 48px;
  }

  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 28px; }
  .hero-stat h3 { font-size: 1.6rem; }

  section { padding: 48px 20px; }

  .about-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-text h2 { font-size: 1.6rem; }
  .about-lead { font-size: 1.05rem; }
  .about-photo { position: static; aspect-ratio: 3/4; max-width: 240px; margin: 0 auto; }
  .about-tagline { font-size: 0.78rem; padding: 6px 14px; }
  .timeline { padding-left: 12px; }
  .timeline-item { gap: 20px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { padding: 28px 22px; }
  .advantage-section { padding: 48px 20px !important; }
  .philosophy-section blockquote p { font-size: 1.05rem; }
  .philosophy-section blockquote p::before { left: -20px; font-size: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-card { flex-direction: column; gap: 12px; }
  .card-grid { grid-template-columns: 1fr; }

  .cta-block {
    margin: 0 16px 48px;
    width: calc(100% - 32px);
    border-radius: 12px;
  }
}
