/* ==================== Base Styles ==================== */
:root {
  --primary-color: #0078D4;
  --secondary-color: #00B4D8;
  --accent-color: #90E0EF;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0, 120, 212, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== Header Navigation ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 16px;
  color: var(--text-color);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== Hero Section ==================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: url('../images/index-01.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Navigation */
.hero-nav-section {
  background: var(--white);
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
}

.hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.hero-nav a:hover {
  color: var(--primary-color);
}

.hero-nav .nav-divider {
  color: var(--primary-color);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-nav {
    gap: 15px;
  }
  
  .hero-nav a {
    font-size: 12px;
  }
  
  .hero-nav .nav-divider {
    font-size: 12px;
  }
}

/* Products Showcase */
.products-showcase {
  background: var(--light-color);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-item {
  text-align: center;
}

.showcase-item img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.showcase-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 120, 212, 0.2);
}

.showcase-label {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .showcase-item img {
    max-width: 100%;
  }
}

/* Application Scenarios */
.scenarios-section {
  background: var(--white);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.scenario-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.scenario-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.scenario-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 54, 75, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scenario-overlay p {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scenario-item:hover img {
  transform: scale(1.1);
}

.scenario-item:hover .scenario-overlay {
  opacity: 1;
}

.scenarios-row-full {
  max-width: 1200px;
  margin: 30px auto 0;
}

.scenario-full {
  max-width: 100%;
}

.scenario-full img {
  height: 350px;
}

@media (max-width: 992px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .scenarios-grid .scenario-item:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .scenario-full img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  
  .scenarios-grid .scenario-item:last-child {
    grid-column: auto;
    max-width: 100%;
  }
  
  .scenario-item img {
    height: 200px;
  }
  
  .scenario-full img {
    height: 250px;
  }
}

/* Factory Introduction */
.factory-section {
  background: #e9f3fc;
  padding-bottom: 0;
  overflow: hidden;
}

.factory-wrapper {
  display: flex;
  align-items: flex-end;
  margin-top: 50px;
}

.factory-text {
  flex: 0.8;
  background: #e9f3fc;
  padding: 0 60px 0 0;
  color: #00394a;
}

.factory-text h3 {
  font-size: 24px;
  color: #00394a;
  margin-bottom: 15px;
  font-weight: 600;
}

.factory-list {
  list-style: none;
  padding: 0;
}

.factory-list li {
  font-size: 16px;
  color: #00394a;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.factory-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00394a;
  font-weight: bold;
}

.factory-image {
  flex: 1;
  max-width: 650px;
  margin-right: -50px;
  align-self: flex-end;
}

.factory-text {
  align-self: flex-end;
}

.factory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.certificates {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
  background: var(--white);
  padding: 40px 0;
}

.certificates img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.certificates img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 120, 212, 0.2);
}

/* Customer Feedback */
.feedback-section {
  background: var(--white);
  padding: 80px 0;
}

.feedback-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: var(--white);
  color: var(--primary-color);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.feedback-wrapper {
  overflow: hidden;
  width: 930px;
  padding: 20px 0;
}

.feedback-cards {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  width: max-content;
  align-items: center;
}

.feedback-card {
  flex: 0 0 280px;
  background: #edf4fc;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  opacity: 0.5;
}

.feedback-card.active {
  transform: scale(1);
  opacity: 1;
  border: none;
  border-bottom: 4px solid #1e4e62;
  box-shadow: 0 4px 20px rgba(30, 78, 98, 0.3);
}

.feedback-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

.feedback-card .stars {
  font-size: 18px;
  margin-bottom: 10px;
}

.feedback-card h4 {
  font-size: 18px;
  color: #09253a;
  margin-bottom: 5px;
}

.feedback-card .country {
  font-size: 14px;
  color: #09253a;
  margin-bottom: 15px;
  font-weight: 500;
}

.feedback-card .content {
  font-size: 14px;
  color: #09253a;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .feedback-wrapper {
    width: 620px;
  }
}

