:root {
  --sage: #6B8E74;
  --sage-dark: #5A7A62;
  --beige: #F4EDE4;
  --beige-dark: #E8DDD0;
  --text: #2D2D2D;
  --text-muted: #666666;
  --white: #FFFFFF;
  --border: #E5E0DA;
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  --radius: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

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

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

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

.lang-switch {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zh { display: none; }
#lang-toggle:checked ~ .content .en,
#lang-toggle:checked ~ .header .en,
#lang-toggle:checked ~ .footer .en { display: none; }
#lang-toggle:checked ~ .content .zh,
#lang-toggle:checked ~ .header .zh,
#lang-toggle:checked ~ .footer .zh { display: block; }
#lang-toggle:checked ~ .content .hero-ctas .zh,
#lang-toggle:checked ~ .content .cta-buttons .zh,
#lang-toggle:checked ~ .content .credentials .zh { display: inline-block; }
#lang-toggle:checked ~ .header .nav-links .zh { display: inline; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-link {
  font-size: 16px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

.lang-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: var(--beige);
  transition: all var(--transition);
}

.lang-label:hover {
  background: var(--beige-dark);
}

.lang-icon {
  font-size: 16px;
}

.lang-toggle-switch {
  width: 36px;
  height: 20px;
  background: var(--sage);
  border-radius: var(--radius-full);
  position: relative;
  transition: background var(--transition);
}

.lang-toggle-switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform var(--transition);
}

#lang-toggle:checked ~ .header .lang-toggle-switch::after {
  transform: translateX(16px);
}

.lang-en, .lang-zh {
  font-weight: 500;
}

#lang-toggle:checked ~ .header .lang-en { color: var(--text-muted); }
#lang-toggle:checked ~ .header .lang-zh { color: var(--text); }
.lang-zh { color: var(--text-muted); }
.lang-en { color: var(--text); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, rgba(244, 237, 228, 0.5) 0%, var(--white) 100%);
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

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

.hero-headline {
  font-size: clamp(36px, 8vw, 72px);
  color: var(--text);
  margin-bottom: 0;
}

.hero-headline-sub {
  font-size: clamp(36px, 8vw, 72px);
  color: var(--sage);
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}

.btn-outline:hover {
  background: rgba(107, 142, 116, 0.05);
}

.btn-white {
  background: var(--white);
  color: var(--sage);
  border-color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  background: var(--beige);
  border-color: var(--beige);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.section-title.centered {
  text-align: center;
  margin-bottom: 48px;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(107, 142, 116, 0.2) 0%, var(--beige) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.about-avatar {
  width: 128px;
  height: 128px;
  background: rgba(107, 142, 116, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--sage);
}

.about-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--sage-dark);
  margin-bottom: 4px;
}

.about-title {
  color: var(--text-muted);
  font-size: 16px;
}

.about-decor-1 {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 96px;
  height: 96px;
  background: var(--beige);
  border-radius: 50%;
  z-index: -1;
}

.about-decor-2 {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 64px;
  height: 64px;
  background: rgba(107, 142, 116, 0.2);
  border-radius: 50%;
  z-index: -1;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.credential {
  display: inline-block;
  padding: 10px 20px;
  background: var(--beige);
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.philosophy {
  background: rgba(244, 237, 228, 0.5);
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.philosophy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}

.philosophy-subtitle {
  font-size: 18px;
  color: var(--text-muted);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.philosophy-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.philosophy-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  background: rgba(107, 142, 116, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage);
}

.philosophy-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.philosophy-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--beige);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.service-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}

.service-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 16px;
}

.cta-section {
  background: var(--sage);
  position: relative;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.footer {
  background: var(--text);
  padding: 32px 0;
  text-align: center;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
  }
  
  .logo-text {
    font-size: 32px;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }
  
  .hero-content {
    padding: 120px 0;
  }
}