* { box-sizing: border-box; }

:root {
  --cream: #faf6f1;
  --paper: #fff9f4;
  --warm: #c4735b;
  --warm-light: #e8a995;
  --brown: #8b5e3c;
  --brown-dark: #3d2c23;
  --brown-soft: #9a8478;
  --line: rgba(61, 44, 35, 0.1);
  --shadow: 0 12px 40px rgba(61, 44, 35, 0.08);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--cream); color: var(--brown-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* ─── Language Toggle ─── */
.cn { display: none; }
body.zh .cn { display: inline; }
body.zh .en { display: none; }
body.zh div.cn { display: block; }
body.zh div.en { display: none; }
body.zh ul.cn { display: block; }
body.zh ul.en { display: none; }

.lang-toggle {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: white;
  color: var(--brown); font-size: 0.82rem; font-weight: 800;
  cursor: pointer; transition: background 180ms, color 180ms;
}
.lang-toggle:hover { background: var(--warm); color: white; border-color: var(--warm); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  display: flex; width: min(1100px, calc(100% - 28px));
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255, 249, 244, 0.88);
  box-shadow: 0 8px 28px rgba(61, 44, 35, 0.06);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brown); font-size: 0.95rem; }
.brand-mark {
  display: grid; width: 32px; height: 32px; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, #f5e6da, #fce8df); font-size: 0.9rem;
}

.nav nav { display: flex; gap: 4px; }
.nav nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--brown-soft);
  font-size: 0.85rem; font-weight: 700; transition: background 180ms, color 180ms;
}
.nav nav a:hover { background: rgba(196, 115, 91, 0.08); color: var(--brown-dark); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; border: 0; border-radius: 999px; padding: 0 24px;
  font-weight: 800; font-size: 0.92rem; cursor: pointer;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(61, 44, 35, 0.1); }

.btn-primary { background: var(--warm); color: white; }
.btn-primary:hover { background: #b5654e; }

.btn-outline { border: 2px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); color: white; backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255,255,255,0.22); }

.btn-block { width: 100%; margin-top: 16px; min-height: 48px; font-size: 1rem; }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px; text-align: center; color: white;
}

.hero-video, .hero-scrim {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-video { object-fit: cover; z-index: 0; }
.hero-scrim {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(61, 44, 35, 0.15), rgba(61, 44, 35, 0.5) 70%),
    linear-gradient(180deg, rgba(61, 44, 35, 0.1) 0%, rgba(61, 44, 35, 0.4) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.launch-badge {
  display: inline-block; margin-bottom: 20px;
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.05em;
  animation: fadeUp 700ms 200ms both;
}

.hero h1 {
  margin-bottom: 16px; font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900; line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  animation: fadeUp 700ms 400ms both;
}
.heart { color: var(--warm); }

.hero-sub {
  margin-bottom: 28px; color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.8vw, 1.15rem); font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  animation: fadeUp 700ms 550ms both;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp 700ms 700ms both; }

/* ─── Sections ─── */
.section { padding: clamp(60px, 8vw, 100px) 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 8px; color: var(--warm); font-size: 0.78rem;
  font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}

h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.05; }

/* ─── Story ─── */
.story { background: #f3ede6; }

.story-layout {
  display: grid; grid-template-columns: minmax(240px, 0.55fr) 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}

.story-media { position: relative; }
.story-media img {
  width: 100%; aspect-ratio: 0.82; object-fit: cover;
  border: 5px solid white; border-radius: 18px; box-shadow: var(--shadow);
}

.float-note {
  position: absolute; left: 10px; bottom: 20px;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--brown-dark); font-size: 0.8rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(61, 44, 35, 0.06);
  animation: floaty 4s ease-in-out infinite;
}

.story-text p { color: var(--brown-soft); font-size: 0.95rem; margin-bottom: 10px; }
.story-text strong { color: var(--brown-dark); }

/* ─── What You Can Do ─── */
.what-section { background: var(--paper); }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }

.feature-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; background: white; text-align: center;
  transition: transform 280ms, box-shadow 280ms;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  display: grid; width: 56px; height: 56px; place-items: center;
  margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, #fce8df, #f5e6da); font-size: 1.5rem;
}

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 800; }
.feature-card p { color: var(--brown-soft); font-size: 0.88rem; margin-bottom: 16px; }

.coming-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(196, 115, 91, 0.1); color: var(--warm);
  font-size: 0.75rem; font-weight: 800;
}

