/* 主色调定义 */
:root {
  --primary-dark: #0a1a35;
  --primary-blue: #1a3a8f;
  --accent-cyan: #00f0ff;
  --pure-white: #ffffff;
  --light-gray: #f5f7fa;
  --card-blue: #2a3f8f;
  --card-light-blue: #3a5faf;
  --em-primary: #4a6bff;
  --em-secondary: #6a5acd;
  --em-text: #2a3a5e;
  --em-light: #f8f9ff;
  --em-shadow: 0 10px 30px rgba(74, 107, 255, 0.1);
}
/* 主容器样式 */
.issuance-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1a2e 0%, #2a3a5e 100%);
  color: white;
  padding: 120px 10% 80px;
}

/* 背景装饰元素 */
.issuance-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(65, 105, 225, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.15) 0%, transparent 30%);
  z-index: 1;
}

/* 内容容器 */
.hero-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* 文字内容区域 */
.hero-text {
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffffff 0%, #a7c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 90%;
}

/* 按钮样式 */
.hero-cta {
  display: flex;
  gap: 1rem;
}

.cta-primary,
.cta-secondary {
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cta-primary {
  background: linear-gradient(90deg, #4a6bff 0%, #6a5acd 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.4);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 107, 255, 0.6);
}

.cta-secondary {
  background: transparent;
  color: #a7c7ff;
  border: 1px solid rgba(167, 199, 255, 0.3);
}

.cta-secondary:hover {
  background: rgba(167, 199, 255, 0.1);
  border-color: rgba(167, 199, 255, 0.6);
}

/* 卡片可视化区域 */
.hero-visual {
  position: relative;
  width: 500px;
  height: 400px;
  animation: fadeIn 1s ease-out;
}

.multi-currency-cards {
  position: absolute;
  width: 100%;
  height: 100%;
}

.card {
  position: absolute;
  width: 300px;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s ease;
  transform-style: preserve-3d;
}

.card.usd {
  top: 0;
  left: 0;
  z-index: 4;
  background: linear-gradient(135deg, #4a6bff 0%, #6a5acd 100%);
}

.card.eur {
  top: 20px;
  left: 20px;
  z-index: 3;
  opacity: 0.7;
  transform: rotate(-5deg);
  background: linear-gradient(135deg, #20b2aa 0%, #3cb371 100%);
}

.card.gbp {
  top: 40px;
  left: 40px;
  z-index: 2;
  opacity: 0.5;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #ff6347 0%, #cd5c5c 100%);
}

.card.jpy {
  top: 60px;
  left: 60px;
  z-index: 1;
  opacity: 0.3;
  transform: rotate(-15deg);
  background: linear-gradient(135deg, #9370db 0%, #8a2be2 100%);
}

/* 卡片内容 */
.card::before {
  content: "NINPAY";
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.card::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* 控制面板预览 */
.dashboard-preview {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 180px;
  background: rgba(15, 26, 46, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 数据可视化元素 */
.dashboard-preview::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 107, 255, 0.5) 50%, transparent 100%);
}

.dashboard-preview::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 20%;
  width: 60%;
  height: 40%;
  background: linear-gradient(90deg, transparent 45%, rgba(74, 107, 255, 0.3) 45%, rgba(74, 107, 255, 0.3) 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(74, 107, 255, 0.3) 45%, rgba(74, 107, 255, 0.3) 55%, transparent 55%);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 特性网格布局 */
.awx-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 特性卡片 */
.awx-feature-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.awx-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.awx-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3f51b5 0%, #1a237e 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.awx-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a237e;
}

.awx-card-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* 添加独特形状装饰 */
.awx-feature-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(63, 81, 181, 0.1) 0%, transparent 70%);
  z-index: -1;
}

.awx-feature-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(26, 35, 126, 0.1) 0%, transparent 70%);
  z-index: -1;
}
.business-section {
  position: relative;
  background: linear-gradient(to bottom, #fff, rgb(248, 249, 250));
}

.business-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLCAyNDAsIDI1NSwgMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybikiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiLz48L3N2Zz4=);
  z-index: 0;
  pointer-events: none;
}
.business-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

