:root {
  --bg: #0b0f0e;
  --bg-dark: #050707;
  --bg-accent: #101614;
  --text: #e8f1e7;
  --text-muted: #9aa89a;
  --text-light: #c8d6c8;
  --primary: #76b900;
  --secondary: #c3ff4d;
  --card: #0f1512;
  --card-dark: rgba(118, 185, 0, 0.08);
  --border: rgba(118, 185, 0, 0.2);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", "Arial", sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, rgba(118, 185, 0, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(118, 185, 0, 0.18) 0%, transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  position: sticky;
  top: 0;
  background: rgba(9, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(118, 185, 0, 0.2);
  z-index: 10;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo.small {
  width: 40px;
  height: 40px;
}

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

.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--primary);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-item > a:hover {
  border-color: var(--primary);
}

.nav-item.has-dropdown > a::after {
  content: "▾";
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 5;
}

.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  border-bottom: none;
}

.nav-dropdown a:hover {
  background: rgba(118, 185, 0, 0.14);
}

.nav-group {
  padding: 4px 0;
}

.nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-group-title {
  display: block;
  padding: 8px 12px;
  font-weight: 600;
  color: var(--text);
}

.nav-group-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s, transform 0.2s;
}

.nav-group-toggle:hover {
  background: rgba(118, 185, 0, 0.12);
  color: var(--text);
}

.nav-group-toggle svg {
  transition: transform 0.2s ease;
}

.nav-group.is-open .nav-group-toggle svg {
  transform: rotate(180deg);
}

.nav-submenu {
  display: none;
  gap: 4px;
  padding: 0 12px 6px;
}

.nav-group.is-open .nav-submenu {
  display: grid;
}

.nav-submenu a {
  padding: 6px 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-submenu a:hover {
  color: var(--text);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.9rem;
  background: var(--primary);
  color: #0b0f0e;
  border-color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(118, 185, 0, 0.1);
  border: 1px solid rgba(118, 185, 0, 0.25);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
  display: flex;
  gap: 8px;
  background: rgba(118, 185, 0, 0.12);
  padding: 6px;
  border-radius: 999px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #0b0f0e;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 6vw 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(118, 185, 0, 0.35), rgba(0, 0, 0, 0.4)),
    url("assets/banner1.jpg") center/cover no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #0b0f0e;
  box-shadow: var(--shadow);
}

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

.btn:hover {
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.highlight-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

.highlight-card span {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  background-image: linear-gradient(140deg, rgba(118, 185, 0, 0.16), rgba(12, 18, 14, 0));
}

.hero-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.section {
  padding: 72px 6vw;
}

/* ── Banner Carousel ── */
.banner-carousel {
  position: relative;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  width: 48px;
  height: 64px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border-radius: 6px;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(118, 185, 0, 0.7);
}

.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--primary);
  transform: scale(1.3);
}

.section-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.section.dark {
  background: var(--bg-dark);
  color: #fff;
}

.section.dark .section-desc,
.section.dark .section-kicker {
  color: var(--text-light);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
}

.section h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  margin-top: 10px;
}

.section-desc {
  max-width: 420px;
  color: var(--text-muted);
}

.card-grid,
.solution-grid,
.news-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-details-list {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-light);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

.subcategory-group {
  margin-top: 24px;
}

.subcategory-header h4 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.product-category,
.subcategory-group {
  scroll-margin-top: 110px;
}

