/* ===== ZHIYUE LANDING PAGE - MAIN STYLES ===== */
/* Apple-like aesthetic with Chinese tech palette */

/* ===== BASE STYLES ===== */
body {
  font-family: var(--font-stack);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(11, 24, 51, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo .logo-text {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.nav-menu {
  display: none;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--white-80);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-lang {
  display: flex;
  gap: var(--space-xs);
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white-60);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: var(--font-size-sm);
}

.lang-btn:hover {
  border-color: var(--white-80);
  color: var(--white-80);
}

.lang-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) var(--space-md);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-deep-alt) 100%);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(22, 119, 255, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero-title {
  font-size: clamp(var(--font-size-4xl), 8vw, var(--font-size-6xl));
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(var(--font-size-lg), 4vw, var(--font-size-2xl));
  color: var(--white-80);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.hero-cta {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-lg);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Hero Contact Section */
.hero-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.wechat-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wechat-label {
  color: var(--white-80);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.wechat-id {
  color: var(--white);
  font-weight: 600;
  font-family: monospace;
  background: var(--brand);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
}

/* ===== ABOUT US SECTION ===== */
.about-us {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

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

.about-title {
  font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2xl);
  letter-spacing: -0.02em;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-card {
  background: var(--white);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  font-size: var(--font-size-5xl);
  text-align: center;
}

.about-card-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.about-text {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  line-height: 1.6;
  text-align: justify;
}

/* Carousel Section */
.carousel-section {
  padding: 0;
  background: var(--white);
  position: relative;
  width: 100%;
}

.carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.carousel-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: none;
  text-align: center;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-slide.active {
  display: block;
}

.carousel-img {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
}

.carousel-caption {
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.02);
}

.carousel-caption span {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  font-weight: 500;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg {
  color: var(--text);
}

.carousel-prev {
  left: var(--space-md);
}

.carousel-next {
  right: var(--space-md);
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 2;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background: var(--brand);
}

/* Founders Section */
.founders-section {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.founders-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

.founder-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(0, 0, 0, 0.04);
}

.founder-photo {
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.founder-card:hover .founder-img {
  transform: scale(1.05);
  border-color: var(--brand-light);
}

.founder-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.founder-role {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  color: var(--white-60);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
}

.footer-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--white-60);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-wechat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white-60);
}

.footer-wechat .wechat-label {
  color: var(--white-60);
  font-size: var(--font-size-sm);
}

.footer-wechat .wechat-id {
  color: var(--brand);
  font-weight: 600;
  font-family: monospace;
  font-size: var(--font-size-sm);
}

.footer-copyright {
  font-size: var(--font-size-sm);
  color: var(--white-60);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .hero {
    padding: var(--space-3xl) var(--space-md);
  }
}

@media (max-width: 767px) {
  .nav-container {
    padding: var(--space-sm);
  }
  
  .hero {
    padding: var(--space-xl) var(--space-sm);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .founder-img {
    width: 100px;
    height: 100px;
  }
  
  .carousel-img {
    height: 50vh;
    min-height: 300px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-prev {
    left: var(--space-sm);
  }
  
  .carousel-next {
    right: var(--space-sm);
  }
  
  .carousel-section {
    padding: var(--space-2xl) 0;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
