/* Man动力 Official Site - Man动力 Brand Style */
:root {
  --bg: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-muted: #f0f1f3;
  --text: #1f2329;
  --text-secondary: #646a73;
  --text-muted: #8f959e;
  --accent: #00b8db;
  --accent-hover: #0099b8;
  --accent-secondary: #7c3aed;
  --accent-light: rgba(0, 184, 219, 0.08);
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --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: var(--accent-gradient);
  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-gradient);
  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;
  position: relative;
  z-index: 1002;
}

.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-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  padding: 48px var(--content-inset);
  pointer-events: none;
}

.hero-mission-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.62) 34%,
    rgba(15, 23, 42, 0.22) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-mission-card {
  position: relative;
  z-index: 1;
  background: none;
  padding: 0;
  max-width: min(480px, 46vw);
  pointer-events: auto;
}

.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(
    180deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.02) 45%,
    rgba(15, 23, 42, 0.2) 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, #0c4a6e 0%, #00b8db 45%, #7c3aed 100%);
}

.hero-slide-bg.theme-man {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a78bfa 100%);
}

.hero-slide-bg.theme-energy {
  background: linear-gradient(135deg, #c2410c 0%, #f97316 40%, #00b8db 100%);
}

.hero-slide-bg.theme-calm {
  background: linear-gradient(135deg, #134e4a 0%, #14b8a6 50%, #34d399 100%);
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 1;
}

.hero-slide-char {
  display: block;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.hero-slide-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  opacity: 0.92;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero-mission-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 16px 0 28px;
  max-width: 400px;
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
}

.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 {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  letter-spacing: 0.04em;
}

.hero-mission-title {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.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-char--latin,
.value-char--latin {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-family: var(--font);
}

.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;
}

.about-tech {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-tech h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.about-tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-tech-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}

.about-tech-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.about-tech code,
.product-detail-desc code,
.infra-card code {
  font-size: 0.82em;
  padding: 2px 6px;
  background: var(--bg-muted);
  border-radius: 4px;
  color: var(--text);
}

/* Products Showcase (ByteDance-style) */
body[data-page="products"] {
  overflow: hidden;
  height: 100vh;
}

body[data-page="products"] main {
  height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
  overflow: hidden;
}

.products-scroll-section {
  position: relative;
  height: 100%;
}

.products-scroll-sticky {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.products-showcase {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  overflow: hidden;
}

.products-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.products-scroll-hint.is-last {
  opacity: 0;
}

.products-scroll-hint-arrow {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  position: relative;
}

.products-scroll-hint-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  animation: scroll-hint-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.35; }
}

.products-showcase-header {
  text-align: center;
  margin-bottom: 12px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.products-showcase-header .section-desc {
  margin: 0 auto;
  max-width: 560px;
}

.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(260px, 340px) 1fr auto;
  gap: 40px;
  align-items: center;
  width: min(1280px, 94vw);
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  padding: 8px 0 48px;
}

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

.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: 20px;
  max-width: 340px;
}

.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;
  text-decoration: none;
  display: inline-block;
}

.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-pills {
  grid-column: 1 / -1;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.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, transform 0.4s ease;
}

.culture-slider-visual.is-changing .culture-slider-img {
  opacity: 0.55;
  transform: scale(1.02);
}

.culture-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.culture-pill.active,
.culture-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* Values strip */
.values-strip {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.values-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-pill {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.value-pill:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 184, 219, 0.35);
}

.value-char {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.value-pill strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.value-pill p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.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-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.download-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  max-width: 720px;
}

.download-platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.download-platform-tab:hover {
  border-color: rgba(0, 184, 219, 0.45);
  color: var(--accent);
}

.download-platform-tab.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-hover);
  box-shadow: var(--shadow-sm);
}

.download-platform-tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.download-platform-tab-icon.windows {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300b8db'%3E%3Cpath d='M3 5.5L10.5 4.5V11.5H3V5.5M10.5 12.5V19.5L3 18.5V12.5H10.5M11.5 4.5L21 3V11.5H11.5V4.5M21 12.5V21L11.5 19.5V12.5H21Z'/%3E%3C/svg%3E");
}

.download-platform-tab-icon.macos {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E");
}

