/* ===== 申交容官网 共享样式 ===== */

:root {
  --gold-dark:    #9A7B1A;
  --gold-mid:     #C9A227;
  --gold-light:   #E8C84A;
  --gold-grad:    linear-gradient(135deg, #E8C84A 0%, #C9A227 55%, #9A7B1A 100%);
  --gold-grad-h:  linear-gradient(135deg, #f0d860 0%, #d4a82f 55%, #b09020 100%);
  --dark-bg:      #141414;
  --dark-card:    #1e1e1e;
  --dark-border:  #2e2e2e;
  --text-dark:    #1a1a1a;
  --text-gray:    #555555;
  --text-light:   #888888;
  --bg-light:     #f9f7f0;
  --bg-white:     #ffffff;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-gold:  0 4px 20px rgba(201,162,39,0.25);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  background: var(--bg-white);
  overflow-x: hidden;
}

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

/* ===== Navbar ===== */
#mainNav {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: rgba(18,18,18,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  transition: box-shadow 0.3s;
  border-bottom: 1px solid rgba(201,162,39,0.2);
}

#mainNav .container {
  max-width: 100%;
  padding: 0 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  text-decoration: none;
}

.navbar-brand img { height: 44px; width: auto; border-radius: 4px; }

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.brand-name-short { display: none !important; }
.brand-name-full  { display: inline !important; }
@media (max-width: 767px) {
  .brand-name-short { display: inline !important; }
  .brand-name-full  { display: none !important; }
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.95rem;
  padding: 28px 18px !important;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold-light) !important;
}

.navbar-nav .dropdown-menu {
  background: #1e1e1e;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.navbar-nav .dropdown-item {
  color: rgba(255,255,255,0.8);
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.navbar-nav .dropdown-item:hover {
  background: rgba(201,162,39,0.15);
  color: var(--gold-light);
}

.navbar-toggler {
  border-color: rgba(201,162,39,0.4) !important;
  flex-shrink: 0;
  padding: 6px 12px;
  background: transparent;
}

/* ===== Page Hero ===== */
.page-hero {
  padding-top: 100px;
  background: var(--dark-bg);
  color: var(--bg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 60px 0 50px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-bar {
  background: rgba(201,162,39,0.12);
  border-top: 1px solid rgba(201,162,39,0.2);
  padding: 12px 0;
}

.breadcrumb { margin: 0; background: none; padding: 0; }
.breadcrumb-item a { color: var(--gold-light); text-decoration: none; font-size: 0.85rem; }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ===== Section Layout ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--dark-bg); }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title-dark {
  color: var(--bg-white);
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1rem;
  max-width: 640px;
}

.gold-line {
  width: 50px;
  height: 3px;
  background: var(--gold-grad);
  border-radius: 2px;
  margin: 14px 0 36px;
}

.gold-line-center { margin: 14px auto 36px; }

/* ===== Gold Button ===== */
.btn-gold {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gold-grad);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-gold:hover {
  background: var(--gold-grad-h);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: #1a1a1a;
  text-decoration: none;
}

.btn-outline-gold {
  display: inline-block;
  padding: 11px 30px;
  background: transparent;
  color: var(--gold-mid);
  font-weight: 600;
  border: 2px solid var(--gold-mid);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.btn-outline-gold:hover {
  background: var(--gold-mid);
  color: #fff;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== Cards ===== */
.card-gold {
  background: var(--bg-white);
  border: 1px solid #ede8d5;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s;
  height: 100%;
  box-shadow: var(--shadow);
}

.card-gold:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.card-gold .card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-grad);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.card-gold h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-gold p, .card-gold li {
  color: var(--text-gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s;
  height: 100%;
}

.card-dark:hover {
  border-color: rgba(201,162,39,0.4);
  box-shadow: 0 4px 20px rgba(201,162,39,0.15);
}

.card-dark h4 { color: var(--bg-white); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.card-dark p, .card-dark li { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===== Gold Tag ===== */
.gold-tag {
  display: inline-block;
  background: var(--gold-grad);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* ===== Highlight Box ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(232,200,74,0.08) 0%, rgba(201,162,39,0.05) 100%);
  border: 1px solid rgba(201,162,39,0.2);
  border-left: 4px solid var(--gold-mid);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 20px 0;
}

/* ===== Content Image ===== */
.content-img {
  border-radius: 8px;
  border: 1px solid #ede8d5;
  box-shadow: var(--shadow);
  width: 100%;
}

.content-img-dark {
  border-radius: 8px;
  width: 100%;
}

/* ===== List Styled ===== */
.list-gold { list-style: none; padding: 0; }
.list-gold li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-gray);
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.list-gold li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--gold-grad);
  border-radius: 50%;
}

/* ===== Footer ===== */
footer {
  background: #0f0f0f;
  color: rgba(255,255,255,0.7);
  padding: 55px 0 0;
  border-top: 1px solid rgba(201,162,39,0.2);
}

footer .footer-logo img { height: 50px; margin-bottom: 12px; }

footer .footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  letter-spacing: 1px;
}

