﻿/* === 腰哥 · yaoge.aituwei.com — 参照 Kevin.ai 深色风格 === */
/* 全部使用硬编码颜色，确保各种浏览器/环境兼容 */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: #0a0a0c;
  color: #f4f2ee;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #f4f2ee; text-decoration: none; transition: color .2s; }
a:hover { color: #60a5fa; }

/* === Header === */
.site-header {
  border-bottom: 1px solid #1e1e22;
  background: rgba(10,10,12,.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f4f2ee;
  letter-spacing: -.02em;
}

.site-tagline {
  font-size: .75rem;
  color: #a6a39b;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  font-size: .85rem;
  color: #a6a39b;
  font-weight: 500;
  transition: color .2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: #f4f2ee;
}

.lang-switch {
  font-size: .8rem;
  padding: 4px 14px;
  border: 1px solid #2a2a2e;
  border-radius: 20px;
  color: #a6a39b;
  font-weight: 500;
  transition: all .2s;
}

.lang-switch:hover {
  border-color: #a6a39b;
  color: #f4f2ee;
}

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

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 16px;
  color: #f4f2ee;
}

.hero-sub {
  font-size: 1rem;
  color: #a6a39b;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-desc {
  font-size: .95rem;
  color: #c9c6c0;
  line-height: 1.8;
  margin-bottom: 12px;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.hero-highlights li {
  font-size: .9rem;
  color: #c9c6c0;
  padding: 4px 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
}

.btn-primary:hover {
  background: #60a5fa;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #f4f2ee;
  border: 1px solid #2a2a2e;
}

.btn-outline:hover {
  border-color: #a6a39b;
  color: #f4f2ee;
}

.hero-visual {
  flex-shrink: 0;
  width: 220px;
  text-align: center;
}

.hero-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: #1e1e22;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-avatar-label {
  margin-top: 12px;
  font-size: .82rem;
  color: #a6a39b;
}

/* === Section Block (01/02/03/04) === */
.section-block {
  padding: 48px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-num {
  font-size: 1.1rem;
  font-weight: 600;
  color: #a6a39b;
  margin-bottom: 6px;
  letter-spacing: .05em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #f4f2ee;
}

.section-more {
  font-size: .9rem;
  color: #a6a39b;
  font-weight: 500;
}

.section-more:hover {
  color: #f4f2ee;
}

.section-intro {
  font-size: .95rem;
  color: #c9c6c0;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 28px;
}

/* === News List === */
.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #1e1e22;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-date {
  flex-shrink: 0;
  font-size: .85rem;
  color: #a6a39b;
  width: 100px;
}

.news-list li a {
  font-size: .95rem;
  color: #c9c6c0;
  font-weight: 400;
  transition: color .2s;
}

.news-list li a:hover {
  color: #f4f2ee;
}

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.card {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 24px;
  transition: all .2s;
}

.card:hover {
  background: #1a1a1e;
  border-color: #2a2a2e;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f4f2ee;
}

.card p {
  font-size: .88rem;
  color: #a6a39b;
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  font-size: .75rem;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(59,130,246,.1);
  color: #3b82f6;
  margin-bottom: 10px;
}

/* === Bullet List === */
.bullet-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.bullet-list li {
  font-size: .9rem;
  color: #c9c6c0;
  padding: 4px 0;
}

.bullet-list li::before {
  content: "•";
  margin-right: 8px;
  color: #3b82f6;
}

/* === Services List (rows) === */
.services-list {
  display: grid;
  gap: 8px;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 20px 24px;
  transition: all .2s;
}

.service-row:hover {
  background: #1a1a1e;
  border-color: #2a2a2e;
}

.service-num {
  font-size: 1rem;
  font-weight: 600;
  color: #a6a39b;
  flex-shrink: 0;
  width: 28px;
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #f4f2ee;
}

.service-info p {
  font-size: .85rem;
  color: #a6a39b;
}

.service-arrow {
  color: #a6a39b;
  font-size: .9rem;
  flex-shrink: 0;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid #1e1e22;
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f4f2ee;
}

.footer-role {
  font-size: .85rem;
  color: #a6a39b;
}

.footer-info {
  display: flex;
  gap: 20px;
}

.footer-info span {
  font-size: .85rem;
  color: #a6a39b;
}

.footer-qr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-qr-row img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid #1e1e22;
}

.footer-qr-row span {
  font-size: .82rem;
  color: #a6a39b;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: .85rem;
  color: #a6a39b;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #f4f2ee;
}

.footer-copy {
  font-size: .82rem;
  color: #555;
  padding-top: 20px;
  border-top: 1px solid #1e1e22;
}

/* === Subpage Content === */
.subpage-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.subpage-content p {
  font-size: 1rem;
  color: #c9c6c0;
  line-height: 1.85;
  margin-bottom: 20px;
}

.subpage-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #f4f2ee;
}

.subpage-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: #f4f2ee;
}

.subpage-content ul, .subpage-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.subpage-content li {
  font-size: .95rem;
  color: #c9c6c0;
  line-height: 1.8;
  margin-bottom: 6px;
}

.subpage-content blockquote {
  border-left: 3px solid #3b82f6;
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(59,130,246,.05);
  border-radius: 0 8px 8px 0;
}

.subpage-content blockquote p {
  margin-bottom: 0;
  color: #f4f2ee;
}

/* === Page Header === */
.page-header {
  padding: 48px 0 24px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
  color: #f4f2ee;
}

.page-header p {
  color: #a6a39b;
  font-size: 1rem;
}

/* === Back Link === */
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: .88rem;
  color: #a6a39b;
  font-weight: 500;
}

.back-link:hover {
  color: #f4f2ee;
}

/* === Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #f4f2ee;
}

.contact-item p {
  color: #a6a39b;
  font-size: .9rem;
}

.contact-qr {
  background: #141416;
  border: 1px solid #1e1e22;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: #a6a39b;
  font-size: .9rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 24px;
    gap: 10px;
  }

  .header-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav a {
    font-size: .8rem;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .hero-visual {
    width: 160px;
    align-self: center;
  }

  .hero-avatar {
    width: 160px;
    height: 160px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .section-head h2 {
    font-size: 1.8rem;
  }

  .section-head {
    flex-direction: column;
    gap: 8px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-info {
    flex-direction: column;
    gap: 4px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-list li {
    flex-direction: column;
    gap: 4px;
  }

  .news-date {
    width: auto;
  }
}

