/* TrendSemi Site - Main Styles */
:root {
  --primary: #0066cc;
  --dark: #1a1a2e;
  --light: #f8f9fa;
}
body { font-family: 'Lato', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }

/* Override loading screen - hide immediately */
#loading-area {
  display: none !important;
}

/* Hero Section - 匹配原站 */
#home {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/hero.webp");
  height: calc(100vh - 80px);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
}
#home .container {
  position: relative;
  z-index: 2;
}
#home h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
#home p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 600px;
}

/* Hero product: real hardware, transparent cutout and a restrained backdrop. */
#home {
  min-height: 620px;
  max-height: 900px;
  background-image: radial-gradient(ellipse at 78% 43%, #285363 0%, #183c4d 36%, #102c3e 78%);
}
#home .container, #home .row { height: auto; }
.hero-copy { padding-top: 32px; padding-bottom: 32px; }
.hero-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 30px;
  isolation: isolate;
}
.hero-product::before {
  content: "";
  position: absolute;
  inset: 4% -8%;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(172, 204, 214, .16), transparent 68%);
}
.hero-product::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 28px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 12, 22, .32);
  filter: blur(14px);
  z-index: -1;
}
.hero-product__image {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(0, 12, 22, .2));
}
/* A low-amplitude signal remains behind the content, without flashing. */
.hero-pulse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4%;
  z-index: 1;
  pointer-events: none;
}
.hero-pulse__svg { display: block; width: 100%; height: 130px; }
.hero-pulse__line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-pulse__line--base { stroke: rgba(95, 207, 144, .48); stroke-width: 2; }
.hero-pulse__line--run {
  stroke: #69dfa2;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 5px rgba(95, 207, 144, .45));
  stroke-dasharray: 240 1000;
  stroke-dashoffset: 1240;
  animation: hero-pulse-run 6s linear infinite;
}
@keyframes hero-pulse-run {
  from { stroke-dashoffset: 1240; }
  to { stroke-dashoffset: 0; }
}
@media (max-width: 991px) {
  #home { height: auto; min-height: 0; max-height: none; padding: 48px 0 64px; }
  .hero-copy { padding-top: 0; padding-bottom: 12px; }
  .hero-product { max-width: 460px; margin: 0 auto; padding: 32px 36px; }
  .hero-product::after { bottom: 14px; }
  .hero-pulse { bottom: 0; }
  .hero-pulse__svg { height: 75px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-pulse__line--run { animation: none; opacity: 0; }
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 60px 0 30px;
}
.page-banner h1 { margin: 0; font-size: 36px; }
.page-banner .breadcrumb { background: none; padding: 0; margin: 10px 0 0; }
.page-banner .breadcrumb-item a { color: #aaa; }
.page-banner .breadcrumb-item.active { color: #fff; }

/* Cards */
.card { border: 1px solid #eee; border-radius: 8px; transition: box-shadow 0.3s; }
.card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

/* Content */
.content-inner { padding: 60px 0; }

/* Site Button */
.site-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}
.site-button:hover { background: #0052a3; color: #fff; }
.site-button.white { background: #fff; color: var(--primary); }
.site-button.white:hover { background: #f0f0f0; }

/* Honeypot */
.ohnohoney { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }

/* Color helpers */
.color-blue { color: var(--primary); }

/* bootstrap-select 占位/选中文字默认 #999（白底 2.84:1）→ 加深至 #595959 达 WCAG AA */
.bootstrap-select.btn-group .dropdown-toggle .filter-option { color: #595959 !important; }

/* Content blocks */
.content-block { padding: 40px 0; }
.content-inner { padding: 60px 0; }

/* Testimonial / Carousel items */
.testimonial-3 { padding: 15px; }
.testimonial-3 img { max-width: 100%; height: auto; border-radius: 4px; }
.testimonial-3 h3 { font-size: 18px; margin: 10px 0; }
.testimonial-3 h3 a { color: #333; text-decoration: none; }
.testimonial-3 h3 a:hover { color: var(--primary); }
.testimonial-3 p { font-size: 14px; color: #666; line-height: 1.6; }

/* Section head */
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 32px; font-weight: 700; color: #333; }

/* Owl Carousel overrides */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  font-size: 24px;
  background: none;
  border: none;
  padding: 5px 15px;
  color: #333;
}
.owl-carousel .owl-dots { text-align: center; margin-top: 15px; }
.owl-carousel .owl-dots button.owl-dot { width: 12px; height: 12px; border-radius: 50%; background: #ccc; border: none; margin: 0 4px; }
.owl-carousel .owl-dots button.owl-dot.active { background: var(--primary); }

/* Autocomplete */
.search-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  min-width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.autocomplete-suggestions {
  max-height: 300px;
  overflow-y: auto;
}
.suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.suggestion-item:hover { background: #f5f5f5; }

/* Responsive */
@media (max-width: 768px) {
  .page-banner { padding: 40px 0 20px; }
  .page-banner h1 { font-size: 24px; }
  .content-inner { padding: 30px 0; }
}
