/* ============================================
   91云享 - 一站式搞定贷前风控
   100% 像素级还原 Figma 设计稿
   ============================================ */

/* ============================================
   CSS Variables - 设计系统变量
   ============================================ */
:root {
  /* 颜色系统 */
  --color-primary-900: #101828;
  --color-primary-700: #1447E6;
  --color-primary-600: #155DFC;
  --color-primary-500: #2B7FFF;
  --color-primary-400: #51A2FF;
  --color-primary-100: #DBEAFE;
  --color-primary-50: #EFF6FF;

  --color-neutral-900: #101828;
  --color-neutral-700: #364153;
  --color-neutral-600: #4A5565;
  --color-neutral-400: #6A7282;
  --color-neutral-200: #F3F4F6;
  --color-neutral-100: #F9FAFB;
  --color-neutral-white: #FFFFFF;

  --color-accent-green: #05DF72;

  /* 渐变 - 从 Figma 精确提取 */
  --gradient-hero: linear-gradient(135deg, #1447E6 0%, #2B7FFF 50%, #372AAC 100%);
  --gradient-app: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
  --gradient-title-text: linear-gradient(90deg, #FFDF20 0%, #FF6B00 100%);
  --gradient-icon-blue: linear-gradient(135deg, #2B7FFF 0%, #4F39F6 100%);
  --gradient-icon-purple: linear-gradient(135deg, #AD46FF 0%, #9810FA 100%);
  --gradient-icon-orange: linear-gradient(135deg, #FF6B00 0%, #F54900 100%);
  --gradient-advantages: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  --gradient-cta: linear-gradient(135deg, #1447E6 0%, #2B7FFF 50%, #372AAC 100%);
  --gradient-banner-blue: linear-gradient(90deg, #2B7FFF 0%, #4F39F6 100%);
  --gradient-banner-purple: linear-gradient(90deg, #51A2FF 0%, #7C86FF 100%);
  --gradient-card-blue: linear-gradient(180deg, rgba(81,162,255,1.00) 0%, rgba(124,134,255,1.00) 100%);

  /* 字体 - 使用系统字体 + 备用字体链 */
  --font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;

  /* 阴影 */
  --shadow-btn: 0 8px 10px rgba(0, 0, 0, 0.10), 0 20px 25px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.10), 0 10px 15px rgba(0, 0, 0, 0.10);
  --shadow-screenshot: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-step-number: 0 4px 6px rgba(0, 0, 0, 0.10), 0 10px 15px rgba(0, 0, 0, 0.10);
}

/* ============================================
   基础重置
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-neutral-900);
  line-height: 1.5;
  background: var(--color-neutral-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ============================================
   页面容器
   ============================================ */
.page {
  width: 916px;
  margin: 0 auto;
  background: var(--color-neutral-white);
  overflow: visible;
}

.container {
  width: 868px;
  margin: 0 auto;
}

/* ============================================
   Section: Hero
   Figma: Frame "Hero" (5:499)
   ============================================ */
.hero {
  width: 916px;
  height: 1850px;
  background: linear-gradient(135deg, #1447E6 0%, #2B7FFF 50%, #372AAC 100%);
  position: relative;
  overflow: hidden;
}

/* Wave effect at bottom of hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1200,60 1320,60 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 868px;
  margin: 0 auto;
  padding: 64px 0 0;
}

/* Hero Badge */
.hero-badge {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 172px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-neutral-white);
}

/* Hero Heading Group */
.hero-heading {
  text-align: center;
  padding-top: 100px;
}

.hero-logo {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  color: var(--color-neutral-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  background: linear-gradient(90deg, #FFDF20 0%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: var(--color-primary-100);
  text-align: center;
  margin-bottom: 64px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 64px;
}

.btn-primary-hero {
  width: 164px;
  height: 64px;
  background: var(--color-neutral-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--color-primary-700);
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
}

.btn-primary-hero .btn-icon {
  width: 20px;
  height: 20px;
}

.btn-secondary-hero {
  width: 140px;
  height: 64px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--color-neutral-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Screenshots */
.hero-screenshots {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.screenshot {
  width: 426px;
  background: var(--color-neutral-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-screenshot);
}

.screenshot-1 {
  /* No additional styles needed */
}

.screenshot-2 {
  /* No additional styles needed */
}

.screenshot-img {
  width: 100%;
  height: 905px;
  object-fit: cover;
}

.screenshot-2 .screenshot-img {
  height: 918px;
}

.screenshot-label {
  padding: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-neutral-900);
  background: var(--color-neutral-white);
  text-align: center;
}

/* ============================================
   Section: Features
   Figma: Frame "Container" (5:505)
   ============================================ */
.features {
  width: 916px;
  padding: 96px 24px;
  margin-top: 0;
  background: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 84px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-neutral-900);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-neutral-600);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 268px);
  gap: 24px;
  justify-content: center;
}

.feature-card {
  width: 268px;
  height: 244px;
  background: var(--color-neutral-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--gradient-icon-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: white;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-neutral-900);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--color-neutral-600);
}

/* ============================================
   Section: Advantages
   Figma: Frame "Advantages" (5:563)
   ============================================ */
.advantages {
  width: 916px;
  padding: 96px 24px;
  background: var(--gradient-advantages);
}

.advantages-header {
  text-align: center;
  margin-bottom: 84px;
}

.advantages-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-neutral-900);
  margin-bottom: 14px;
}

.advantages-subtitle {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--color-primary-600);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 422px);
  gap: 24px;
  justify-content: center;
  margin-bottom: 48px;
}

.advantage-card {
  width: 422px;
  height: 175px;
  background: var(--color-neutral-white);
  border: 1px solid var(--color-neutral-900);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 20px;
}

.advantage-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--color-primary-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary-700);
}

