/* assets/css/style.css */

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --primary: #1A1D21;
  --secondary: #2F5D8C;
  --accent: #FF6A3D;
  --bg: #F5F7FA;
  --text: #4A4F55;
  --border: #D9DEE3;
  --white: #ffffff;
}

/* ================= BASE ================= */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER ================= */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* ================= NAV ================= */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 4px;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: var(--primary);
  padding: 10px 0;
  border-radius: 6px;
  min-width: 180px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
}

.nav-links li:hover .dropdown-menu {
  display: block;
}

/* ================= BUTTON (3D UPGRADED) ================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  color: white;
  position: relative;
  transition: all 0.2s ease;
  font-weight: 600;
}

.btn-accent {
  background: linear-gradient(145deg, #ff7a50, #ff5a2a);
  box-shadow: 0 8px 0 #c94b25, 0 15px 30px rgba(0,0,0,0.3);
}

.btn-accent:hover {
  transform: translateY(3px);
  box-shadow: 0 4px 0 #c94b25, 0 8px 15px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--secondary);
}

.btn-primary:hover {
  background: var(--accent);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  background: linear-gradient(120deg, #1A1D21, #2F5D8C);
  padding: 120px 0;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,106,61,0.25), transparent);
  top: -200px;
  right: -200px;
}

/* 产品层 */
.hero-product {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: 320px;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6));
}

/* 信息层 */
.hero-content {
  position: relative;
  max-width: 620px;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  margin: 15px 0 25px;
}

/* ================= GLASS + DATA CARDS ================= */
.glass-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  margin-top: 25px;
}

.glass-box .card {
  color: #1A1D21;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  transition: 0.3s;
}

.glass-box .card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.glass-box h3 {
  color: var(--secondary);
  font-size: 20px;
}

.glass-box p {
  font-size: 13px;
  opacity: 0.8;
}

/* ================= GRID ================= */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ================= SECTION 正文卡片融合布局 ================= */
.section {
  padding: 70px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.section .content-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

.section .content-card:hover {
  transform: translateY(-5px);
}

.section .content-card img {
  flex: 1 1 40%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.section .content-card .card-text {
  flex: 1 1 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section .content-card h2 {
  margin-bottom: 15px;
  font-size: 28px;
  color: #1A1D21;
}

.section .content-card p {
  font-size: 15px;
  margin-bottom: 15px;
  color: #4A4F55;
}

/* ================= CARD ================= */
.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ================= CTA ================= */
.cta {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

/* ================= FOOTER ================= */
footer {
  background: var(--primary);
  color: #ffffff;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

footer h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

footer a {
  display: block; /* 分行显示 */
  color: #ffffff; /* 固定白色文字 */
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
}

footer a:hover {
  color: var(--accent);
}

/* ================= MOBILE ================= */
.menu-toggle {
  display: none;
  color: white;
  font-size: 24px;
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .content-card {
    flex-direction: column;
  }

  .content-card img,
  .content-card .card-text {
    flex: 1 1 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-product {
    display: none;
  }
}
.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #D9DEE3;
  background-color: #F5F7FA;
}

.contact-form button {
  margin-top: 20px;
}
.logo img {
  height: 42px;
  width: auto;
}
img {
max-width: 100%;
height: auto;
display: block;
}