/* 世宁未来家 - 品牌样式系统 V2
 * 定位：全球华人家族办公室 | Quiet Luxury
 * 设计师：WorkBuddy
 */

/* ========================================
   Google Fonts 引入
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* ========================================
   CSS 变量系统
   ======================================== */
:root {
  /* 配色 */
  --navy: #0d1b2a;
  --navy-light: #1b2a3a;
  --gold: #c9a961;
  --gold-light: #d4b87a;
  --cream: #f5f0eb;
  --warm-white: #faf9f7;
  --gray-100: #f7f5f3;
  --gray-200: #e8e4df;
  --gray-400: #9a9590;
  --gray-600: #5c5854;
  --gray-800: #2d2a27;
  --white: #ffffff;

  /* 字体 */
  --font-serif-en: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-serif-cn: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans-en: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-sans-cn: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* 过渡 */
  --transition: all 0.3s ease;
}

/* ========================================
   全局重置
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans-cn);
  color: var(--gray-600);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-cn);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ========================================
   容器
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.nav-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-text .logo-cn {
  font-family: var(--font-serif-cn);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 2px;
}

.nav-logo-text .logo-en {
  font-family: var(--font-sans-en);
  font-size: 0.65rem;
  color: var(--gray-400);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans-cn);
  font-size: 0.95rem;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switch {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ========================================
   Hero 首屏
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 160px var(--space-lg) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&q=80') center/cover no-repeat;
  opacity: 0.08;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans-en);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: 4px;
}

.hero-divider {
  width: 60px;
  height: 1.5px;
  background: var(--gold);
  margin: var(--space-md) auto;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans-cn);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ========================================
   信赖背书
   ======================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-lg) 0;
}

.trust-content {
  text-align: center;
}

.trust-label {
  font-family: var(--font-sans-en);
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.trust-numbers {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
}

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

.trust-number {
  font-family: var(--font-serif-en);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-number span {
  color: var(--gold);
}

.trust-label-text {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ========================================
   核心理念
   ======================================== */
.philosophy {
  background: var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.philosophy-text h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.philosophy-text p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: var(--space-md);
}

.philosophy-text .signature {
  font-family: var(--font-serif-en);
  font-size: 1rem;
  color: var(--gold);
  margin-top: var(--space-md);
}

.philosophy-image {
  position: relative;
}

.philosophy-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(13, 27, 42, 0.15);
}

.philosophy-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* ========================================
   六大系统
   ======================================== */
.systems {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-400);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.system-card {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.system-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
}

.system-card:hover::before {
  transform: scaleX(1);
}

.system-number {
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.system-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.system-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.system-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gold);
  transition: var(--transition);
}

.system-link:hover {
  gap: 12px;
}

/* ========================================
   关于我们
   ======================================== */
.about-preview {
  background: var(--navy);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.about-text p {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.about-signature {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-signature .name {
  font-family: var(--font-serif-cn);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-signature .title {
  font-family: var(--font-sans-en);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-quote {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

.about-quote .quote-mark {
  font-family: var(--font-serif-en);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.about-quote blockquote {
  font-family: var(--font-serif-cn);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   CTA 区域
   ======================================== */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.cta h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans-cn);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .footer-logo {
  margin-bottom: var(--space-md);
}

.footer-brand .footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.footer-column h4 {
  font-family: var(--font-sans-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-column a {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-600);
  padding: 6px 0;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px var(--space-sm) var(--space-xl);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .philosophy-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-image::after {
    display: none;
  }

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

  .trust-numbers {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}