.advantage-content {
  flex: 1;
}

.advantage-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-neutral-900);
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: var(--color-neutral-600);
}

/* CTA Banner */
.cta-banner {
  width: 100%;
  height: 96px;
  background: var(--gradient-banner-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 48px;
  box-shadow: var(--shadow-btn);
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-neutral-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.cta-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.cta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Section: CallToAction
   Figma: Frame "CallToAction" (5:627)
   ============================================ */
.cta-section {
  width: 916px;
  padding: 96px 24px;
  background: linear-gradient(135deg, #1447E6 0%, #2B7FFF 50%, #372AAC 100%);
}

.cta-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.cta-header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  background: var(--color-neutral-white);
  border-radius: 14px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-neutral-900);
}

.cta-header-btn svg {
  width: 20px;
  height: 20px;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-neutral-white);
  margin-bottom: 28px;
}

.cta-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-primary-100);
  margin-bottom: 48px;
}

.cta-cards {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.cta-card {
  width: 260px;
  height: 232px;
  background: var(--color-neutral-white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-screenshot);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-qrcode {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.cta-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-primary-600);
}

.cta-card-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.cta-card-wechat {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--color-primary-700);
}

.cta-card-name {
  font-size: 30px;
  font-weight: 900;
  line-height: 36px;
  color: var(--color-primary-600);
}

.cta-card-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-neutral-600);
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  background: var(--color-neutral-white);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-neutral-900);
}

.cta-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-green);
  border-radius: 50%;
}

.cta-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  background: var(--color-neutral-white);
  border-radius: 14px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-neutral-900);
}

.cta-main-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Section: Registration
   Figma: Frame "RegistrationGuide" (5:683)
   ============================================ */
.registration {
  width: 916px;
  padding: 96px 24px;
  background: var(--color-neutral-100);
}

.registration-header {
  text-align: center;
  margin-bottom: 84px;
}

.registration-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-neutral-900);
  margin-bottom: 20px;
}

.registration-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-neutral-600);
}

.registration-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 76px;
}

.step-card {
  width: 268px;
  height: 240px;
  background: var(--color-neutral-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--gradient-icon-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 32px;
  height: 32px;
  color: white;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: var(--color-primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-neutral-white);
  box-shadow: var(--shadow-step-number);
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-neutral-900);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-neutral-600);
}

.step-connector {
  position: absolute;
  top: 122px;
  right: -32px;
  width: 32px;
  height: 2px;
  background: var(--gradient-banner-blue);
  z-index: 1;
}

.step-connector-dots {
  position: absolute;
  top: 119px;
  right: -4px;
  width: 4px;
  height: 8px;
  border: 1px solid var(--color-primary-600);
  background: transparent;
}

.registration-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 868px;
  height: 76px;
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-100);
  border-radius: 16px;
  margin: 0 auto;
}

.registration-cta-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary-600);
}

.registration-cta-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-neutral-700);
}

.registration-cta-highlight {
  color: var(--color-primary-700);
  font-weight: 600;
}

/* ============================================
   Footer
   Figma: Text "© 2026 91云享 | 专业贷前风控解决方案"
   ============================================ */
.footer {
  width: 916px;
  padding: 64px 24px;
  text-align: center;
  background: var(--color-neutral-white);
}

.footer-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--color-neutral-400);
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 916px) {
  .page {
    width: 100%;
  }

  .hero,
  .features,
  .advantages,
  .cta-section,
  .registration,
  .footer {
    width: 100%;
  }

  .hero-content,
  .container {
    width: 100%;
    padding: 0 24px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .hero-screenshots {
    flex-direction: column;
    align-items: center;
  }

  .screenshot {
    width: 100%;
    max-width: 426px;
  }

  .cta-banner {
    flex-wrap: wrap;
    gap: 24px;
    height: auto;
    padding: 24px;
  }

  .cta-divider {
    display: none;
  }

  .registration-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    display: none;
  }

  .registration-cta {
    width: 100%;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-logo,
  .hero-title {
    font-size: 36px;
    line-height: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: 200px;
  }

  .section-title,
  .advantages-title,
  .cta-title,
  .registration-title {
    font-size: 28px;
    line-height: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    width: 100%;
  }

  .advantage-card {
    width: 100%;
  }

  .cta-badges {
    flex-direction: column;
    align-items: center;
  }
}
