/* ========================================
   南京溧水创鑫电子有限公司 - 全局样式
   设计风格：磨砂亚麻 / 科技现代 / 商务蓝
   ======================================== */

/* --- CSS Variables --- */
:root {
  --canvas: #fcfcfc;
  --sky-wash: #f0f4fe;
  --midnight: #020520;
  --graphite: #14141e;
  --slate: #374151;
  --fog: #696a72;
  --deep-fog: #95959b;
  --steel: #6b7280;
  --signal-blue: #145aff;
  --action-blue: #0f1f3d;
  --emerald: #16ca2e;
  --coral: #f26052;
  --sky-info: #0099ff;
  --amber: #ffa64d;
  --hero-gradient: linear-gradient(rgb(59, 130, 246) 0%, rgb(20, 90, 255) 100%);
  --hero-glow: radial-gradient(97.8% 181.6% at 53.7% 50%, rgb(20, 20, 30) 0%, rgba(88, 107, 141, 0.8) 100%);
  --shadow-card: rgba(0, 0, 0, 0.1) 0px 0px 4px -2px;
  --shadow-elevated: rgba(0, 0, 0, 0.25) 0px 0px 4px -2px;
  --shadow-feature: rgba(0, 0, 0, 0.082) 0px 0.36px 1.81px -1.42px, rgba(0, 0, 0, 0.07) 0px 1.37px 6.87px -2.83px, rgba(0, 0, 0, 0.016) 0px 6px 30px -4.25px;
  --shadow-focus: rgba(20, 90, 255, 0.1) 0px 0px 50px -28px, rgba(0, 0, 0, 0.18) 0px 0px 3px -1px;
  --radius-pill: 100px;
  --radius-card: 8px;
  --radius-badge: 4px;
  --radius-image: 16px;
  --radius-input: 12px;
  --radius-modal: 32px;
  --radius-btn: 12px;
  --radius-large-card: 40px;
  --max-width: 1200px;
  --section-gap: 80px;
}

/* --- 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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.06px;
  color: var(--slate);
  background-color: var(--canvas);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
.text-caption { font-size: 10px; line-height: 1.2; letter-spacing: 0.13px; }
.text-body { font-size: 14px; line-height: 1.43; letter-spacing: 0.06px; }
.text-heading-sm { font-size: 18px; line-height: 1.4; letter-spacing: -0.16px; }
.text-heading { font-size: 22px; line-height: 1.25; letter-spacing: -0.22px; }
.text-heading-lg { font-size: 40px; line-height: 1.08; letter-spacing: -0.76px; }
.text-display { font-size: 56px; line-height: 1.05; letter-spacing: -1.51px; }

h1, h2, h3, h4, h5, h6 {
  color: var(--midnight);
  font-weight: 600;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-alt {
  background-color: var(--sky-wash);
}

/* Products page background - soft gray */
.section-products-bg {
  background-color: #F5F7FA;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

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

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--midnight);
  letter-spacing: -0.16px;
  flex-shrink: 0;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--hero-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-nav > a:hover,
.navbar-nav > a.active {
  background: var(--sky-wash);
  color: var(--graphite);
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.nav-dropdown > a:hover {
  background: var(--sky-wash);
  color: var(--graphite);
}

.nav-dropdown > a i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--graphite);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--sky-wash);
  color: var(--signal-blue);
}

.dropdown-menu a i {
  font-size: 14px;
  color: var(--signal-blue);
  width: 18px;
  text-align: center;
}

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

/* --- Language Toggle --- */
.lang-toggle {
  padding: 6px 14px;
  border: 1px solid var(--signal-blue);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--signal-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.lang-toggle:hover {
  background: var(--signal-blue);
  color: #fff;
}

.lang-toggle.active {
  background: var(--signal-blue);
  color: #fff;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--action-blue);
  border: 1px solid var(--action-blue);
}

.btn-outline:hover {
  background: var(--sky-wash);
  border-color: var(--midnight);
}

.btn-primary {
  background: var(--hero-gradient);
  color: #ffffff;
  font-weight: 600;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-focus);
}

