/* Hero */
.page-main {
  width: 100%;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  padding-top: 60px;
}

.hero-section {
  position: relative;
  padding: 0;
  overflow: visible;
}

.hero-inner {
  position: relative;
  padding-top: clamp(24px, 4vw, 48px);
}

/* 宽屏双栏：左文案 / 右视频+机器人 */
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(480px, 1fr);
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
    min-height: clamp(420px, 42vw, 560px);
  }
}

.hero-text-left {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero-text-left {
    max-width: none;
    padding-right: 16px;
  }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
  }
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 18px;
    margin-bottom: 32px;
  }
}

.hero-download-button {
  margin-top: 0;
}

/* 右侧视觉区：机器人底层 + 视频卡片叠在右前 */
.hero-visual-right {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual-right {
    min-height: 560px;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 8px;
  }
}

.hero-robot-deco {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-robot-deco {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(320px, 90%, 531px);
    max-width: 531px;
    margin: 0;
  }
}

.hero-video-player {
  position: relative;
  z-index: 2;
  display: flex;
  margin: 24px auto 0;
}

@media (min-width: 1024px) {
  .hero-video-player {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
  }
}

@media (max-width: 1023px) {
  .hero-visual-right {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .hero-robot-deco {
    order: 2;
    width: min(85%, 360px);
  }

  .hero-video-player {
    order: 1;
    margin-top: 0;
  }
}

/* Special button */
.special-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  min-width: 200px;
  height: 56px;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.special-button::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: left 0.5s ease;
}

.special-button:hover::before {
  left: 100%;
}

.special-button:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.button-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.button-prefix img {
  width: 24px;
  height: 24px;
}

.special-button .button-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  flex: 1;
  text-align: left;
  padding: 0 8px;
}

.arrow-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #191a23;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition);
}

.special-button:hover .arrow-icon {
  background: #000;
}

.arrow-icon svg {
  width: 24px;
  height: 24px;
}

/* Video showcase */
.showcase-section {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-content);
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .showcase-section {
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
  }
}

@media (min-width: 1780px) {
  .showcase-section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.showcase-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: var(--color-card);
  padding: 32px 32px 0;
  overflow: visible;
}

@media (min-width: 768px) {
  .showcase-card {
    padding: 48px 48px 0;
    border-radius: 40px 40px 0 0;
  }
}

@media (min-width: 1280px) {
  .showcase-card {
    padding: 64px 64px 0;
    border-radius: 80px 80px 0 0;
  }
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .showcase-header {
    gap: 24px;
    margin-bottom: 32px;
  }
}

.showcase-header-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.showcase-brand-logo {
  display: none;
}

@media (min-width: 1024px) {
  .showcase-brand-logo {
    display: block;
  }
}

.icon-play {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #000;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.icon-play:hover {
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .icon-play {
    display: flex;
  }
}

/* 右侧三行标题 — 字号与参考站一致 */
.content-title {
  font-family: var(--font-display);
  text-align: right;
  max-width: 42rem;
  margin-left: auto;
  margin-bottom: 0;
}

.content-title p {
  display: block;
  line-height: 1.25;
  margin: 0;
}

.content-line-muted {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}