.download-platform-tab-icon.android {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a9f5c'%3E%3Cpath d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85a.637.637 0 00-.87.22l-1.88 3.24a11.43 11.43 0 00-8.46 0L6.05 5.67a.643.643 0 00-.87-.22.637.637 0 00-.22.87L6.8 9.48C3.94 11.04 2 14.16 2 17.64h20c0-3.48-1.94-6.6-4.4-8.16zM7.5 15.75c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25zm9 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25z'/%3E%3C/svg%3E");
}

.download-platform-tab-icon.harmony {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e63946'%3E%3Cpath d='M12 2c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4zm0 10c3.9 0 7 3.1 7 7v3H5v-3c0-3.9 3.1-7 7-7z'/%3E%3C/svg%3E");
}

.download-platform-tab-icon.ios {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23374151'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E");
}

.download-coming-soon {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.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-icon.macos,
.download-icon.ios {
  background: rgba(55, 65, 81, 0.1);
  color: #374151;
}

.download-icon.harmony {
  background: rgba(230, 57, 70, 0.1);
  color: #e63946;
}

.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;
}

.download-actions--primary {
  margin-top: 16px;
}

.download-install-steps {
  margin: 16px 0 0;
  padding: 16px 16px 16px 32px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.download-install-steps li + li {
  margin-top: 8px;
}

.download-advanced {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

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

.download-advanced summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  user-select: none;
  list-style: none;
}

.download-advanced summary::-webkit-details-marker {
  display: none;
}

.download-advanced summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.2s;
}

.download-advanced[open] summary::before {
  transform: rotate(90deg);
}

.download-advanced-inner {
  padding-top: 12px;
}

.download-advanced-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.download-actions--advanced {
  margin-top: 0;
}

.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;
}

.products-preview-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
}

.products-preview-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

.infra-note {
  background: var(--bg-subtle);
  padding-top: 0;
}

.infra-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.infra-list {
  margin-top: 16px;
  padding-left: 1.2em;
  color: var(--text-secondary);
  line-height: 1.85;
}

.infra-list li {
  margin-bottom: 8px;
}

/* Product detail page (e.g. /products/editor/) */
.product-page-hero {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 48px;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.product-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: var(--accent);
}

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

.product-page-icon {
  margin-bottom: 16px;
}

.product-page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.product-page-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.product-page-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-page-tags li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: var(--bg-muted);
  border-radius: 999px;
}

.product-page-hero-visual .product-screenshot {
  max-width: 100%;
}

.product-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-capability-card {
  padding: 28px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-capability-card:hover {
  border-color: rgba(0, 184, 219, 0.35);
  box-shadow: var(--shadow-md);
}

.product-capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-capability-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.product-capability-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.product-workflow {
  background: var(--bg-subtle);
}

.product-workflow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-workflow-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.product-workflow-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.product-workflow-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-specs-card {
  padding: 36px 40px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-specs-card .section-title {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.product-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-specs-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}

.product-specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-specs-list strong {
  color: var(--text);
  font-weight: 600;
}

.product-page-hero--app {
  background: linear-gradient(180deg, rgba(26, 159, 92, 0.06) 0%, var(--bg) 100%);
}

.product-page-phone {
  margin: 0 auto;
  max-width: 280px;
}

.product-painpoints {
  background: var(--bg-subtle);
}

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

.product-pain-card {
  padding: 28px 24px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent);
}

.product-pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.45;
}

.product-pain-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.product-outcomes {
  background: var(--bg-subtle);
}

.product-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-outcome-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.product-outcome-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.product-outcome-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-screenshot-photo {
  padding: 0;
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

.product-screenshot-photo .product-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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 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;
}

/* Legal pages (privacy / agreement) */
.legal-section {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
  background: var(--bg);
}

.legal-wrap {
  max-width: 800px;
}

