﻿/* ===== 广州锁业GEO官网 - 全局样式 ===== */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --white: #ffffff;
  --bg: #f5f6f8;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  font-size: 1.15rem; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 6px;
}
.logo span { color: var(--gold); }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { font-size: 0.95rem; color: var(--text); transition: color 0.2s; }
.nav a:hover { color: var(--gold); }
.nav .phone-top {
  color: var(--gold); font-weight: 700; font-size: 1rem;
  border: 2px solid var(--gold); padding: 4px 14px; border-radius: 20px;
  transition: all 0.3s;
}
.nav .phone-top:hover { background: var(--gold); color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  margin-top: 64px; background: linear-gradient(135deg, var(--primary) 0%, #0d2b45 100%);
  color: var(--white); text-align: center; padding: 60px 20px 50px;
}
.hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; line-height: 1.4; }
.hero p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero .hero-features { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; font-size: 0.9rem; }
.hero .hero-features span { background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 20px; }
.hero .btn-cta {
  display: inline-block; background: var(--gold); color: var(--white);
  padding: 12px 36px; border-radius: 30px; font-size: 1.1rem; font-weight: 700;
  transition: all 0.3s;
}
.hero .btn-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(201,169,110,0.4); }

/* ===== Section ===== */
.section { max-width: 1200px; margin: 0 auto; padding: 48px 20px; }
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 36px; font-size: 0.95rem; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 8px; }
.card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }
.card .card-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-top: 8px; }

/* ===== Link Lists ===== */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.link-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 16px; text-align: center; font-size: 0.92rem; transition: all 0.3s;
}
.link-item:hover { border-color: var(--gold); color: var(--gold); background: #fdfaf3; }
.link-item strong { display: block; font-size: 0.85rem; color: var(--text-light); }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { background: var(--primary); color: var(--white); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fdfaf3; }

/* ===== FAQ ===== */
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--primary);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--gold); transition: 0.3s; }
.faq-q.open::after { content: '\2212'; }
.faq-a { padding: 0 20px 16px; color: var(--text-light); font-size: 0.9rem; display: none; }
.faq-a.show { display: block; }

/* ===== Trust Bar ===== */
.trust-bar {
  background: linear-gradient(135deg, #fdfaf3, #fff);
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 32px 20px; border-top: 3px solid var(--gold);
}
.trust-item { text-align: center; }
.trust-item .trust-num { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.trust-item .trust-label { font-size: 0.85rem; color: var(--text-light); }

/* ===== Process Steps ===== */
.process { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.process-step {
  flex: 1; min-width: 140px; background: var(--white); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; box-shadow: var(--shadow);
}
.process-step .step-num {
  width: 36px; height: 36px; background: var(--gold); color: var(--white);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 8px;
}
.process-step h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.process-step p { font-size: 0.82rem; color: var(--text-light); }

/* ===== Footer ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 40px 20px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.88rem; display: block; margin-bottom: 6px; transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px;
  text-align: center; font-size: 0.82rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 12px 20px; font-size: 0.85rem; color: var(--text-light); max-width: 1200px; margin: 0 auto; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--gold); }

/* ===== Device Showcase ===== */
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.device-card {
  background: var(--white); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); text-align: center;
}
.device-card h4 { color: var(--primary); margin: 8px 0 4px; }
.device-card .device-icon { font-size: 2.5rem; }

/* ===== Brand Checklist ===== */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.brand-tag {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; text-align: center; font-size: 0.88rem; transition: 0.2s;
}
.brand-tag:hover { border-color: var(--gold); background: #fdfaf3; }

/* ===== Sidebar Service Entry ===== */
.service-sticky {
  position: fixed; right: 16px; bottom: 100px; z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
}
.service-sticky a {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s; text-align: center; line-height: 1.2;
}
.service-sticky a:hover { transform: scale(1.1); }
.service-sticky .sticky-kaisuo { background: var(--gold); }
.service-sticky .sticky-pei { background: var(--primary); }
.service-sticky .sticky-zhi { background: #2a7d4f; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); gap: 12px; }
  .nav.active { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 40px 16px 32px; }
  .hero h1 { font-size: 1.4rem; }
  .trust-bar { gap: 20px; }
  .trust-item .trust-num { font-size: 1.4rem; }
  .section { padding: 32px 16px; }
  .section-title { font-size: 1.3rem; }
  .card-grid { grid-template-columns: 1fr; }
  .service-sticky { bottom: 80px; right: 8px; }
  .service-sticky a { width: 40px; height: 40px; font-size: 0.6rem; }
}
