/* ========================================
   iChester Website Styles
   ======================================== */

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #171a20;
  background: #fff;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #fff;
  color: #171a20;
  border-bottom: 1px solid #eee;
  z-index: 20;
}
.header-inner {
  max-width: 1200px;
  height: 56px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 24px; text-decoration: none; color: inherit; font-weight: bold; letter-spacing: 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .action { text-decoration: none; color: inherit; font-size: 14px; padding: 6px 8px; border-radius: 6px; }
@media (max-width: 1100px) { }

/* ========================================
   Hero Section
   ======================================== */
.hero-container {
  background-image: url('images/hero-background.png');
  background-size: 130%;
  background-position: calc(40% + 100px) center;
  background-repeat: no-repeat;
  height: 550px;
}

/* 全屏分区 */
.hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #171a20;
}
.hero .hero-copy { margin-top: 56px; }
.hero h1 { margin: 0 0 6px; font-size: 48px; font-weight: bold; color: #ffffff; }
.hero .sub { margin: 0 0 16px; color: #ffffff; font-size: 18px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 12px 28px; border-radius: 20px; font-size: 16px; font-weight: bold; }
.btn.primary { color: #fff; background: #171a20; }
.btn.secondary { color: #171a20; background: #fff; border: 1px solid #ddd; }
.btn:hover { opacity: .92; }
.btn:active { opacity: .85; }

/* 机器人介绍容器 */
.robot-intro-container {
  padding: 60px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.robot-intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.robot-intro-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: bold;
  color: #171a20;
}

.robot-intro-content > p {
  margin: 0 0 30px;
  font-size: 18px;
  color: #5c5e62;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.robot-image {
  margin: 30px auto 40px;
  text-align: center;
}

.robot-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 项目要点 */
.project-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 40px auto 50px;
  max-width: 1050px;
}

.project-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  border-left: 4px solid #171a20;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 120px;
  text-align: center;
}

.project-point:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.point-icon {
  font-size: 30px;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
}

.project-point p {
  margin: 0;
  font-size: 15px;
  color: #5c5e62;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .project-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px auto 40px;
  }
}

@media (max-width: 600px) {
  /* Header优化 */
  .header-inner {
    padding: 0 12px;
  }
  
  .brand {
    font-size: 20px;
    letter-spacing: 2px;
  }
  
  .header-actions .action {
    font-size: 12px;
    padding: 4px 6px;
  }
  
  /* Hero区域优化 */
  .hero-container {
    height: 400px;
    background-size: 150%;
    background-position: calc(30% + 50px) center;
  }
  
  .hero {
    height: 400px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }
  
  .hero .sub {
    font-size: 16px;
    margin-bottom: 24px;
  }
  
  .cta {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .btn {
    width: 180px;
    font-size: 16px;
    padding: 14px 20px;
    text-align: center;
  }
  
  /* 机器人介绍区域优化 */
  .robot-intro-container {
    padding: 40px 20px;
  }
  
  .robot-intro-content {
    max-width: 100%;
  }
  
  .robot-intro-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .robot-intro-content > p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .robot-image img {
    max-width: 100%;
    margin: 20px 0;
  }
  
  .project-points {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 30px auto 40px;
    max-width: 100%;
  }
  
  .project-point {
    padding: 20px;
    min-height: auto;
  }
  
  .point-icon {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .project-point p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* 视频区域优化 */
  .video-container,
  .tech-video-container {
    padding: 40px 20px;
  }
  
  .video-content h2,
  .tech-video-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .video-content > p,
  .tech-video-content > p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .video-wrapper {
    max-width: 100%;
  }
  
  /* 眼骨区域优化 */
  .eyebone-container {
    padding: 40px 20px;
  }
  
  .eyebone-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .eyebone-content > p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .eyebone-image img {
    max-width: 100%;
    margin: 20px 0;
  }
  
  .eyebone-description p {
    font-size: 14px;
    line-height: 1.6;
  }
}

.robot-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.feature-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: bold;
  color: #171a20;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
  color: #5c5e62;
  line-height: 1.5;
}

/* 视频展示容器 */
.video-container {
  padding: 60px 16px;
  background: #fff;
  border-top: 1px solid #e9ecef;
}

.video-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.video-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: bold;
  color: #171a20;
}

.video-content > p {
  margin: 0 0 40px;
  font-size: 18px;
  color: #5c5e62;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

/* 技术迭代视频容器 */
.tech-video-container {
  padding: 60px 16px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.tech-video-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tech-video-content h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: bold;
  color: #171a20;
}

.tech-video-content > p {
  margin: 0 0 40px;
  font-size: 18px;
  color: #5c5e62;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 联系我们页面 */
.contact-page-container {
  padding: 80px 16px;
  background: #f8f9fa;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.back-to-home-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  background: #171a20;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-to-home-btn:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-image {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.logo-section {
  text-align: center;
}

.contact-image .logo {
  width: 100%;
  height: auto;
  max-width: 200px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-bottom: 16px;
}

.logo-text {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: #171a20;
  letter-spacing: 2px;
}

.contact-info {
  padding: 60px 40px;
}

.contact-info h1 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: bold;
  color: #171a20;
}

.contact-description {
  margin: 0 0 40px;
  font-size: 16px;
  color: #5c5e62;
  line-height: 1.6;
}

.contact-methods {
  margin-bottom: 40px;
}

.contact-method {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #171a20;
}

.contact-method h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: bold;
  color: #171a20;
}

.contact-method p {
  margin: 4px 0;
  font-size: 14px;
  color: #5c5e62;
}

.breakthrough-image {
  margin-top: 12px;
  text-align: center;
}

.breakthrough-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.contact-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
    margin: 20px;
  }
  
  .contact-image {
    padding: 30px;
  }
  
  .contact-info {
    padding: 40px 30px;
  }
  
  .contact-info h1 {
    font-size: 28px;
  }
  
  .contact-cta {
    flex-direction: column;
  }
  
  .contact-cta .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contact-page-container {
    padding: 20px 10px;
  }
  
  .contact-card {
    margin: 10px;
    border-radius: 12px;
  }
  
  .contact-image {
    padding: 20px;
  }
  
  .logo-section img {
    max-width: 120px;
  }
  
  .logo-text {
    font-size: 24px;
    margin-top: 15px;
  }
  
  .contact-info {
    padding: 30px 20px;
  }
  
  .contact-info h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  
  .contact-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .contact-method {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .contact-method h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .contact-method p {
    font-size: 16px;
  }
  
  .breakthrough-image img {
    max-width: 200px;
    margin-top: 15px;
  }
  
  .back-to-home-btn {
    top: 15px;
    left: 15px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* 眼骨引导系统介绍容器 */
.eyebone-container {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.eyebone-content {
  max-width: 800px;
  margin: 0 auto;
}

.eyebone-content h2 {
  font-size: 36px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.eyebone-content > p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.eyebone-image {
  margin: 40px 0;
}

.eyebone-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.eyebone-image img:hover {
  transform: translateY(-5px);
}

.eyebone-description {
  margin-top: 30px;
  padding: 0 20px;
}

.eyebone-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* 响应式设计 - 眼骨部分 */
@media (max-width: 768px) {
  .eyebone-container {
    padding: 60px 20px;
  }
  
  .eyebone-content h2 {
    font-size: 28px;
  }
  
  .eyebone-content > p {
    font-size: 16px;
  }
  
  .eyebone-image img {
    max-width: 300px;
  }
  
  .eyebone-description p {
    font-size: 15px;
  }
}

/* 联系我们 */
.contact { padding: 48px 16px; background: #fafafa; }
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact h2 { margin: 0 0 8px; font-size: 28px; }
.contact p { margin: 0 0 18px; color: #5c5e62; }
.contact form { display: block; }
.contact .row { margin-bottom: 12px; }
.contact label { display: block; margin-bottom: 6px; font-size: 14px; }
.contact input, .contact textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: inherit; }
.contact textarea { resize: vertical; }

/* 页脚 */
.site-footer { background: #000; color: #a3a6aa; text-align: center; padding: 24px 16px 40px; }
.site-footer a { color: inherit; text-decoration: none; margin: 0 8px; }
.footer-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 600px) { .btn { width: 85vw; max-width: 360px; } }