/* ─── Join Us ─── */
.join-section { background: var(--cream); }

.join-intro { max-width: 680px; color: var(--brown-soft); font-size: 1rem; margin-bottom: 32px; }

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

.job-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: white; box-shadow: 0 6px 20px rgba(61, 44, 35, 0.04);
}

.job-featured { border-color: var(--warm-light); box-shadow: 0 8px 32px rgba(196, 115, 91, 0.1); }

.job-badge {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px;
  border-radius: 999px; background: var(--warm); color: white;
  font-size: 0.75rem; font-weight: 800;
}
.badge-volunteer { background: var(--brown); }

.job-card h3 { margin-bottom: 10px; font-size: 1.3rem; font-weight: 900; }

.job-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px;
}
.job-meta span {
  padding: 4px 10px; border-radius: 999px; background: rgba(196, 115, 91, 0.06);
  color: var(--brown-soft); font-size: 0.78rem; font-weight: 700;
}

.job-desc { color: var(--brown-soft); font-size: 0.92rem; margin-bottom: 14px; }

.job-card h4 { margin: 18px 0 8px; font-size: 0.88rem; font-weight: 800; color: var(--brown); }
.job-card ul { color: var(--brown-soft); font-size: 0.88rem; }
.job-card li strong { color: var(--brown-dark); }

/* ─── CTA / Subscribe ─── */
.cta-section { background: var(--paper); padding-bottom: clamp(60px, 8vw, 100px); }

.cta-box {
  text-align: center; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); background: white;
}
.cta-box p { color: var(--brown-soft); margin-bottom: 20px; }

.subscribe-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 18px; background: var(--cream); color: var(--brown-dark);
  font-size: 0.92rem; outline: 0;
}
.subscribe-form input:focus { border-color: var(--warm); box-shadow: 0 0 0 3px rgba(196, 115, 91, 0.1); }

.xhs-id {
  display: inline-block; margin: 0 0 16px; padding: 6px 16px;
  border-radius: 999px; background: rgba(196, 115, 91, 0.08);
  color: var(--brown); font-size: 0.9rem; font-weight: 700;
}

/* ─── Footer ─── */
.footer { background: var(--brown-dark); color: var(--paper); padding: 48px 24px 20px; }

.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 1100px; margin: 0 auto; gap: 24px; flex-wrap: wrap;
}
.footer-inner .brand { color: rgba(250, 246, 241, 0.85); }
.footer-inner .brand-mark { background: rgba(255,255,255,0.08); }
.footer-inner p { color: rgba(250, 246, 241, 0.5); font-size: 0.88rem; margin-top: 8px; }

.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  color: rgba(250, 246, 241, 0.65); font-size: 0.85rem; font-weight: 700;
  transition: color 180ms, border-color 180ms;
}
.footer-links a:hover { color: var(--paper); border-color: rgba(255,255,255,0.25); }

.footer-bottom {
  max-width: 1100px; margin: 28px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06); text-align: center;
}
.footer-bottom p { margin: 0; color: rgba(250, 246, 241, 0.35); font-size: 0.8rem; }

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .story-layout, .jobs-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .story-media { max-width: 360px; margin: 0 auto; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column; border-radius: 14px;
    align-items: flex-start; gap: 8px; padding: 12px 16px;
  }
  .nav nav { flex-wrap: wrap; gap: 2px; }
  .nav nav a { padding: 6px 10px; font-size: 0.8rem; }
  .lang-toggle { font-size: 0.78rem; padding: 5px 12px; }

  .hero { padding: 140px 20px 40px; min-height: 90svh; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub { font-size: 0.92rem; }
  .launch-badge { font-size: 0.78rem; padding: 6px 16px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 48px 16px; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 18px; }

  .jobs-grid { gap: 16px; }
  .job-card { padding: 20px 16px; }
  .job-card h3 { font-size: 1.1rem; }
  .job-meta { gap: 6px; }
  .job-meta span { font-size: 0.72rem; padding: 3px 8px; }

  .cta-box { padding: 28px 18px; }
  .xhs-id { font-size: 0.82rem; }

  .footer { padding: 40px 16px 16px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { gap: 6px; }
  .footer-links a { padding: 6px 12px; font-size: 0.8rem; }
  .footer-bottom { padding-top: 12px; }
  .footer-bottom p { font-size: 0.72rem; }
}