.product-category:target,
.subcategory-group:target {
  outline: 1px solid rgba(118, 185, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(118, 185, 0, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
}

.solution-card {
  scroll-margin-top: 110px;
}

.solution-card:target {
  outline: 1px solid rgba(118, 185, 0, 0.55);
  box-shadow: 0 0 0 1px rgba(118, 185, 0, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
}

.solution-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card,
.solution-card,
.news-card,
.contact-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}

.section.dark .solution-card {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.card img,
.news-card img {
  border-radius: 14px;
  height: 160px;
  object-fit: cover;
}

.product-card {
  position: relative;
}

.product-card.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 24px;
}

.product-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card .card-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.product-card .card-media-link {
  display: inline-flex;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card .card-media-link:hover {
  transform: translateY(-2px);
}

.product-card .card-media-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.product-card .card-media img {
  width: 220px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 20, 30, 0.12);
}

@media (max-width: 720px) {
  .product-card.has-media {
    grid-template-columns: 1fr;
  }

  .product-card .card-media {
    justify-content: flex-start;
  }

  .product-card .card-media img {
    width: 100%;
    height: 220px;
  }
}

.card h3,
.solution-card h3,
.news-card h3 {
  font-size: 1.2rem;
}

.card p,
.solution-card p,
.news-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section.dark .solution-card p {
  color: var(--text-light);
}

.solution-card ul {
  padding-left: 18px;
  color: var(--text-light);
  font-size: 0.92rem;
  display: grid;
  gap: 6px;
}

.solution-card li {
  list-style: disc;
}

.solution-lead {
  color: var(--text-light);
}

.solution-example {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.card .meta,
.news-card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(118, 185, 0, 0.18);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.card .more {
  margin-top: auto;
  font-weight: 600;
  color: var(--primary);
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card-actions .download {
  color: var(--secondary);
}

.card-details {
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

.card-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  list-style: none;
}

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

.card-details[open] summary {
  margin-bottom: 6px;
}

.card-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.section.dark .card .more {
  color: #fff;
}

.product-category {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.product-categories {
  display: grid;
  gap: 32px;
}

.category-header h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.category-header p {
  color: var(--text-muted);
  max-width: 560px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

body[data-page="products"] .category-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

body[data-page="products"] .product-card.has-media {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

body[data-page="products"] .product-card:not(.has-media) {
  padding: 0;
  overflow: hidden;
}

body[data-page="products"] .product-card .card-media {
  width: 100%;
  justify-content: stretch;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(118, 185, 0, 0.08), rgba(255, 255, 255, 0.03));
  border-bottom: 1px solid var(--border);
}

body[data-page="products"] .product-card .card-media-link {
  width: 100%;
  border-radius: 0;
}

body[data-page="products"] .product-card .card-media img {
  width: 100%;
  max-width: none;
  height: 178px;
  border-radius: 0;
  object-fit: contain;
  padding: 14px;
  box-shadow: none;
}

body[data-page="products"] .product-card .card-content {
  min-height: 240px;
  padding: 18px;
}

body[data-page="products"] .product-card h3 {
  min-height: 2.8em;
  font-size: 1.04rem;
  line-height: 1.4;
}

body[data-page="products"] .product-card .card-content > p,
body[data-page="products"] .card-details p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-page="products"] .card-details-list {
  display: none;
}

body[data-page="products"] .card-actions {
  padding-top: 4px;
}

body[data-page="products"] .card-actions .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(118, 185, 0, 0.32);
  border-radius: 8px;
  background: rgba(118, 185, 0, 0.08);
}

body[data-page="products"] .card-actions .download {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

body[data-page="products"] .product-categories {
  gap: 44px;
}

body[data-page="products"] .product-category {
  gap: 18px;
  margin-bottom: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(118, 185, 0, 0.18);
}

body[data-page="products"] .product-category:first-child {
  padding-top: 0;
  border-top: 0;
}

body[data-page="products"] .category-header {
  display: grid;
  gap: 6px;
}

body[data-page="products"] .category-header h3 {
  font-size: 1.35rem;
}

body[data-page="products"] .category-header p {
  max-width: 760px;
}

body[data-page="products"] .subcategory-group {
  margin-top: 12px;
}

body[data-page="products"] .subcategory-header {
  padding: 8px 0 2px;
}

body[data-page="products"] .subcategory-header h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 1rem;
}

body[data-page="products"] .subcategory-header h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(118, 185, 0, 0.14);
}

@media (max-width: 960px) {
  body[data-page="products"] .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  body[data-page="products"] .product-card .card-media img {
    height: 160px;
  }
}

@media (max-width: 560px) {
  body[data-page="products"] .section {
    padding-top: 44px;
  }

  body[data-page="products"] .category-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] .product-card .card-content {
    min-height: auto;
  }

  body[data-page="products"] .product-card h3 {
    min-height: auto;
  }
}

.tab-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(15, 20, 17, 0.9);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.is-active {
  background: var(--primary);
  color: #0b0f0e;
}

.partners {
  background: var(--bg-accent);
}

.partners-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  align-items: flex-start;
  gap: 10px;
}

.contact-card span {
  font-weight: 700;
}

.detail-page .section {
  padding-top: 40px;
}

.detail-article {
  max-width: 980px;
  margin: 0 auto;
  background: var(--card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(200px, 360px) minmax(240px, 1fr);
  gap: 24px;
  align-items: center;
}

.detail-hero img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.detail-hero .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.detail-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 6px;
}

.detail-body {
  margin-top: 24px;
  color: var(--text);
}

.detail-body img {
  max-width: 100%;
  border-radius: 14px;
  margin: 16px 0;
}

.detail-body p {
  margin-bottom: 16px;
}

.download-group {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.download-group h3 {
  font-size: 1.3rem;
}

.download-group p {
  color: var(--text-muted);
}

.download-list {
  display: grid;
  gap: 14px;
}

.download-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.product-hero {
  margin-top: 8px;
}

.product-points {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-detail .card-actions {
  margin-top: 8px;
}

.product-section {
  margin-top: 28px;
}

.section-header.compact {
  margin-bottom: 12px;
}

.text-feature-card {
  padding: 24px 26px;
  background:
    linear-gradient(160deg, rgba(118, 185, 0, 0.12), rgba(15, 21, 18, 0.96)),
    var(--card);
}

.feature-copy {
  color: var(--text);
  line-height: 1.95;
  font-size: 1rem;
}

.feature-text-list {
  gap: 14px;
}

.story-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.story-split.reverse {
  grid-template-columns: minmax(320px, 1.08fr) minmax(260px, 0.92fr);
}

.application-stack {
  display: grid;
  gap: 24px;
}

.application-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}

.application-block.reverse {
  grid-template-columns: minmax(320px, 1.08fr) minmax(260px, 0.92fr);
}

.story-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  background:
    linear-gradient(140deg, rgba(118, 185, 0, 0.22), rgba(6, 8, 8, 0.3)),
    rgba(118, 185, 0, 0.08);
  border: 1px solid rgba(118, 185, 0, 0.18);
  box-shadow: var(--shadow);
}

.story-media::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 255, 77, 0.35), transparent 72%);
  pointer-events: none;
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.story-content {
  justify-content: flex-start;
  padding: 28px;
  gap: 18px;
  background:
    linear-gradient(160deg, rgba(118, 185, 0, 0.14), rgba(15, 21, 18, 0.96)),
    var(--card);
}

