/* ============================================
   圆本科技官网 - 首页样式（5屏全屏切换版）
   2页结构 · 5屏循环slider
   ============================================ */

/* ===== Body for slider page ===== */
body.slider-page {
  overflow: hidden;
  height: 100vh;
}

/* ===== Fixed Navbar (consistent across all slides) ===== */
body.slider-page .navbar {
  background: rgba(26, 59, 92, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.slider-page .navbar .nav-logo,
body.slider-page .navbar .nav-logo-text {
  color: #FFFFFF;
}

body.slider-page .navbar .nav-logo-img {
  filter: brightness(0) invert(1);
}

body.slider-page .navbar .nav-logo:hover {
  color: rgba(255, 255, 255, 0.85);
}

body.slider-page .navbar .nav-toggle span {
  background: #FFFFFF;
}

/* ===== Extra Animation Classes ===== */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== Slider Container ===== */
.slider {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.slides-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

/* ===== Slide Base ===== */
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 80px 0 60px;
  -webkit-overflow-scrolling: touch;
}

.slide .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Give non-hero slides some top breathing room */
.slide-channels .container,
.slide-values .container,
.slide-manifesto .container {
  padding-top: 4vh;
}

/* ===== Navigation Arrows ===== */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(26, 59, 92, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-arrow:hover {
  background: rgba(26, 59, 92, 0.55);
  transform: translateY(-50%) scale(1.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* ===== Dot Indicators ===== */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: #E8884F;
}

.slider.theme-light .slider-dot {
  background: rgba(26, 59, 92, 0.2);
}
.slider.theme-light .slider-dot:hover {
  background: rgba(26, 59, 92, 0.35);
}
.slider.theme-light .slider-dot.active {
  background: #E8884F;
}

/* ===== Slide Counter ===== */
.slider-counter {
  position: absolute;
  top: 78px;
  right: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  z-index: 100;
  letter-spacing: 0.05em;
}

.slider-counter-sep {
  margin: 0 4px;
  opacity: 0.5;
}

.slider.theme-light .slider-counter {
  color: rgba(26, 59, 92, 0.35);
}

/* ===== Section Header Override for Slides ===== */
.slide .section-header {
  margin-bottom: 36px;
}

/* ============================================
   Slide 1: Hero — centered content + bottom channels
   ============================================ */
.slide-hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/truck-highway-1.jpg') center 30% / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 59, 92, 0.92) 0%,
    rgba(26, 59, 92, 0.85) 35%,
    rgba(22, 45, 72, 0.88) 70%,
    rgba(22, 45, 72, 0.95) 100%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 136, 79, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 140px);
  gap: 0;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.hero-positioning {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #E8884F;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-positioning-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #E8884F;
  border-radius: 1px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin: 0;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.hero-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 520px;
  margin: 4px 0 0;
}

/* ===== Hero Bottom Channels (horizontal row at bottom) ===== */
.hero-bottom-channels {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 960px;
  padding: 24px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.hero-bottom-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-bottom-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #E8884F;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  transition: color 0.3s ease;
}

.hero-bottom-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.hero-bottom-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hero-bottom-item:hover .hero-bottom-num {
  color: #FFA066;
}

.hero-bottom-item:hover .hero-bottom-text {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Slide 2: Channel Cards
   ============================================ */
.slide-channels {
  background: #F5F7FA;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.channel-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #E8884F 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.channel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 59, 92, 0.1), 0 4px 12px rgba(232, 136, 79, 0.08);
  border-color: transparent;
}

.channel-card:hover::before {
  opacity: 1;
}

.channel-card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.channel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover .channel-card-image img {
  transform: scale(1.08);
}

.channel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 59, 92, 0.5) 100%);
}

.channel-card-icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 59, 92, 0.9) 0%, rgba(36, 59, 92, 0.85) 100%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E8884F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.channel-card-body {
  padding: 24px;
}

.channel-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A3B5C;
  margin-bottom: 10px;
}

.channel-card-desc {
  font-size: 0.9rem;
  color: #5A6B7E;
  line-height: 1.7;
  margin-bottom: 16px;
}

.channel-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-tag {
  display: inline-block;
  background: #E6F1FB;
  color: #185FA5;
  padding: 5px 14px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ============================================
   Slide 3: Value Points
   ============================================ */
.slide-values {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.values-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/data-analytics.jpg') center 35% / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.values-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #162D48 0%, #1A3B5C 40%, #243B5C 70%, #1A3B5C 100%);
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.value-item {
  padding: 0 40px;
  text-align: center;
  position: relative;
}

.value-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.value-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #E8884F;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.value-number-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #E8884F;
  margin: 0 auto 20px;
  border-radius: 1px;
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.value-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   Slide 4: Brand Manifesto (two-column)
   ============================================ */
.slide-manifesto {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.manifesto-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/highway-landscape.jpg') center 40% / cover no-repeat;
  z-index: 0;
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 59, 92, 0.95) 0%, rgba(26, 59, 92, 0.92) 50%, rgba(22, 45, 72, 0.95) 100%);
  z-index: 1;
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.manifesto-header {
  margin-bottom: 18px;
}

.manifesto-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: #E8884F;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.manifesto-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.1em;
  margin: 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  align-items: start;
}