/* 左侧内容区 */
.content-left {
  flex: 1;
  min-width: 0; /* 防止flexbox溢出 */
}

.business-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.business-description {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 特性列表 */
.business-feature-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.business-feature-item {
  display: flex;
  gap: 15px;
}

.business-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 12px;
  margin-top: 3px;
}

.business-feature-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.business-feature-content p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 右侧图片区 */
.image-right {
  flex: 1;
  position: relative;
  min-width: 0; /* 防止flexbox溢出 */
}

.dashboard-image {
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(10, 26, 53, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
/* 使用属性选择器创建完全独立的作用域 */
.expense-management-section {
  background-color: var(--em-light);
  position: relative;
  isolation: isolate;
}

.expense-management-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 107, 255, 0.05) 0%, transparent 60%);
  z-index: -1;
}

.em__container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.em__visual {
  width: 48%;
  position: relative;
  min-height: 400px;
}

.em__content {
  width: 48%;
}

/* BEM命名规范 */
.em__subtitle {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--em-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.em__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
  color: var(--em-text);
}

.em__desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--em-text);
  opacity: 0.9;
}

.em__features {
  margin-top: 32px;
}

.em__feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.em__feature-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--em-primary) 0%, var(--em-secondary) 100%);
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.em__feature-icon svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.em__feature-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--em-text);
}

/* 卡片使用独立命名空间 */
.em-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--em-shadow);
  padding: 32px;
  position: absolute;
  width: 320px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.em-card--1 {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-3deg);
  animation: em-float 8s ease-in-out infinite;
}

.em-card--2 {
  top: 40px;
  right: 0;
  z-index: 2;
  transform: rotate(2deg);
  animation: em-float 8s ease-in-out 2s infinite;
}

.em-card--3 {
  bottom: 0;
  left: 50px;
  z-index: 1;
  transform: rotate(-1deg);
  animation: em-float 8s ease-in-out 4s infinite;
}

.em-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.em-card__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--em-primary);
  letter-spacing: 0.5px;
}

.em-card__amount {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--em-text);
}

.em-card__progress {
  height: 6px;
  background: rgba(74, 107, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 16px;
  overflow: hidden;
}

.em-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--em-primary) 0%, var(--em-secondary) 100%);
  width: 70%;
  border-radius: 3px;
}

.em-card__meta {
  font-size: 13px;
  color: #6c757d;
}

@keyframes em-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-4deg);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .fintech-hero {
    height: auto;
    padding: 5rem 2rem;
    text-align: center;
  }

  .hero-content {
    flex-direction: column;
    gap: 3rem;
  }

  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: 300px;
  }

  .card {
    width: 250px;
    height: 150px;
  }

  .dashboard-preview {
    width: 280px;
    height: 150px;
  }
  .business-wrap {
    flex-direction: column;
    gap: 40px;
  }

  .content-left,
  .image-right {
    width: 100%;
  }

  .business-title {
    font-size: 32px;
  }
  .em__container {
    flex-direction: column;
  }

  .em__content,
  .em__visual {
    width: 100%;
  }

  .em__visual {
    min-height: 300px;
  }

  .em-card {
    width: 280px;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .awx-feature-grid {
    grid-template-columns: 1fr;
  }
  .business-title {
    font-size: 28px;
  }
  .business-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .business-feature-list {
    gap: 20px;
  }
  .business-feature-content h3 {
    font-size: 16px;
  }
  .business-feature-content p {
    font-size: 14px;
  }
  .image-right {
    order: 1;
  }
  .em__title {
    font-size: 32px;
  }
  .em__desc {
    font-size: 16px;
  }
  .em-card {
    width: 240px;
    padding: 24px;
  }
}
