/* ========================================
   剪配圈官网 · 设计系统 + 全站样式
   Design System for iRollHub Website
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --color-deep-navy: #0A1628;
  --color-tech-blue: #1E3A5F;
  --color-accent-teal: #2DD4BF;
  --color-accent-teal-hover: #14B8A6;
  --color-accent-teal-light: rgba(45, 212, 191, 0.12);

  /* Neutral Colors */
  --color-bg-light: #F0F4F8;
  --color-bg-white: #FFFFFF;
  --color-text-primary: #1E293B;
  --color-text-secondary: #64748B;
  --color-text-muted: #94A3B8;
  --color-border: #E2E8F0;
  --color-card-shadow: rgba(10, 22, 40, 0.08);
  --color-white: #FFFFFF;
  --color-gray-100: #F1F5F9;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-card-bg: #0F1E32;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--color-deep-navy) 0%, #0F2440 50%, var(--color-tech-blue) 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(10,22,40,0.85) 0%, rgba(30,58,95,0.75) 100%);
  --gradient-teal: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
  --gradient-section: linear-gradient(180deg, #F0F4F8 0%, #FFFFFF 100%);

  /* Typography */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-hero: clamp(2.5rem, 5vw, 4rem);
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 720px;
  --nav-height: 80px;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px var(--color-card-shadow);
  --shadow-md: 0 4px 12px var(--color-card-shadow);
  --shadow-lg: 0 8px 30px var(--color-card-shadow);
  --shadow-hover: 0 12px 40px rgba(10, 22, 40, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-zh);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

body[data-lang="en"] {
  font-family: var(--font-en);
}

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

a {
  color: var(--color-accent-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-teal-hover);
}

/* ---------- Language Toggle ---------- */
[data-zh] { display: inline; }
[data-en] { display: none; }
body[data-lang="en"] [data-zh] { display: none; }
body[data-lang="en"] [data-en] { display: inline; }

/* Block-level language toggle */
.block-zh { display: block; }
.block-en { display: none; }
body[data-lang="en"] .block-zh { display: none; }
body[data-lang="en"] .block-en { display: block; }

/* Flex-level language toggle */
.flex-zh { display: flex; }
.flex-en { display: none; }
body[data-lang="en"] .flex-zh { display: none; }
body[data-lang="en"] .flex-en { display: flex; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
}

h1 { font-size: var(--font-size-hero); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

.text-hero {
  font-size: var(--font-size-hero);
  font-weight: 700;
  line-height: var(--line-height-tight);
}

.text-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

.text-accent { color: var(--color-accent-teal); }
.text-white { color: #FFFFFF; }
.text-center { text-align: center; }

/* ---------- Layout Containers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

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

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

.section--dark {
  background: var(--color-deep-navy);
  color: #FFFFFF;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #FFFFFF;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

.section--gray {
  background: var(--gradient-section);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--font-size-lg);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar--transparent {
  background: transparent;
}

.navbar--scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar--light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px var(--color-card-shadow);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  list-style: none;
}

.navbar__links a {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-accent-teal);
}

.navbar--light .navbar__links a {
  color: var(--color-text-secondary);
}

.navbar--light .navbar__links a:hover,
.navbar--light .navbar__links a.active {
  color: var(--color-accent-teal);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Toggle Button */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
}

.navbar--light .lang-toggle {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
}

.navbar--light .lang-toggle:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
}

/* Hamburger Menu */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar--light .navbar__hamburger span {
  background: var(--color-text-primary);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a:hover {
  color: var(--color-accent-teal);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn--primary {
  background: var(--gradient-teal);
  color: var(--color-deep-navy);
  border-color: transparent;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 212, 191, 0.35);
  color: var(--color-deep-navy);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
}

.btn--secondary:hover {
  background: var(--color-accent-teal);
  color: var(--color-deep-navy);
  transform: translateY(-2px);
}

.btn--secondary-dark {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

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

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--font-size-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-xs);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.card--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.card--dark .card__title {
  color: #FFFFFF;
}

.card--dark .card__desc {
  color: rgba(255, 255, 255, 0.65);
}

.card--dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent-teal);
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-12) var(--space-6);
}