@media (max-width: 768px) {
  .feedback-wrapper {
    width: 310px;
  }
  
  .feedback-card {
    flex: 0 0 280px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .factory-wrapper {
    flex-direction: column;
  }
  
  .factory-text {
    padding: 40px 20px;
  }
  
  .factory-image {
    width: 100%;
    margin-right: 0;
    height: 300px;
  }
  
  .factory-image img {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .certificates {
    gap: 15px;
  }
  
  .certificates img {
    max-width: 100px;
  }
}

.hero-text h1 {
  font-size: 48px;
  color: var(--dark-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 180, 216, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: '💧';
  font-size: 120px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ==================== Page Header ==================== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(rgba(0, 54, 75, 0.8), rgba(0, 54, 75, 0.8)), url('../images/product-water-01.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
}

/* Ice Products Page Header */
.page-header-ice {
  background: linear-gradient(rgba(0, 54, 75, 0.8), rgba(0, 54, 75, 0.8)), url('../images/product-ice-01.jpg') no-repeat center center;
}

.page-header .container {
  text-align: left !important;
}

.page-header h1 {
  font-size: 42px;
  color: #fff !important;
  margin-bottom: 15px;
}

.page-header h1 span {
  border-bottom: 3px solid #45bbe9;
}

.page-header p {
  font-size: 18px;
  color: #fff !important;
}

/* ==================== Water Vending Info ==================== */
.water-vending-info {
  background: #45bbe9;
  padding: 40px 0;
  text-align: center;
}

.water-vending-info h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 15px;
}

.water-vending-info p {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}

/* ==================== Core Technology ==================== */
.core-tech-section {
  background: url('../images/product-water-02.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
}

/* Ice Core Technology */
.core-tech-section-ice {
  background: url('../images/product-ice-02.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
}

.tech-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-card {
  width: 300px;
  padding: 30px;
  border-radius: 12px;
}

.tech-card:nth-child(1),
.tech-card:nth-child(3) {
  justify-self: start;
}

.tech-card:nth-child(2),
.tech-card:nth-child(4) {
  justify-self: end;
}

.tech-card.tech-light {
  background: #e9f3fc;
}

.tech-card.tech-light h3,
.tech-card.tech-light p {
  color: #092a37;
}

.tech-card.tech-dark {
  background: #092a37;
}

.tech-card.tech-dark h3,
.tech-card.tech-dark p {
  color: #e9f3fc;
}

.tech-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ==================== Product Icons ==================== */
.product-icons {
  background: #e9f3fc;
  padding: 40px 0;
}

.icons-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.icons-row img {
  max-width: 200px;
  height: auto;
}

/* ==================== Water Types ==================== */
.water-types-section {
  background: url('../images/product-water-07.jpg') no-repeat center center;
  background-size: cover;
  padding: 60px 0;
}

.water-type-card {
  background: transparent;
  padding: 25px 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  max-width: 500px;
}

.water-type-card:nth-child(2) {
  margin-bottom: 200px;
}

/* ==================== Payment System ==================== */
.payment-system {
  background: #45bbe9;
  padding: 40px 0;
  text-align: center;
}

.payment-system h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid #fff;
  margin: 0 auto;
}

/* ==================== Payment Feature ==================== */
.payment-feature {
  padding: 60px 0;
  background: #fff;
}

.payment-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.payment-image {
  flex: 0 0 40%;
}

.payment-image img {
  width: 100%;
  border-radius: 12px;
}

.payment-text {
  flex: 1;
}

.payment-text h3 {
  color: #092a37;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.payment-text p {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.payment-system.iot-platform {
  background: #317fd3;
}

.payment-system.machine-series {
  background: #45bbe9;
}

/* ==================== Scenarios Images ==================== */
.scenarios-images {
  padding: 40px 0;
}

.images-row {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.images-row img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
}

/* ==================== IoT Feature ==================== */
.iot-feature {
  background: url('../images/product-water-09.jpg') no-repeat center center;
  background-size: cover;
  padding: 30px 10px;
}

.iot-bg {
  background: rgba(9, 42, 55, 0.9);
  padding: 30px 0;
  max-width: 60%;
  margin: 30px auto;
}

.iot-content {
  text-align: center;
}

.iot-content h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.iot-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.water-type-card h3 {
  color: #092a37;
  font-size: 18px;
  margin-bottom: 10px;
}

.water-type-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.type-icon {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  vertical-align: middle;
}

.type-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.water-type-card h3 {
  color: #092a37;
  font-size: 24px;
  font-weight: 700;
}

.water-type-card.right {
  margin-left: auto;
}

.water-type-card.left {
  margin-right: auto;
}

.tech-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== Section Title ==================== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 20px;
}

/* ==================== Product Cards ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 120, 212, 0.2);
}

.product-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 20px;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.product-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.product-price {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: bold;
}

.product-price span {
  font-size: 14px;
  color: var(--text-light);
  font-weight: normal;
}

/* ==================== Features Section ==================== */
.features {
  background: var(--light-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.feature-item h3 {
  font-size: 18px;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* ==================== About Us ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #E3F2FD, #90CAF9);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

.about-text h3 {
  font-size: 28px;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-list {
  margin-top: 30px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-color);
}

.about-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  flex-shrink: 0;
}

/* ==================== Application Scenarios ==================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.scenario-card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.scenario-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.scenario-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  z-index: 0;
}

.scenario-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
  color: var(--white);
}

.scenario-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.scenario-content p {
  font-size: 14px;
  opacity: 0.9;
}

.scenario-card:hover {
  transform: scale(1.02);
  transition: var(--transition);
}

/* ==================== Stats Section ==================== */
.stats {
  background: #00364b;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: #00364b;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  background: #fff;
  color: #00364b;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.cta-btn.cta-phone {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* ==================== Contact Section ==================== */
.contact {
  background: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 24px;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.contact-list {
  margin-top: 30px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-list li span:first-child {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* ==================== Footer ==================== */
.footer {
  background: var(--dark-color);
  padding: 60px 0 30px;
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== Timeline ==================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  background: var(--white);
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 350px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--white);
}

.timeline-year {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-text {
  color: var(--text-light);
  font-size: 14px;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-item::after {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-text h1 {
    font-size: 32px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .features-grid,
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==================== Animations ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Back to Top ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ==================== Ice Vending Machines ==================== */
.ice-machines-section {
  padding: 60px 0;
}

.ice-machine-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.ice-machine-row:last-child {
  margin-bottom: 0;
}

.ice-machine-reverse {
  flex-direction: row-reverse;
}

.ice-machine-image {
  width: 50%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ice-machine-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ice-machine-image:hover img {
  transform: scale(1.02);
}

.ice-machine-content {
  flex: 1;
  padding: 20px;
}

.ice-machine-content h2 {
  font-size: 2.2rem;
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.ice-machine-subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.ice-machine-content p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .ice-machine-row,
  .ice-machine-reverse {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .ice-machine-image {
    width: 100%;
  }

  .ice-machine-content {
    padding: 0;
  }

  .ice-machine-content h2 {
    font-size: 1.8rem;
  }

  .ice-machine-subtitle {
    font-size: 0.9rem;
  }

  .ice-machine-content p {
    font-size: 0.95rem;
  }
}

/* ==================== Floating Contact Bar ==================== */
.contact-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 20px 10px;
  gap: 4px;
  overflow: visible;
}

.contact-float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  cursor: pointer;
  transition: transform 0.25s ease;
  position: relative;
  text-decoration: none;
  color: #555;
  overflow: visible;
}

.contact-float-item:hover {
  transform: scale(1.08);
}

.contact-float-item:not(:last-child)::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #ddd;
  margin-top: 10px;
}

.contact-float-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.contact-float-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* uniform site color for icons */
.contact-float-item svg { stroke: var(--primary-color); }

.contact-float-label {
  font-size: 13px;
  color: #444;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* tooltip — appears to the left of the bar (since bar is on the right) */
.contact-float-item .contact-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--primary-color);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 3px 12px rgba(0,120,212,0.25);
}

.contact-float-item .contact-tooltip::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--primary-color);
}

.contact-float-item:hover .contact-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* wechat QR code popup */
.contact-float-item .contact-qrcode {
  display: none;
}

/* wechat QR popup - dynamically moved to body by JS */
.wechat-qr-popup {
  position: fixed;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.wechat-qr-popup.show {
  opacity: 1;
  visibility: visible;
}

.wechat-qr-popup img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
}

@media (max-width: 992px) {
  .contact-float {
    display: none;
  }
}
