/* ========================================
   山东云小二信息科技有限公司 - 企业官网样式
   配色：深蓝 + 能源橙 + 科技青
   ======================================== */

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

:root {
  --color-primary: #0f2b4a;
  --color-primary-light: #1a4274;
  --color-accent: #ff6b35;
  --color-accent-light: #ff8b5b;
  --color-teal: #14b8a6;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* === Section === */
.section {
  padding: 100px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
}

.navbar-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-logo .logo-text span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-light);
}

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

.navbar-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: var(--transition);
}

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

.navbar-nav a.active::after,
.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-cta {
  padding: 8px 24px;
  background: var(--color-accent);
  color: white !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.navbar-cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.navbar-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

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

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

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f3a 0%, #0f2b4a 40%, #15355e 100%);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 100px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
}

.hero-stat .num span {
  color: var(--color-accent);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.hero-visual {
  flex: 0 0 420px;
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
}

.hero-card-title .icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-row .name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card-row .value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-teal);
}

.hero-card-row .value.up {
  color: #4ade80;
}

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

.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(15, 43, 74, 0.08), rgba(15, 43, 74, 0.03));
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === Products Showcase === */
.product-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.product-card-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  position: relative;
  overflow: hidden;
}

.product-card-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  border-radius: 50%;
}

.product-card-header .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 107, 53, 0.2);
  color: var(--color-accent-light);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-card-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.product-card-header p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

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

.product-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.product-feature-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--color-teal);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.product-feature-list li::after {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: white;
  font-size: 0.65rem;
  width: 18px;
  text-align: center;
  line-height: 18px;
}

/* === Stats Section === */
.stats {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
}

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

.stat-item .num {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-item .num span {
  color: var(--color-accent);
}

.stat-item .label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

/* === CTA Section === */
.cta-section {
  background: var(--color-bg);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

/* === Page Banner === */
.page-banner {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0a1f3a 0%, #0f2b4a 50%, #15355e 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12), transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

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

/* === About Page === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.about-intro-text p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro-visual {
  position: relative;
}

.about-visual-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  box-shadow: var(--shadow-lg);
}

.about-visual-card .big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.about-visual-card .big-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.about-visual-card .divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 32px 0;
}

.about-visual-card .info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.95rem;
}

.about-visual-card .info-row .label {
  color: rgba(255, 255, 255, 0.6);
}

.about-visual-card .info-row .value {
  font-weight: 600;
}

/* === Timeline === */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--color-accent);
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: calc(50% - 40px);
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.timeline-content .year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === Values === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === Products Page === */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.product-detail:nth-child(even) {
  direction: rtl;
}

.product-detail:nth-child(even) > * {
  direction: ltr;
}

.product-detail-text .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-detail-text > p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.product-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.product-detail-list li .check {
  width: 24px;
  height: 24px;
  background: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-detail-list li strong {
  color: var(--color-primary);
  margin-right: 4px;
}

.product-detail-visual {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-detail-visual::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  border-radius: 50%;
}

.product-detail-visual .visual-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.product-detail-visual .visual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.product-detail-visual .visual-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.product-detail-visual .visual-item .v-icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.product-detail-visual .visual-item .v-text {
  font-size: 0.9rem;
}

.product-detail-visual .visual-item .v-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.product-detail-visual .visual-item .v-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* === Tech Stack === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-item {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.tech-item .tech-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 43, 74, 0.08), rgba(15, 43, 74, 0.03));
  color: var(--color-primary);
}

.tech-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* === Contact Page === */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item .ci-text .ci-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.contact-info-item .ci-text .ci-value {
  font-size: 1rem;
  font-weight: 600;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.contact-form-card .subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
  transition: var(--transition);
  background: var(--color-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: white;
}

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

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

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  background: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 20px;
}

.form-success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--color-text-light);
}

/* === Map Section === */
.map-section {
  padding: 60px 0;
  background: var(--color-bg);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e8eef5, #f0f4f8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-light);
}

.map-placeholder .map-icon {
  font-size: 3rem;
}

.map-placeholder p {
  font-size: 1rem;
}

/* === Footer === */
.footer {
  background: #0a1a2f;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .navbar-logo {
  margin-bottom: 20px;
}

.footer-brand .navbar-logo .logo-text {
  color: white;
}

.footer-brand .navbar-logo .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* === Scroll Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1.2rem;
}

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-4px);
}

/* === Responsive === */
@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .about-intro,
  .product-detail,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .product-detail:nth-child(even) {
    direction: ltr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }

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

  .navbar-nav a {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat .num {
    font-size: 1.8rem;
  }

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

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

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .page-banner {
    padding: 120px 0 60px;
  }

  .page-banner h1 {
    font-size: 2rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 32px;
  }
}

/* ========================================
   企业资质版块
   ======================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 43, 74, 0.14);
}

.cert-img {
  position: relative;
  background: #f1f5f9;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.cert-img img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.cert-zoom-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 0.72rem;
  text-align: center;
  color: #fff;
  background: rgba(15, 43, 74, 0.72);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card:hover .cert-zoom-hint {
  opacity: 1;
}

.cert-name {
  padding: 14px 12px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
}

/* 资质大图查看层 */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(10, 20, 35, 0.88);
}

.cert-lightbox.show {
  display: flex;
}

.cert-lightbox img {
  max-width: min(92vw, 900px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  background: #fff;
}

.cert-lightbox .cert-lightbox-close {
  position: absolute;
  top: 22px;
  right: 30px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cert-lightbox .cert-lightbox-close:hover {
  background: var(--color-accent);
}

@media (max-width: 992px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cert-img img {
    max-height: 220px;
  }
}
