/* ============================================
   鼎瑞高分子 / Dingrui Polymer — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors (OKLCH) */
  --color-bg: oklch(1 0 0);
  --color-surface: oklch(0.97 0.005 240);
  --color-surface-alt: oklch(0.935 0.008 240);
  --color-primary: oklch(0.55 0.15 58);
  --color-primary-hover: oklch(0.48 0.15 58);
  --color-primary-light: oklch(0.82 0.09 58);
  --color-primary-deep: oklch(0.32 0.10 55);
  --color-primary-glow: oklch(0.88 0.08 58);
  --color-accent: oklch(0.45 0.12 250);
  --color-accent-hover: oklch(0.40 0.12 250);
  --color-accent-light: oklch(0.72 0.06 250);
  --color-ink: oklch(0.12 0.008 50);
  --color-ink-reverse: oklch(0.965 0.005 240);
  --color-muted: oklch(0.55 0.005 240);
  --color-border: oklch(0.88 0.005 240);
  --color-success: oklch(0.55 0.12 150);
  --color-warning: oklch(0.6 0.13 80);

  /* Typography */
  --font-display: 'Sora', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Z-index Scale */
  --z-nav: 100;
  --z-nav-toggle: 110;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 960px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink);
  background: var(--color-bg);
  max-width: 100vw;
  overflow-x: hidden;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

p, li { max-width: 70ch; }

.text-display {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.text-muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

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

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

/* --- Section --- */
.section {
  padding: var(--space-3xl) 0;
}

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

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

.section-header p {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 55ch;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

/* --- Kicker (used sparingly) --- */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  padding: 0.75rem 1rem;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.3s ease;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.nav-logo span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-ink);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: var(--z-nav-toggle);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: all 0.3s ease;
  border-radius: 1px;
}

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

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* --- Hero --- */
.hero {
  padding: 10rem 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, oklch(0.7 0.15 40 / 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, oklch(0.4 0.12 250 / 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 0%, oklch(1 0 0 / 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
  max-width: 100%;
}

.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: oklch(0.88 0.04 58 / 0.85);
  margin-bottom: var(--space-xl);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: oklch(0.88 0.04 58 / 0.5);
  color: white;
}

.hero .btn-outline:hover {
  background: white;
  color: var(--color-primary-deep);
  border-color: white;
}

.hero-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid oklch(1 0 0 / 0.12);
}

.hero-stat-item h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  font-weight: 700;
}

.hero-stat-item p {
  font-size: 0.9rem;
  color: oklch(0.85 0.02 58 / 0.7);
  margin-bottom: 0;
}

/* Hero alt for inner pages */
.hero-inner {
  padding: 8rem 0 var(--space-2xl);
  min-height: auto;
}

.hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* --- Cards --- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-size: 1.25rem;
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  max-width: 100%;
}

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

.card-accent .card-icon {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.card-primary {
  background: var(--color-primary-deep);
  border-color: transparent;
  color: white;
}

.card-primary h3,
.card-primary p {
  color: white;
}

.card-primary .card-icon {
  background: oklch(1 0 0 / 0.15);
  color: white;
}

/* --- Grid patterns --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-xl); }
.grid-auto-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-lg); }

/* --- Stats bar --- */
.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Product card (larger) --- */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--color-bg);
}

.product-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.product-card-image {
  height: 200px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-muted);
}

.product-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  margin-bottom: var(--space-xs);
}

.product-card-body .subtitle {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: var(--space-md);
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-muted);
}

.tag-primary {
  background: var(--color-primary-light);
  color: var(--color-primary-deep);
}

/* --- Split layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 1.5rem;
}

.split-visual.drenched {
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
  color: white;
}

/* --- Case study card --- */
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--color-bg);
}

.case-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.case-card-image {
  background: var(--color-surface);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 2.5rem;
}

.case-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-card-body .industry {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.case-card-body h3 {
  margin-bottom: var(--space-sm);
}

.case-card-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

/* --- News card --- */
.news-card {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-lg);
  align-items: start;
  transition: all 0.2s ease;
}

.news-card:first-child {
  padding-top: 0;
}

.news-card:hover {
  opacity: 0.8;
}

.news-date {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 100%;
}

/* --- Tech feature --- */
.tech-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.tech-feature:first-child {
  padding-top: 0;
}

.tech-feature:last-child {
  border-bottom: none;
}

.tech-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

/* --- Contact form --- */
.contact-form {
  display: grid;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-ink);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

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

/* --- Footer --- */
.footer {
  background: var(--color-primary-deep);
  color: oklch(0.75 0.02 50 / 0.85);
  padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-brand h3 {
  color: white;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 35ch;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  padding-top: var(--space-sm);
}

.breadcrumb a {
  color: var(--color-muted);
  transition: color 0.2s;
}

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

.breadcrumb span {
  color: var(--color-ink);
}

/* --- Product category filter --- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* --- Page-specific --- */
.page-header {
  padding: 8rem 0 var(--space-2xl);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 55ch;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 100%);
  color: white;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: oklch(0.85 0.04 58 / 0.85);
  margin: 0 auto var(--space-xl);
  max-width: 50ch;
}

.cta-section .btn-primary {
  background: white;
  color: var(--color-primary-deep);
}

.cta-section .btn-primary:hover {
  background: oklch(0.95 0.005 240);
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-left, .fade-in-right, .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: var(--z-overlay);
    font-size: 1.25rem;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 6rem 0 var(--space-xl); }
  .hero-stat { grid-template-columns: 1fr; gap: var(--space-md); }

  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split-reverse-mobile .split-visual { order: -1; }

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

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-card-image {
    aspect-ratio: 16/9;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .tech-feature {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .page-header { padding: 5rem 0 var(--space-lg); }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero-stat { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (min-width: 1600px) {
  .container { max-width: 1400px; }
}