footer h5 {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--gold-light); }

footer .footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
footer .footer-contact i { color: var(--gold-mid); margin-top: 3px; min-width: 14px; }

footer .footer-bottom {
  margin-top: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ===== Hero Video Background ===== */
.hero-video-bar {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 深色遮罩：让文字清晰可读 */
.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.70) 50%,
    rgba(10,10,10,0.60) 100%
  );
}

/* ===== Home Hero ===== */
.home-hero {
  height: 100vh;
  min-height: 600px;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,162,39,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232,200,74,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-tag i { font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-title .gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

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

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* ===== Nav Cards (Home) ===== */
.nav-cards { padding: 60px 0; background: var(--bg-white); }

.nav-card {
  background: var(--bg-white);
  border: 1px solid #ede8d5;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  height: 100%;
}

.nav-card:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
  text-decoration: none;
}

.nav-card .icon {
  width: 64px;
  height: 64px;
  background: var(--gold-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0 auto 18px;
}

.nav-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.nav-card p {
  color: var(--text-gray);
  font-size: 0.87rem;
  margin: 0;
}

.nav-card .arrow {
  color: var(--gold-mid);
  font-size: 0.8rem;
  margin-top: 14px;
  transition: transform 0.2s;
}

.nav-card:hover .arrow { transform: translateX(4px); }

/* ===== Features Band ===== */
.features-band {
  background: var(--dark-bg);
  padding: 60px 0;
  border-top: 1px solid rgba(201,162,39,0.1);
  border-bottom: 1px solid rgba(201,162,39,0.1);
}

.feat-item {
  text-align: center;
  padding: 20px;
}

.feat-item i {
  font-size: 2rem;
  color: var(--gold-mid);
  margin-bottom: 14px;
  display: block;
}

.feat-item h5 {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feat-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== Product Card Variant ===== */
.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #ede8d5;
  height: 100%;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.product-card-header {
  background: var(--gold-grad);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.product-card-header i { font-size: 1.4rem; color: #1a1a1a; }

.product-card-header h4 {
  color: #1a1a1a;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.product-card-body { background: var(--bg-white); padding: 24px 28px; }
.product-card-body li {
  color: var(--text-gray);
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid #f0ece0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.product-card-body li:last-child { border-bottom: none; }
.product-card-body li::before {
  content: '▸';
  color: var(--gold-mid);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px; height: 12px;
  background: var(--gold-grad);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--gold-mid);
}
.timeline-item h5 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--text-gray); }

/* ===== Utilities ===== */
.mb-6 { margin-bottom: 4rem; }
.text-gold { color: var(--gold-mid) !important; }
.bg-gold-soft { background: rgba(201,162,39,0.06); }
.border-gold-soft { border: 1px solid rgba(201,162,39,0.2); }
.rounded-lg { border-radius: 10px; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  #mainNav .container {
    flex-wrap: wrap;
    width: 100%;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
  }

  .brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-collapse {
    flex-basis: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .navbar-nav .nav-link { padding: 12px 16px !important; }

  .navbar-nav .dropdown-menu {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-stats { gap: 24px; }
  .section { padding: 50px 0; }
}

@media (max-width: 767px) {
  #mainNav .container { padding: 0 14px; }
  .navbar-brand { gap: 10px; }
  .navbar-brand img { height: 42px; }

  #mainNav .navbar-collapse.show,
  #mainNav .navbar-collapse.collapsing {
    min-height: 380px;
    padding-bottom: 28px;
  }

  .home-hero { min-height: 100svh; align-items: flex-start; padding-top: 90px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn-gold, .btn-outline-gold { width: 100%; text-align: center; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.4rem; }

  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 24px, 0);
  }

  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
  }

  footer .footer-contact p:nth-of-type(3) { display: none; }
  footer { padding: 40px 0 0; }
}