.btn-ghost {
  background: var(--canvas);
  color: var(--signal-blue);
  border: 1px solid rgba(20, 90, 255, 0.3);
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-size: 16px;
}

.btn-ghost:hover {
  border-color: var(--signal-blue);
  box-shadow: var(--shadow-focus);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--canvas);
  overflow: hidden;
}

/* --- Hero Carousel --- */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(182, 203, 253, 0.4) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 30% 60%, rgba(147, 175, 255, 0.2) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* --- Hero Carousel Controls --- */
.hero-carousel-controls {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-carousel-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 90, 255, 0.08);
  border: 1px solid rgba(20, 90, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-blue);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.51px;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fog);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-decoration {
  display: none;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-header .label::before,
.section-header .label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--signal-blue);
  opacity: 0.4;
}

.section-header h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fog);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Cards --- */
.card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.card-lg {
  border-radius: var(--radius-large-card);
  padding: 52px 72px;
  box-shadow: var(--shadow-feature);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--sky-wash);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--signal-blue);
}

.feature-card h3 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
}

.product-card-image {
  width: 100%;
  height: 200px;
  background: var(--sky-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--signal-blue);
  overflow: hidden;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
  margin-bottom: 16px;
}

.product-card-body .link {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: var(--signal-blue);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(20, 90, 255, 0.2);
}

.product-card-body .link:hover {
  gap: 10px;
  background: var(--action-blue);
  box-shadow: 0 4px 8px rgba(20, 90, 255, 0.3);
  transform: translateY(-1px);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-image);
  overflow: hidden;
  background: var(--mist);
  min-height: 480px;
}

.about-content h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fog);
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

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

.stat-item .number {
  font-size: 40px;
  font-weight: 600;
  color: var(--midnight);
  letter-spacing: -0.76px;
}

.stat-item .label {
  font-size: 12px;
  color: var(--fog);
  margin-top: 4px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--signal-blue), rgba(20, 90, 255, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--signal-blue);
  border-radius: 50%;
  border: 3px solid var(--canvas);
  box-shadow: 0 0 0 2px var(--signal-blue);
}

.timeline-item .year {
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-blue);
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
}

/* --- News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.news-card-image {
  width: 100%;
  height: 180px;
  background: var(--sky-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--signal-blue);
}

.news-card-body {
  padding: 24px;
}

.news-card-body .date {
  font-size: 12px;
  color: var(--deep-fog);
  margin-bottom: 8px;
}

.news-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
  margin-bottom: 12px;
}

/* --- Cases / Clients --- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  height: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-elevated);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--graphite);
  background: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: var(--radius-input);
  padding: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sky-info);
  box-shadow: rgba(0, 153, 255, 1) 0px 0px 0px 3px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--deep-fog);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--sky-wash);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--signal-blue);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--fog);
  line-height: 1.5;
}

/* --- Footer --- */
.footer {
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(182, 203, 253, 0.3) 0%, transparent 70%), var(--canvas);
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fog);
  margin-bottom: 16px;
}

.page-header .breadcrumb a {
  color: var(--fog);
  transition: color 0.2s;
}

.page-header .breadcrumb a:hover {
  color: var(--signal-blue);
}

.page-header .breadcrumb .separator {
  color: var(--deep-fog);
}

.page-header h1 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  color: var(--midnight);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--fog);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Detail Page --- */
.detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.detail-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.detail-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 16px;
}

.detail-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.detail-content ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  list-style: disc;
  margin-bottom: 4px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-meta .date {
  font-size: 12px;
  color: var(--deep-fog);
}

.detail-meta .tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-blue);
  background: rgba(20, 90, 255, 0.08);
  padding: 2px 10px;
  border-radius: var(--radius-badge);
}