.manifesto-block {
  position: relative;
}

.manifesto-label {
  display: inline-block;
  font-size: 0.74rem;
  color: #E8884F;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.manifesto-text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.manifesto-slogan {
  margin-top: 16px;
  padding-top: 14px;
  position: relative;
}

.manifesto-slogan-line {
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 16px;
  border-radius: 1px;
}

.manifesto-slogan p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

/* ============================================
   Slide 5: About + Footer (centered, immersive)
   ============================================ */
.slide-about {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  align-items: flex-start;
}

.about-bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/highway-landscape.jpg') center 50% / cover no-repeat;
  z-index: 0;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(22, 45, 72, 0.96) 0%, rgba(26, 59, 92, 0.94) 50%, rgba(22, 45, 72, 0.97) 100%);
  z-index: 1;
}

.about-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: calc(100vh - 140px);
  width: 100%;
  padding-top: 2vh;
  padding-bottom: 2vh;
}

.about-content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-label {
  display: inline-block;
  font-size: 0.8rem;
  color: #E8884F;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.about-title {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
  line-height: 1.3;
}

.about-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 136, 79, 0.6), transparent);
  margin: 20px auto 0;
  border-radius: 1px;
}

.about-story {
  font-family: 'Noto Serif SC', 'Noto Sans SC', serif;
  text-align: left;
  margin: 0 auto;
}

.about-story p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 2;
  margin: 0 0 1.1em;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-story strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.about-story-close {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
  font-style: italic;
  margin-top: 0.6em;
}

.about-divider {
  width: 40px;
  height: 1px;
  background: rgba(232, 136, 79, 0.5);
  margin: 28px auto;
  border-radius: 1px;
}

.about-vision {
  text-align: center;
}

.about-vision-label {
  display: inline-block;
  font-size: 0.75rem;
  color: #E8884F;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-vision-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.about-vision-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin: 0;
}

.about-footer {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  margin-top: 24px;
}

.about-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.about-footer-logo {
  display: block;
  height: 36px;
  width: 36px;
  filter: brightness(0) invert(1);
}
.about-footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.about-footer-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.03em;
}

/* ===== Fixed ICP Bar (visible on every slide) ===== */
.slider-icp {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.slider-icp a {
  color: inherit;
  pointer-events: auto;
  transition: color 0.3s ease;
}

.slider-icp a:hover {
  color: #E8884F;
}

.slider.theme-light .slider-icp {
  color: rgba(26, 59, 92, 0.35);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .hero-inner { gap: 0; }
  .hero-bottom-channels { max-width: 100%; }

  .channels-grid { grid-template-columns: repeat(2, 1fr); }

  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .value-item { padding: 0 20px; }
  .value-item:not(:last-child)::after { display: none; }

  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .manifesto-title { font-size: 1.7rem; }
  .manifesto-grid { gap: 14px 24px; }
}

@media (max-width: 768px) {
  .slide {
    padding: 60px 16px 68px;
  }

  .slider-icp {
    bottom: 6px;
    font-size: 0.62rem;
  }

  .hero-title { font-size: 2.2rem; letter-spacing: 0.05em; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-bottom-channels {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 4px;
  }
  .hero-bottom-divider { display: none; }
  .hero-bottom-item { padding: 6px 0; }

  .slide .section-header { margin-bottom: 24px; }
  .section-title { font-size: 1.5rem; }

  .channels-grid { grid-template-columns: 1fr; }
  .channel-card-image { height: 160px; }

  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-item { padding: 0; }
  .value-item:not(:last-child)::after {
    display: block;
    right: 50%;
    top: auto;
    bottom: -16px;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  }

  .manifesto-header { margin-bottom: 20px; }
  .manifesto-title { font-size: 1.6rem; }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .manifesto-text { font-size: 0.85rem; line-height: 1.7; }
  .manifesto-slogan { margin-top: 16px; padding-top: 14px; }

  .about-inner { min-height: calc(100vh - 110px); padding-top: 1vh; padding-bottom: 1vh; }
  .about-content { max-width: 100%; }
  .about-title { font-size: 1.7rem; margin-bottom: 22px; }
  .about-story p { font-size: 0.88rem; line-height: 1.85; margin-bottom: 0.9em; }
  .about-divider { margin: 22px auto; }
  .about-vision-title { font-size: 1.1rem; }
  .about-footer { margin-top: 20px; }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }

  .slider-counter {
    top: 68px;
    right: 16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .channel-card-body { padding: 20px; }
  .manifesto-title { font-size: 1.4rem; }
  .about-title { font-size: 1.5rem; }
  .about-story p { font-size: 0.82rem; line-height: 1.8; }
  .about-vision-title { font-size: 1rem; }
  .about-vision-desc { font-size: 0.78rem; }
}