.hero__logo {
  max-width: 520px;
  margin: 0 auto var(--space-10);
}

.hero__title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-10);
  line-height: var(--line-height-relaxed);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero decorative elements */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Page Hero (non-home pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-20)) 0 var(--space-20);
  background: var(--gradient-hero);
  overflow: hidden;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: var(--font-size-5xl);
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
}

.page-hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
  top: 30%;
  right: 10%;
  pointer-events: none;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.page-hero--bg {
  padding-bottom: var(--space-24);
}

.page-hero--bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.95) 100%);
  z-index: 1;
}

/* ---------- Feature Sections ---------- */
.feature-row {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-16) 0;
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-row__text {
  flex: 1;
}

.feature-row__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__text h3 {
  margin-bottom: var(--space-4);
}

.feature-row__text p {
  margin-bottom: var(--space-6);
}

.feature-row__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent-teal);
}

.product-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 2rem;
  color: var(--color-accent-teal);
}

.product-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.product-card__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-accent-teal);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.product-card__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

.product-card__features {
  list-style: none;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.product-card__features li {
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.product-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent-teal);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- Stats Section ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-accent-teal);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-10);
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
}

.cta-section__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-teal);
  box-shadow: 0 0 0 3px var(--color-accent-teal-light);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Contact Cards ---------- */
.contact-type {
  text-align: center;
  padding: var(--space-10);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: all var(--transition-base);
}

.contact-type:hover {
  border-color: var(--color-accent-teal);
  box-shadow: var(--shadow-md);
}

.contact-type__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  font-size: 1.5rem;
}

.contact-type__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.contact-type__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* ---------- Insights / Blog Cards ---------- */
.insight-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: all var(--transition-base);
}

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

.insight-card__image {
  height: 200px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__image svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.insight-card__body {
  padding: var(--space-6);
}

.insight-card__tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent-teal);
  background: var(--color-accent-teal-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.insight-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.insight-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.insight-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-deep-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer__brand img {
  height: 40px;
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--line-height-relaxed);
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__links a:hover {
  color: var(--color-accent-teal);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature-row { gap: var(--space-10); }
  .stats { gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .page-hero h1 {
    font-size: var(--font-size-3xl);
  }

  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    gap: var(--space-8);
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .stats {
    gap: var(--space-8);
  }

  .stat-item__number {
    font-size: var(--font-size-4xl);
  }
}

/* ---------- Utility Classes ---------- */
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================
   SCREENSHOT SHOWCASE COMPONENTS
   ============================================ */

.screenshot-showcase {
  position: relative;
  display: inline-block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.screenshot-showcase:hover {
  transform: translateY(-8px);
}

/* Phone screenshot frame */
.screenshot-phone {
  width: 240px;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  transition: transform 0.4s ease;
}
.screenshot-phone:hover {
  transform: scale(1.03);
}

/* Desktop screenshot frame */
.screenshot-desktop {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.25));
  transition: transform 0.4s ease;
}
.screenshot-desktop:hover {
  transform: scale(1.02);
}

/* Screenshot Gallery — multiple images side by side */
.screenshot-gallery {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: var(--space-6) 0;
}
.screenshot-gallery .screenshot-showcase {
  flex: 0 0 auto;
}
.screenshot-gallery--phones {
  gap: var(--space-4);
}
.screenshot-gallery--phones .screenshot-phone {
  width: 180px;
}

/* Screenshot Card — image + title + description */
.screenshot-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.screenshot-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
}
.screenshot-card__body {
  padding: var(--space-5);
}
.screenshot-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.screenshot-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* Dark variant screenshot card */
.screenshot-card--dark {
  background: rgba(10, 22, 40, 0.8);
  border-color: rgba(45, 212, 191, 0.15);
}
.screenshot-card--dark:hover {
  border-color: rgba(45, 212, 191, 0.4);
}