.detail-image {
  width: 100%;
  height: 400px;
  background: var(--sky-wash);
  border-radius: var(--radius-image);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--signal-blue);
}

/* --- Product Detail --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-image {
  width: 100%;
  height: 400px;
  background: var(--sky-wash);
  border-radius: var(--radius-image);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--signal-blue);
}

.product-detail-info h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.product-detail-info .desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fog);
  margin-bottom: 24px;
}

/* --- Product Detail New Layout (左图右上简介右下详情) --- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-left {
  position: sticky;
  top: 100px;
}

.product-detail-left .product-detail-image {
  width: 100%;
  height: 450px;
  background: var(--sky-wash);
  border-radius: var(--radius-image);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-detail-left .product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: var(--signal-blue);
  background: var(--sky-wash);
  border-radius: var(--radius-image);
}

.product-detail-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-detail-summary {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.product-detail-summary h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.product-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 90, 255, 0.08);
  color: var(--signal-blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-summary-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fog);
  margin-bottom: 24px;
}

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

.product-detail-description {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.product-detail-description h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.description-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 12px;
}

.description-content p:last-child {
  margin-bottom: 0;
}

/* --- Product Category Tabs --- */
.product-category-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-tab:hover {
  border-color: var(--signal-blue);
  color: var(--signal-blue);
}

.category-tab.active {
  background: var(--signal-blue);
  border-color: var(--signal-blue);
  color: #ffffff;
}

.category-title {
  text-align: center;
  margin-bottom: 40px;
}

.category-title h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-title p {
  font-size: 15px;
  color: var(--fog);
}

.product-specs {
  margin-bottom: 32px;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-specs table td {
  padding: 12px 0;
  font-size: 14px;
}

.product-specs table td:first-child {
  color: var(--fog);
  width: 120px;
}

.product-specs table td:last-child {
  color: var(--graphite);
  font-weight: 500;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.value-card .icon {
  width: 48px;
  height: 48px;
  background: var(--sky-wash);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--signal-blue);
  flex-shrink: 0;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: var(--sky-wash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--signal-blue);
}

.team-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 12px;
  color: var(--fog);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}

/* --- Case Card --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.case-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
}

.case-card-image {
  width: 100%;
  height: 200px;
  background: var(--sky-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--signal-blue);
}

.case-card-body {
  padding: 24px;
}

.case-card-body .client {
  font-size: 12px;
  font-weight: 500;
  color: var(--signal-blue);
  margin-bottom: 8px;
}

.case-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}

.case-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fog);
  margin-bottom: 16px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(182, 203, 253, 0.3) 0%, transparent 70%), var(--sky-wash);
}

.cta-section h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--fog);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Map --- */
.map-container {
  width: 100%;
  height: 350px;
  background: var(--sky-wash);
  border-radius: var(--radius-image);
  overflow: hidden;
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-image);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--slate);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--sky-wash);
  color: var(--signal-blue);
}

/* --- Mobile Menu --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- 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) {
  .features-grid,
  .products-grid,
  .news-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .product-detail-grid,
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    min-height: 320px;
  }

  .product-detail-left {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
  }

  .navbar-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(252, 252, 252, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 4px;
  }

  .navbar-nav.open {
    display: flex;
  }

  .navbar-nav a {
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--radius-btn);
  }

  .navbar-actions {
    display: none;
  }

  .navbar-actions .lang-toggle {
    display: inline-block;
    position: fixed;
    top: 16px;
    right: 60px;
    z-index: 1001;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -0.76px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-carousel-controls {
    bottom: 60px;
  }

  .hero-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-grid,
  .products-grid,
  .news-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 24px;
  }

  .about-image {
    min-height: 240px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat-item .number {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .page-header h1 {
    font-size: 28px;
  }

  .card-lg {
    padding: 32px 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .map-container {
    height: 250px;
  }
}
