/* <!-- hero section--css --> */

/* CSS Variables */
:root {
  --primary-dark: #263238;
  --text-primary: #272627;
  --text-secondary: #0c0c0d;
  --text-muted: #a8adaf;
  --white: #ffffff;
  --border-light: #ededed;
  --font-size-hero: 96px;
  --font-size-subtitle: 22px;
  --font-size-button: 18px;
  --line-height-hero: 105px;
  --line-height-subtitle: 165%;
  --spacing-xs: 16px;
  --spacing-sm: 24px;
  --spacing-md: 30px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-2xl: 120px;
  --spacing-3xl: 160px;
}

.hero-section {
  /* min-height: 100vh; */
  padding: var(--spacing-2xl) 20px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  align-items: center;
  justify-content: center;
  background: url(architecture-ai-tool-product-page-background.png) center/cover
    no-repeat;
  backdrop-filter: blur(5px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  align-items: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.hero-title {
  color: var(--text-primary);
  font-family: "AlbertSans-SemiBold", sans-serif;
  font-size: var(--font-size-hero);
  line-height: var(--line-height-hero);
  font-weight: 600;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-subtitle);
  line-height: var(--line-height-subtitle);
  font-weight: 500;
   font-family: "AlbertSans", sans-serif;
}

.cta-container {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 55px;
  border-radius: 8px;
  border: 1px solid;
  font-family: "AlbertSans-SemiBold", sans-serif;
  font-size: var(--font-size-button);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  min-width: 220px;
  height: 56px;
}

.btn-primary {
  background: var(--primary-dark);
  border-color: var(--border-light);
  color: var(--white);
}

.btn-primary:hover {
  background: #677074;
}
.btn-primary.clicked {
  background: #a8adaf;
}

.btn-secondary {
  background: var(--white);
  border-color: var(--text-muted);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #f5f5f5;
}
.btn-secondary.clicked {
  background-color: #263238 !important;
  color: #ffffff !important;
}



.wechat-popup {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 6px 8px;
  z-index: 9999;
  width: 236px;
  text-align: center;
  font-family: "Inter-semi-bold", sans-serif;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.wechat-popup img {
  width: 144px;
  height: 144px;
  margin: 12px 0 4px 0;
}

.wechat-popup h4 {
  font-size: 14px;
  font-weight: 600;
  color: #263238;
  line-height: 18px;
}

.wechat-popup .qr_content {
  font-size: 12px;
  font-weight: 400;
  color: #263238;
  margin: 0;
  width: 50%;
}

.popup-arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.popup-arrow::after {
  content: '';
  position: absolute;
  left: -12px;
  top: -13px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.talk:hover + .wechat-popup, .wechat-popup:hover {
  display: flex;
}

.trust-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  width: 100%;
  max-width: 1333px;
}

.trust-title {
  color: var(--text-primary);
  font-size: var(--font-size-subtitle);
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
   font-family: "AlbertSans", sans-serif;
}

.logos-container {
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
  position: relative;
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
}

.logos-scroll {
  display: flex;
  align-items: center;
  gap: 140px;
  animation: scrollLogos 20s linear infinite;
  width: fit-content;
}

.logo-item {
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.logo-item:hover {
  opacity: 1;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media screen and (min-width: 1610px) {
  .hero-section {
    padding: 120px 40px;
  }

  .logos-scroll {
    gap: 160px;
  }
}

@media screen and (min-width: 1250px) and (max-width: 1609px) {
  :root {
    --font-size-hero: 84px;
    --line-height-hero: 92px;
  }

  .hero-section {
    padding: 100px 30px;
  }

  .logos-scroll {
    gap: 120px;
  }
}

@media screen and (min-width: 1090px) and (max-width: 1249px) {
  :root {
    --font-size-hero: 72px;
    --line-height-hero: 80px;
    --font-size-subtitle: 20px;
  }

  .hero-section {
    padding: 80px 25px;
    gap: 120px;
  }

  .logos-scroll {
    gap: 100px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1089px) {
  :root {
    --font-size-hero: 60px;
    --line-height-hero: 68px;
    --font-size-subtitle: 18px;
    --spacing-xl: 40px;
    --spacing-2xl: 80px;
    --spacing-3xl: 100px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .logos-scroll {
    gap: 60px;
  }

  .btn {
    min-width: 200px;
    padding: 18px 40px;
  }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
  :root {
    --font-size-hero: 48px;
    --line-height-hero: 56px;
    --font-size-subtitle: 16px;
    --spacing-md: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 60px;
    --spacing-3xl: 80px;
  }

  .hero-section {
    padding: 50px 15px;
  }

  .cta-container {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }

  .logos-container {
    gap: 40px;
  }
}

@media screen and (max-width: 599px) {
  :root {
    --font-size-hero: 36px;
    --line-height-hero: 42px;
    --font-size-subtitle: 14px;
    --font-size-button: 16px;
    --spacing-xs: 12px;
    --spacing-sm: 16px;
    --spacing-md: 15px;
    --spacing-xl: 25px;
    --spacing-2xl: 40px;
    --spacing-3xl: 60px;
  }

  .hero-section {
    padding: 40px 10px;
    min-height: 100vh;
  }

  .hero-content {
    gap: var(--spacing-sm);
  }

  .cta-container {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn {
    min-width: 100%;
    padding: 16px 30px;
    height: 48px;
  }

  .logos-scroll {
    gap: 40px;
    animation: scrollLogos 15s linear infinite;
  }

  .logo-item {
    height: 35px;
    max-width: 80px;
  }

  .trust-section {
    gap: var(--spacing-xs);
  }
}


/* .hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.trust-section {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* Logo container scroll animation on smaller screens */
@media screen and (max-width: 767px) {
  .logos-scroll {
    gap: 40px;
    animation: scrollLogos 15s linear infinite;
  }

  .logo-item {
    height: 35px;
    max-width: 80px;
  }
}