.story-lead {
  color: var(--text-light);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.scenario-copy {
  color: var(--text);
  line-height: 1.9;
}

.scenario-copy.muted {
  color: var(--text-muted);
}

.story-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.story-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 16px;
  background: rgba(118, 185, 0, 0.08);
  border: 1px solid rgba(118, 185, 0, 0.15);
  color: var(--text-light);
}

.story-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 0 5px rgba(118, 185, 0, 0.14);
}

.table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(118, 185, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(118, 185, 0, 0.12), rgba(8, 12, 10, 0.96)),
    var(--card);
  box-shadow: var(--shadow);
  padding: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 520px;
  background: transparent;
}

.spec-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(118, 185, 0, 0.88), rgba(163, 226, 36, 0.92));
  color: #091006;
  border-bottom: 1px solid rgba(118, 185, 0, 0.24);
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
  z-index: 1;
}

.spec-table thead th:first-child {
  border-top-left-radius: 14px;
}

.spec-table thead th:last-child {
  border-top-right-radius: 14px;
}

.spec-table tbody td {
  padding: 15px 18px;
  border-bottom: 12px solid transparent;
  color: var(--text-light);
  vertical-align: top;
  transition: background 0.2s ease, color 0.2s ease;
  background-clip: padding-box;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.spec-table tbody tr:nth-child(odd) td {
  background: rgba(13, 19, 15, 0.96);
}

.spec-table tbody tr:nth-child(even) td {
  background: rgba(20, 30, 22, 0.96);
}

.spec-table tbody tr:hover td {
  background: rgba(41, 63, 24, 0.96);
}

.spec-table tbody tr {
  position: relative;
}

.spec-table tbody tr td {
  border-top: 1px solid rgba(118, 185, 0, 0.1);
}

.spec-table tbody tr td:first-child {
  border-left: 1px solid rgba(118, 185, 0, 0.18);
}

.spec-table tbody tr td:last-child {
  border-right: 1px solid rgba(118, 185, 0, 0.12);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody td:first-child {
  width: 30%;
  color: #f1f8ed;
  font-weight: 600;
  background:
    linear-gradient(90deg, rgba(118, 185, 0, 0.4), rgba(118, 185, 0, 0.18));
  border-right: 2px solid rgba(195, 255, 77, 0.28);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.spec-table tbody tr:hover td:first-child {
  background:
    linear-gradient(90deg, rgba(118, 185, 0, 0.6), rgba(118, 185, 0, 0.24));
}

.spec-table tbody td:last-child {
  color: #d8e6d3;
  font-weight: 500;
}

.spec-table tbody tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.spec-table tbody tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.scenario-list {
  list-style: none;
  grid-template-columns: 1fr;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(118, 185, 0, 0.08);
  border: 1px solid rgba(118, 185, 0, 0.16);
}

.download-name {
  display: block;
  font-weight: 600;
}

.download-meta {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.download-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-footer {
  padding: 32px 6vw 40px;
  background: #050707;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-badge img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  /* Header: single row with hamburger, nav panel wraps below */
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 5vw;
    gap: 0;
  }

  .logo-group {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Nav: full-width panel, hidden until opened */
  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 99;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(118, 185, 0, 0.18);
    margin-top: 12px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  /* Simple (non-dropdown) nav links */
  .site-nav > a {
    display: block;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(118, 185, 0, 0.08);
    font-weight: 600;
  }

  /* Nav items */
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(118, 185, 0, 0.08);
    width: 100%;
  }

  .nav-item.has-dropdown > a::after {
    content: "▾";
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s;
  }

  .nav-item.has-dropdown.is-open > a::after {
    transform: rotate(180deg);
  }

  /* Disable hover-based dropdown on mobile */
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
  }

  /* Dropdown: static, hidden by default */
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(118, 185, 0, 0.04);
    border: none;
    border-left: 2px solid rgba(118, 185, 0, 0.22);
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 8px 12px;
    display: none;
    min-width: 0;
    margin-bottom: 2px;
    transition: none;
  }

  /* Show dropdown only via JS .is-open class */
  .nav-item.has-dropdown.is-open .nav-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown a {
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .nav-group-title {
    padding: 6px 8px;
    font-size: 0.92rem;
  }

  .nav-submenu {
    padding: 0 0 4px 8px;
  }

  /* Layout */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 5vw 32px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .story-split,
  .story-split.reverse,
  .application-block,
  .application-block.reverse {
    grid-template-columns: 1fr;
  }

  .story-media,
  .story-media img {
    min-height: 240px;
  }

  .spec-table {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 4vw;
  }

  .brand-sub {
    display: none;
  }

  .brand-title {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .lang-switch {
    padding: 4px;
    gap: 4px;
  }

  .lang-btn {
    padding: 5px 10px;
    font-size: 0.85rem;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .section {
    padding: 48px 4vw;
  }

  .hero {
    padding: 36px 4vw 28px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid,
  .news-grid,
  .contact-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .detail-article {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .story-content {
    padding: 18px;
  }

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