/* ===== CSS Variables ===== */
:root {
  --color-bg: #0a0a0a;
  --color-bg-dark: #111111;
  --color-bg-card: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-text-light: rgba(255, 255, 255, 0.75);
  --color-border: #e5e5e5;
  --color-accent: #7c3aed;
  --color-accent-light: #a78bfa;
  --font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-height: 120px;
  --container-max: 1200px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img:not(.logo-img) {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-text);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline-dark:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow,
.link-more:hover span {
  transform: translateX(4px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.link-more span {
  display: inline-block;
  transition: transform var(--transition);
}

.link-more:hover {
  color: var(--color-accent);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.96);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo .logo-img {
  display: block;
  width: auto;
  height: 110px;
  max-width: none;
  min-width: 0;
  object-fit: contain;
  filter: invert(1);
}

.logo-img--footer {
  height: 200px;
  max-width: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.lang-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 38%,
    rgba(30, 0, 60, 0.2) 100%
  );
}

.hero-content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  right: 24px;
  transform: translateY(-50%);
  width: auto;
  max-width: 640px;
  margin: 0;
  padding: calc(var(--header-height) / 2) 0 0;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  word-break: keep-all;
  white-space: normal;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--color-text-light);
  margin-bottom: 10px;
  line-height: 1.65;
  max-width: 520px;
  word-break: keep-all;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Capabilities ===== */
.capabilities {
  background: var(--color-white);
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--color-border);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.capability-item {
  text-align: center;
  padding: 8px 6px;
}

.capability-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--color-text);
}

.capability-icon svg {
  width: 100%;
  height: 100%;
}

.capability-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0;
}

.capability-item p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

@media (min-width: 1025px) {
  .capability-item p {
    display: none;
  }
}

/* ===== Section Headers ===== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ===== Products ===== */
.products {
  background: var(--color-white);
}

.products-header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 8px;
}

.products-header .section-title {
  margin-bottom: 10px;
}

.products-header .section-desc {
  margin: 0 auto;
  max-width: 560px;
  font-size: 0.9rem;
}

.products-header-link {
  position: absolute;
  right: 0;
  top: 0.35em;
  font-size: 0.9rem;
  white-space: nowrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.product-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: opacity var(--transition);
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-image {
  height: 160px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #f5f5f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 136px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-image-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f0f0f5, #e8e8ef);
}

.custom-cube {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #7c3aed, #ec4899, #3b82f6);
  border-radius: 14px;
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.45);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124, 58, 237, 0.5); }
  50% { box-shadow: 0 0 60px rgba(236, 72, 153, 0.7); }
}

.product-info {
  padding: 14px 2px 0;
  text-align: left;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.product-tags {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-info .link-more {
  font-size: 0.8rem;
}

/* ===== Solutions ===== */
.solutions {
  background: #fafafa;
}

.solutions-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.solutions-intro .section-desc {
  margin-bottom: 32px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.solution-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover img {
  transform: scale(1.08);
}

.solution-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.solution-overlay span {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
}

.solution-detail {
  margin-top: 48px;
  padding: 40px 48px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  scroll-margin-top: 140px;
}

.solution-detail-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.5;
}

.solution-detail h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 28px 0 12px;
}

.solution-detail p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 0;
}

/* ===== Solution Detail Page ===== */
.solution-page {
  padding-top: 0;
}

.solution-page-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.solution-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.75));
}

.solution-page-back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.solution-page-back:hover {
  color: var(--color-white);
}

.solution-page-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.solution-page-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.solution-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 0 80px;
}

.solution-page-lead {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.solution-page-section {
  margin-bottom: 36px;
}

.solution-page-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}

.solution-page-section p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.solution-page-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.solution-page-advantages {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.solution-page-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-page-advantages li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.solution-page-advantages li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary, #0066cc);
}

.solution-page-advantages li strong {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .solution-page {
    padding-top: 0;
  }

  .solution-page-hero {
    height: 260px;
  }

  .solution-page-hero-overlay {
    padding-bottom: 32px;
  }

  .solution-page-content {
    padding: 40px 0 60px;
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--color-bg-dark);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-white);
}

.stat-item p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== About ===== */
.about {
  background: var(--color-white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-content .btn {
  margin-top: 16px;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== News ===== */
.news {
  background: #fafafa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  gap: 16px;
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  padding: 16px;
  transition: box-shadow var(--transition);
}

.news-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.news-thumb {
  flex-shrink: 0;
  display: block;
  width: 90px;
  height: 120px;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  cursor: zoom-in;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.news-thumb:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.news-thumb--landscape {
  width: 130px;
  height: 74px;
  align-self: center;
}

.news-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-body h3 {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg);
  color: rgba(255, 255, 255, 0.65);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-brand .logo,
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-contact h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.wechat-qr {
  margin-top: 16px;
}

.wechat-qr p {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.wechat-qr img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: var(--color-white);
  padding: 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner p {
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.icp {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Scroll 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);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .capability-item p {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .products-header-link {
    position: static;
    display: block;
    margin-top: 12px;
  }

  .solutions-wrapper {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  .logo .logo-img {
    height: 88px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-detail {
    margin-top: 32px;
    padding: 28px 20px;
    scroll-margin-top: 100px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    left: 20px;
    right: 20px;
    max-width: none;
    padding-top: calc(var(--header-height) / 3);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: none;
  }

  .hero-tagline {
    letter-spacing: 2px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Image Lightbox ===== */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.image-lightbox.open {
  display: flex;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 520px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxIn 0.25s ease;
}

.image-lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  background: #fff;
}

.image-lightbox-caption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
  max-width: 480px;
}

.image-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.image-lightbox-close:hover {
  background: #fff;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