.legal-eyebrow {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.legal-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-body h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.legal-related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.legal-related a {
  color: var(--accent);
  text-decoration: none;
}

.legal-related a:hover {
  text-decoration: underline;
}

/* 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) {
  body[data-page="products"] {
    overflow: auto;
    height: auto;
  }

  body[data-page="products"] main {
    height: auto;
    overflow: visible;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .milestone-card,
  .milestone-nav { max-width: none; }
  .products-scroll-section {
    height: auto;
  }
  .products-scroll-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }
  .products-scroll-hint {
    display: 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; }
  .product-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-capability-grid,
  .product-pain-grid {
    grid-template-columns: 1fr;
  }
  .product-outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .products-preview-grid--two { max-width: none; }
  .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 {
    max-width: min(420px, 88%);
  }

  .hero-mission-overlay {
    padding: 40px var(--content-inset);
  }
}

@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;
    z-index: 1001;
    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;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  /* Hero: mobile stacked layout */
  .products-scroll-section {
    height: auto;
  }

  .products-scroll-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }

  .products-showcase-header {
    padding-top: calc(var(--header-h) + 20px);
  }

  .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: 200px; }
  .product-detail-desc { max-width: none; }
  .product-visual { min-height: 340px; }
  .products-scroll-hint { display: none; }

  .hero-inner {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-stage {
    display: contents;
  }

  .hero-mission-overlay {
    position: relative;
    inset: auto;
    order: -1;
    display: block;
    padding: 28px 24px 32px;
    background: var(--bg);
    pointer-events: auto;
  }

  .hero-mission-overlay::before {
    display: none;
  }

  .hero-mission-card {
    max-width: none;
  }

  .hero-mission-label {
    background: var(--accent-light);
    border-color: rgba(0, 184, 219, 0.18);
    color: var(--accent-hover);
  }

  .hero-mission-title {
    color: var(--text);
    text-shadow: none;
  }

  .hero-mission-desc {
    color: var(--text-secondary);
    max-width: none;
  }

  .hero-mission-actions .btn-outline-light {
    color: var(--text);
    border-color: var(--border);
    background: transparent;
    backdrop-filter: none;
  }

  .hero-mission-actions .btn-outline-light:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
  }

  .hero-mission-actions {
    flex-direction: column;
  }

  .hero-mission-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-slides {
    position: relative;
    height: min(50vh, 360px);
    min-height: 260px;
    order: 0;
  }

  .hero-banner .hero-dots {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    justify-content: center;
    order: 1;
    padding: 12px 0 20px;
    background: var(--bg-subtle);
  }

  .hero-banner .hero-dots .dot {
    width: 12px;
    height: 12px;
  }

  .values-strip-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-pill {
    padding: 18px 20px;
  }

  .culture-pills {
    display: flex;
  }

  .culture-slider-title-row h3 {
    font-size: 1.15rem;
  }

  .culture-arrow {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 64px 0;
  }

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

  .products-preview-grid,
  .products-preview-grid--two { grid-template-columns: 1fr; }

  .preview-card {
    padding: 24px 20px;
  }

  .download-platform-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .download-platform-tab {
    flex-shrink: 0;
  }

  .download-actions {
    flex-direction: column;
  }

  .download-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .product-workflow-steps {
    grid-template-columns: 1fr;
  }

  .product-page-actions {
    flex-direction: column;
  }

  .product-page-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .product-specs-card {
    padding: 28px 24px;
  }

  body[data-page="about"] .nav-links {
    background: transparent;
  }

  body[data-page="about"] .header-blue .nav-links.open {
    background: linear-gradient(180deg, #0099b8 0%, #6d28d9 100%);
  }

  body[data-page="about"] .header-blue .nav-links.open a {
    color: #fff;
  }
}

@media (max-width: 480px) {
  .hero-mission-title {
    font-size: 1.65rem;
  }

  .product-outcome-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .culture-heading {
    font-size: 1.75rem;
  }

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

  .milestone-card-info {
    padding: 24px 20px;
  }

  .contact-grid {
    gap: 24px;
  }
}

@media (min-width: 993px) {
  .hero-inner {
    height: calc(100vh - var(--header-h));
    max-height: 820px;
  }

  .hero-mission-overlay {
    padding: 56px var(--content-inset);
  }

  .hero-mission-card {
    max-width: 500px;
  }

  .values-strip-inner {
    gap: 28px;
  }

  .products-preview-grid {
    gap: 28px;
  }

  .preview-card {
    padding: 36px 32px;
  }
}