/* ============================================
   LOGO WALL
   ============================================ */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-4);
  padding: var(--space-6) 0;
}
.logo-wall__item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  min-height: 80px;
}
.logo-wall__item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-accent-teal);
}
.logo-wall__item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}
.logo-wall__item:hover img {
  filter: brightness(1);
}
/* Full partner logos image (single grid image) */
.logo-wall--single-image {
  grid-template-columns: 1fr;
}
.logo-wall--single-image img {
  width: 100%;
  max-height: none;
  border-radius: 12px;
}

/* ============================================
   CERTIFICATE GRID
   ============================================ */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  padding: var(--space-4) 0;
}
.cert-grid__item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.cert-grid__item img {
  width: 100%;
  height: auto;
  display: block;
}
.cert-grid__caption {
  padding: var(--space-3) var(--space-4);
  background: rgba(10,22,40,0.6);
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  text-align: center;
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
  padding: var(--space-8) 0;
}
/* Connecting line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-teal), rgba(45,212,191,0.2));
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-tech-blue));
  color: var(--color-white);
  font-size: var(--font-size-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: 0 4px 16px rgba(45,212,191,0.3);
}
.process-step__image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: var(--space-3);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}
.process-step__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.process-step__desc {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* ============================================
   METRIC HIGHLIGHTS
   ============================================ */

.metric-row {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  padding: var(--space-8) 0;
}
.metric-highlight {
  text-align: center;
  min-width: 140px;
}
.metric-highlight__value {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent-teal), #7CFFED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.metric-highlight__label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   PRODUCT SHOWCASE SECTIONS
   ============================================ */

/* Feature row with screenshot instead of SVG */
.feature-row__screenshot {
  flex: 1;
  min-width: 0;
}
.feature-row__screenshot .screenshot-desktop {
  width: 100%;
}
.feature-row__screenshot .screenshot-phone {
  display: block;
  margin: 0 auto;
}

/* Full-width showcase image */
.showcase-full {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: var(--space-8) 0;
}
.showcase-full img {
  width: 100%;
  height: auto;
  display: block;
}
.showcase-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-8);
}
.showcase-full__text h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.showcase-full__text p {
  color: var(--color-gray-300);
  font-size: var(--font-size-base);
}

/* Factory photo strip */
.factory-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) 0;
}
.factory-strip__item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}
.factory-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.factory-strip__item:hover img {
  transform: scale(1.05);
}
.factory-strip__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(10,22,40,0.8));
  font-size: var(--font-size-sm);
  color: var(--color-gray-300);
}

/* AI Skills Matrix (dark background + floating cards) */
.skills-matrix {
  position: relative;
  padding: var(--space-12) 0;
  text-align: center;
}
.skills-matrix__bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0.15;
}
.skills-matrix__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skills-matrix__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}
.skill-card {
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 16px;
  padding: var(--space-6);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
}
.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-teal);
}
.skill-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-teal), var(--color-tech-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}
.skill-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}
.skill-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE — New Components
   ============================================ */

