/* Man动力 Official Site - Corporate Style (inspired by ByteDance) */
:root {
  --bg: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-muted: #f0f1f3;
  --text: #1f2329;
  --text-secondary: #646a73;
  --text-muted: #8f959e;
  --accent: #3370ff;
  --accent-hover: #245bdb;
  --accent-light: rgba(51, 112, 255, 0.08);
  --border: #e5e6eb;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 64px;
  --radius: 8px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --content-inset: max(4vw, calc((100vw - var(--max-w)) / 2));
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(var(--max-w), 92vw);
  margin: 0 auto;
}

.accent { color: var(--accent); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background var(--transition),
              box-shadow var(--transition);
}

.header.header-hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.header-blue .nav.container {
  width: 100%;
  max-width: none;
  padding-left: var(--content-inset);
  padding-right: var(--content-inset);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3370ff, #6b4eff);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Blue header (about page) */
.header-blue {
  background: var(--accent);
  box-shadow: none;
}

.header-blue .logo,
.header-blue .nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  padding: 6px 14px;
}

.header-blue .logo-text {
  color: #fff;
}

.header-blue .logo-mark {
  background: rgba(255, 255, 255, 0.2);
}

.header-blue .nav-links a:hover,
.header-blue .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.header-blue .nav-toggle span {
  background: #fff;
}

.nav-cta {
  color: var(--accent) !important;
  background: var(--accent-light) !important;
}

.nav-cta:hover {
  background: rgba(51, 112, 255, 0.15) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(51, 112, 255, 0.3);
}

.btn-secondary {
  background: var(--bg-muted, #f0f2f5);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero Banner (ByteDance-style mission) */
.hero-banner {
  position: relative;
  margin-top: var(--header-h);
  background: #0f172a;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.1s linear;
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  will-change: transform;
}

.hero-bg-blob.blob-ai {
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: radial-gradient(circle, rgba(51, 112, 255, 0.55) 0%, rgba(107, 78, 255, 0.2) 70%);
  top: 8%;
  left: 2%;
  animation: hero-blob-drift-a 14s ease-in-out infinite;
}

.hero-bg-blob.blob-man {
  width: clamp(180px, 22vw, 300px);
  height: clamp(180px, 22vw, 300px);
  background: radial-gradient(circle, rgba(128, 90, 213, 0.5) 0%, rgba(159, 122, 234, 0.15) 70%);
  top: 42%;
  right: 4%;
  animation: hero-blob-drift-b 16s ease-in-out infinite;
  animation-delay: -3s;
}

.hero-bg-blob.blob-energy {
  width: clamp(160px, 18vw, 260px);
  height: clamp(160px, 18vw, 260px);
  background: radial-gradient(circle, rgba(237, 137, 54, 0.45) 0%, rgba(245, 101, 101, 0.12) 70%);
  bottom: 12%;
  left: 12%;
  animation: hero-blob-drift-c 12s ease-in-out infinite;
  animation-delay: -6s;
}

.hero-bg-blob.blob-calm {
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  background: radial-gradient(circle, rgba(56, 178, 172, 0.45) 0%, rgba(79, 209, 197, 0.12) 70%);
  top: 18%;
  right: 18%;
  animation: hero-blob-drift-d 18s ease-in-out infinite;
  animation-delay: -9s;
}

.hero-bg-blob.blob-flow {
  width: clamp(200px, 24vw, 340px);
  height: clamp(200px, 24vw, 340px);
  background: radial-gradient(circle, rgba(99, 179, 237, 0.4) 0%, rgba(186, 230, 253, 0.15) 70%);
  bottom: 6%;
  right: 22%;
  animation: hero-blob-drift-e 20s ease-in-out infinite;
  animation-delay: -12s;
}

@keyframes hero-blob-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(18px, -22px) scale(1.06); }
  50% { transform: translate(-12px, 14px) scale(0.96); }
  75% { transform: translate(10px, 8px) scale(1.03); }
}

@keyframes hero-blob-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-20px, 16px) scale(1.05); }
  60% { transform: translate(14px, -18px) scale(0.94); }
}

@keyframes hero-blob-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(16px, 12px) scale(1.08); }
  66% { transform: translate(-18px, -10px) scale(0.95); }
}