.content-line-accent {
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.content-line-white {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .content-line-muted {
    font-size: 18px;
  }
  .content-line-accent {
    font-size: 36px;
    line-height: 1.35;
  }
  .content-line-white {
    font-size: 24px;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .content-line-muted {
    font-size: 20px;
  }
  .content-line-accent {
    font-size: 48px;
    line-height: 1.4;
  }
  .content-line-white {
    font-size: 30px;
    line-height: 1.45;
  }
}

@media (min-width: 1280px) {
  .content-line-muted {
    font-size: 24px;
  }
  .content-line-accent {
    font-size: 60px;
    line-height: 1.5;
  }
  .content-line-white {
    font-size: 36px;
    line-height: 1.5;
  }
}

.video-section {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
  position: relative;
}

@media (min-width: 768px) {
  .video-section {
    gap: 16px;
  }
}

.video-wrapper {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(239, 238, 236, 0.2);
  border-radius: 8px;
  background: #000;
  padding: 8px;
  position: relative;
  z-index: 0;
}

@media (min-width: 768px) {
  .video-wrapper {
    padding: 12px;
    border-radius: 12px;
  }
}

.browser-chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .browser-chrome {
    gap: 8px;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .dot {
    width: 12px;
    height: 12px;
  }
}

.dot-red {
  background: var(--color-dot-red);
}
.dot-yellow {
  background: var(--color-dot-yellow);
}
.dot-green {
  background: var(--color-dot-green);
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 52.27%;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT / THIS + 机器人装饰图 */
.video-text {
  display: none;
  position: relative;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-text);
  z-index: 1;
  padding-bottom: 40px;
}

.video-text p {
  margin: 0;
}

.video-robot-deco {
  display: none;
  position: absolute;
  width: 300px;
  max-width: none;
  height: auto;
  bottom: -30px;
  left: -60px;
  object-fit: contain;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .video-text {
    display: block;
    font-size: 48px;
  }
}

@media (min-width: 1280px) {
  .video-text {
    font-size: 64px;
  }

  .video-robot-deco {
    display: block;
  }
}

/* Highlight dual columns */
.highlight-section {
  padding: 60px 0;
}

.highlight-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .highlight-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .highlight-block.reverse {
    direction: rtl;
  }

  .highlight-block.reverse > * {
    direction: ltr;
  }
}

.highlight-content h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 16px;
  color: var(--color-text);
}

.highlight-content p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.highlight-image img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* Features ABOUT */
.features-section {
  padding: 40px 0 60px;
}

.about-deco {
  text-align: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.about-deco span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 700;
  color: rgba(76, 79, 107, 0.25);
  letter-spacing: 0.2em;
  line-height: 1;
}

.about-deco span + span {
  margin-left: 0.3em;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition);
}

@media (min-width: 768px) {
  .feature-card {
    padding: 32px;
    border-radius: var(--radius-md);
  }
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-text);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .feature-card p {
    font-size: 15px;
  }
}

.coming-soon-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border: 1px solid var(--color-border-light);
  background: var(--color-card);
  color: var(--color-text-muted);
  font-size: 16px;
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .coming-soon-bar {
    height: 96px;
    font-size: 18px;
    border-radius: var(--radius-md);
  }
}

/* Pricing */
.pricing-section {
  padding: clamp(40px, 8vw, 80px) 0;
  scroll-margin-top: var(--header-height);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  background: var(--color-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: rgba(40, 184, 148, 0.35);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(40, 184, 148, 0.12) 0%, var(--color-card) 48%);
  box-shadow: 0 0 0 1px rgba(40, 184, 148, 0.2);
}

.pricing-card--featured:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pricing-card__head {
  margin-bottom: 24px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--color-text);
}

.pricing-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-amount--custom {
  font-size: clamp(28px, 3.5vw, 36px);
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-body);
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.85;
}

.pricing-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.pricing-card .special-button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* CTA section */
.cta-section {
  padding: 40px 0 60px;
  background: var(--color-gray-950);
}

.cta-section .section-heading h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.cta-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.cta-card {
  flex: 1;
  min-width: 280px;
  max-width: 470px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.cta-card .platform-label {
  font-size: 14px;
  color: var(--color-text-body);
  font-weight: 600;
}

.cta-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--color-text);
}

.cta-card .cta-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(40, 184, 148, 0.1);
}

/* FAQ */
.faq-section {
  padding: 40px 0 80px;
}

.faq-section .section-heading {
  margin-bottom: 40px;
}

.faq-section .section-heading h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-item {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(40, 184, 148, 0.5);
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(40, 184, 148, 0.65);
}

.faq-question {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  pointer-events: none;
}

.faq-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1.4;
}

.faq-question h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .faq-question h3 {
    font-size: 16px;
  }
}

.faq-answer {
  display: block;
  margin-top: 12px;
  color: var(--color-text-faq);
  font-size: 14px;
  line-height: 1.6;
  padding-right: 28px;
  overflow: visible;
}

.faq-toggle-icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}