@media (max-width: 1024px) {
  .screenshot-gallery--phones .screenshot-phone {
    width: 150px;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before {
    display: none;
  }
  .skills-matrix__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .factory-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-row {
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .screenshot-phone {
    width: 180px;
  }
  .feature-row__visual .screenshot-showcase,
  .feature-row__screenshot .screenshot-showcase,
  .screenshot-gallery .screenshot-showcase {
    width: 100%;
    max-width: 100%;
  }
  .screenshot-desktop {
    width: 100%;
    max-width: 100%;
  }
  .screenshot-gallery {
    gap: var(--space-3);
  }
  .screenshot-gallery--phones .screenshot-phone {
    width: 130px;
  }
  .screenshot-card__image {
    height: 160px;
  }
  .logo-wall {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--space-3);
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .metric-row {
    gap: var(--space-6);
  }
  .metric-highlight__value {
    font-size: 2rem;
  }
  .skills-matrix__grid {
    grid-template-columns: 1fr;
  }
  .factory-strip {
    grid-template-columns: 1fr;
  }
  .showcase-full__overlay {
    padding: var(--space-4);
  }
}

/* ============================================
   HOME V2
   ============================================ */
.home-v2 {
  background: #F6F8FB;
}

.home-v2 img {
  max-width: 100%;
}

.home-hero {
  position: relative;
  min-height: min(820px, 92vh);
  padding: calc(var(--nav-height) + 76px) 0 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #07101D;
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.home-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.9) 0%, rgba(4, 10, 18, 0.66) 42%, rgba(4, 10, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(4, 10, 18, 0.45) 0%, rgba(4, 10, 18, 0.18) 58%, rgba(4, 10, 18, 0.78) 100%);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  width: 100%;
}

.home-hero__copy {
  max-width: 760px;
}

.home-hero__eyebrow,
.home-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7CFFED;
  background: rgba(6, 18, 31, 0.58);
}

.home-hero h1 {
  margin: 22px 0 18px;
  color: #FFFFFF;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero__lead {
  max-width: 680px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-hero__stack {
  display: grid;
  gap: 12px;
  align-self: end;
}

.home-hero__stack div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(7, 16, 29, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-hero__stack div > span {
  display: block;
  margin-bottom: 6px;
  color: #7CFFED;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero__stack strong {
  display: block;
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1.55;
}

.home-hero__stack strong span {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.home-hero__peek {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

.home-section {
  padding: clamp(72px, 9vw, 116px) 0;
  background: #FFFFFF;
}

.home-section--tight {
  padding-top: clamp(64px, 8vw, 92px);
}

.home-section__heading {
  max-width: 1040px;
  margin: 0 auto 44px;
  text-align: center;
}

.home-section__heading .home-label {
  margin: 0 auto 18px;
}

.home-label {
  color: #0F766E;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.22);
}

.home-section__heading h2,
.home-split__copy h2,
.home-proof__copy h2,
.home-cta h2 {
  margin: 0 0 18px;
  color: #0B1728;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.home-section__heading p,
.home-split__copy p,
.home-proof__copy p,
.home-cta p {
  margin: 0;
  color: #5D6B7C;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.85;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-product-card,
.home-audience-card {
  border: 1px solid #DDE6EF;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 18px 42px rgba(11, 23, 40, 0.08);
}

.home-product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #E8EEF5;
}

.home-product-card div {
  padding: 22px;
}

.home-product-card div > span {
  display: block;
  margin-bottom: 10px;
  color: #0F766E;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-product-card h3,
.home-audience-card h3 {
  margin: 0 0 12px;
  color: #0B1728;
  font-size: 1.25rem;
  line-height: 1.35;
}

.home-product-card p,
.home-audience-card p {
  margin: 0;
  color: #5D6B7C;
  font-size: 0.96rem;
  line-height: 1.75;
}

.home-suite {
  background: #F6F8FB;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.home-split--reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.home-split--reverse .home-split__media {
  order: 2;
}

.home-split__media img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(11, 23, 40, 0.18);
}

.home-split__copy .home-label,
.home-proof__copy .home-label,
.home-cta .home-label {
  margin-bottom: 18px;
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.home-flow div,
.home-capability-grid div,
.home-proof__steps div {
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: #FFFFFF;
}

.home-flow strong,
.home-capability-grid strong,
.home-proof__steps strong {
  display: block;
  margin-bottom: 8px;
  color: #0F766E;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 800;
}

.home-flow span,
.home-capability-grid span,
.home-proof__steps span {
  color: #203047;
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-section--dark {
  background: #091522;
}

.home-section--dark h2,
.home-section--dark h3 {
  color: #FFFFFF;
}

.home-section--dark p {
  color: rgba(255, 255, 255, 0.74);
}

.home-section--dark .home-label {
  color: #7CFFED;
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.26);
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.home-capability-grid div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-capability-grid span {
  color: rgba(255, 255, 255, 0.82);
}

.home-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-audience-card {
  padding: 24px;
  box-shadow: none;
}

.home-proof {
  background: #F6F8FB;
}

.home-proof__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.home-proof__steps {
  display: grid;
  gap: 14px;
}

.home-proof__steps div {
  background: #FFFFFF;
  box-shadow: 0 16px 38px rgba(11, 23, 40, 0.07);
}

.home-cta {
  position: relative;
  padding: clamp(80px, 10vw, 132px) 0;
  overflow: hidden;
  text-align: center;
  color: #FFFFFF;
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.88), rgba(4, 10, 18, 0.58)),
    url('../images/home/home-hero-industrial.png') center / cover;
}

.home-cta h2,
.home-cta p {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.home-cta p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
}

.home-cta .home-label {
  margin-left: auto;
  margin-right: auto;
  color: #7CFFED;
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.3);
}

@media (max-width: 1024px) {
  .home-hero__inner,
  .home-split,
  .home-split--reverse,
  .home-proof__inner {
    grid-template-columns: 1fr;
  }

  .home-split--reverse .home-split__media {
    order: 0;
  }

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

  .home-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 42px) 0 58px;
  }

  .home-hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 10, 18, 0.78) 0%, rgba(4, 10, 18, 0.64) 46%, rgba(4, 10, 18, 0.9) 100%),
      linear-gradient(90deg, rgba(4, 10, 18, 0.84), rgba(4, 10, 18, 0.3));
  }

  .home-hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.6rem);
  }

  .home-hero__lead {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  .home-hero__actions {
    width: 100%;
  }

  .home-hero__actions .btn {
    width: 100%;
    max-width: none;
  }

  .home-hero__stack {
    display: none;
  }

  .home-hero__peek {
    display: none;
  }

  .home-section__heading {
    text-align: left;
  }

  .home-section__heading .home-label {
    margin-left: 0;
  }

  .home-flow,
  .home-capability-grid,
  .home-audience-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card div,
  .home-audience-card {
    padding: 20px;
  }
}

