/* ===================================================================
   ZH Energy - Responsive Website Stylesheet
   PC Navigation + Mobile Adaptive
   =================================================================== */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a5f7a;
  --primary-dark: #144a60;
  --primary-light: #2a7a9a;
  --accent: #e84c3d;
  --accent-dark: #c93d2e;
  --green: #00b894;
  --dark: #1a1a2e;
  --gray-1: #f8f9fa;
  --gray-2: #e9ecef;
  --gray-3: #dee2e6;
  --gray-4: #adb5bd;
  --gray-5: #6c757d;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --radius: 8px;
  --header-h: 72px;
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}



/* PC Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: var(--header-h);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--primary);
}

.nav-menu > li > a .caret {
  margin-left: 4px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transition: transform var(--transition);
}

.nav-menu > li:hover > a .caret {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;           /* override Bootstrap/other themes that set display:none */
  min-width: 260px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  padding: 8px 0;
}

.nav-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-light);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  color: var(--primary);
  background: var(--gray-1);
  border-left-color: var(--primary);
  padding-left: 24px;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 3px auto;
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== Page Banner (sub pages) ===== */
.page-banner {
  margin-top: var(--header-h);
  background: linear-gradient(rgba(26, 95, 122, 0.8), rgba(13, 62, 83, 0.85)), url('/img/ymtp/products.png') center/cover no-repeat;
  padding: 50px 20px;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
}

.page-banner .breadcrumb {
  margin-top: 10px;
  font-size: 14px;
  opacity: .9;
}

.page-banner .breadcrumb a {
  color: var(--white);
  opacity: .8;
}
.page-banner .breadcrumb a:hover { opacity: 1; }

/* ===== Product Sub Navigation ===== */
.product-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-3);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: var(--header-h);
  z-index: 900;
}

.subnav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.subnav-list li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.subnav-list li a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary-light);
}

.subnav-list li.active a {
  color: var(--primary);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* ===== Content Layout ===== */
.content-section {
  padding: 40px 0;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-2);
}

.content-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 24px 0 12px;
}

.content-block p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.8;
}

.content-block ul {
  margin: 12px 0 16px 20px;
}

.content-block ul li {
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.content-block ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

/* ===== About Page ===== */
.about-overview {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-text-col {
  flex: 1;
  min-width: 0;
}

.about-image-col {
  flex: 0 0 42%;
  max-width: 480px;
}

.about-image-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Milestone Grid */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.milestone-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.milestone-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.milestone-year,
.milestone-icon-cert {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 8px;
}

.milestone-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 8px 0;
}

.milestone-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Founder Card */
.founder-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.founder-info {
  flex: 1;
  min-width: 0;
}

.founder-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
}

.founder-title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px !important;
}

.founder-stats {
  flex: 0 0 200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  background: var(--gray-1);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Investors & Locations */
.investor-location {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.il-section {
  flex: 1;
  min-width: 280px;
}

.investor-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gray-1);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--gray-2);
}

.location-cards {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.location-card {
  flex: 1;
  background: var(--gray-1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--gray-2);
}

.location-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
}

.location-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Slogan Banner */
.slogan-banner {
  margin: 40px 0 20px;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  text-align: center;
}

.slogan-content {
  max-width: 600px;
  margin: 0 auto;
}

.slogan-line-1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 !important;
  line-height: 1.4;
}

.slogan-line-2 {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 8px 0 0 !important;
  line-height: 1.4;
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 500px;
}

.spec-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.spec-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-2);
  color: var(--text);
}

.spec-table tr:nth-child(even) td {
  background: var(--gray-1);
}

.spec-table tr:hover td {
  background: #eef5f8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ===== Floating Buttons ===== */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,76,61,.4);
  z-index: 900;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(232,76,61,.5);
}

.back-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26,95,122,.9);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ===== Mobile Call Button ===== */
.call-btn {
  display: none;
}