@keyframes hero-blob-drift-d {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-14px, -20px) scale(1.04); }
  80% { transform: translate(12px, 16px) scale(0.97); }
}

@keyframes hero-blob-drift-e {
  0%, 100% { transform: translate(0, 0) scale(1); }
  20% { transform: translate(22px, -8px) scale(1.02); }
  55% { transform: translate(-16px, 20px) scale(1.07); }
  85% { transform: translate(8px, -14px) scale(0.98); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 520px;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-mission-card {
  position: absolute;
  top: 0;
  left: var(--content-inset);
  z-index: 10;
  background: #fff;
  padding: 28px 52px 44px 36px;
  border-radius: 0 0 min(120px, 14vw) 0;
  max-width: 440px;
}

.hero-banner .hero-slides {
  position: absolute;
  inset: 0;
}

.hero-banner .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-banner .hero-slide.active {
  opacity: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.12) 0%,
    rgba(15, 23, 42, 0.04) 50%,
    rgba(15, 23, 42, 0.16) 100%
  );
  pointer-events: none;
}

/* Hero abstract backgrounds (fallback when no photos) */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-bg.theme-mission {
  background: linear-gradient(135deg, #1a365d 0%, #3370ff 45%, #6b4eff 100%);
}

.hero-slide-bg.theme-man {
  background: linear-gradient(135deg, #553c9a 0%, #805ad5 50%, #9f7aea 100%);
}

.hero-slide-bg.theme-energy {
  background: linear-gradient(135deg, #c05621 0%, #ed8936 40%, #3370ff 100%);
}

.hero-slide-bg.theme-calm {
  background: linear-gradient(135deg, #234e52 0%, #38b2ac 50%, #68d391 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 50%, black 20%, transparent 80%);
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: hero-orb-float 12s ease-in-out infinite;
}

.hero-orb.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.25);
  top: 10%;
  right: 15%;
}

.hero-orb.orb-2 {
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.15);
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

.hero-orb.orb-3 {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.2);
  top: 40%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

.hero-watermark {
  position: absolute;
  right: 8%;
  bottom: 12%;
  font-size: clamp(8rem, 22vw, 16rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero-slide-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fb-1 { background: linear-gradient(135deg, #4a5568 0%, #667eea 50%, #764ba2 100%); }
.fb-2 { background: linear-gradient(135deg, #3370ff 0%, #5b8def 50%, #00c6fb 100%); }
.fb-3 { background: linear-gradient(135deg, #2d3748 0%, #11998e 50%, #38ef7d 100%); }
.fb-4 { background: linear-gradient(135deg, #553c9a 0%, #ee0979 50%, #ff6a00 100%); }

.hero-mission-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero-mission-title {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-banner .hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  margin-top: 0;
}

.hero-banner .hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

.hero-banner .hero-dots .dot.active {
  background: #fff;
  border-color: #fff;
  transform: none;
}

/* Legacy hero (unused) */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.hero-mission {
  text-align: center;
  padding: 80px 24px 48px;
}

.hero-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-carousel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 60px;
}

.slide-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.slide-2 { background: linear-gradient(135deg, #3370ff 0%, #00c6fb 100%); }
.slide-3 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.slide-4 { background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%); }

.slide-content {
  text-align: center;
  color: #fff;
}

.slide-char {
  display: block;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.95;
}

.slide-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  font-weight: 400;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.hero-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dots .dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0;
  line-height: 1.75;
}

/* About */
.about { background: var(--bg); }

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

.about-lead {
  font-size: 1.1rem;
  margin: 20px 0 16px;
  line-height: 1.8;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.meta-label {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.meta-value {
  font-size: 0.95rem;
}

.about-brand h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.brand-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.brand-item:hover {
  box-shadow: var(--shadow-md);
}

.brand-char {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.brand-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Products Showcase (ByteDance-style) */
.products-showcase {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 0 80px;
  overflow: hidden;
}

.products-showcase-header {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Products page full viewport */
.products-page {
  padding-top: calc(var(--header-h) + 20px);
  min-height: 100vh;
}

.products-page .products-showcase-header {
  display: none;
}

.products-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.products-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(51, 112, 255, 0.15);
  top: -100px;
  right: 10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(107, 78, 255, 0.12);
  bottom: -80px;
  left: 5%;
}

.products-showcase-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr auto;
  gap: 40px;
  align-items: center;
  width: min(1280px, 94vw);
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-top: 40px;
}

/* Left: product detail */
.product-detail {
  position: relative;
  min-height: 360px;
}

.product-detail-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.product-detail-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.product-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-detail-icon svg { width: 24px; height: 24px; }

.icon-app { background: rgba(26, 159, 92, 0.12); color: #1a9f5c; }
.icon-editor { background: var(--accent-light); color: var(--accent); }
.icon-engine { background: rgba(107, 78, 255, 0.12); color: #6b4eff; }

.product-detail-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-detail-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.product-detail-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-detail-features li {
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-detail-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.product-detail-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-detail-link:hover { text-decoration: underline; }

.product-detail-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Center: visual mockup */
.product-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.product-visual-panel.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
}

.phone-frame {
  position: absolute;
  width: 180px;
  height: 360px;
  background: #1a1a2e;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-70%, -50%) rotate(-6deg);
}

.phone-frame-back {
  transform: translate(-20%, -45%) rotate(8deg);
  z-index: 1;
  opacity: 0.85;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  margin: 4px auto 8px;
}

.phone-screen {
  background: linear-gradient(180deg, #ff6b9d 0%, #c44569 100%);
  border-radius: 20px;
  height: calc(100% - 20px);
  padding: 12px;
  overflow: hidden;
}

.theme-app .phone-screen { background: linear-gradient(180deg, #667eea 0%, #764ba2 100%); }

.mock-header {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 8px;
}

.mock-search {
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.mock-banner {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 20px 10px;
  font-size: 0.55rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mock-card {
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  height: 50px;
}

.mock-play {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.mock-video {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  height: 120px;
}

/* Product screenshot (real UI) */
.product-screenshot {
  width: 100%;
  max-width: 560px;
}

.product-screenshot-frame {
  background: #1a2332;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-screenshot-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #121a26;
}

.product-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Desktop mockup */
.desktop-mockup {
  width: 100%;
  max-width: 480px;
}

.desktop-frame {
  background: #2d2d3a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1e1e28;
}

.tb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.tb-dot:nth-child(2) { background: #febc2e; }
.tb-dot:nth-child(3) { background: #28c840; }

.tb-title {
  margin-left: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

.desktop-screen {
  padding: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 280px;
}

.mock-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-track {
  height: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.mock-track.active {
  background: rgba(51, 112, 255, 0.4);
  width: 70%;
}

.mock-preview {
  height: 140px;
  background: linear-gradient(135deg, rgba(51,112,255,0.3), rgba(107,78,255,0.2));
  border-radius: 8px;
  margin-bottom: 12px;
}

.mock-tools {
  display: flex;
  gap: 8px;
}

.mock-tools span {
  padding: 4px 10px;
  background: rgba(51, 112, 255, 0.2);
  border-radius: 4px;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.8);
}

/* Engine mockup */
.engine-mockup {
  position: relative;
  width: 360px;
  height: 360px;
}

.engine-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.engine-ring {
  position: absolute;
  border: 2px solid rgba(107, 78, 255, 0.25);
  border-radius: 50%;
  animation: engine-spin 20s linear infinite;
}

.ring-1 { width: 280px; height: 280px; }
.ring-2 { width: 220px; height: 220px; animation-duration: 15s; animation-direction: reverse; border-color: rgba(51, 112, 255, 0.3); }
.ring-3 { width: 160px; height: 160px; animation-duration: 10s; }

@keyframes engine-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.engine-center {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b4eff, #3370ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(107, 78, 255, 0.4);
  z-index: 1;
}

.engine-center span { font-size: 1.8rem; font-weight: 700; }
.engine-center small { font-size: 0.6rem; opacity: 0.9; margin-top: 4px; }

.engine-nodes {
  position: absolute;
  inset: 0;
}

.engine-node {
  position: absolute;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.engine-node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.engine-node:nth-child(2) { top: 50%; right: -10px; transform: translateY(-50%); }
.engine-node:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.engine-node:nth-child(4) { top: 50%; left: -10px; transform: translateY(-50%); }

/* Right: product sidebar */
.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px;
  background: var(--bg);
  border-radius: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.product-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
  width: 56px;
}

.product-tab:hover { background: var(--bg-muted); }

.product-tab.active {
  background: var(--accent-light);
}

.product-tab.active .tab-icon {
  box-shadow: 0 0 0 3px var(--accent);
}

.tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}

.tab-icon svg { width: 22px; height: 22px; }

.tab-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-tab.active .tab-label { color: var(--accent); }

/* Mobile product tabs */
.product-tabs-mobile {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 0 16px 24px;
  flex-wrap: wrap;
}

.product-tab-mobile {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.product-tab-mobile.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Culture (ByteDance-style) */
.culture {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 100px 0 120px;
}

.culture-blobs,
.milestones-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.12s linear;
}

.culture-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  will-change: transform;
}

.blob-cyan {
  width: 360px;
  height: 360px;
  background: #b8e4f0;
  top: 0;
  left: -60px;
  animation: hero-blob-drift-a 16s ease-in-out infinite;
}

.blob-yellow {
  width: 320px;
  height: 320px;
  background: #fef3c7;
  bottom: 0;
  right: -40px;
  animation: hero-blob-drift-c 14s ease-in-out infinite;
  animation-delay: -5s;
}

.blob-blue {
  width: 280px;
  height: 280px;
  background: #c8e6f5;
  bottom: 60px;
  left: 8%;
  animation: hero-blob-drift-b 18s ease-in-out infinite;
  animation-delay: -8s;
}

.culture-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.culture-intro {
  display: block;
}

.culture-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 28px;
}

.culture-desc {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 300px;
}

.culture-slider {
  min-width: 0;
}

.culture-slider-card {
  width: 100%;
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.culture-slider-visual {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--bg-muted);
}

.culture-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.culture-slider-visual.is-changing .culture-slider-img {
  opacity: 0.45;
}

.culture-slider-content {
  padding: 32px 40px 40px;
  background: var(--bg);
}

.culture-slider-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.culture-slider-title-row h3 {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.culture-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #8ec5ea;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, opacity 0.2s;
}

.culture-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.culture-arrow:hover {
  color: var(--accent);
  opacity: 0.8;
}

.culture-slider-content ul {
  list-style: none;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}

.culture-slider-content li {
  padding: 2px 0 2px 14px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.8;
}

.culture-slider-content li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 700;
}

/* Legacy culture carousel */
.culture-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 max(4vw, calc((100vw - var(--max-w)) / 2 + 4vw));
}

.culture-track-wrap {
  flex: 1;
  overflow: hidden;
}

.culture-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.culture-card {
  flex: 0 0 min(420px, 80vw);
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.culture-visual {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.culture-body {
  padding: 28px;
}

.culture-body h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.culture-body ul {
  list-style: none;
}

.culture-body li {
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.culture-body li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Milestones (ByteDance-style) */
.milestones {
  position: relative;
  padding: 88px 0 100px;
  background: var(--bg);
  overflow: hidden;
}

.milestones-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.milestones-blob.blob-yellow {
  width: clamp(200px, 24vw, 320px);
  height: clamp(200px, 24vw, 320px);
  background: #fef3c7;
  bottom: 5%;
  left: 3%;
  animation: hero-blob-drift-c 15s ease-in-out infinite;
}

.milestones-blob.blob-blue {
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  background: linear-gradient(135deg, #dbeafe, #c7d2fe);
  bottom: -60px;
  right: 5%;
  animation: hero-blob-drift-a 17s ease-in-out infinite;
  animation-delay: -4s;
}

.milestones-layout {
  position: relative;
  z-index: 1;
}

.milestones-heading {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.milestone-card {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 56px;
  min-height: 220px;
  max-width: 880px;
  transition: opacity 0.3s ease;
}

.milestone-card.is-changing {
  opacity: 0.6;
}

.milestone-card-brand {
  background: var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 28px;
  color: #fff;
}

.milestone-logo-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.milestone-logo-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.milestone-card-info {
  background: var(--bg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.milestone-date {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.milestone-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

.milestone-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 28px);
  padding: 16px 0;
  max-width: 880px;
}

.milestone-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  transform: translateY(-50%);
  z-index: 0;
}

.milestone-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, width 0.3s, height 0.3s, background 0.3s;
}

.milestone-dot:hover {
  border-color: var(--accent);
}

.milestone-dot.active {
  width: 52px;
  height: 52px;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(51, 112, 255, 0.3);
}

.milestone-dot .dot-icon {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.milestone-dot.active .dot-icon {
  color: #fff;
}

.milestone-dot.active .dot-icon.brand-dot {
  font-size: 0.95rem;
}

/* Legacy timeline */
.timeline-wrap {
  overflow-x: auto;
  padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.timeline-wrap::-webkit-scrollbar { height: 4px; }
.timeline-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.timeline {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0 max(4vw, calc((100vw - var(--max-w)) / 2));
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: max(4vw, calc((100vw - var(--max-w)) / 2));
  right: max(4vw, calc((100vw - var(--max-w)) / 2));
  height: 2px;
  background: var(--border);
}

.timeline-item {
  flex: 0 0 220px;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.timeline-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.carousel-btn svg { width: 20px; height: 20px; }

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Download */
.download { background: var(--bg-subtle); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-card.featured {
  border-color: var(--accent);
}

.download-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.download-icon svg { width: 28px; height: 28px; }

.download-icon.android {
  background: rgba(61, 220, 132, 0.12);
  color: #1a9f5c;
}

.download-icon.windows {
  background: rgba(51, 112, 255, 0.1);
  color: var(--accent);
}

.download-info h3 { font-size: 1.25rem; }

.download-platform {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 4px 0 12px;
}

.download-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.download-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.version-tag, .size-tag {
  padding: 4px 12px;
  background: var(--bg-muted);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-download { align-self: flex-start; margin-top: auto; }

.download-package-hints {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.download-package-hints strong {
  color: var(--text);
  font-weight: 600;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  align-self: stretch;
}

.download-actions .btn-download {
  margin-top: 0;
  align-self: auto;
}

.download-actions .btn[hidden] {
  display: none !important;
}

.update-api-info {
  padding: 28px 32px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.update-api-info h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.update-api-info > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.api-endpoints {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.api-endpoints code {
  display: block;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--accent);
  word-break: break-all;
}

/* Products preview (about page) */
.products-preview { background: var(--bg); }

.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.preview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.preview-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-icon svg { width: 26px; height: 26px; }

.preview-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.preview-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
}

.preview-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 8px;
}

.contact .section-title {
  margin-bottom: 40px;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item a:hover { text-decoration: underline; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links ul { list-style: none; }

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2.2;
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-blob,
  .culture-blob,
  .milestones-blob {
    animation: none;
  }

  .hero-bg-blobs {
    transition: none;
  }
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .milestone-card,
  .milestone-nav { max-width: none; }
  .products-showcase-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-top: 20px;
  }
  .product-sidebar { display: none; }
  .product-tabs-mobile { display: flex; }
  .product-detail { min-height: 280px; }
  .product-visual { min-height: 340px; }
  .download-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-preview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carousel-btn { display: none; }
  .milestone-card { grid-template-columns: 1fr; }
  .milestone-card-brand { padding: 32px 24px; }
  .milestone-card-info { padding: 32px 24px; }
  .hero-inner {
    min-height: 460px;
  }

  .hero-mission-card {
    left: max(16px, var(--content-inset));
    max-width: min(420px, 88%);
    padding: 24px 28px 32px;
  }
}

@media (max-width: 860px) {
  .culture-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    width: min(var(--max-w), 92vw);
  }

  .culture-heading {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .culture-desc {
    max-width: none;
  }

  .culture-slider-visual {
    height: 260px;
  }

  .culture-slider-content {
    padding: 24px 24px 32px;
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .hero-mission { padding: 60px 20px 32px; }
  .culture-card { flex: 0 0 min(320px, 85vw); }
  .milestone-nav { gap: 12px; }
  .milestone-dot { width: 40px; height: 40px; }
  .milestone-dot.active { width: 48px; height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  body[data-page="about"] .nav-links {
    background: var(--accent);
  }

  body[data-page="about"] .header-blue .nav-links.open {
    background: var(--accent);
  }
}