body[data-lang="zh"] [data-en] {
  display: none !important;
}

body[data-lang="zh"] [data-zh] {
  display: inline !important;
}

body[data-lang="en"] [data-zh] {
  display: none !important;
}

body[data-lang="en"] [data-en] {
  display: inline !important;
}

/* ============================================
   INNER PAGE HERO REFRESH
   ============================================ */
.page-hero {
  min-height: clamp(420px, 58vh, 620px);
  padding: calc(var(--nav-height) + 68px) 0 72px;
  display: flex;
  align-items: center;
  background: #07101D;
  isolation: isolate;
}

.page-hero__bg {
  opacity: 1;
  z-index: 0;
}

.page-hero--bg::after {
  background:
    linear-gradient(90deg, rgba(4, 10, 18, 0.9) 0%, rgba(4, 10, 18, 0.66) 46%, rgba(4, 10, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 10, 18, 0.28) 0%, rgba(4, 10, 18, 0.78) 100%);
}

.page-hero__glow {
  display: none;
}

.page-hero__content {
  width: min(100% - 48px, var(--max-width));
  max-width: var(--max-width);
  text-align: left;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 420px;
    padding: calc(var(--nav-height) + 42px) 0 54px;
  }

  .page-hero--bg::after {
    background:
      linear-gradient(180deg, rgba(4, 10, 18, 0.7) 0%, rgba(4, 10, 18, 0.88) 100%),
      linear-gradient(90deg, rgba(4, 10, 18, 0.86), rgba(4, 10, 18, 0.32));
  }

  .page-hero__content {
    width: min(100% - 48px, var(--max-width));
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .page-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .home-hero__eyebrow,
  .home-label {
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .home-section__heading h2,
  .home-split__copy h2,
  .home-proof__copy h2,
  .home-cta h2 {
    font-size: 1.85rem;
  }
}