/* ===== Responsive: Tablet & Mobile (<= 991px) ===== */
@media (max-width: 991px) {
  :root {
    --header-h: 60px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
    z-index: 1000;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    padding-top: 0;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu::before {
    content: 'MENU';
    display: block;
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
    border-bottom: 2px solid var(--primary);
    text-align: center;
  }

  .nav-menu > li {
    border-bottom: 1px solid var(--gray-2);
  }

  .nav-menu > li > a {
    height: auto;
    padding: 14px 20px;
    font-size: 15px;
    justify-content: space-between;
  }

  .nav-menu > li > a .caret {
    transition: transform var(--transition);
  }

  .dropdown-menu {
    position: static;
    display: block;           /* keep override inside mobile breakpoint */
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0;
  }

  .nav-menu > li.dropdown-open .dropdown-menu {
    max-height: 500px;
  }

  .nav-menu > li.dropdown-open > a .caret {
    transform: rotate(180deg);
  }

  .dropdown-menu li a {
    padding: 12px 20px 12px 36px;
    font-size: 14px;
    border-left: none;
    border-bottom: 1px solid var(--gray-1);
  }

  .dropdown-menu li a:hover {
    padding-left: 40px;
  }

  .nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-1);
    border: none;
    font-size: 22px;
    color: var(--gray-5);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-banner {
    padding: 35px 20px;
  }

  .page-banner h1 {
    font-size: 24px;
  }

  .subnav-list li a {
    padding: 12px 16px;
    font-size: 13px;
  }

  .content-block h2 {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-col {
    display: none;
  }

  .footer-brand h3 img {
    display: none;
  }

  .footer-social {
    justify-content: center;
  }

  .call-btn {
    display: flex;
    position: fixed;
    top: 8px;
    right: 64px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 1001;
    text-decoration: none;
  }
}

/* ===== Responsive: Mobile (<= 767px) ===== */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-img {
    height: 32px;
  }

  .page-banner h1 {
    font-size: 20px;
  }

  .content-block h2 {
    font-size: 20px;
  }

  .content-block h3 {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand h3 img {
    display: none;
  }

  .footer-social {
    justify-content: center;
  }

  .spec-table {
    font-size: 13px;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
  }

  /* About Page Mobile */
  .about-overview {
    flex-direction: column;
    gap: 25px;
  }
  .about-image-col {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .founder-card {
    flex-direction: column;
    gap: 25px;
  }
  .founder-stats {
    flex: 0 0 auto;
    width: 100%;
  }
  .investor-location {
    flex-direction: column;
    gap: 25px;
  }
  .location-cards {
    flex-direction: column;
  }
  .slogan-banner {
    padding: 40px 16px;
  }
  .slogan-line-1 {
    font-size: 22px;
  }
  .slogan-line-2 {
    font-size: 18px;
  }
}

/* ===== Responsive: Small Mobile (<= 480px) ===== */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .page-banner {
    padding: 30px 16px;
  }

  .page-banner h1 {
    font-size: 18px;
  }

  .subnav-list li a {
    padding: 10px 14px;
    font-size: 12px;
  }

  .content-section {
    padding: 24px 0;
  }

  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .founder-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .fab {
    width: 46px;
    height: 46px;
    font-size: 18px;
    bottom: 16px;
    right: 16px;
  }

  .back-top {
    bottom: 72px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ===== Body lock when nav open ===== */
body.nav-open {
  overflow: hidden;
}
/* 社交媒体图标 */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,.08);
    transition: background .2s, transform .2s;
}
.footer-social a:hover {
    background: #009b73;
    transform: translateY(-2px);
}
.footer-social svg {
    width: 20px;
    height: 20px;
    fill: rgba(255,255,255,.7);
    transition: fill .2s;
}
.footer-social a:hover svg {
    fill: #fff;
}


/* 桌面端(>=992px)：紧凑 footer 间距 */
@media (min-width: 992px) {
  .footer-brand h3 {
    margin-bottom: 5px;
  }
  .footer-brand p {
    margin-bottom: 5px;
  }
  .footer-social {
    margin-top: 5px;
  }
  .footer-col ul li {
    margin-bottom: 1px;
  }
}

/* 手机端(<=991px)：隐藏 FB/X，显示购物链接 */
@media (max-width: 991px) {
    .footer-social .social-desktop {
        display: none;
    }
    .footer-social .social-mobile {
        display: flex;
    }
}

/* ===================================================================
   Mobile Nav Link Fix — ensure links are always clickable when open
   =================================================================== */
.nav-menu.open,
.nav-menu.open * {
  pointer-events: auto !important;
}
.nav-menu.open > li > a,
.nav-menu.open .dropdown-menu li a {
  -webkit-tap-highlight-color: rgba(26,95,122,.15);
}

/* ===================================================================
   Homepage-Specific Styles
   =================================================================== */

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,95,122,.92) 0%, rgba(13,62,83,.95) 100%),
              url('/img/ymtp/products.png') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: heroFadeIn .8s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero-content p {
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all .3s ease;
  text-decoration: none;
}

.hero-btn-primary {
  background: var(--green);
  color: #fff;
}
.hero-btn-primary:hover {
  background: #00a381;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,184,148,.4);
}

.hero-btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.hero-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 16px; opacity: .3; }
}

/* ===== Intro Strip ===== */
.intro-strip {
  padding: 60px 0;
  background: var(--gray-1);
}

.intro-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.intro-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.intro-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.intro-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: #fff;
}
.intro-icon svg {
  width: 28px;
  height: 28px;
}

.intro-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.intro-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Home Products Grid ===== */
.home-products {
  padding: 80px 0;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
  display: block;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 220px;
  background: var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-img img {
  max-height: 180px;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 20px;
}

.product-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.product-card:hover .product-card-link {
  color: var(--accent);
}

/* ===== Home Solutions ===== */
.home-solutions {
  padding: 80px 0;
  background: var(--gray-1);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
  display: block;
}

.solution-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.solution-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  opacity: .3;
  margin-bottom: 12px;
}

.solution-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.solution-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Home About ===== */
.home-about {
  padding: 80px 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}
.about-btn:hover {
  color: var(--accent);
}

.about-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ===== Homepage Responsive ===== */

/* Tablet & Mobile (<=991px) */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 36px; }
  .hero-content p  { font-size: 16px; }
  .hero-section { min-height: 80vh; }

  .intro-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .product-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .solution-grid { grid-template-columns: 1fr; gap: 16px; }

  .about-split { grid-template-columns: 1fr; gap: 30px; }
  .about-img { order: -1; }

  .section-title { font-size: 26px; }
  .home-products,
  .home-solutions,
  .home-about  { padding: 50px 0; }
}

/* Mobile (<= 576px) */
@media (max-width: 576px) {
  .hero-content h1 { font-size: 28px; }
  .hero-content p  { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btn-primary,
  .hero-btn-outline { width: 100%; max-width: 280px; text-align: center; }

  .intro-items { grid-template-columns: 1fr; }

  .product-cards { grid-template-columns: 1fr; }

  .section-title { font-size: 24px; }
  .home-products,
  .home-solutions,
  .home-about  { padding: 40px 0; }
}